From 2beb8b39ac8f469ca62e5b8b34d1c2e71ff6eaf2 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Mon, 23 Feb 2004 11:53:00 +0000 Subject: [PATCH] * lib/fmifs * lib/fslib/fvatlib Convert Win32 types to native svn path=/trunk/; revision=8328 --- reactos/include/fmifs.h | 45 +++++++++++++++------------------ reactos/include/fslib/vfatlib.h | 20 +++++++-------- 2 files changed, 30 insertions(+), 35 deletions(-) diff --git a/reactos/include/fmifs.h b/reactos/include/fmifs.h index 2570dce80b1..ba398f57ba9 100644 --- a/reactos/include/fmifs.h +++ b/reactos/include/fmifs.h @@ -1,6 +1,6 @@ #ifndef _FMIFS_H #define _FMIFS_H -/* $Id: fmifs.h,v 1.2 2000/04/25 23:22:48 ea Exp $ +/* $Id: fmifs.h,v 1.3 2004/02/23 11:52:39 ekohl Exp $ * * fmifs.h * @@ -17,15 +17,12 @@ * Normalized function names. * */ -#ifndef _INC_WINDOWS_ -#include -#endif /* Output command */ typedef struct { - DWORD Lines; + ULONG Lines; PCHAR Output; } TEXTOUTPUT, *PTEXTOUTPUT; @@ -57,10 +54,10 @@ enum /* FMIFS callback definition */ typedef -BOOL +BOOLEAN (STDCALL * PFMIFSCALLBACK) ( CALLBACKCOMMAND Command, - DWORD SubAction, + ULONG SubAction, PVOID ActionInfo ); @@ -68,13 +65,13 @@ BOOL VOID STDCALL Chkdsk( - PWCHAR DriveRoot, + PWCHAR DriveRoot, PWCHAR Format, - BOOL CorrectErrors, - BOOL Verbose, - BOOL CheckOnlyIfDirty, - BOOL ScanDrive, - PVOID Unused2, + BOOLEAN CorrectErrors, + BOOLEAN Verbose, + BOOLEAN CheckOnlyIfDirty, + BOOLEAN ScanDrive, + PVOID Unused2, PVOID Unused3, PFMIFSCALLBACK Callback ); @@ -83,13 +80,13 @@ Chkdsk( VOID STDCALL ChkDskEx( - PWCHAR DriveRoot, + PWCHAR DriveRoot, PWCHAR Format, - BOOL CorrectErrors, - BOOL Verbose, - BOOL CheckOnlyIfDirty, - BOOL ScanDrive, - PVOID Unused2, + BOOLEAN CorrectErrors, + BOOLEAN Verbose, + BOOLEAN CheckOnlyIfDirty, + BOOLEAN ScanDrive, + PVOID Unused2, PVOID Unused3, PFMIFSCALLBACK Callback ); @@ -101,11 +98,11 @@ STDCALL DiskCopy(VOID); /* Enable/Disable volume compression */ -BOOL +BOOLEAN STDCALL EnableVolumeCompression( PWCHAR DriveRoot, - BOOL Enable + BOOLEAN Enable ); /* Format command in FMIFS */ @@ -118,11 +115,11 @@ VOID STDCALL FormatEx( PWCHAR DriveRoot, - DWORD MediaFlag, + ULONG MediaFlag, PWCHAR Format, PWCHAR Label, - BOOL QuickFormat, - DWORD ClusterSize, + BOOLEAN QuickFormat, + ULONG ClusterSize, PFMIFSCALLBACK Callback ); diff --git a/reactos/include/fslib/vfatlib.h b/reactos/include/fslib/vfatlib.h index c8246389a40..c1259ff481c 100755 --- a/reactos/include/fslib/vfatlib.h +++ b/reactos/include/fslib/vfatlib.h @@ -9,20 +9,18 @@ #include +NTSTATUS +VfatInitialize (VOID); NTSTATUS -VfatInitialize(); +VfatCleanup (VOID); NTSTATUS -VfatCleanup(); - -NTSTATUS -VfatFormat( - PUNICODE_STRING DriveRoot, - DWORD MediaFlag, - PUNICODE_STRING Label, - BOOL QuickFormat, - DWORD ClusterSize, - PFMIFSCALLBACK Callback); +VfatFormat (PUNICODE_STRING DriveRoot, + ULONG MediaFlag, + PUNICODE_STRING Label, + BOOLEAN QuickFormat, + ULONG ClusterSize, + PFMIFSCALLBACK Callback); #endif /*__VFATLIB_H */