Changeset 52204 in vbox for trunk/src/VBox/Runtime/common/ldr/ldrEx.cpp
- Timestamp:
- Jul 26, 2014 11:22:44 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/ldr/ldrEx.cpp
r51794 r52204 221 221 * @param BaseAddress The base address. 222 222 * @param pfnGetImport Callback function for resolving imports one by one. 223 * If this is NULL, imports will not be resolved. 223 224 * @param pvUser User argument for the callback. 224 225 * @remark Not supported for RTLdrLoad() images. … … 233 234 */ 234 235 AssertMsgReturn(rtldrIsValid(hLdrMod), ("hLdrMod=%p\n", hLdrMod), VERR_INVALID_HANDLE); 235 Assert MsgReturn(VALID_PTR(pvBits), ("pvBits=%p\n", pvBits), VERR_INVALID_PARAMETER);236 Assert MsgReturn(VALID_PTR(pfnGetImport), ("pfnGetImport=%p\n", pfnGetImport), VERR_INVALID_PARAMETER);236 AssertPtrReturn(pvBits, VERR_INVALID_POINTER); 237 AssertPtrNullReturn(pfnGetImport, VERR_INVALID_POINTER); 237 238 PRTLDRMODINTERNAL pMod = (PRTLDRMODINTERNAL)hLdrMod; 238 239 AssertMsgReturn(pMod->eState == LDR_STATE_OPENED, ("eState=%d\n", pMod->eState), VERR_WRONG_ORDER);
Note:
See TracChangeset
for help on using the changeset viewer.