Changeset 63878 in vbox
- Timestamp:
- Sep 19, 2016 11:27:20 AM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 110742
- Location:
- trunk/src/VBox/Devices/Samples
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Samples/DrvStorageFilter.cpp
r62508 r63878 21 21 *********************************************************************************************************************************/ 22 22 #define LOG_GROUP LOG_GROUP_MISC 23 #include <VBox/vmm/pdmifs.h>24 23 #include <VBox/vmm/pdmdrv.h> 24 #include <VBox/vmm/pdmstorageifs.h> 25 25 #include <VBox/log.h> 26 26 -
trunk/src/VBox/Devices/Samples/VBoxSampleDevice.cpp
r62508 r63878 43 43 44 44 45 46 FNPDMDEVCONSTRUCT pfnConstruct;47 /** Destruct instance - optional. */48 FNPDMDEVDESTRUCT pfnDestruct;49 50 45 static DECLCALLBACK(int) devSampleDestruct(PPDMDEVINS pDevIns) 51 46 { … … 69 64 70 65 /* 71 * Initialize the instance data so that the destruct urewon't mess up.66 * Initialize the instance data so that the destructor won't mess up. 72 67 */ 73 68 PVBOXSAMPLEDEVICE pThis = PDMINS_2_DATA(pDevIns, PVBOXSAMPLEDEVICE); … … 82 77 return VERR_PDM_DEVINS_UNKNOWN_CFG_VALUES; 83 78 79 /* 80 * Use the instance number if necessary (not for this device, which in 81 * g_DeviceSample below declares a maximum instance count of 1). 82 */ 83 NOREF(iInstance); 84 84 85 85 return VINF_SUCCESS; … … 144 144 145 145 /** 146 * Register builtin devices.146 * Register devices provided by the plugin. 147 147 * 148 148 * @returns VBox status code.
Note:
See TracChangeset
for help on using the changeset viewer.