VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxHelpers.h@ 95890

最後變更 在這個檔案從95890是 95827,由 vboxsync 提交於 3 年 前

Additions/VBoxTray: Added long overdue command line handling to VBoxTray to specify verbosity and log file handling, to make it easier for normal users to enable debugging (also as a runtime setting). When verbosity is increased, this also will enable VBoxTray's popup menu (via right click in system tray). bugref:10267

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.5 KB
 
1/* $Id: VBoxHelpers.h 95827 2022-07-26 09:55:21Z vboxsync $ */
2/** @file
3 * helpers - Guest Additions Service helper functions header.
4 */
5
6/*
7 * Copyright (C) 2006-2022 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.alldomusa.eu.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 */
17
18#ifndef GA_INCLUDED_SRC_WINNT_VBoxTray_VBoxHelpers_h
19#define GA_INCLUDED_SRC_WINNT_VBoxTray_VBoxHelpers_h
20#ifndef RT_WITHOUT_PRAGMA_ONCE
21# pragma once
22#endif
23
24// #define DEBUG_DISPLAY_CHANGE
25
26/** @todo r=andy WTF? Remove this!! */
27#ifdef DEBUG_DISPLAY_CHANGE
28# define DDCLOG(a) Log(a)
29#else
30# define DDCLOG(a) do {} while (0)
31#endif /* !DEBUG_DISPLAY_CHANGE */
32
33extern int hlpReportStatus(VBoxGuestFacilityStatus statusCurrent);
34extern void hlpReloadCursor(void);
35extern void hlpResizeRect(RECTL *paRects, unsigned nRects, unsigned uPrimary, unsigned uResized, int iNewWidth, int iNewHeight, int iNewPosX, int iNewPosY);
36extern int hlpShowBalloonTip(HINSTANCE hInst, HWND hWnd, UINT uID, const char *pszMsg, const char *pszTitle, UINT uTimeout, DWORD dwInfoFlags);
37extern void hlpShowMessageBox(const char *pszTitle, UINT uStyle, const char *pszFmt, ...);
38
39#endif /* !GA_INCLUDED_SRC_WINNT_VBoxTray_VBoxHelpers_h */
40
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette