VBoxMPCommon.h revision 635c83753ed04cf3637e019af0e15ba40e07f2fe
/* $Id$ */
/** @file
*/
/*
* Copyright (C) 2011-2012 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 VBOXMPCOMMON_H
#define VBOXMPCOMMON_H
#include "VBoxMPDevExt.h"
int VBoxMPCmnMapAdapterMemory(PVBOXMP_COMMON pCommon, void **ppv, uint32_t ulOffset, uint32_t ulSize);
typedef bool(*PFNVIDEOIRQSYNC)(void *);
/* Video modes related */
#ifdef VBOX_XPDM_MINIPORT
#endif
/* Registry access */
#ifdef VBOX_XPDM_MINIPORT
typedef PVBOXMP_DEVEXT VBOXMPCMNREGISTRY;
#else
typedef HANDLE VBOXMPCMNREGISTRY;
#endif
/* Pointer related */
inline bool VBoxMPCmnUpdatePointerShape(PVBOXMP_COMMON pCommon, PVIDEO_POINTER_ATTRIBUTES pAttrs, uint32_t cbLength)
{
int rc;
cbLength - sizeof(VIDEO_POINTER_ATTRIBUTES));
return RT_SUCCESS(rc);
}
#endif /*VBOXMPCOMMON_H*/