INT
WSHGetProviderGuid(
IN LPWSTR ProviderName,
OUT LPGUID ProviderGuid
);
WSHGetProviderGuid returns the GUID that identifies the protocols supported by the helper DLL. This function is called only during setup of the WSH DLL.
Parameters
ProviderName
Points to a zero-terminated string containing the name of the provider.
ProviderGuid
Points to a variable in which WSHGetProviderGuid returns the GUID that identifies the protocols supported by the helper DLL. A GUID can be generated through UUIDGEN.EXE from the Win32 SDK. See the Win32 SDK for more information regarding this utility.
Return Value
WSHGetProviderGuid returns NO_ERROR for success or WSAEINVAL if the string at ProviderName does not designate this helper DLL.