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 GUID associated with the specified name.
Syntax
HRESULT GetProviderGuidFromName
([out] GUID* ProviderId,
[in] BSTR bstrProViderName)
;
Parameters
GUID* ProviderId
[out] A GUID that indicates the provider identifier.
BSTR bstrProViderName
[in] A string that indicates the provider name.
Return Value
The following table describes possible return values.
| Return Value | Description |
|---|---|
E_WPRC_FAILED_TO_TRANSLATE_EVENT_PROVIDER_NAME_TO_GUID |
WPR was unable to translate the event provider name to a GUID. |
S_OK |
The function successfully returned the GUID. |