Changeset 13656 in vbox
- Timestamp:
- Oct 29, 2008 3:17:57 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/win/HostPowerWin.cpp
r13655 r13656 29 29 #include "Logging.h" 30 30 31 static char gachWindowClassName[] ="VBoxPowerNotifyClass";31 static WCHAR gachWindowClassName[] = L"VBoxPowerNotifyClass"; 32 32 33 33 HostPowerServiceWin::HostPowerServiceWin(VirtualBox *aVirtualBox) : HostPowerService(aVirtualBox) … … 72 72 73 73 /* Register the Window Class. */ 74 WNDCLASS Awc;74 WNDCLASS wc; 75 75 76 76 wc.style = CS_NOCLOSE; … … 85 85 wc.lpszClassName = gachWindowClassName; 86 86 87 ATOM atomWindowClass = RegisterClass A(&wc);87 ATOM atomWindowClass = RegisterClass(&wc); 88 88 89 89 if (atomWindowClass == 0) … … 95 95 { 96 96 /* Create the window. */ 97 hwnd = pPowerObj->mHwnd = CreateWindowEx A(WS_EX_TOOLWINDOW | WS_EX_TRANSPARENT | WS_EX_TOPMOST,97 hwnd = pPowerObj->mHwnd = CreateWindowEx (WS_EX_TOOLWINDOW | WS_EX_TRANSPARENT | WS_EX_TOPMOST, 98 98 gachWindowClassName, gachWindowClassName, 99 99 WS_POPUPWINDOW, … … 128 128 if (atomWindowClass != 0) 129 129 { 130 UnregisterClass A(gachWindowClassName, hInstance);130 UnregisterClass (gachWindowClassName, hInstance); 131 131 atomWindowClass = 0; 132 132 }
Note:
See TracChangeset
for help on using the changeset viewer.