Microsoft DirectX 9.0 SDK Update (October 2004)

Device.EndStateBlock Method

Language:

Note: This documentation is preliminary and is subject to change.

Signals Microsoft® Direct3D® to stop recording a device state block and retrieve a pointer to the state block interface.

Definition

Visual Basic .NET Public Function EndStateBlock() As StateBlock
C# public StateBlock EndStateBlock();
Managed C++ public: StateBlock* EndStateBlock();
JScript .NET public function EndStateBlock() : StateBlock;

Return Value

Microsoft.DirectX.Direct3D.StateBlock . State block object. For more information, see StateBlock.

Remarks

Exceptions
InvalidCallException The method call is invalid. This can occur if EndStateBlock is called without a corresponding BeginStateBlock.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center