Changeset 2607 in vbox for trunk/src/VBox
- Timestamp:
- May 13, 2007 12:35:17 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/darwin/iokit.cpp
r2605 r2607 408 408 AssertBreak(darwinDictGetU16(PropsRef, CFSTR(kUSBProductID), &pCur->idProduct),); 409 409 AssertBreak(darwinDictGetU16(PropsRef, CFSTR(kUSBDeviceReleaseNumber), &pCur->bcdDevice),); 410 uint32_t u32LocationI D;411 AssertBreak(darwinDictGetU32(PropsRef, CFSTR(kUSBDevicePropertyLocationID), &u32LocationI D),);412 uint64_t u64SessionI D;413 AssertBreak(darwinDictGetU64(PropsRef, CFSTR("sessionID"), &u64SessionI D),);410 uint32_t u32LocationId; 411 AssertBreak(darwinDictGetU32(PropsRef, CFSTR(kUSBDevicePropertyLocationID), &u32LocationId),); 412 uint64_t u64SessionId; 413 AssertBreak(darwinDictGetU64(PropsRef, CFSTR("sessionID"), &u64SessionId),); 414 414 char szAddress[64]; 415 RTStrPrintf(szAddress, sizeof(szAddress), " s=0x%016RX32;l=0x%08RX32", u64SessionID, u32LocationID);416 415 RTStrPrintf(szAddress, sizeof(szAddress), "p=0x%04RX16;v=0x%04RX16;s=0x%016RX64;l=0x%08RX32", 416 pCur->idProduct, pCur->idVendor, u64SessionId, u32LocationId); 417 417 pCur->pszAddress = RTStrDup(szAddress); 418 418 AssertBreak(pCur->pszAddress,);
Note:
See TracChangeset
for help on using the changeset viewer.