TdhSetDecodingParameter function

Sets the value of a decoding parameter.

Syntax


ULONG TdhSetDecodingParameter(
  _In_  TDH_HANDLE Handle,
  _In_  PTDH_CONTEXT TdhContext
);

Parameters

Handle [in]

Type: TDH_HANDLE

A valid decoding handle.

TdhContext [in]

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

Header

Tdh.h

Library

Tdh.lib

DLL

Tdh.dll

See also

TdhOpenDecodingHandle
TDH_CONTEXT

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.