OSSearchModule

Syntax

#include <revolution/os.h>

OSModuleInfo* OSSearchModule(void* ptr, u32* section, u32* offset);

Arguments

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.

Return Values

Returns a pointer to OSModuleInfo that covers the ptr address. Returns NULL if none of the modules cover ptr.

Description

Searches for the module that covers the specified address (ptr).

See Also

Relocatable Module System

Revision History

2006/03/01 Initial version.


CONFIDENTIAL