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 code | Description |
|---|---|
|
The manifest file was not found at the specified path. |
|
The Manifest parameter cannot be NULL and the path cannot exceed MAX_PATH. |
|
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 |
|
|
Library |
|
|
DLL |
|
See also