Gets the address of:

#define INCL_DOSPROCESS
#include <os2.h>

PTIB     *pptib;  /*  A pointer to the address of the TIB in which the current thread is returned. */
PPIB     *pppib;  /*  The address of a pointer to the PIB in which the current process is returned. */
APIRET    ulrc;   /*  Return Code. */

ulrc = DosGetInfoBlocks(pptib, pppib);


[Back] [Next]