Compile msafd with NDK Modified: trunk/reactos/include/ndk/rtlfuncs.h Modified: trunk/reactos/include/ndk/umtypes.h Modified: trunk/reactos/lib/msafd/include/msafd.h _____
Modified: trunk/reactos/include/ndk/rtlfuncs.h --- trunk/reactos/include/ndk/rtlfuncs.h 2005-06-20 19:19:23 UTC (rev 16166) +++ trunk/reactos/include/ndk/rtlfuncs.h 2005-06-20 19:28:45 UTC (rev 16167) @@ -1435,6 +1435,35 @@
);
/* + * 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 */ NTSTATUS _____
Modified: trunk/reactos/include/ndk/umtypes.h --- trunk/reactos/include/ndk/umtypes.h 2005-06-20 19:19:23 UTC (rev 16166) +++ trunk/reactos/include/ndk/umtypes.h 2005-06-20 19:28:45 UTC (rev 16167) @@ -805,6 +805,15 @@
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; _____
Modified: trunk/reactos/lib/msafd/include/msafd.h --- trunk/reactos/lib/msafd/include/msafd.h 2005-06-20 19:19:23 UTC (rev 16166) +++ trunk/reactos/lib/msafd/include/msafd.h 2005-06-20 19:28:45 UTC (rev 16167) @@ -10,16 +10,14 @@
#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;