VBoxDisplay.h revision 3fa7a7e633f46a212052b510cdb8cee41f279a67
/** @file
* VBoxSeamless - Display notifications
*/
/*
* Copyright (C) 2006-2010 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify it under the terms of the GNU
* 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 __VBOXSERVICEDISPLAY__H
#define __VBOXSERVICEDISPLAY__H
/* The display service prototypes. */
int VBoxDisplayInit (const VBOXSERVICEENV *pEnv, void **ppInstance, bool *pfStartThread);
unsigned __stdcall VBoxDisplayThread (void *pInstance);
void VBoxDisplayDestroy (const VBOXSERVICEENV *pEnv, void *pInstance);
DWORD VBoxGetDisplayConfigCount();
DWORD VBoxGetDisplayConfig(const DWORD NumDevices, DWORD *pDevPrimaryNum, DWORD *pNumDevices, DISPLAY_DEVICE *paDisplayDevices, DEVMODE *paDeviceModes);
#ifndef VBOX_WITH_WDDM
static bool isVBoxDisplayDriverActive (void);
#else
/* @misha: getVBoxDisplayDriverType is used instead.
* it seems bad to put static function declaration to header,
* so it is moved to VBoxDisplay.cpp */
#endif
#endif /* __VBOXSERVICEDISPLAY__H */