Description
GreQuerySetIds returns a list of created lcids with their names and types in the buffers addressed by paLcid, paszNames, and paTypes.
This function is supported by the graphics engine.
#define INCL_GRE_SETID #include <os2.h> HDC hdc; /* Device context handle. */ LONG cSets; /* Number of sets to return. */ PLONG paTypes; PSTR8 paszNames; PLONG paLcid; /* Pointer to an array of cSets elements to which the lcids are returned. */ ULONG lRange; /* Indicates whether GPI, or AVIO local identifiers, or both are to be returned. */ PVOID pInstance; /* Pointer to instance data. */ ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreQuerySetIds. */ BOOL fSuccess; /* Return codes. */ fSuccess = GreQuerySetIds(hdc, cSets, paTypes, paszNames, paLcid, lRange, pInstance, lFunction);