SysHlp.h revision da39ff9f7632ab1e015816399de1c95daba95a34
/** @file
*
* VBoxGuestLib - A support library for VirtualBox guest additions:
* System dependent helpers internal header
*/
/*
* Copyright (C) 2006-2007 innotek GmbH
*
* 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 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.
*
* If you received this file as part of a commercial VirtualBox
* distribution, then only the terms of your commercial VirtualBox
* license agreement apply instead of the previous paragraph.
*/
#ifndef __SYSHLP__H
#define __SYSHLP__H
#ifdef __WIN__
# include <ntddk.h>
# else
# include <ntddk.h>
# endif
/* XP DDK #defines ExFreePool to ExFreePoolWithTag. The latter does not exist on NT4, so... */
#endif
typedef struct _VBGLDRIVER
{
#ifdef __WIN__
void *opaque;
#else
# error "Port me"
#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 /* __SYSHLP__H */