#define INCL_DOSMONITORS USHORT rc = DosMonOpen(Devname, Handle); PSZ Devname; /* Device name string */ PHMONITOR Handle; /* Monitor handle (returned) * USHORT rc; /* return code */