3873c141c038656f4cd1b23a82e496e6202eaa6e
3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS OS/2 sub system
6 * PURPOSE: Kernelservices for OS/2 apps
7 * PROGRAMMER: Robert K. robertk@mok.lvcm.com
17 // FIXME: use ib headers
19 #define EXIT_PROCESS 1
21 #define ERROR_INVALID_HANDLE 5
22 #define ERROR_FILE_NOT_FOUND 6
25 // Give the user nicer names that the internal ones
26 #define DosSleep Dos32Sleep
27 #define DosCreateThread Dos32CreateThread
28 #define DosOpen Dos32Open
29 #define DosClose Dos32Close
30 #define DosRead Dos32Read
31 #define DosWrite Dos32Write
32 #define DosBeep Dos32Beep
33 #define DosExit Dos32Exit
36 APIRET APIENTRY
Dos32Sleep(ULONG msec
);
38 APIRET APIENTRY
Dos32CreateThread(PTID ptid
,
44 APIRET APIENTRY
Dos32Open(PSZ pszFileName
,
51 PVOID reserved
); //ULONGPEAOP2 peaop2)
53 APIRET APIENTRY
Dos32Close(HFILE hFile
);
55 APIRET APIENTRY
Dos32Read(HFILE hFile
,
60 APIRET APIENTRY
Dos32Write(HFILE hFile
,
65 APIRET APIENTRY
Dos32DevIOCtl(HFILE hDevice
, ULONG category
, ULONG function
,
66 PVOID pParams
,ULONG cbParmLenMax
,PULONG pcbParmLen
,
67 PVOID pData
,ULONG cbDataLenMax
,PULONG pcbDataLen
);
70 APIRET APIENTRY
Dos32Beep(ULONG freq
,
73 VOID APIENTRY
Dos32Exit(ULONG action
,