mirror of
https://github.com/reactos/reactos.git
synced 2024-11-04 22:00:55 +00:00
Build RTL with NDK
svn path=/trunk/; revision=16121
This commit is contained in:
parent
aec8d2f143
commit
b76b475c32
3 changed files with 18 additions and 24 deletions
|
@ -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 */
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
*/
|
||||
#define __NTDRIVER__
|
||||
#include "rtl.h"
|
||||
#include <rosrtl/string.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
|
Loading…
Reference in a new issue