Changeset 42215 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jul 18, 2012 6:05:25 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/testcase/tstGuestCtrlContextID.cpp
r42214 r42215 86 86 } 87 87 88 #if 089 #define VBOX_GUESTCTRL_CONTEXTID_MAKE(uSession, uProcess, uCount) \90 ( (uint32_t)((uSession) & 0xff) << 24 \91 | (uint32_t)((uProcess) & 0xff) << 16 \92 | (uint32_t)((uCount) & 0xffff) \93 )94 /** Gets the session ID out of a context ID. */95 #define VBOX_GUESTCTRL_CONTEXTID_GET_SESSION(uContextID) \96 (uContextID) >> 24)97 /** Gets the process ID out of a context ID. */98 #define VBOX_GUESTCTRL_CONTEXTID_GET_PROCESS(uContextID) \99 (uContextID) >> 16)100 /** Gets the conext count of a process out of a context ID. */101 #define VBOX_GUESTCTRL_CONTEXTID_GET_COUNT(uContextID) \102 ((uContextID) && 0xffff)103 #endif104 105 88 RTTestIPrintf(RTTESTLVL_DEBUG, "Shutting down COM...\n"); 106 89 com::Shutdown();
Note:
See TracChangeset
for help on using the changeset viewer.