ID3D11VideoContext::QueryAuthenticatedChannel Method

Sends a query to an authenticated channel.

Syntax

public:
HRESULT QueryAuthenticatedChannel(
         ID3D11AuthenticatedChannel *pChannel,
         UINT InputSize,
         const void *pInput,
         UINT OutputSize,
         void *pOutput
)  

Parameters

pChannel
Type: ID3D11AuthenticatedChannel *

[in] A pointer to the ID3D11AuthenticatedChannel interface.

InputSize
Type: UINT 

[in] The size of the pInput array, in bytes.

pInput
Type: void *

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

OutputSize
Type: UINT 

[in] The size of the pOutput array, in bytes.

pOutput
Type: void *

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

Return value

Type: HRESULT 

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

See Direct3D 11 return codes for possible return values.

Requirements

Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).