Windows apps
Collapse the table of content
Expand the table of content
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.

ID3D11VideoDevice::CreateVideoDecoderOutputView method

Creates a resource view for a video decoder, describing the output sample for the decoding operation.


HRESULT CreateVideoDecoderOutputView(
  [in]        ID3D11Resource                       *pResource,
  [in]  const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC *pDesc,
  [out]       ID3D11VideoDecoderOutputView         **ppVDOVView


pResource [in]

A pointer to the ID3D11Resource interface of the decoder surface. The resource must be created with the D3D11_BIND_DECODER flag. See D3D11_BIND_FLAG.

pDesc [in]

A pointer to a D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC structure that describes the view.

ppVDOVView [out]

Receives a pointer to the ID3D11VideoDecoderOutputView interface. The caller must release the interface. If this parameter is NULL, the method checks whether the view is supported, but does not create the view.

Return value

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


Set the ppVDOVView parameter to NULL to test whether a view is supported.


Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8



See also




© 2017 Microsoft