Changeset 85121 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jul 8, 2020 7:33:26 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 139061
- Location:
- trunk/src/VBox/Frontends
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxAutostart/VBoxAutostart-win.cpp
r83797 r85121 726 726 * Currently not used. 727 727 */ 728 static DWORD WINAPI autostartSvcWinServiceCtrlHandlerEx(DWORD dwControl, DWORD dwEventType, LPVOID pvEventData, LPVOID pvContext) 728 static DWORD WINAPI 729 autostartSvcWinServiceCtrlHandlerEx(DWORD dwControl, DWORD dwEventType, LPVOID pvEventData, LPVOID pvContext) RT_NOTHROW_DEF 729 730 { 730 731 LogFlow(("autostartSvcWinServiceCtrlHandlerEx: dwControl=%#x dwEventType=%#x pvEventData=%p\n", -
trunk/src/VBox/Frontends/VBoxBalloonCtrl/VBoxWatchdog.cpp
r83829 r85121 302 302 * unnecessary here. 303 303 */ 304 static void signalHandler(int iSignal) 304 static void signalHandler(int iSignal) RT_NOTHROW_DEF 305 305 { 306 306 NOREF(iSignal); … … 707 707 */ 708 708 signal(SIGINT, signalHandler); 709 709 #ifdef SIGBREAK 710 710 signal(SIGBREAK, signalHandler); 711 711 #endif 712 712 713 713 /* -
trunk/src/VBox/Frontends/VBoxBalloonCtrl/VBoxWatchdogInternal.h
r83798 r85121 138 138 * @returns VBox status code. 139 139 */ 140 DECLCALLBACKMEMBER(int, pfnPreInit )(void);140 DECLCALLBACKMEMBER(int, pfnPreInit,(void)); 141 141 142 142 /** … … 149 149 * remaining arguments passed in. 150 150 */ 151 DECLCALLBACKMEMBER(int, pfnOption )(int argc, char *argv[], int *piConsumed);151 DECLCALLBACKMEMBER(int, pfnOption,(int argc, char *argv[], int *piConsumed)); 152 152 153 153 /** … … 155 155 * @returns VBox status code. 156 156 */ 157 DECLCALLBACKMEMBER(int, pfnInit )(void);157 DECLCALLBACKMEMBER(int, pfnInit,(void)); 158 158 159 159 /** Called from the watchdog's main function. Non-blocking. … … 161 161 * @returns VBox status code. 162 162 */ 163 DECLCALLBACKMEMBER(int, pfnMain )(void);163 DECLCALLBACKMEMBER(int, pfnMain,(void)); 164 164 165 165 /** 166 166 * Stop the module. 167 167 */ 168 DECLCALLBACKMEMBER(int, pfnStop )(void);168 DECLCALLBACKMEMBER(int, pfnStop,(void)); 169 169 170 170 /** … … 173 173 * @remarks This may be called even if pfnInit hasn't been called! 174 174 */ 175 DECLCALLBACKMEMBER(void, pfnTerm )(void);175 DECLCALLBACKMEMBER(void, pfnTerm,(void)); 176 176 177 177 /** @name Callbacks. … … 183 183 * @returns VBox status code. 184 184 */ 185 DECLCALLBACKMEMBER(int, pfnOnMachineRegistered )(const Bstr &strUuid);186 187 /** 188 * 189 * @returns VBox status code. 190 */ 191 DECLCALLBACKMEMBER(int, pfnOnMachineUnregistered )(const Bstr &strUuid);192 193 /** 194 * 195 * @returns VBox status code. 196 */ 197 DECLCALLBACKMEMBER(int, pfnOnMachineStateChanged )(const Bstr &strUuid, MachineState_T enmState);198 199 /** 200 * 201 * @returns VBox status code. 202 */ 203 DECLCALLBACKMEMBER(int, pfnOnServiceStateChanged )(bool fAvailable);185 DECLCALLBACKMEMBER(int, pfnOnMachineRegistered,(const Bstr &strUuid)); 186 187 /** 188 * 189 * @returns VBox status code. 190 */ 191 DECLCALLBACKMEMBER(int, pfnOnMachineUnregistered,(const Bstr &strUuid)); 192 193 /** 194 * 195 * @returns VBox status code. 196 */ 197 DECLCALLBACKMEMBER(int, pfnOnMachineStateChanged,(const Bstr &strUuid, MachineState_T enmState)); 198 199 /** 200 * 201 * @returns VBox status code. 202 */ 203 DECLCALLBACKMEMBER(int, pfnOnServiceStateChanged,(bool fAvailable)); 204 204 205 205 /** @} */ -
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r84692 r85121 188 188 * unnecessary here. 189 189 */ 190 static void showProgressSignalHandler(int iSignal) 190 static void showProgressSignalHandler(int iSignal) RT_NOTHROW_DEF 191 191 { 192 192 NOREF(iSignal); -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp
r84570 r85121 377 377 378 378 #ifdef RT_OS_WINDOWS 379 static BOOL WINAPI gctlSignalHandler(DWORD dwCtrlType) 379 static BOOL WINAPI gctlSignalHandler(DWORD dwCtrlType) RT_NOTHROW_DEF 380 380 { 381 381 bool fEventHandled = FALSE; … … 405 405 * unnecessary here. 406 406 */ 407 static void gctlSignalHandler(int iSignal) 407 static void gctlSignalHandler(int iSignal) RT_NOTHROW_DEF 408 408 { 409 409 NOREF(iSignal); -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageMetrics.cpp
r82968 r85121 365 365 * @remarks This is called on a new thread. 366 366 */ 367 static BOOL WINAPI ctrlHandler(DWORD dwCtrlType) 367 static BOOL WINAPI ctrlHandler(DWORD dwCtrlType) RT_NOTHROW_DEF 368 368 { 369 369 switch (dwCtrlType) -
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
r82968 r85121 168 168 static void HandleGuestCapsChanged(void); 169 169 static int HandleHostKey(const SDL_KeyboardEvent *pEv); 170 static Uint32 StartupTimer(Uint32 interval, void *param) ;171 static Uint32 ResizeTimer(Uint32 interval, void *param) ;172 static Uint32 QuitTimer(Uint32 interval, void *param) ;170 static Uint32 StartupTimer(Uint32 interval, void *param) RT_NOTHROW_PROTO; 171 static Uint32 ResizeTimer(Uint32 interval, void *param) RT_NOTHROW_PROTO; 172 static Uint32 QuitTimer(Uint32 interval, void *param) RT_NOTHROW_PROTO; 173 173 static int WaitSDLEvent(SDL_Event *event); 174 174 static void SetFullscreen(bool enable); … … 5068 5068 * Timer callback function for startup processing 5069 5069 */ 5070 static Uint32 StartupTimer(Uint32 interval, void *param) 5070 static Uint32 StartupTimer(Uint32 interval, void *param) RT_NOTHROW_DEF 5071 5071 { 5072 5072 RT_NOREF(param); … … 5084 5084 * Timer callback function to check if resizing is finished 5085 5085 */ 5086 static Uint32 ResizeTimer(Uint32 interval, void *param) 5086 static Uint32 ResizeTimer(Uint32 interval, void *param) RT_NOTHROW_DEF 5087 5087 { 5088 5088 RT_NOREF(interval, param); … … 5100 5100 * Timer callback function to check if an ACPI power button event was handled by the guest. 5101 5101 */ 5102 static Uint32 QuitTimer(Uint32 interval, void *param) 5102 static Uint32 QuitTimer(Uint32 interval, void *param) RT_NOTHROW_DEF 5103 5103 { 5104 5104 RT_NOREF(interval, param); -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIDesktopWidgetWatchdog.cpp
r84696 r85121 77 77 } 78 78 79 static BOOL CALLBACK MonitorEnumProcF(HMONITOR hMonitor, HDC hdcMonitor, LPRECT lpClipRect, LPARAM dwData) 79 static BOOL CALLBACK MonitorEnumProcF(HMONITOR hMonitor, HDC hdcMonitor, LPRECT lpClipRect, LPARAM dwData) RT_NOTHROW_DEF 80 80 { 81 81 /* These required for clipped screens only: */ -
trunk/src/VBox/Frontends/VirtualBox/src/platform/win/VBoxUtils-win.cpp
r82968 r85121 24 24 { 25 25 /** Enumerates visible always-on-top (top-most) windows. */ 26 BOOL CALLBACK EnumWindowsProc(HWND hWnd, LPARAM lParam) ;26 BOOL CALLBACK EnumWindowsProc(HWND hWnd, LPARAM lParam) RT_NOTHROW_PROTO; 27 27 /** Contains visible top-most-window rectangles. */ 28 28 QList<QRect> topMostRects; 29 29 } 30 30 31 BOOL CALLBACK NativeWindowSubsystem::EnumWindowsProc(HWND hWnd, LPARAM) 31 BOOL CALLBACK NativeWindowSubsystem::EnumWindowsProc(HWND hWnd, LPARAM) RT_NOTHROW_DEF 32 32 { 33 33 /* Ignore NULL HWNDs: */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp
r83686 r85121 1298 1298 1299 1299 /* static */ 1300 LRESULT CALLBACK UIKeyboardHandler::winKeyboardProc(int nCode, WPARAM wParam, LPARAM lParam) 1300 LRESULT CALLBACK UIKeyboardHandler::winKeyboardProc(int nCode, WPARAM wParam, LPARAM lParam) RT_NOTHROW_DEF 1301 1301 { 1302 1302 /* All keyboard class events needs to be handled: */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.h
r82968 r85121 157 157 #elif defined(VBOX_WS_WIN) 158 158 /** Win: Performs initial pre-processing of all the native keyboard events. */ 159 static LRESULT CALLBACK winKeyboardProc(int nCode, WPARAM wParam, LPARAM lParam) ;159 static LRESULT CALLBACK winKeyboardProc(int nCode, WPARAM wParam, LPARAM lParam) RT_NOTHROW_PROTO; 160 160 /** Win: Performs initial pre-processing of all the native keyboard events. */ 161 161 bool winKeyboardEvent(UINT msg, const KBDLLHOOKSTRUCT &event);
Note:
See TracChangeset
for help on using the changeset viewer.