VirtualBox

Changeset 71716 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Apr 6, 2018 6:16:30 PM (7 years ago)
Author:
vboxsync
Message:

VBoxSDS,VBoxSVC: Replaced the enviornment variable hack (VBOX_SERVICE_PROCESS) for preventing VBoxSDS and VBoxSVC from getting watched as clients, with a special export in the executable (Is_VirtualBox_service_process_like_VBoxSDS_And_VBoxSDS). Some cleanups here and there.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/RpcChannelHook.h

    r71160 r71716  
    2626
    2727
    28 typedef void* PRPC_CHANNEL_HOOK;
     28typedef void *PRPC_CHANNEL_HOOK;
    2929
    3030// {CEDA3E95-A46A-4C41-AA01-EFFD856E455C}
     
    3232{ 0xceda3e95, 0xa46a, 0x4c41,{ 0xaa, 0x1, 0xef, 0xfd, 0x85, 0x6e, 0x45, 0x5c } };
    3333
    34 #if defined(__cplusplus)
    35 extern "C"
    36 {
    37 #endif // #if defined(__cplusplus)
    38 
    39     // C wrapper for using in proxy
    40     void SetupClientRpcChannelHook(void);
    41 
    42 #if defined(__cplusplus)
    43 }
    44 #endif // #if defined(__cplusplus)
     34RT_C_DECLS_BEGIN
     35// C wrapper for using in proxy
     36void SetupClientRpcChannelHook(void);
     37RT_C_DECLS_END
    4538
    4639
     
    7871protected:
    7972    const GUID m_ChannelHookID;
    80     static volatile bool s_bChannelRegistered;
    81     static volatile bool s_bVBpoxSDSCalledOnce;
     73    static volatile bool s_fChannelRegistered;
     74    static volatile bool s_fVBpoxSDSCalledOnce;
    8275    static CRpcChannelHook s_RpcChannelHook;
    8376
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