Changeset 16143 in vbox
- Timestamp:
- Jan 21, 2009 2:32:58 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxGINA/VBoxGINA.cpp
r16140 r16143 328 328 HKEY hKey; 329 329 DWORD dwValue = 1; 330 DWORD dwSize; 331 DWORD dwType; 332 333 Log(("VBoxGINA::WlxLoggedOnSAS\n")); 330 DWORD dwSize = 0; 331 DWORD dwType = 0; 332 int iRet = WLX_SAS_ACTION_NONE; 333 334 Log(("VBoxGINA::WlxLoggedOnSAS: SaSType = %ld\n", dwSasType)); 334 335 335 336 /* Winlogon registry path */ … … 343 344 } 344 345 else 345 Log(("VBoxGINA::WlxLoggedOnSAS: could not open registry key! last error: %d\n", GetLastError())); 346 { 347 Log(("VBoxGINA::WlxLoggedOnSAS: Could not open registry key! Last error: %d\n", GetLastError())); 348 } 346 349 347 350 if (dwValue) 348 return WLX_SAS_ACTION_NONE; 351 { 352 switch (dwSasType) 353 { 354 355 case WLX_SAS_TYPE_CTRL_ALT_DEL: /* User pressed CTRL-ALT-DEL. */ 356 357 /* Show the task list (or whatever the OS wants to do here). */ 358 iRet = WLX_SAS_ACTION_TASKLIST; 359 break; 360 361 default: 362 break; 363 } 364 } 349 365 else 350 /* forward call to MSGINA */ 366 { 367 /* Forward call to MSGINA. */ 368 Log(("VBoxGINA::WlxLoggedOnSAS: Forwarding call to MSGINA ...\n")); 351 369 return GWlxLoggedOnSAS(pWlxContext, dwSasType, pReserved); 370 } 371 372 return iRet; 352 373 } 353 374 … … 431 452 PVOID pEnvironment, PWSTR pszCmdLine) 432 453 { 433 Log(("VBoxGINA::WlxStartApplication\n")); 454 Log(("VBoxGINA::WlxStartApplication: pWlxCtx=%p, pszDesktopName=%ls, pEnvironment=%p, pszCmdLine=%ls\n", 455 pWlxContext, pszDesktopName, pEnvironment, pszCmdLine)); 434 456 435 457 /* forward to MSGINA if present */
Note:
See TracChangeset
for help on using the changeset viewer.

