Lines Matching refs:ppvMem
258 * @param ppvMem Where to return the memory on success (heap or
261 static int rtldrPEReadPartByRva(PRTLDRMODPE pThis, const void *pvBits, uint32_t uRva, uint32_t cbMem, void const **ppvMem)
263 *ppvMem = NULL;
272 *ppvMem = (uint8_t const *)pvBits + uRva;
277 *ppvMem = (uint8_t const *)pThis->pvBits + uRva;
290 *ppvMem = pbMem;
366 RTMemFree((void *)*ppvMem);
367 *ppvMem = NULL;
391 * @param ppvMem Where to return the heap block with the bytes on
394 static int rtldrPEReadPartFromFile(PRTLDRMODPE pThis, uint32_t offFile, uint32_t cbMem, void const **ppvMem)
396 *ppvMem = NULL;
413 RTMemFree((void *)*ppvMem);
417 *ppvMem = pbMem;
434 * @param ppvMem Where to return the memory on success (heap or
438 uint32_t cbMem, void const **ppvMem)
447 return rtldrPEReadPartFromFile(pThis, (uint32_t)offFile, cbMem, ppvMem);
449 return rtldrPEReadPartByRva(pThis, pvBits, (uint32_t)uRva, cbMem, ppvMem);