- Fixes in source code required for the NDK update.

svn path=/trunk/; revision=22551
This commit is contained in:
Alex Ionescu 2006-06-23 21:25:11 +00:00
parent b3653a9abd
commit 8cd72eb3cd
7 changed files with 14 additions and 16 deletions

View file

@ -297,8 +297,8 @@ BOOLEAN
NTAPI NTAPI
HalGetEnvironmentVariable( HalGetEnvironmentVariable(
PCH Name, PCH Name,
PCH Value, USHORT ValueLength,
USHORT ValueLength) PCH Value)
{ {
UNIMPLEMENTED; UNIMPLEMENTED;
@ -325,7 +325,7 @@ HalGetInterruptVector(
VOID VOID
NTAPI NTAPI
HalHandleNMI( HalHandleNMI(
ULONG Unused) PVOID NmiData)
{ {
UNIMPLEMENTED; UNIMPLEMENTED;
} }
@ -393,12 +393,13 @@ HalQueryDisplayParameters(
} }
VOID BOOLEAN
NTAPI NTAPI
HalQueryRealTimeClock( HalQueryRealTimeClock(
PTIME_FIELDS Time) PTIME_FIELDS Time)
{ {
UNIMPLEMENTED; UNIMPLEMENTED;
return FALSE;
} }

View file

@ -30,6 +30,7 @@
#include "ntddk.h" #include "ntddk.h"
#define _NTIFS_INCLUDED_
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -2948,13 +2949,6 @@ HalDisplayString (
IN PCHAR String IN PCHAR String
); );
NTHALAPI
VOID
NTAPI
HalQueryRealTimeClock (
IN OUT PTIME_FIELDS TimeFields
);
NTHALAPI NTHALAPI
VOID VOID
NTAPI NTAPI

View file

@ -925,6 +925,8 @@ typedef struct _MEMORYSTATUSEX {
DWORDLONG ullAvailExtendedVirtual; DWORDLONG ullAvailExtendedVirtual;
} MEMORYSTATUSEX, *LPMEMORYSTATUSEX; } MEMORYSTATUSEX, *LPMEMORYSTATUSEX;
#endif #endif
#ifndef _LDT_ENTRY_DEFINED
#define _LDT_ENTRY_DEFINED
typedef struct _LDT_ENTRY { typedef struct _LDT_ENTRY {
WORD LimitLow; WORD LimitLow;
WORD BaseLow; WORD BaseLow;
@ -949,6 +951,7 @@ typedef struct _LDT_ENTRY {
} Bits; } Bits;
} HighWord; } HighWord;
} LDT_ENTRY,*PLDT_ENTRY,*LPLDT_ENTRY; } LDT_ENTRY,*PLDT_ENTRY,*LPLDT_ENTRY;
#endif
typedef struct _PROCESS_HEAP_ENTRY { typedef struct _PROCESS_HEAP_ENTRY {
PVOID lpData; PVOID lpData;
DWORD cbData; DWORD cbData;

View file

@ -906,7 +906,7 @@ typedef enum
#define HEAP_TAIL_CHECKING_ENABLED 32 #define HEAP_TAIL_CHECKING_ENABLED 32
#define HEAP_FREE_CHECKING_ENABLED 64 #define HEAP_FREE_CHECKING_ENABLED 64
#define HEAP_DISABLE_COALESCE_ON_FREE 128 #define HEAP_DISABLE_COALESCE_ON_FREE 128
#define HEAP_CREATE_ALIGN_16 0x0000 #define HEAP_CREATE_ALIGN_16 0x10000
#define HEAP_CREATE_ENABLE_TRACING 0x20000 #define HEAP_CREATE_ENABLE_TRACING 0x20000
#define HEAP_MAXIMUM_TAG 0xFFF #define HEAP_MAXIMUM_TAG 0xFFF
#define HEAP_PSEUDO_TAG_FLAG 0x8000 #define HEAP_PSEUDO_TAG_FLAG 0x8000

View file

@ -85,7 +85,7 @@ static const ULONG CrcTable[256] =
* @implemented * @implemented
*/ */
ULONG NTAPI ULONG NTAPI
RtlComputeCrc32 (IN UINT Initial, RtlComputeCrc32 (IN USHORT Initial,
IN PUCHAR Data, IN PUCHAR Data,
IN ULONG Length) IN ULONG Length)
{ {

View file

@ -19,7 +19,7 @@
* @implemented * @implemented
*/ */
NTSTATUS NTAPI NTSTATUS NTAPI
RtlQueryTimeZoneInformation(LPTIME_ZONE_INFORMATION TimeZoneInformation) RtlQueryTimeZoneInformation(PRTL_TIME_ZONE_INFORMATION TimeZoneInformation)
{ {
RTL_QUERY_REGISTRY_TABLE QueryTable[8]; RTL_QUERY_REGISTRY_TABLE QueryTable[8];
UNICODE_STRING StandardName; UNICODE_STRING StandardName;
@ -83,7 +83,7 @@ RtlQueryTimeZoneInformation(LPTIME_ZONE_INFORMATION TimeZoneInformation)
* @implemented * @implemented
*/ */
NTSTATUS NTAPI NTSTATUS NTAPI
RtlSetTimeZoneInformation(LPTIME_ZONE_INFORMATION TimeZoneInformation) RtlSetTimeZoneInformation(PRTL_TIME_ZONE_INFORMATION TimeZoneInformation)
{ {
ULONG Length; ULONG Length;
NTSTATUS Status; NTSTATUS Status;

View file

@ -196,7 +196,7 @@ NtQuerySystemEnvironmentValue (IN PUNICODE_STRING VariableName,
/* /*
* Get the environment variable * Get the environment variable
*/ */
Result = HalGetEnvironmentVariable(AName.Buffer, Value, ValueBufferLength); Result = HalGetEnvironmentVariable(AName.Buffer, ValueBufferLength, Value);
if(!Result) if(!Result)
{ {
RtlFreeAnsiString(&AName); RtlFreeAnsiString(&AName);