ID3D11DeviceContext1_SwapDeviceContextState_Proxy

Proxy function for ID3D11DeviceContext1::SwapDeviceContextState, which activates the given context state object and changes the current device behavior to Microsoft Direct3D 11, Microsoft Direct3D 10.1, or Microsoft Direct3D 10.

Syntax

void ID3D11DeviceContext1_SwapDeviceContextState_Proxy(
         ID3D11DeviceContext1 *This,
         ID3DDeviceContextState *pState,
         ID3DDeviceContextState **ppPreviousState
)  

Parameters

This
Type: ID3D11DeviceContext1 *

A pointer to the current instance of ID3D11DeviceContext1.

pState
Type: ID3DDeviceContextState *

[in] A pointer to the ID3DDeviceContextState interface for the context state object that was previously created through the ID3D11Device1::CreateDeviceContextState method. If SwapDeviceContextState is called with pState set to NULL, the call has no effect.

ppPreviousState
Type: ID3DDeviceContextState **

[out, optional] A pointer to a variable that receives a pointer to the ID3DDeviceContextState interface for the previously-activated context state object.

Return value

None.

Remarks

See ID3D11DeviceContext1::SwapDeviceContextState.

Requirements

Header: Declared in d3d11_1.h.

Library: Use d3d11.lib.