Skip to main content
TdhOpenDecodingHandle function

Opens a decoding handle.

Syntax


ULONG TdhOpenDecodingHandle(
  _Out_  PTDH_HANDLE Handle
);

Parameters

Handle [out]

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

Header

Tdh.h

Library

Tdh.lib

DLL

Tdh.dll

See also

TdhCloseDecodingHandle