VirtualBox

Changeset 16138 in vbox


Ignore:
Timestamp:
Jan 21, 2009 2:01:28 PM (16 years ago)
Author:
vboxsync
Message:

VBoxGINA: Added proper backdoor logging + release log indication when it gets loaded. This also fixed crashing of the system when running in debug mode.

Location:
trunk/src/VBox/Additions/WINNT/VBoxGINA
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxGINA/Makefile.kmk

    r12446 r16138  
    2525DLLS += VBoxGINA
    2626VBoxGINA_TEMPLATE = VBOXGUESTR3DLL
    27 VBoxGINA_DEFS     = UNICODE
     27VBoxGINA_DEFS     = UNICODE LOG_TO_BACKDOOR VBGL_VBOXGUEST VBOX_WITH_HGCM
    2828VBoxGINA_SOURCES  = \
    2929        VBoxGINA.cpp \
  • trunk/src/VBox/Additions/WINNT/VBoxGINA/VBoxGINA.cpp

    r8155 r16138  
    8383        case DLL_PROCESS_ATTACH:
    8484        {
     85            RTR3Init();
     86            VbglR3Init();
     87            LogRel(("VBoxGina: DLL loaded.\n"));
     88
    8589            DisableThreadLibraryCalls(hInstance);
    8690            hDllInstance = hInstance;
     
    8993
    9094        case DLL_PROCESS_DETACH:
     95        {
     96            LogRel(("VBOXNP: DLL unloaded.\n"));
     97            VbglR3Term();
     98            /// @todo RTR3Term();
     99            break;
     100        }
     101
    91102        default:
    92103            break;
  • trunk/src/VBox/Additions/WINNT/VBoxGINA/VBoxGINA.h

    r8155 r16138  
    2121#define __H_VBOXGINA
    2222
    23 #include <VBox/log.h>
     23#include <iprt/initterm.h>
     24#include <iprt/log.h>
     25
     26#include <VBox/VBoxGuest.h>
     27#include <VBox/Log.h>
    2428
    2529/** Handle to Winlogon service */
Note: See TracChangeset for help on using the changeset viewer.

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