|   |   |   | 
| Device.EndStateBlock Method | Language: | 
Signals Microsoft Direct3D to stop recording a device state block and retrieve a pointer to the state block interface.
Visual Basic Public Function EndStateBlock() As StateBlock C# public StateBlock EndStateBlock(); C++ public: 
StateBlock^ EndStateBlock();JScript public function EndStateBlock() : StateBlock; 
Microsoft.DirectX.Direct3D.StateBlock
State block object. For more information, see StateBlock.
Exceptions
InvalidCallException The method call is invalid. This can occur if EndStateBlock is called without a corresponding BeginStateBlock. 
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
        
          Feedback? Please provide us with your comments on this topic.
			
        
        
	   		For more help, visit the DirectX Developer Center