IDirect3DExecuteBuffer::Unlock
The IDirect3DExecuteBuffer::Unlock method releases the direct pointer to the commands in the execute buffer. This must be done prior to calling the IDirect3DDevice::Execute method for the buffer.
HRESULT Unlock();
Parameters
None.
Return Values
If the method succeeds, the return value is D3D_OK.
If the method fails, the return value may be one of the following values:
D3DERR_EXECUTE_NOT_LOCKED
DDERR_INVALIDOBJECT
QuickInfo
Windows NT: Use version 4.0 or later.
Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Header: Declared in ddraw.h.
Import Library: Use ddraw.lib.
See Also