gpi12.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
GpiSetMarkerSet (1.2)
Function Group  Overview                          Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_GPIPRIMITIVES
 
BOOL GpiSetMarkerSet(hps, lcid)
HPS hps;      /* presentation-space handle */
LONG lcid;    /* local identifier          */
 
The GpiSetMarkerSet function sets the current marker-set attribute. The
marker-set attribute specifies the marker or character set from which
markers can be chosen. The marker set can be the default marker set or any
logical font created by using the GpiCreateLogFont function.
 
If the attribute mode is AM_PRESERVE, the function saves the previous
marker-set attribute on the attribute stack when it sets the new marker set.
The previous marker-set attribute can be retrieved by using the GpiPop
function.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hps        Identifies the presentation space.
 
lcid       Specifies the logical identifier for the marker set. It can be
           any integer in the range 1 to 254 for which a logical font has be
           created, or it can be LCID_DEFAULT to specify the default marker
           set.
 
Return Value
 
The return value is GPI_OK if the function is successful or GPI_ERROR 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_INV_MARKER_SET_ATTR
     PMERR_PS_BUSY
 
See Also
 
GpiCreateLogFont, GpiPop, GpiQueryAttrs, GpiQueryMarkerSet, GpiSetAttrs,
WinGetLastError