Changeset 68986 in vbox for trunk/include/VBox/vmm
- Timestamp:
- Oct 4, 2017 2:37:38 PM (7 years ago)
- Location:
- trunk/include/VBox/vmm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmdev.h
r68594 r68986 1878 1878 1879 1879 /** Current PDMDEVHLPR3 version number. */ 1880 #define PDM_DEVHLPR3_VERSION PDM_VERSION_MAKE_PP(0xffe7, 2 1, 0)1880 #define PDM_DEVHLPR3_VERSION PDM_VERSION_MAKE_PP(0xffe7, 22, 0) 1881 1881 1882 1882 /** … … 3481 3481 DECLR3CALLBACKMEMBER(PSUPDRVSESSION, pfnGetSupDrvSession,(PPDMDEVINS pDevIns)); 3482 3482 3483 /** 3484 * Queries a generic object from the VMM user. 3485 * 3486 * @returns Pointer to the object if found, NULL if not. 3487 * @param pDevIns The device instance. 3488 * @param pUuid The UUID of what's being queried. The UUIDs and 3489 * the usage conventions are defined by the user. 3490 * 3491 * @note It is strictly forbidden to call this internally in VBox! This 3492 * interface is exclusively for hacks in externally developed devices. 3493 */ 3494 DECLR3CALLBACKMEMBER(void *, pfnQueryGenericUserObject,(PPDMDEVINS pDevIns, PCRTUUID pUuid)); 3495 3483 3496 /** @} */ 3484 3497 … … 5359 5372 } 5360 5373 5374 /** 5375 * @copydoc PDMDEVHLPR3::pfnQueryGenericUserObject 5376 */ 5377 DECLINLINE(void *) PDMDevHlpQueryGenericUserObject(PPDMDEVINS pDevIns, PCRTUUID pUuid) 5378 { 5379 return pDevIns->pHlpR3->pfnQueryGenericUserObject(pDevIns, pUuid); 5380 } 5381 5361 5382 #endif /* IN_RING3 */ 5362 5383 #ifdef IN_RING0 -
trunk/include/VBox/vmm/vmm.h
r68011 r68986 237 237 DECLR3CALLBACKMEMBER(void, pfnNotifyResetTurnedIntoPowerOff,(PCVMM2USERMETHODS pThis, PUVM pUVM)); 238 238 239 /** 240 * Generic object query by UUID. 241 * 242 * @returns pointer to queried the object on success, NULL if not found. 243 * 244 * @param pThis Pointer to the callback method table. 245 * @param pUVM The user mode VM handle. 246 * @param pUuid The UUID of what's being queried. The UUIDs and the 247 * usage conventions are defined by the user. 248 * 249 * @remarks This is optional and shall be set to NULL if not wanted. 250 */ 251 DECLR3CALLBACKMEMBER(void *, pfnQueryGenericObject,(PCVMM2USERMETHODS pThis, PUVM pUVM, PCRTUUID pUuid)); 252 239 253 /** Magic value (VMM2USERMETHODS_MAGIC) marking the end of the structure. */ 240 254 uint32_t u32EndMagic; … … 244 258 #define VMM2USERMETHODS_MAGIC UINT32_C(0x18830703) 245 259 /** The VMM2USERMETHODS structure version. */ 246 #define VMM2USERMETHODS_VERSION UINT32_C(0x000 20001)260 #define VMM2USERMETHODS_VERSION UINT32_C(0x00030000) 247 261 248 262
Note:
See TracChangeset
for help on using the changeset viewer.