PFND3DDDI_DXVAHD_SETVIDEOPROCESSSTREAMSTATE callback function

The SetVideoProcessStreamState function sets the stream state for a video processor.

Syntax


PFND3DDDI_DXVAHD_SETVIDEOPROCESSSTREAMSTATE SetVideoProcessStreamState;

__checkReturn HRESULT APIENTRY SetVideoProcessStreamState(
  _In_       HANDLE                                      hDevice,
  _In_ const D3DDDIARG_DXVAHD_SETVIDEOPROCESSSTREAMSTATE *pData
)
{ ... }

Parameters

hDevice [in]

A handle to the display device (graphics context).

pData [in]

A pointer to a D3DDDIARG_DXVAHD_SETVIDEOPROCESSSTREAMSTATE structure that describes how to change the stream state.

Return value

The SetVideoProcessStreamState function returns one of the following values:

Return codeDescription
S_OK

The stream state is successfully set.

E_OUTOFMEMORY

SetVideoProcessStreamState could not allocate the required memory for it to complete.

 

Requirements

Target platform

Desktop

Version

SetVideoProcessStreamState is supported beginning with the Windows 7 operating system.

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_DXVAHD_SETVIDEOPROCESSSTREAMSTATE

 

 

Send comments about this topic to Microsoft

Show: