PHGetFont (Windows Embedded CE 6.0)
1/6/2010
This function retrieves the specified font from the GDI cache. It creates the font if necessary. The standard font values are defined in phcommon.rc and correspond to one of the values in the PH_FONT enumeration.
Syntax
HFONT PHGetFont(
PH_FONT Id
);
Parameters
- Id
[in] A PH_FONT enumeration that identifies the specified font desired.
Return Value
If successful, the return value is the handle to the font requested. The following table shows additional possible return values.
Value | Description |
---|---|
NULL |
Failure. |
Remarks
Note
This documentation applies to functionality implemented in sample code for PhCommon. For more information, see PhCommon Reference.
Requirements
Header | controldefinitions.h |
Library | PhCommon.dll |
Windows Embedded CE | Windows Embedded CE 6.0 and later |