Lines Matching refs:pDrvIns
51 PPDMDRVINS pDrvIns;
176 PPDMDRVINS pDrvIns = PDMIBASE_2_PDMDRV(pInterface);
177 PDRVMEDIAISO pThis = PDMINS_2_DATA(pDrvIns, PDRVMEDIAISO);
178 PDMIBASE_RETURN_INTERFACE(pszIID, PDMIBASE, &pDrvIns->IBase);
191 * @param pDrvIns The driver instance data.
193 static DECLCALLBACK(void) drvMediaISODestruct(PPDMDRVINS pDrvIns)
195 PDRVMEDIAISO pThis = PDMINS_2_DATA(pDrvIns, PDRVMEDIAISO);
197 PDMDRV_CHECK_VERSIONS_RETURN_VOID(pDrvIns);
218 static DECLCALLBACK(int) drvMediaISOConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags)
220 PDRVMEDIAISO pThis = PDMINS_2_DATA(pDrvIns, PDRVMEDIAISO);
221 PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns);
226 pThis->pDrvIns = pDrvIns;
229 pDrvIns->IBase.pfnQueryInterface = drvMediaISOQueryInterface;
251 return PDMDRV_SET_ERROR(pDrvIns, rc, N_("Failed to query \"Path\" from the config"));
264 PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS, N_("Failed to open ISO file \"%s\""), pszName);