#include <os2.h>
#include <stdio.h>

typedef unsigned long ulong;

void main ()
{
  for (ulong i = 0; i < 25; i ++) 
  {
    void *ptr = NULL;                                                          /* "void *"  == "PVOID"  */
    DosAllocMem ((void **) &ptr, 1, PAG_COMMIT | PAG_READ | PAG_WRITE);        /* "void **" == "PPVOID" */

    printf ("0x%x" "\n", (ulong) ptr);                                         /* "ULONG" <<-- "PVOID"  */
  }
}
