TdhLoadManifestFromBinary function
Takes a NULL-terminated path to a binary file that contains metadata resources needed to decode a specific event provider.
Syntax
ULONG TdhLoadManifestFromBinary( _In_ PWSTR BinaryPath );
Parameters
- BinaryPath [in]
-
Type: PWSTR
Path to the ETW provider binary that contains the metadata resources.
Return value
Type: ULONG
Returns ERROR_SUCCESS if successful. Otherwise, this function returns one of the following return codes in addition to others.
| Return code | Description |
|---|---|
|
One or more of the parameters is not valid. |
|
The file pointed to by BinaryPath was not found. |
|
Memory allocations failed. |
|
The file does not contain any eventing metadata resources. |
Remarks
The GUIDs and BinaryPath string are cached.
When metadata is requested for a given event or provider, but the provider is not installed in the system, the cache of binaries will be searched.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|