- Timestamp:
- Aug 4, 2007 5:44:34 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VMMDev/VBoxDev.cpp
r4035 r4036 1479 1479 static DECLCALLBACK(int) vmmdevQueryStatusLed(PPDMILEDPORTS pInterface, unsigned iLUN, PPDMLED *ppLed) 1480 1480 { 1481 VMMDevState *pData = (VMMDevState *)((uintptr_t)pInterface - RT_OFFSETOF(VMMDevState, Base));1481 VMMDevState *pData = (VMMDevState *)( (uintptr_t)pInterface - RT_OFFSETOF(VMMDevState, SharedFolders.ILeds) ); 1482 1482 if (iLUN == 0) /* LUN 0 is shared folders */ 1483 1483 { … … 1953 1953 AssertMsgFailedReturn(("Failed to attach LUN #0! rc=%Vrc\n", rc), rc); 1954 1954 1955 #if 01956 1955 /* 1957 1956 * Attach status driver for shared folders (optional). … … 1967 1966 return rc; 1968 1967 } 1969 #endif1970 1968 1971 1969 /*
Note:
See TracChangeset
for help on using the changeset viewer.