TdhSetDecodingParameter function (tdh.h)

Sets the value of a decoding parameter.

Syntax

TDHSTATUS TdhSetDecodingParameter(
  [in] TDH_HANDLE   Handle,
  [in] PTDH_CONTEXT TdhContext
);

Parameters

[in] Handle

Type: TDH_HANDLE

A valid decoding handle.

[in] 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

Requirement Value
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