ID3D11VideoDecoder::GetDriverHandle Method

Gets a handle to the driver.

Syntax

public:
HRESULT GetDriverHandle(
         HANDLE *pDriverHandle
)  

Parameters

pDriverHandle
Type: HANDLE *

[out] Receives a handle to the driver.

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

The driver handle can be used to configure content protection.

Requirements

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