From d3be6e62e8abe84800ce1d8a7e8a530c2783339f Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Sun, 6 Jul 2014 16:13:49 +0000 Subject: [PATCH] [FMIFS] Add Format prototype. svn path=/trunk/; revision=63696 --- reactos/dll/win32/fmifs/fmifs.spec | 2 +- reactos/dll/win32/fmifs/format.c | 11 ++++++++--- reactos/include/reactos/libs/fmifs/fmifs.h | 10 ++++++++++ 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/reactos/dll/win32/fmifs/fmifs.spec b/reactos/dll/win32/fmifs/fmifs.spec index 25f98a1d678..c27f3974a88 100644 --- a/reactos/dll/win32/fmifs/fmifs.spec +++ b/reactos/dll/win32/fmifs/fmifs.spec @@ -4,7 +4,7 @@ @ stdcall DiskCopy() @ stdcall EnableVolumeCompression(wstr long) @ stdcall Extend() -@ stdcall Format() +@ stdcall Format(wstr ptr wstr wstr long ptr) @ stdcall FormatEx(wstr ptr wstr wstr long long ptr) @ stub FormatEx2 @ stdcall InitializeFmIfs(ptr long ptr) diff --git a/reactos/dll/win32/fmifs/format.c b/reactos/dll/win32/fmifs/format.c index 7f10962dfd9..5aab0242374 100644 --- a/reactos/dll/win32/fmifs/format.c +++ b/reactos/dll/win32/fmifs/format.c @@ -14,9 +14,14 @@ #include /* FMIFS.6 */ -VOID -NTAPI -Format(VOID) +VOID NTAPI +Format( + IN PWCHAR DriveRoot, + IN FMIFS_MEDIA_FLAG MediaFlag, + IN PWCHAR Format, + IN PWCHAR Label, + IN BOOLEAN QuickFormat, + IN PFMIFSCALLBACK Callback) { } diff --git a/reactos/include/reactos/libs/fmifs/fmifs.h b/reactos/include/reactos/libs/fmifs/fmifs.h index cdf87f504af..14bf5310f2f 100644 --- a/reactos/include/reactos/libs/fmifs/fmifs.h +++ b/reactos/include/reactos/libs/fmifs/fmifs.h @@ -133,6 +133,16 @@ EnableVolumeCompression( /* Format command in FMIFS */ VOID NTAPI +Format( + IN PWCHAR DriveRoot, + IN FMIFS_MEDIA_FLAG MediaFlag, + IN PWCHAR Format, + IN PWCHAR Label, + IN BOOLEAN QuickFormat, + IN PFMIFSCALLBACK Callback); + +/* FormatEx command in FMIFS */ +VOID NTAPI FormatEx( IN PWCHAR DriveRoot, IN FMIFS_MEDIA_FLAG MediaFlag, -- 2.17.1