Microsoft DirectX 8.1 (Visual Basic)

Deleting State Blocks

The Direct3DDevice8.DeleteStateBlock deletes a state block, deallocating the memory used to contain it. The DeleteStateBlock method accepts the handle to the state block to delete at its only parameter. After deleting a state block, any handles to it are invalid, and can no longer be used.