TdhOpenDecodingHandle function (tdh.h)

Opens a decoding handle.

Syntax

TDHSTATUS TdhOpenDecodingHandle(
  [out] PTDH_HANDLE Handle
);

Parameters

[out] Handle

Type: PTDH_HANDLE

A valid decoding handle.

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
ERROR_INVALID_PARAMETER
The parameter is incorrect. This error is returned if the Handle parameter is NULL.
ERROR_NOT_ENOUGH_MEMORY
Memory allocations failed.

Remarks

Call TdhCloseDecodingHandle to free the returned handle.

Requirements

   
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header tdh.h
Library Tdh.lib
DLL Tdh.dll

See also

TdhCloseDecodingHandle