This function returns a description of the current user and system profiles.
#define INCL_WINSHELLDATA /* Or use INCL_WIN, INCL_PM, */ #include <os2.h> HAB hab; /* Anchor-block handle. */ PPRFPROFILE pprfproProfile; /* Profile names structure. */ BOOL rc; /* Success indicator. */ rc = PrfQueryProfile(hab, pprfproProfile);