Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IDirect3DDevice9Video::CreateAuthenticatedChannel method

Creates a channel to communicate with the Direct3D device or the graphics driver.

Syntax


HRESULT CreateAuthenticatedChannel(
   D3DAUTHENTICATEDCHANNELTYPE    ChannelType,
   IDirect3DAuthenticatedChannel9 **ppAuthenticatedChannel,
   HANDLE                         *pChannelHandle
);

Parameters

ChannelType

Specifies the type of channel, as a member of the D3DAUTHENTICATEDCHANNELTYPE enumeration.

ppAuthenticatedChannel

Receives a pointer to the IDirect3DAuthenticatedChannel9 interface. The caller must release the interface.

pChannelHandle

Receives a pointer to a handle for the channel.

Return value

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

Remarks

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

If ChannelType is D3DAUTHENTICATEDCHANNEL_DRIVER_SOFTWARE or D3DAUTHENTICATEDCHANNEL_DRIVER_HARDWARE, the method creates an authenticated channel with the graphics driver.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

D3d9.h

See also

GPU-Based Content Protection
IDirect3DDevice9Video

 

 

Show:
© 2017 Microsoft