Export (0) Print
Expand All

GetRasterizerCaps function

The GetRasterizerCaps function returns flags indicating whether TrueType fonts are installed in the system.

Syntax


BOOL GetRasterizerCaps(
  _Out_  LPRASTERIZER_STATUS lprs,
  _In_   UINT cb
);

Parameters

lprs [out]

A pointer to a RASTERIZER_STATUS structure that receives information about the rasterizer.

cb [in]

The number of bytes to be copied into the structure pointed to by the lprs parameter.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.

Remarks

The GetRasterizerCaps function enables applications and printer drivers to determine whether TrueType fonts are installed.

If the TT_AVAILABLE flag is set in the wFlags member of the RASTERIZER_STATUS structure, at least one TrueType font is installed. If the TT_ENABLED flag is set, TrueType is enabled for the system.

The actual number of bytes copied is either the member specified in the cb parameter or the length of the RASTERIZER_STATUS structure, whichever is less.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Wingdi.h (include Windows.h)

Library

Gdi32.lib

DLL

Gdi32.dll

See also

Fonts and Text Overview
Font and Text Functions
GetOutlineTextMetrics
RASTERIZER_STATUS

 

 

Community Additions

ADD
Show:
© 2014 Microsoft