Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
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. |