OSDynLoad_GetRPLInfo

Syntax

#include <cafe/os/OSDynLoad.h>

int OSDynLoad_GetRPLInfo(unsigned int index, unsigned int count,
			 OSDynLoad_NotifyHdr *infobuffer);

Parameters

index Index of the first module (RPX or RPL) to return info for.
count Maximum number of modules (RPX or RPL) to return info for.
infoBuffer Pointer to an array of count OSDynLoad_NotifyHdr structures. The array receives the returned information about the RPX and any loaded RPLs.

Return Values

0 An RPL has been loaded since OSDynLoad_GetRPLInfo was last called, or when called in production mode with a nonzero count.
1 Success.

Description

Fill the array referenced by infobuffer with a maximum of count elements beginning with the module (RPX or RPL) with index index.

If there are fewer modules than count, the remaining elements are cleared.

If count is less than the number of modules, which can be determined using OSDynLoad_GetNumberOfRPLs, you may call this function repeatedly with an increasing index to collect all of the information.

NOTE:
The RPLs are not necessarily in order of launch.

Do Not Call From

Production code Do not call this function in production code. It is available only for debugging purposes.

See Also

OSDynLoad_GetNumberOfRPLs
OSDynLoad_AddNotifyCallback
OSDynLoad_DelNotifyCallback
OSDynLoad_IsModuleLoaded
OSDynLoad_NotifyHdr

Revision History

2014/08/29 Moved OSDynLoad_NotifyHdr to its own page.
2013/11/01 Added OSDynLoad_IsModuleLoaded.
2013/05/08 Automated cleanup pass.
2013/02/13 Initial version.


CONFIDENTIAL