updated winternl.h, PSDK fixes, etc...

svn path=/trunk/; revision=17132
This commit is contained in:
Steven Edwards 2005-08-07 01:23:40 +00:00
parent 7357490064
commit 447a3da0ea
5 changed files with 1150 additions and 286 deletions

View file

@ -33,9 +33,6 @@ void * memmove(void *dest, const void *src, size_t count);
void * memset(void *src, int val, size_t count); void * memset(void *src, int val, size_t count);
#define RtlCompareMemory(Source1, Source2, Length) memcmp(Source1, Source2, Length) #define RtlCompareMemory(Source1, Source2, Length) memcmp(Source1, Source2, Length)
#define RtlCopyMemory(Destination, Source, Length) memcpy(Destination, Source, Length)
#define RtlFillMemory(Destination, Length, Fill) memset(Destination, Fill, Length)
#define RtlZeroMemory(Destination, Length) memset(Destination, 0, Length)
/////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////
// //

View file

@ -1,5 +1,4 @@
#include "precomp.h" #include "precomp.h"
#include <excpt.h>
#include <winternl.h> #include <winternl.h>
/* /*

View file

@ -518,10 +518,13 @@ extern "C" {
#define STACK_SIZE_PARAM_IS_A_RESERVATION 0x00010000 #define STACK_SIZE_PARAM_IS_A_RESERVATION 0x00010000
#ifndef RC_INVOKED #ifndef RC_INVOKED
#ifndef _FILETIME_
#define _FILETIME_
typedef struct _FILETIME { typedef struct _FILETIME {
DWORD dwLowDateTime; DWORD dwLowDateTime;
DWORD dwHighDateTime; DWORD dwHighDateTime;
} FILETIME,*PFILETIME,*LPFILETIME; } FILETIME,*PFILETIME,*LPFILETIME;
#endif
typedef struct _BY_HANDLE_FILE_INFORMATION { typedef struct _BY_HANDLE_FILE_INFORMATION {
DWORD dwFileAttributes; DWORD dwFileAttributes;
FILETIME ftCreationTime; FILETIME ftCreationTime;
@ -1104,10 +1107,6 @@ BOOL WINAPI CopyFileA(LPCSTR,LPCSTR,BOOL);
BOOL WINAPI CopyFileW(LPCWSTR,LPCWSTR,BOOL); BOOL WINAPI CopyFileW(LPCWSTR,LPCWSTR,BOOL);
BOOL WINAPI CopyFileExA(LPCSTR,LPCSTR,LPPROGRESS_ROUTINE,LPVOID,LPBOOL,DWORD); BOOL WINAPI CopyFileExA(LPCSTR,LPCSTR,LPPROGRESS_ROUTINE,LPVOID,LPBOOL,DWORD);
BOOL WINAPI CopyFileExW(LPCWSTR,LPCWSTR,LPPROGRESS_ROUTINE,LPVOID,LPBOOL,DWORD); BOOL WINAPI CopyFileExW(LPCWSTR,LPCWSTR,LPPROGRESS_ROUTINE,LPVOID,LPBOOL,DWORD);
#define RtlMoveMemory memmove
#define RtlCopyMemory memcpy
#define RtlFillMemory(d,l,f) memset((d), (f), (l))
#define RtlZeroMemory(d,l) RtlFillMemory((d),(l),0)
#define MoveMemory RtlMoveMemory #define MoveMemory RtlMoveMemory
#define CopyMemory RtlCopyMemory #define CopyMemory RtlCopyMemory
#define FillMemory RtlFillMemory #define FillMemory RtlFillMemory

View file

@ -262,14 +262,6 @@ typedef DWORD FLONG;
#define FILE_VALID_MAILSLOT_OPTION_FLAGS 0x00000032 #define FILE_VALID_MAILSLOT_OPTION_FLAGS 0x00000032
#define FILE_VALID_SET_FLAGS 0x00000036 #define FILE_VALID_SET_FLAGS 0x00000036
#define FILE_SUPERSEDE 0x00000000
#define FILE_OPEN 0x00000001
#define FILE_CREATE 0x00000002
#define FILE_OPEN_IF 0x00000003
#define FILE_OVERWRITE 0x00000004
#define FILE_OVERWRITE_IF 0x00000005
#define FILE_MAXIMUM_DISPOSITION 0x00000005
#define FILE_DIRECTORY_FILE 0x00000001 #define FILE_DIRECTORY_FILE 0x00000001
#define FILE_WRITE_THROUGH 0x00000002 #define FILE_WRITE_THROUGH 0x00000002
#define FILE_SEQUENTIAL_ONLY 0x00000004 #define FILE_SEQUENTIAL_ONLY 0x00000004
@ -3495,6 +3487,11 @@ RtlCompareMemory (
SIZE_T Length SIZE_T Length
); );
#define RtlMoveMemory memmove
#define RtlCopyMemory memcpy
#define RtlFillMemory(d,l,f) memset((d), (f), (l))
#define RtlZeroMemory(d,l) RtlFillMemory((d),(l),0)
#if defined(__GNUC__) #if defined(__GNUC__)
static __inline__ PVOID GetCurrentFiber(void) static __inline__ PVOID GetCurrentFiber(void)

File diff suppressed because it is too large Load diff