TdhSetDecodingParameter function

Sets the value of a decoding parameter.

Syntax

TDHSTATUS TdhSetDecodingParameter(
  TDH_HANDLE   Handle,
  PTDH_CONTEXT TdhContext
);

Parameters

Handle

Type: TDH_HANDLE

A valid decoding handle.

TdhContext

Type: PTDH_CONTEXT

Array of context values. The array must not contain duplicate context types.

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
One or more of the parameters is incorrect. This error is returned if the Handle or TdhContext parameter is NULL. This error is also returned if the ParameterValue member of the TDH_CONTEXT struct pointed to by the TdhContext parameter does not exist.
ERROR_NOT_ENOUGH_MEMORY
Memory allocations failed.

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

TDH_CONTEXT

TdhOpenDecodingHandle