Skip to content

Latest commit

 

History

History
66 lines (41 loc) · 1.39 KB

id3dxfont--onresetdevice.md

File metadata and controls

66 lines (41 loc) · 1.39 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
ID3DXFont::OnResetDevice method - Use this method to re-acquire resources and save initial state.
a63efb49-7864-4675-b367-4ae53995caea
ID3DXFont::OnResetDevice method (D3dx9core.h)
reference
05/31/2018
APIRef
kbSyntax
ID3DXFont.OnResetDevice
COM
d3dx9.lib
d3dx9.dll

ID3DXFont::OnResetDevice method

Use this method to re-acquire resources and save initial state.

Syntax

HRESULT OnResetDevice();

Parameters

This method has no parameters.

Return value

Type: HRESULT

If the method succeeds, the return value is S_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.

Remarks

OnResetDevice should be called each time the device is reset (using Reset), before any other methods are called. This is a good place to re-acquire video-memory resources and capture state blocks.

Requirements

Requirement Value
Header
D3dx9core.h
Library
D3dx9.lib

See also

ID3DXFont