Partager via


IDirect3DDevice8::DeleteStateBlock

This method deletes a previously recorded device-state block.

HRESULT DeleteStateBlock(
  DWORD Token
);

Parameters

Return Values

If the method succeeds, the return value is D3D_OK.

If the method fails, the return value can be D3DERR_INVALIDCALL.

Remarks

The value 0xFFFFFFFF is an invalid state block handle.

Applications cannot delete a device-state block while another is being recorded

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: D3d8.h.
Link Library: D3d8.lib.

See Also

IDirect3DDevice8::ApplyStateBlock | IDirect3DDevice8::BeginStateBlock | IDirect3DDevice8::CaptureStateBlock | IDirect3DDevice8::CreateStateBlock | IDirect3DDevice8::EndStateBlock | IDirect3DDevice8

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.