Compile msafd with NDK
authorAlex Ionescu <aionescu@gmail.com>
Mon, 20 Jun 2005 19:28:45 +0000 (19:28 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Mon, 20 Jun 2005 19:28:45 +0000 (19:28 +0000)
svn path=/trunk/; revision=16167

reactos/include/ndk/rtlfuncs.h
reactos/include/ndk/umtypes.h
reactos/lib/msafd/include/msafd.h

index 738b8dc..1bd8687 100644 (file)
@@ -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
  */
index e1235bf..e2e12b6 100644 (file)
@@ -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;
index 5c64c90..17a58ea 100644 (file)
 #include <roscfg.h>
 #include <stdlib.h>
 #include <windows.h>
-#define NTOS_USER_MODE
-#include <ntos.h>
-#include <wsahelp.h> /* comment for msvc */
-//#include "C:\Programming\ReactOS\reactos\w32api\include\wsahelp.h" uncomment for MSVC
+#include <wsahelp.h>
 #include <winsock2.h>
 #include <ws2spi.h>
-//#include "C:\Programming\ReactOS\reactos\w32api\include\ddk\tdi.h" uncomment for MSVC
-#include <ddk/tdi.h> /* comment for msvc */
+#include <ddk/tdi.h>
 #include <afd/shared.h>
 #include <helpers.h>
+#define NTOS_MODE_USER
+#include <ndk/ntndk.h>
 #include <debug.h>
 
 extern HANDLE GlobalHeap;