gpi12.hlp (Table of Contents; Topic list)
GpiQueryNumberSetIds (1.2)
Function Group  Overview                          Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_GPILCIDS
 
LONG GpiQueryNumberSetIds(hps)
HPS hps;    /* presentation-space handle */
 
The GpiQueryNumberSetIds function returns the number of local identifiers
currently in use that refer to fonts or bitmaps. The function is typically
used before calling the GpiQuerySetIds function.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hps        Identifies the presentation space.
 
Return Value
 
The return value is the number of local identifiers in use if the function
is successful or GPI_ALTERROR if an error occurred.
 
Errors
 
Use the WinGetLastError function to retrieve the error value, which may be
one of the following:
 
     PMERR_INV_HPS
     PMERR_PS_BUSY
 
See Also
 
GpiQuerySetIds, GpiSetBitmapId, GpiSetCharSet