GpiQueryCp

Returns the currently selected graphics code page.

Parameter

 * hps (HPS) - input:Presentation-space handle.
 * ulCodePage (ULONG) - returns Code page.
 * GPI_ERROR - Error
 * Otherwise Code page.

The code page identity returned is the one that is set by GpiSetCp (or defaulted when the presentation space is first created). This is the code page of the default font, not the currently-selected font, found from GpiQueryFontMetrics.