GetPluginGUID
Description
GetPluginGUID returns a valid and unique "Globally Unique IDentifier" (GUID).
Each plugin must have a different GUID.
Note: In Microsoft Visual Studio, you can use "Tools / Create GUID" to create a valid and unique GUID.
Syntax
int GetPluginGUID(wchar_t*& owszGUID);
Parameters
Output
owszGUID: the valid and unique GUID.
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 GetPluginGUID(wchar_t*& owszGUID)
{
owszGUID = L"{12E5E507-6E81-4E58-BCFA-01D283C22506}";
return OPT_PLUGIN_NO_ERROR;
}