VBoxDrvTool.h revision e04781b223e38e3b0c386d7e7c1dd7f30e9f6e90
/* $Id$ */
/** @file
* Windows Driver R0 Tooling.
*/
/*
* Copyright (C) 2011 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.
*/
#ifndef ___VBoxDrvTool_win_h___
#define ___VBoxDrvTool_win_h___
#endif
#endif
#include <wdm.h>
# pragma warning(default : 4163)
#endif
# pragma warning(default : 4163)
#endif
#if 0
/* enable this in case we include this in a dll*/
# ifdef IN_VBOXDRVTOOL
# else
# endif
#else
/*enable this in case we include this in a static lib*/
#endif
VBOXDRVTOOL_DECL(NTSTATUS) VBoxDrvToolRegOpenKeyU(OUT PHANDLE phKey, IN PUNICODE_STRING pName, IN ACCESS_MASK fAccess);
VBOXDRVTOOL_DECL(NTSTATUS) VBoxDrvToolRegOpenKey(OUT PHANDLE phKey, IN PWCHAR pName, IN ACCESS_MASK fAccess);
VBOXDRVTOOL_DECL(NTSTATUS) VBoxDrvToolRegQueryValueDword(IN HANDLE hKey, IN PWCHAR pName, OUT PULONG pDword);
VBOXDRVTOOL_DECL(NTSTATUS) VBoxDrvToolRegSetValueDword(IN HANDLE hKey, IN PWCHAR pName, OUT ULONG val);
VBOXDRVTOOL_DECL(NTSTATUS) VBoxDrvToolIoPostAsync(PDEVICE_OBJECT pDevObj, PIRP pIrp, PKEVENT pEvent);
VBOXDRVTOOL_DECL(NTSTATUS) VBoxDrvToolIoPostSyncWithTimeout(PDEVICE_OBJECT pDevObj, PIRP pIrp, ULONG dwTimeoutMs);
{
return Status;
}
typedef struct VBOXDRVTOOL_REF
{
{
}
{
}
{
return cRefs;
}
#endif /* #ifndef ___VBoxDrvTool_win_h___ */