GetPluginType

Description

GetPluginType specifies the type of plugin. For a HIW Plugin, the type is "HIW".

Syntax

int GetPluginType(wchar_t*& owszType);

Parameters

Output

owszType: type of plugin (HIW for a HIW Plugin)

Return

(int): returns the identification number of the error if an error occurs, or 0 if no error occurs.

Example

#define OPT_PLUGIN_NO_ERROR 0
int GetPluginType(wchar_t*& owszType)
{
     owszType = L"HIW";
     return OPT_PLUGIN_NO_ERROR;
}