Windows Dev Center

IDXVAHD_VideoProcessor::SetVideoProcessBltState method

Sets a state parameter for a blit operation by a Microsoft DirectX Video Acceleration High Definition (DXVA-HD) device.

Syntax


HRESULT SetVideoProcessBltState(
  [in]       DXVAHD_BLT_STATE State,
  [in]       UINT             DataSize,
  [inconst void             *pData
);

Parameters

State [in]

The state parameter to set, specified as a member of the DXVAHD_BLT_STATE enumeration.

DataSize [in]

The size, in bytes, of the buffer pointed to by pData.

pData [in]

A pointer to a buffer that contains the state data. The meaning of the data depends on the State parameter. Each state has a corresponding data structure; for more information, see DXVAHD_BLT_STATE. The caller allocates the buffer and fills in the parameter data before calling this method.

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

Dxvahd.h

See also

DXVA-HD
IDXVAHD_VideoProcessor

 

 

Community Additions

ADD
Show:
© 2015 Microsoft