?/TD>
Microsoft DirectX 9.0

ID3DXFont::GetLogFont Method


Retrieves the attributes of the font.

Syntax

HRESULT GetLogFont(      

    LOGFONT *pLogFont );

Parameters

pLogFont
[in, out] Pointer to the returned LOGFONT structure, describing the attributes of the font.

Return Value

If the method succeeds, the return value is D3D_OK.

D3DERR_INVALIDCALL can be returned if the parameter is invalid.



Remarks

For more information about the LOGFONT structure, see the Microsoft?Platform Software Development Kit (SDK).



© 2002 Microsoft Corporation. All rights reserved.