This function takes the passed flat address (supposed to be code, but could also be data or resource) and returns the module handle, module name, and object number. Note that, for the non-shared address (for an .EXE), the handle returned will be for the current context. For debug support, the offset within the object is also returned.

If the address is not found, then the offset in pOffset and the object number in pObjNum are set to -1, and NO_ERROR is returned.


[Back: DosQueryModFromAddr - Parameters]
[Next: DosQueryModFromAddr - Topics]