MAKEPGINFOSEG (1.2)
◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
#define INCL_DOSINFOSEG
MAKEPGINFOSEG(sel)
The MAKEPGINFOSEG macro creates a far (32-bit) pointer to the first byte in
the global information segment. The macro assumes that the selector
specified by the sel parameter has been retrieved by using the
DosGetInfoSeg function.
Parameter Description
────────────────────────────────────────────────────────────────────────────
sel Specifies the segment selector of the global information
segment.
Example
SEL selGlobalSeg, selLocalSeg;
GINFOSEG FAR *pgis;
DosGetInfoSeg(&selGlobalSeg, &selLocalSeg);
pgis = MAKEPGINFOSEG(selGlobalSeg);
See Also
DosGetInfoSeg, MAKEPLINFOSEG
♦