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::GetContentProtectionCaps method

Queries the display driver for its content protection capabilities.

Syntax


HRESULT GetContentProtectionCaps(
   const GUID                     *pCryptoType,
   const GUID                     *pDecodeProfile,
         D3DCONTENTPROTECTIONCAPS *pCaps
);

Parameters

pCryptoType

A pointer to a GUID that specifies the type of encryption to use. The following GUIDs are defined.

D3DCRYPTOTYPE_AES128_CTR (128-bit Advanced Encryption Standard CTR mode (AES-CTR) block cipher.)
D3DCRYPTOTYPE_PROPRIETARY (Proprietary encryption algorithm.)
pDecodeProfile

A pointer to a GUID that specifies the DirectX Video Acceleration 2 (DXVA-2) decoding profile. For a list of possible values, see IDirectXVideoDecoderService::GetDecoderDeviceGuids. If DXVA-2 decoding will not be used, set this parameter to NULL.

pCaps

A pointer to a D3DCONTENTPROTECTIONCAPS structure. The method fills in this structure with the driver's content protection capabilities.

Return value

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

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