41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync/* $Id$ */
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync/** @file
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync * IPRT - Header for code using both NT native and Windows APIs.
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync */
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync/*
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync * Copyright (C) 2013 Oracle Corporation
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync *
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync * available from http://www.virtualbox.org. This file is free software;
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync * you can redistribute it and/or modify it under the terms of the GNU
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync * General Public License (GPL) as published by the Free Software
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync *
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync * The contents of this file may alternatively be used under the terms
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync * of the Common Development and Distribution License Version 1.0
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync * VirtualBox OSE distribution, in which case the provisions of the
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync * CDDL are applicable instead of those of the GPL.
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync *
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync * You may elect to license modified versions of this file under the
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync * terms and conditions of either the GPL or the CDDL or both.
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync */
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync#ifndef ___iprt_nt_nt_and_windows_h
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync#define ___iprt_nt_nt_and_windows_h
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync
b4ff223cc673ee8fd3bdaeddab395a56f20c1d03vboxsync#define _PEB IncompleteWindows__PEB
b4ff223cc673ee8fd3bdaeddab395a56f20c1d03vboxsync#define PEB IncompleteWindows_PEB
b4ff223cc673ee8fd3bdaeddab395a56f20c1d03vboxsync#define PPEB IncompleteWindows_PPEB
b4ff223cc673ee8fd3bdaeddab395a56f20c1d03vboxsync
b4ff223cc673ee8fd3bdaeddab395a56f20c1d03vboxsync#define _TEB IncompleteWindows__TEB
b4ff223cc673ee8fd3bdaeddab395a56f20c1d03vboxsync#define TEB IncompleteWindows_TEB
b4ff223cc673ee8fd3bdaeddab395a56f20c1d03vboxsync#define PTEB IncompleteWindows_PTEB
b4ff223cc673ee8fd3bdaeddab395a56f20c1d03vboxsync
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync#define IPRT_NT_USE_WINTERNL
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync#define WIN32_NO_STATUS
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync#include <Windows.h>
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync#undef WIN32_NO_STATUS
b4ff223cc673ee8fd3bdaeddab395a56f20c1d03vboxsync
b4ff223cc673ee8fd3bdaeddab395a56f20c1d03vboxsync#undef _PEB
b4ff223cc673ee8fd3bdaeddab395a56f20c1d03vboxsync#undef PEB
b4ff223cc673ee8fd3bdaeddab395a56f20c1d03vboxsync#undef PPEB
b4ff223cc673ee8fd3bdaeddab395a56f20c1d03vboxsync
b4ff223cc673ee8fd3bdaeddab395a56f20c1d03vboxsync#undef _TEB
b4ff223cc673ee8fd3bdaeddab395a56f20c1d03vboxsync#undef TEB
b4ff223cc673ee8fd3bdaeddab395a56f20c1d03vboxsync#undef PTEB
b4ff223cc673ee8fd3bdaeddab395a56f20c1d03vboxsync
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync#include <iprt/nt/nt.h>
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync#endif
41ef7c2cca43a04c14e9fa97d9be613de2258388vboxsync