Build RTL with NDK

svn path=/trunk/; revision=16121
This commit is contained in:
Alex Ionescu 2005-06-19 22:05:50 +00:00
parent aec8d2f143
commit b76b475c32
3 changed files with 18 additions and 24 deletions

View file

@ -8,29 +8,22 @@
/* INCLUDES ******************************************************************/
#include <ddk/ntddk.h>
#include <ddk/ntifs.h>
/* PSDK/NDK Headers */
#include <windows.h>
#include <ntdll/rtl.h>
#include <napi/teb.h>
#include <ntos/minmax.h>
#include <string.h>
#include <napi/i386/segment.h>
#include <ntdll/ldr.h>
#include <ntdll/base.h>
#include <ntdll/rtl.h>
#include <rosrtl/thread.h>
#include <winerror.h>
#include <ntos.h>
#include <stdio.h>
#define NTOS_MODE_USER
#include <ndk/ntndk.h>
#define TAG(A, B, C, D) (ULONG)(((A)<<0) + ((B)<<8) + ((C)<<16) + ((D)<<24))
#define ROUNDUP(a,b) ((((a)+(b)-1)/(b))*(b))
#ifndef HIWORD
#define HIWORD(l) ((WORD)(((DWORD)(l) >> 16) & 0xFFFF))
#endif
#ifndef LOWORD
#define LOWORD(l) ((WORD)(l))
#endif
/* Helper Header */
#include <reactos/helper.h>
/* LIBSUPP Header */
#include "libsupp.h"
/* FIXME: Move this somewhere else, maybe */
#ifdef DBG
extern VOID FASTCALL CHECK_PAGED_CODE_RTL(char *file, int line);
#define PAGED_CODE_RTL() CHECK_PAGED_CODE_RTL(__FILE__, __LINE__)
#else
#define PAGED_CODE_RTL()
#endif
/* EOF */

View file

@ -22,7 +22,7 @@
* @implemented
*/
NTSTATUS STDCALL
RtlQueryTimeZoneInformation(PTIME_ZONE_INFORMATION TimeZoneInformation)
RtlQueryTimeZoneInformation(LPTIME_ZONE_INFORMATION TimeZoneInformation)
{
RTL_QUERY_REGISTRY_TABLE QueryTable[8];
UNICODE_STRING StandardName;
@ -86,7 +86,7 @@ RtlQueryTimeZoneInformation(PTIME_ZONE_INFORMATION TimeZoneInformation)
* @implemented
*/
NTSTATUS STDCALL
RtlSetTimeZoneInformation(PTIME_ZONE_INFORMATION TimeZoneInformation)
RtlSetTimeZoneInformation(LPTIME_ZONE_INFORMATION TimeZoneInformation)
{
ULONG Length;
NTSTATUS Status;

View file

@ -21,6 +21,7 @@
*/
#define __NTDRIVER__
#include "rtl.h"
#include <rosrtl/string.h>
#define NDEBUG
#include <debug.h>