IDirectXVideoDecoder::GetVideoDecoderService method (dxva2api.h)

Retrieves the DirectX Video Acceleration (DXVA) decoder service that created this decoder device.

Syntax

HRESULT GetVideoDecoderService(
  [out] IDirectXVideoDecoderService **ppService
);

Parameters

[out] ppService

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

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header dxva2api.h

See also

DirectX Video Acceleration 2.0

IDirectXVideoDecoder