8e496a172b2000333186e5c1be75a50f398ed830vboxsync * VirtualBox Support Driver - Internal header for the IDC client library.
c7814cf6e1240a519cbec0441e033d0e2470ed00vboxsync * Copyright (C) 2008-2010 Oracle Corporation
8e496a172b2000333186e5c1be75a50f398ed830vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
8e496a172b2000333186e5c1be75a50f398ed830vboxsync * available from http://www.virtualbox.org. This file is free software;
8e496a172b2000333186e5c1be75a50f398ed830vboxsync * you can redistribute it and/or modify it under the terms of the GNU
8e496a172b2000333186e5c1be75a50f398ed830vboxsync * General Public License (GPL) as published by the Free Software
8e496a172b2000333186e5c1be75a50f398ed830vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
8e496a172b2000333186e5c1be75a50f398ed830vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
8e496a172b2000333186e5c1be75a50f398ed830vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
8e496a172b2000333186e5c1be75a50f398ed830vboxsync * The contents of this file may alternatively be used under the terms
8e496a172b2000333186e5c1be75a50f398ed830vboxsync * of the Common Development and Distribution License Version 1.0
8e496a172b2000333186e5c1be75a50f398ed830vboxsync * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
8e496a172b2000333186e5c1be75a50f398ed830vboxsync * VirtualBox OSE distribution, in which case the provisions of the
8e496a172b2000333186e5c1be75a50f398ed830vboxsync * CDDL are applicable instead of those of the GPL.
8e496a172b2000333186e5c1be75a50f398ed830vboxsync * You may elect to license modified versions of this file under the
8e496a172b2000333186e5c1be75a50f398ed830vboxsync * terms and conditions of either the GPL or the CDDL or both.
8e496a172b2000333186e5c1be75a50f398ed830vboxsync# if (_MSC_VER >= 1400) && !defined(VBOX_WITH_PATCHED_DDK)
8e496a172b2000333186e5c1be75a50f398ed830vboxsync# define _InterlockedExchange _InterlockedExchange_StupidDDKVsCompilerCrap
8e496a172b2000333186e5c1be75a50f398ed830vboxsync# define _InterlockedExchangeAdd _InterlockedExchangeAdd_StupidDDKVsCompilerCrap
8e496a172b2000333186e5c1be75a50f398ed830vboxsync# define _InterlockedCompareExchange _InterlockedCompareExchange_StupidDDKVsCompilerCrap
8e496a172b2000333186e5c1be75a50f398ed830vboxsync# define _InterlockedAddLargeStatistic _InterlockedAddLargeStatistic_StupidDDKVsCompilerCrap
8e496a172b2000333186e5c1be75a50f398ed830vboxsync#endif /* RT_OS_WINDOWS */
8e496a172b2000333186e5c1be75a50f398ed830vboxsync * The hidden part of SUPDRVIDCHANDLE.
8e496a172b2000333186e5c1be75a50f398ed830vboxsync /** Pointer to the session handle. */
8e496a172b2000333186e5c1be75a50f398ed830vboxsync /** Pointer to the NT device object. */
8e496a172b2000333186e5c1be75a50f398ed830vboxsync /** Pointer to the NT file object. */
8e496a172b2000333186e5c1be75a50f398ed830vboxsync/** Indicate that the structure is present. */
8e496a172b2000333186e5c1be75a50f398ed830vboxsyncAssertCompile(RT_SIZEOFMEMB(SUPDRVIDCHANDLE, apvPadding) >= sizeof(struct SUPDRVIDCHANDLEPRIVATE));
8e496a172b2000333186e5c1be75a50f398ed830vboxsyncPSUPDRVIDCHANDLE supR0IdcGetHandleFromSession(PSUPDRVSESSION pSession);
8e496a172b2000333186e5c1be75a50f398ed830vboxsyncint VBOXCALL supR0IdcNativeOpen(PSUPDRVIDCHANDLE pHandle, PSUPDRVIDCREQCONNECT pReq);
8e496a172b2000333186e5c1be75a50f398ed830vboxsyncint VBOXCALL supR0IdcNativeClose(PSUPDRVIDCHANDLE pHandle, PSUPDRVIDCREQHDR pReq);