Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Loads the manifest from memory.
Syntax
TDHSTATUS TdhLoadManifestFromMemory(
[in] LPCVOID pData,
[in] ULONG cbData
);
Parameters
[in] pData
Type: const void*
Pointer to the data to be stored.
[in] cbData
Type: ULONG
Size of the data in the buffer pointed to by pData, in bytes.
Return value
Returns ERROR_SUCCESS if successful. Otherwise, this function returns one of the following return codes in addition to others.
Return code | Description |
---|---|
ERROR_INVALID_PARAMETER | One or more of the parameters is not valid. |
ERROR_FILE_NOT_FOUND | The file pointed to by pData was not found. |
ERROR_NOT_ENOUGH_MEMORY | Memory allocations failed. |
ERROR_RESOURCE_NOT_FOUND | The file does not contain any eventing metadata resources. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1903 [desktop apps only] |
Minimum supported server | Windows Server 2019 [desktop apps only] |
Target Platform | Windows |
Header | tdh.h |