| Microsoft DirectX 8.1 (C++) | 
Creates a font object for a device and font.
HRESULT D3DXCreateFont( LPDIRECT3DDEVICE8 pDevice, HFONT hFont, LPD3DXFONT* ppFont );
If the function succeeds, the return value is D3D_OK.
If the function fails, the return value can be one of the following values.
| D3DERR_INVALIDCALL | 
| E_OUTOFMEMORY | 
  Header: Declared in D3dx8core.h.
  Import Library: Use D3dx8.lib.