Changeset 81591 in vbox for trunk/src/VBox/Devices/Samples
- Timestamp:
- Oct 30, 2019 2:14:10 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 134346
- Location:
- trunk/src/VBox/Devices/Samples
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Samples/DevPlayground.cpp
r81031 r81591 130 130 static DECLCALLBACK(int) devPlaygroundSaveExec(PPDMDEVINS pDevIns, PSSMHANDLE pSSM) 131 131 { 132 PVBOXPLAYGROUNDDEVICE pThis = PDM INS_2_DATA(pDevIns, PVBOXPLAYGROUNDDEVICE);132 PVBOXPLAYGROUNDDEVICE pThis = PDMDEVINS_2_DATA(pDevIns, PVBOXPLAYGROUNDDEVICE); 133 133 134 134 /* dummy (real devices would need to save their state here) */ … … 158 158 static DECLCALLBACK(int) devPlaygroundLoadExec(PPDMDEVINS pDevIns, PSSMHANDLE pSSM, uint32_t uVersion, uint32_t uPass) 159 159 { 160 PVBOXPLAYGROUNDDEVICE pThis = PDM INS_2_DATA(pDevIns, PVBOXPLAYGROUNDDEVICE);160 PVBOXPLAYGROUNDDEVICE pThis = PDMDEVINS_2_DATA(pDevIns, PVBOXPLAYGROUNDDEVICE); 161 161 162 162 if (uVersion > PLAYGROUND_SSM_VERSION) … … 193 193 * Initialize the instance data so that the destructor won't mess up. 194 194 */ 195 PVBOXPLAYGROUNDDEVICE pThis = PDM INS_2_DATA(pDevIns, PVBOXPLAYGROUNDDEVICE);195 PVBOXPLAYGROUNDDEVICE pThis = PDMDEVINS_2_DATA(pDevIns, PVBOXPLAYGROUNDDEVICE); 196 196 197 197 /* -
trunk/src/VBox/Devices/Samples/VBoxSampleDevice.cpp
r80704 r81591 66 66 * Initialize the instance data so that the destructor won't mess up. 67 67 */ 68 PVBOXSAMPLEDEVICE pThis = PDM INS_2_DATA(pDevIns, PVBOXSAMPLEDEVICE);68 PVBOXSAMPLEDEVICE pThis = PDMDEVINS_2_DATA(pDevIns, PVBOXSAMPLEDEVICE); 69 69 pThis->Whatever = 0; 70 70
Note:
See TracChangeset
for help on using the changeset viewer.