Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the provider name that is associated with a GUID identifier.
Syntax
HRESULT GetProviderNameFromGuid
([out] BSTR* bstrProviderIdStr,
[in] REFGUID ProviderId)
;
Parameters
BSTR* bstrProviderIdStr
[out] A string that indicates the provider name.
REFGUID ProviderId
[in] A GUID that indicates the provider identifier.
Return Value
The following table describes possible return values.
Return Value | Description |
---|---|
E_WPRC_FAILED_TO_TRANSLATE_GUID_TO_EVENT_PROVIDER_NAME |
WPR failed to translate the GUID to an event provider name. |
S_OK |
The function successfully returned the name. |