ID3D11VideoDevice::CreateAuthenticatedChannel Method

Creates a channel to communicate with the Microsoft Direct3D device or the graphics driver. The channel can be used to send commands and queries for content protection.

Syntax

public:
HRESULT CreateAuthenticatedChannel(
         D3D11_AUTHENTICATED_CHANNEL_TYPE ChannelType,
         ID3D11AuthenticatedChannel **ppAuthenticatedChannel
)  

Parameters

ChannelType
Type: D3D11_AUTHENTICATED_CHANNEL_TYPE 

[in] Specifies the type of channel, as a member of the D3D11_AUTHENTICATED_CHANNEL_TYPE enumeration.

ppAuthenticatedChannel
Type: ID3D11AuthenticatedChannel **

[out] Receives a pointer to the ID3D11AuthenticatedChannel interface. The caller must release the interface.

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.

Remarks

If the ChannelType parameter is D3D11_AUTHENTICATED_CHANNEL_D3D11, the method creates a channel with the Direct3D device. This type of channel does not support authentication.

If ChannelType is D3D11_AUTHENTICATED_CHANNEL_DRIVER_SOFTWARE or D3D11_AUTHENTICATED_CHANNEL_DRIVER_HARDWARE, the method creates an authenticated channel with the graphics driver.

Requirements

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