Microsoft DirectX 8.1 (C++)

ID3DXRenderToSurface::OnResetDevice

Should be called after the device has been reset.

HRESULT OnResetDevice();

Parameters

None.

Return Values

If the method succeeds, the return value is S_OK.

If the method fails, the return value can be D3DERR_INVALIDCALL.

Remarks

This method should be called after the device has been reset, before any other methods are called.

Requirements

Header: Declared in D3dx8core.h.
Import Library: Use D3dx8.lib.