| Last change
 on this file since 21718 was             8775, checked in by sandervl, 23 years ago | 
        
          | 
debug updates + added OSLibDosGetTickCount
 | 
        
          | File size:
            949 bytes | 
      
      
| Line |  | 
|---|
| 1 | /* $Id: oslibtime.cpp,v 1.1 2002-06-26 07:14:18 sandervl Exp $ */ | 
|---|
| 2 | /* | 
|---|
| 3 | * OS/2 time procedures | 
|---|
| 4 | * | 
|---|
| 5 | * Copyright 2002 Sander van Leeuwen (sandervl@xs4all.nl) | 
|---|
| 6 | * | 
|---|
| 7 | * | 
|---|
| 8 | * Project Odin Software License can be found in LICENSE.TXT | 
|---|
| 9 | * | 
|---|
| 10 | */ | 
|---|
| 11 | #define INCL_WIN | 
|---|
| 12 | #define INCL_BASE | 
|---|
| 13 | #define INCL_DOSPROCESS | 
|---|
| 14 | #define INCL_DOSSEL | 
|---|
| 15 | #define INCL_DOSNLS | 
|---|
| 16 | #include <os2wrap.h>    //Odin32 OS/2 api wrappers | 
|---|
| 17 | #include <string.h> | 
|---|
| 18 | #include <stdlib.h> | 
|---|
| 19 | #include <stdio.h> | 
|---|
| 20 | #include <malloc.h> | 
|---|
| 21 | #include "oslibtime.h" | 
|---|
| 22 | #include <dbglog.h> | 
|---|
| 23 |  | 
|---|
| 24 | #define DBG_LOCALLOG    DBG_oslibtime | 
|---|
| 25 | #include "dbglocal.h" | 
|---|
| 26 |  | 
|---|
| 27 | //****************************************************************************** | 
|---|
| 28 | //****************************************************************************** | 
|---|
| 29 | ULONG OSLibDosGetTickCount() | 
|---|
| 30 | { | 
|---|
| 31 | return WinGetCurrentTime(0); | 
|---|
| 32 | } | 
|---|
| 33 | //****************************************************************************** | 
|---|
| 34 | //****************************************************************************** | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.