#include <revolution/os.h> OSModuleInfo* OSSearchModule(void* ptr, u32* section, u32* offset);
| ptr | Virtual address. |
|---|---|
section |
Pointer to a u32 type to get the module section number. |
| offset | Pointer to a u32 type to get the module section number. |
Returns a pointer to OSModuleInfo that covers the ptr address. Returns NULL if none of the modules cover ptr.
Searches for the module that covers the specified address (ptr).
2006/03/01 Initial version.
CONFIDENTIAL