Windows Dev Center

Expand Minimize

TdhUnloadManifest function

Unloads the manifest that was loaded by the TdhLoadManifest function.

Syntax


ULONG WINAPI TdhUnloadManifest(
  _In_ PWSTR Manifest
);

Parameters

Manifest [in]

The full path to the loaded manifest.

Return value

Returns ERROR_SUCCESS if successful. Otherwise, this function returns one of the following return codes in addition to others.

Return codeDescription
ERROR_FILE_NOT_FOUND

The manifest file was not found at the specified path.

ERROR_INVALID_PARAMETER

The Manifest parameter cannot be NULL and the path cannot exceed MAX_PATH.

ERROR_XML_PARSE_ERROR

The manifest did not pass validation. To determine the validation errors, run the manifest through the message compiler (mc.exe).

 

Remarks

You must call this function after processing all the events. For example, you can call this function after calling CloseTrace.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Tdh.h

Library

Tdh.lib

DLL

Tdh.dll

See also

TdhLoadManifest

 

 

Community Additions

ADD
Show:
© 2015 Microsoft