Changeset 3811 in vbox for trunk/src/VBox/Additions/WINNT/VBoxService/VBoxSeamless.cpp
- Timestamp:
- Jul 24, 2007 11:37:53 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxService/VBoxSeamless.cpp
r3804 r3811 23 23 24 24 #include "VBoxService.h" 25 #include "VBoxSeamless.h" 25 26 #include <VBoxHook.h> 26 27 #include <VBox/VBoxDev.h> … … 105 106 gCtx.hModule = 0; 106 107 return; 108 } 109 110 void VBoxSeamlessInstallHook() 111 { 112 if (gCtx.pfnVBoxInstallHook) 113 gCtx.pfnVBoxInstallHook(gCtx.hModule); 114 } 115 116 void VBoxSeamlessRemoveHook() 117 { 118 if (gCtx.pfnVBoxRemoveHook) 119 gCtx.pfnVBoxRemoveHook(); 107 120 } 108 121 … … 172 185 { 173 186 case VMMDev_Seamless_Disabled: 174 if (pCtx->pfnVBoxRemoveHook) 175 pCtx->pfnVBoxRemoveHook(); 187 PostMessage(gToolWindow, WM_VBOX_REMOVE_SEAMLESS_HOOK, 0, 0); 176 188 break; 177 189 178 190 case VMMDev_Seamless_Visible_Region: 179 if (pCtx->pfnVBoxInstallHook) 180 pCtx->pfnVBoxInstallHook(pCtx->hModule); 191 PostMessage(gToolWindow, WM_VBOX_INSTALL_SEAMLESS_HOOK, 0, 0); 181 192 break; 182 193
Note:
See TracChangeset
for help on using the changeset viewer.