[FREELDR] Define _BLDR_ for WDK header compatibility

[HAL] Define _NTHALDLL_ for WDK header compatibility, get rif of DECLSPEC_IMPORT header hack
[NDK/RTL] Fix some Rtl prototypes (PCHAR -> PCCH)
[NDK] Fix ZwOpenEvent prototype
[NTIFS] Fix definition of NTKERNELAPI, move some types, fix PRTL_ALLOCATE_STRING_ROUTINE, PRTL_REALLOCATE_STRING_ROUTINE, PRTL_FREE_STRING_ROUTINE, define CTL_CODE, DEVICE_TYPE_FROM_CTL_CODE, FILE_ANY_ACCESS, FILE_SPECIAL_ACCESS, FILE_READ_ACCESS, FILE_WRITE_ACCESS identical to wdm.h, remove duplicate RtlGenerate8dot3Name, remove ZwOpenEvent
[NTPOAPI] Guard some types with #ifndef _PO_DDK_
[WDM] Create reactos compatible definition of NTKERNELAPI, add KDPC_WATCHDOG_INFORMATION, BATTERY_REPORTING_SCALE, fix ALIGN_UP_POINTER_BY, guard some types with #ifndef _PO_DDK_, update POWER_INFORMATION_LEVEL, make some FILE_DEVICE_ definitions identical to ntifs.h, fix HalAllocateCommonBuffer

svn path=/branches/header-work/; revision=46050
This commit is contained in:
Timo Kreuzer 2010-03-10 04:16:52 +00:00
parent ce0d1d6fe7
commit e0c972bf4e
16 changed files with 299 additions and 242 deletions

View file

@ -345,7 +345,7 @@ NTSTATUS NTAPI
RtlOemToUnicodeN (PWCHAR UnicodeString,
ULONG UnicodeSize,
PULONG ResultSize,
PCHAR OemString,
PCCH OemString,
ULONG OemSize)
{
ULONG Size = 0;
@ -376,7 +376,7 @@ RtlOemToUnicodeN (PWCHAR UnicodeString,
UCHAR Char;
USHORT OemLeadByteInfo;
PCHAR OemEnd = OemString + OemSize;
PCCH OemEnd = OemString + OemSize;
for (i = 0; i < UnicodeSize / sizeof(WCHAR) && OemString < OemEnd; i++)
{
@ -569,7 +569,7 @@ RtlUnicodeToMultiByteN (PCHAR MbString,
NTSTATUS
NTAPI
RtlUnicodeToMultiByteSize(PULONG MbSize,
PWCHAR UnicodeString,
PCWCH UnicodeString,
ULONG UnicodeSize)
{
ULONG UnicodeLength = UnicodeSize / sizeof(WCHAR);
@ -613,7 +613,7 @@ NTSTATUS NTAPI
RtlUnicodeToOemN (PCHAR OemString,
ULONG OemSize,
PULONG ResultSize,
PWCHAR UnicodeString,
PCWCH UnicodeString,
ULONG UnicodeSize)
{
ULONG Size = 0;
@ -762,7 +762,7 @@ NTSTATUS NTAPI
RtlUpcaseUnicodeToMultiByteN (PCHAR MbString,
ULONG MbSize,
PULONG ResultSize,
PWCHAR UnicodeString,
PCWCH UnicodeString,
ULONG UnicodeSize)
{
WCHAR UpcaseChar;
@ -806,7 +806,7 @@ NTSTATUS NTAPI
RtlUpcaseUnicodeToOemN (PCHAR OemString,
ULONG OemSize,
PULONG ResultSize,
PWCHAR UnicodeString,
PCWCH UnicodeString,
ULONG UnicodeSize)
{
WCHAR UpcaseChar;