d3d9.dllOnLostDevice
Microsoft DirectX 9.0 SDK Update (October 2004)

ID3DXFont::OnLostDevice Method


Releases all references to video memory resources and deletes all stateblocks.

Syntax

HRESULT OnLostDevice(VOID);

Return Value

This method returns S_OK.

Remarks

This method should be called whenever the device is lost. Before this object can be used again, the device must be reset and the ID3DXFont::OnResetDevice method called.

See Also

ID3DXFont::OnResetDevice


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.