mirror of
https://github.com/reactos/reactos.git
synced 2025-01-02 12:32:47 +00:00
* lib/fmifs
* lib/fslib/fvatlib Convert Win32 types to native svn path=/trunk/; revision=8328
This commit is contained in:
parent
8265b68f51
commit
2beb8b39ac
2 changed files with 30 additions and 35 deletions
|
@ -1,6 +1,6 @@
|
||||||
#ifndef _FMIFS_H
|
#ifndef _FMIFS_H
|
||||||
#define _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
|
* fmifs.h
|
||||||
*
|
*
|
||||||
|
@ -17,15 +17,12 @@
|
||||||
* Normalized function names.
|
* Normalized function names.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#ifndef _INC_WINDOWS_
|
|
||||||
#include <windows.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Output command */
|
/* Output command */
|
||||||
typedef
|
typedef
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
DWORD Lines;
|
ULONG Lines;
|
||||||
PCHAR Output;
|
PCHAR Output;
|
||||||
|
|
||||||
} TEXTOUTPUT, *PTEXTOUTPUT;
|
} TEXTOUTPUT, *PTEXTOUTPUT;
|
||||||
|
@ -57,10 +54,10 @@ enum
|
||||||
|
|
||||||
/* FMIFS callback definition */
|
/* FMIFS callback definition */
|
||||||
typedef
|
typedef
|
||||||
BOOL
|
BOOLEAN
|
||||||
(STDCALL * PFMIFSCALLBACK) (
|
(STDCALL * PFMIFSCALLBACK) (
|
||||||
CALLBACKCOMMAND Command,
|
CALLBACKCOMMAND Command,
|
||||||
DWORD SubAction,
|
ULONG SubAction,
|
||||||
PVOID ActionInfo
|
PVOID ActionInfo
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -68,13 +65,13 @@ BOOL
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
STDCALL
|
||||||
Chkdsk(
|
Chkdsk(
|
||||||
PWCHAR DriveRoot,
|
PWCHAR DriveRoot,
|
||||||
PWCHAR Format,
|
PWCHAR Format,
|
||||||
BOOL CorrectErrors,
|
BOOLEAN CorrectErrors,
|
||||||
BOOL Verbose,
|
BOOLEAN Verbose,
|
||||||
BOOL CheckOnlyIfDirty,
|
BOOLEAN CheckOnlyIfDirty,
|
||||||
BOOL ScanDrive,
|
BOOLEAN ScanDrive,
|
||||||
PVOID Unused2,
|
PVOID Unused2,
|
||||||
PVOID Unused3,
|
PVOID Unused3,
|
||||||
PFMIFSCALLBACK Callback
|
PFMIFSCALLBACK Callback
|
||||||
);
|
);
|
||||||
|
@ -83,13 +80,13 @@ Chkdsk(
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
STDCALL
|
||||||
ChkDskEx(
|
ChkDskEx(
|
||||||
PWCHAR DriveRoot,
|
PWCHAR DriveRoot,
|
||||||
PWCHAR Format,
|
PWCHAR Format,
|
||||||
BOOL CorrectErrors,
|
BOOLEAN CorrectErrors,
|
||||||
BOOL Verbose,
|
BOOLEAN Verbose,
|
||||||
BOOL CheckOnlyIfDirty,
|
BOOLEAN CheckOnlyIfDirty,
|
||||||
BOOL ScanDrive,
|
BOOLEAN ScanDrive,
|
||||||
PVOID Unused2,
|
PVOID Unused2,
|
||||||
PVOID Unused3,
|
PVOID Unused3,
|
||||||
PFMIFSCALLBACK Callback
|
PFMIFSCALLBACK Callback
|
||||||
);
|
);
|
||||||
|
@ -101,11 +98,11 @@ STDCALL
|
||||||
DiskCopy(VOID);
|
DiskCopy(VOID);
|
||||||
|
|
||||||
/* Enable/Disable volume compression */
|
/* Enable/Disable volume compression */
|
||||||
BOOL
|
BOOLEAN
|
||||||
STDCALL
|
STDCALL
|
||||||
EnableVolumeCompression(
|
EnableVolumeCompression(
|
||||||
PWCHAR DriveRoot,
|
PWCHAR DriveRoot,
|
||||||
BOOL Enable
|
BOOLEAN Enable
|
||||||
);
|
);
|
||||||
|
|
||||||
/* Format command in FMIFS */
|
/* Format command in FMIFS */
|
||||||
|
@ -118,11 +115,11 @@ VOID
|
||||||
STDCALL
|
STDCALL
|
||||||
FormatEx(
|
FormatEx(
|
||||||
PWCHAR DriveRoot,
|
PWCHAR DriveRoot,
|
||||||
DWORD MediaFlag,
|
ULONG MediaFlag,
|
||||||
PWCHAR Format,
|
PWCHAR Format,
|
||||||
PWCHAR Label,
|
PWCHAR Label,
|
||||||
BOOL QuickFormat,
|
BOOLEAN QuickFormat,
|
||||||
DWORD ClusterSize,
|
ULONG ClusterSize,
|
||||||
PFMIFSCALLBACK Callback
|
PFMIFSCALLBACK Callback
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -9,20 +9,18 @@
|
||||||
|
|
||||||
#include <fmifs.h>
|
#include <fmifs.h>
|
||||||
|
|
||||||
|
NTSTATUS
|
||||||
|
VfatInitialize (VOID);
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
VfatInitialize();
|
VfatCleanup (VOID);
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
VfatCleanup();
|
VfatFormat (PUNICODE_STRING DriveRoot,
|
||||||
|
ULONG MediaFlag,
|
||||||
NTSTATUS
|
PUNICODE_STRING Label,
|
||||||
VfatFormat(
|
BOOLEAN QuickFormat,
|
||||||
PUNICODE_STRING DriveRoot,
|
ULONG ClusterSize,
|
||||||
DWORD MediaFlag,
|
PFMIFSCALLBACK Callback);
|
||||||
PUNICODE_STRING Label,
|
|
||||||
BOOL QuickFormat,
|
|
||||||
DWORD ClusterSize,
|
|
||||||
PFMIFSCALLBACK Callback);
|
|
||||||
|
|
||||||
#endif /*__VFATLIB_H */
|
#endif /*__VFATLIB_H */
|
||||||
|
|
Loading…
Reference in a new issue