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

View file

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

View file

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

View file

@ -906,7 +906,7 @@ typedef enum
#define HEAP_TAIL_CHECKING_ENABLED 32
#define HEAP_FREE_CHECKING_ENABLED 64
#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_MAXIMUM_TAG 0xFFF
#define HEAP_PSEUDO_TAG_FLAG 0x8000

View file

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

View file

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

View file

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