Apply the state block to the current device state.
HRESULT Apply();
None.
If the method succeeds, the return value is D3D_OK. If the method fails while in record mode, the return value is D3DERR_INVALIDCALL.
Header: Declared in D3d9.h.