Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the status flags of the DXSurface object.
Syntax
HRESULT retVal = object.SetStatusFlags(dwStatusFlags);
Parameters
dwStatusFlags [in]
Type: DWORDValue to set for the surface status flags.
Remarks
The value of the dwStatusFlags parameter sets flags that are defined in the DXSURFSTATUS enumeration. Specify a value of DXSURF_TRANSIENT if the data in the surface changes often. If this flag is set, the code does not generate a sample runmap when the surface is locked. Use of this flag decreases the time required to lock a surface, at the expense of code optimization that uses the sample runmap.
To prevent write access to a surface, set the DXSURF_READONLY flag.
See also
Reference