Microsoft DirectX 8.1 (C++)

ID3DXFont::GetLogFont

Retrieves the attributes of the font.

HRESULT GetLogFont(
  LOGFONT* pLogFont
); 

Parameters

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

Return Values

If the method succeeds, the return value is D3D_OK.

D3DERR_INVALIDCALL can be returned if the parameter is invalid.

Remarks

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

Requirements

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