Use free Windows DDK and compile with latest MinGW releases.
[reactos.git] / reactos / lib / kernel32 / file / backup.c
index 238e01f..3566daa 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: backup.c,v 1.1 2001/03/31 01:17:29 dwelch Exp $
+/* $Id: backup.c,v 1.2 2002/09/07 15:12:26 chorns Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
 
 /* INCLUDES *****************************************************************/
 
-#include <ddk/ntddk.h>
 #include <windows.h>
+#define NTOS_USER_MODE
+#include <ntos.h>
 #include <wchar.h>
 #include <string.h>
-#include <ntdll/rtl.h>
 
 #include <kernel32/kernel32.h>
 #include <kernel32/error.h>
 
 /* FUNCTIONS ****************************************************************/
 
-WINBOOL
+BOOL
 STDCALL
 BackupRead (
        HANDLE  hFile,
        LPBYTE  lpBuffer,
        DWORD   nNumberOfBytesToRead,
        LPDWORD lpNumberOfBytesRead,
-       WINBOOL bAbort,
-       WINBOOL bProcessSecurity,
+       BOOL    bAbort,
+       BOOL    bProcessSecurity,
        LPVOID  * lpContext
        )
 {
@@ -38,7 +38,7 @@ BackupRead (
 }
 
 
-WINBOOL
+BOOL
 STDCALL
 BackupSeek (
        HANDLE  hFile,
@@ -54,15 +54,15 @@ BackupSeek (
 }
 
 
-WINBOOL
+BOOL
 STDCALL
 BackupWrite (
        HANDLE  hFile,
        LPBYTE  lpBuffer,
        DWORD   nNumberOfBytesToWrite,
        LPDWORD lpNumberOfBytesWritten,
-       WINBOOL bAbort,
-       WINBOOL bProcessSecurity,
+       BOOL    bAbort,
+       BOOL    bProcessSecurity,
        LPVOID  * lpContext
        )
 {