EN
Este contenido no se encuentra disponible en su idioma, pero aquí tiene la versión en inglés.

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 codeDescription
ERROR_INVALID_PARAMETER

One or more of the parameters is not valid.

ERROR_FILE_NOT_FOUND

The file pointed to by BinaryPath was not found.

ERROR_NOT_ENOUGH_MEMORY

Memory allocations failed.

ERROR_RESOURCE_NOT_FOUND

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

Tdh.h

Library

Tdh.lib

DLL

Tdh.dll

 

 

Adiciones de comunidad

AGREGAR
Mostrar:
© 2014 Microsoft