Compile msafd with NDK

svn path=/trunk/; revision=16167
This commit is contained in:
Alex Ionescu 2005-06-20 19:28:45 +00:00
parent 4cf87b40e7
commit 07d22c372d
3 changed files with 42 additions and 6 deletions

View 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
*/

View 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;

View file

@ -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;