GetStatusFlags method

Retrieves the status flags of the DXSurface object.

Syntax

HRESULT retVal = object.GetStatusFlags(pdwStatusFlags);

Parameters

  • pdwStatusFlags [out]
    Type: DWORD

    Pointer to the surface status flags.

Remarks

The returned DWORD value contains flags from the DXLOCKSURF and DXSURFSTATUS enumerations.

This method returns the DXSURF_TRANSIENT flag if the data in the surface changes often. If it does, the user should not cache information about the surface. Run information is never generated for transient surfaces.

If the DXSURF_READONLY flag is set, you cannot obtain an IDXARGBReadWritePtr interface to the surface.

See also

Reference

IDXSurface::SetStatusFlags

DXSURFSTATUS

DXLOCKSURF