IDirect3DDXVADevice9::QueryStatus method

Queries the read/write status of a DirectX Video Acceleration (DXVA) decoding surface.

Syntax

HRESULT QueryStatus(
   IDirect3DSurface9 *pSurface,
   DWORD             Flags
);

Parameters

pSurface

Pointer to the IDirect3DSurface9 interface of the surface to query.

Flags

Specifies the type of query to perform.

Value Meaning
0x00
Test whether the surface is safe to use for writing.
0x01
Test whether the surface is safe to use for reading.

 

Return value

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

Requirements

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

See also

IDirect3DDXVADevice9