OS/2 Date and Time API Differences

The following describes the implementation differences between the OS2Linux library and the real OS/2 date time APIs.

These APIs are included in your application by including the following definition in your application source file.

#define INCL_DOSDATETIME

DosGetDateTime

APIRET APIENTRY DosGetDateTime(PDATETIME pdt);

DosSetDateTime

APIRET APIENTRY DosSetDateTime(PDATETIME pdt);

DosAsyncTimer

APIRET APIENTRY DosAsyncTimer(ULONG msec, HSEM hsem, PHTIMER phtimer);

DosStartTimer

APIRET APIENTRY DosStartTimer(ULONG msec, HSEM hsem, PHTIMER phtimer);

DosStopTimer

APIRET APIENTRY DosStopTimer(HTIMER htimer);