IDirect3DAuthenticatedChannel9::Query method (d3d9.h)

Sends a query to the authenticated channel.

Syntax

HRESULT Query(
  UINT       InputSize,
  const VOID *pInput,
  UINT       OutputSize,
  VOID       *pOutput
);

Parameters

InputSize

The size of the pInput array, in bytes.

pInput

A pointer to a byte array that contains input data for the query. This array always starts with a D3DAUTHENTICATEDCHANNEL_QUERY_INPUT structure. The QueryType member of the structure specifies the query and defines the meaning of the rest of the array.

OutputSize

The size of the pOutput array, in bytes.

pOutput

A pointer to a byte array that receives the result of the query. This array always starts with a D3DAUTHENTICATEDCHANNEL_QUERY_OUTPUT structure. The meaning of the rest of the array depends on the query.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

For a list of queries, see Content Protection Queries.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header d3d9.h

See also

GPU-Based Content Protection

IDirect3DAuthenticatedChannel9