OSSearchModule

C Specification

#include <revolution/os.h>
OSModuleInfo* OSSearchModule (void* ptr, u32* section, u32* offset);

Arguments

ptr Virtual address.
section Pointer to u32 type to get the module section number.
offset Pointer to u32 type to get the module section number.

Return Values

Pointer to OSModuleInfo which contains ptr address. Returns NULL if there is no module that contains ptr.

Description

Searches the module that contains the specified address (ptr).

See Also

Relocatable Module System

Revision History

03/01/2006 Initial version.