Apply the state block to the current device state.
Syntax
HRESULT Apply(VOID);
Return Value
If the method succeeds, the return value is D3D_OK.If the method fails while in record mode, the return value is D3DERR_INVALIDCALL.
If the method succeeds, the return value is D3D_OK.
If the method fails while in record mode, the return value is D3DERR_INVALIDCALL.