SysHlp.h revision a20dd127f3c3cda4d608e990ecb3c08e4f00b611
/* $Revision$ */
/** @file
* VBoxGuestLibR0 - System dependent helpers internal header.
*/
/*
* Copyright (C) 2006-2007 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*
* The contents of this file may alternatively be used under the terms
* of the Common Development and Distribution License Version 1.0
* (CDDL) only, as it comes in the "COPYING.CDDL" file of the
* VirtualBox OSE distribution, in which case the provisions of the
* CDDL are applicable instead of those of the GPL.
*
* You may elect to license modified versions of this file under the
* terms and conditions of either the GPL or the CDDL or both.
*/
#ifndef __VBoxGuestLib_SysHlp_h
#define __VBoxGuestLib_SysHlp_h
#ifdef RT_OS_WINDOWS
# include <ntddk.h>
# pragma warning(default : 4163)
# else
# include <ntddk.h>
# endif
/* XP DDK #defines ExFreePool to ExFreePoolWithTag. The latter does not exist on NT4, so...
* The same for ExAllocatePool.
*/
#endif
typedef struct _VBGLDRIVER
{
#ifdef RT_OS_WINDOWS
#else /* PORTME */
void *pvOpaque;
#endif
} VBGLDRIVER;
#ifndef VBGL_VBOXGUEST
/**
* Open VBoxGuest driver.
*
* @param pDriver Pointer to the driver structure.
*
* @return VBox error code
*/
/**
* Call VBoxGuest driver.
*
* @param pDriver Pointer to the driver structure.
* @param u32Function Function code.
* @param cbData Size of data buffer.
*
* @return VBox error code
*/
/**
* Close VBoxGuest driver.
*
* @param pDriver Pointer to the driver structure.
*
* @return VBox error code
*/
#endif
#endif /* !__VBoxGuestLib_SysHlp_h */