Lines Matching defs:pfnDtor
64 PFNRTLDRRDRMEMDTOR pfnDtor;
202 pThis->pfnDtor(pThis->pvUser);
218 * @param pfnDtor The destructor. If NULL, a default destructore is
220 * @param pvUser User argument. If either @a pfnRead or @a pfnDtor
225 PFNRTLDRRDRMEMREAD pfnRead, PFNRTLDRRDRMEMDTOR pfnDtor, void *pvUser)
243 pThis->pfnDtor = pfnDtor ? pfnDtor : rtldrRdrMemDefaultDtor;
264 PFNRTLDRRDRMEMREAD pfnRead, PFNRTLDRRDRMEMDTOR pfnDtor, void *pvUser,
267 LogFlow(("RTLdrOpenInMemory: pszName=%p:{%s} fFlags=%#x enmArch=%d cbImage=%#zx pfnRead=%p pfnDtor=%p pvUser=%p phLdrMod=%p\n",
268 pszName, pszName, fFlags, enmArch, cbImage, pfnRead, pfnDtor, pvUser, phLdrMod));
270 if (!pfnRead || !pfnDtor)
272 if (!pfnDtor)
273 pfnDtor = rtldrRdrMemDefaultDtor;
279 pfnDtor(pvUser), VERR_INVALID_PARAMETER);
281 pfnDtor(pvUser), VERR_INVALID_PARAMETER);
285 AssertReturnStmt(RT_VALID_PTR(pfnRead), pfnDtor(pvUser), VERR_INVALID_POINTER);
286 AssertReturnStmt(cbImage > 0, pfnDtor(pvUser), VERR_INVALID_PARAMETER);
304 int rc = rtldrRdrMem_Create(&pReader, pszName, cbImage, pfnRead, pfnDtor, pvUser);
317 pfnDtor(pvUser);