From 07d22c372dd3cf27349f888e3df7e4567a074a78 Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Mon, 20 Jun 2005 19:28:45 +0000 Subject: [PATCH] Compile msafd with NDK svn path=/trunk/; revision=16167 --- reactos/include/ndk/rtlfuncs.h | 29 +++++++++++++++++++++++++++++ reactos/include/ndk/umtypes.h | 9 +++++++++ reactos/lib/msafd/include/msafd.h | 10 ++++------ 3 files changed, 42 insertions(+), 6 deletions(-) diff --git a/reactos/include/ndk/rtlfuncs.h b/reactos/include/ndk/rtlfuncs.h index 738b8dc8078..1bd86878d8d 100644 --- a/reactos/include/ndk/rtlfuncs.h +++ b/reactos/include/ndk/rtlfuncs.h @@ -1434,6 +1434,35 @@ RtlIsTextUnicode( ULONG *Flags ); +/* + * Misc conversion functions + */ +LARGE_INTEGER +STDCALL +RtlConvertLongToLargeInteger(IN LONG SignedInteger); + +LARGE_INTEGER +STDCALL +RtlEnlargedIntegerMultiply( + LONG Multiplicand, + LONG Multiplier +); + +ULONG +STDCALL +RtlEnlargedUnsignedDivide( + ULARGE_INTEGER Dividend, + ULONG Divisor, + PULONG Remainder +); + +LARGE_INTEGER +STDCALL +RtlEnlargedUnsignedMultiply( + ULONG Multiplicand, + ULONG Multiplier +); + /* * Time Functions */ diff --git a/reactos/include/ndk/umtypes.h b/reactos/include/ndk/umtypes.h index e1235bf459a..e2e12b6c059 100644 --- a/reactos/include/ndk/umtypes.h +++ b/reactos/include/ndk/umtypes.h @@ -805,6 +805,15 @@ typedef struct FILE_ALLOCATED_RANGE_BUFFER LARGE_INTEGER Length; } FILE_ALLOCATED_RANGE_BUFFER, *PFILE_ALLOCATED_RANGE_BUFFER; +typedef struct _FILE_FULL_EA_INFORMATION +{ + ULONG NextEntryOffset; + UCHAR Flags; + UCHAR EaNameLength; + USHORT EaValueLength; + CHAR EaName[1]; +} FILE_FULL_EA_INFORMATION, *PFILE_FULL_EA_INFORMATION; + typedef struct _FILE_QUOTA_INFORMATION { ULONG NextEntryOffset; diff --git a/reactos/lib/msafd/include/msafd.h b/reactos/lib/msafd/include/msafd.h index 5c64c908d68..17a58ea7584 100644 --- a/reactos/lib/msafd/include/msafd.h +++ b/reactos/lib/msafd/include/msafd.h @@ -10,16 +10,14 @@ #include #include #include -#define NTOS_USER_MODE -#include -#include /* comment for msvc */ -//#include "C:\Programming\ReactOS\reactos\w32api\include\wsahelp.h" uncomment for MSVC +#include #include #include -//#include "C:\Programming\ReactOS\reactos\w32api\include\ddk\tdi.h" uncomment for MSVC -#include /* comment for msvc */ +#include #include #include +#define NTOS_MODE_USER +#include #include extern HANDLE GlobalHeap;