OSDynLoad_DelNotifyCallback

Syntax

#include <cafe/os/OSDynLoad.h>

typedef void (*OSDynLoad_pfNotifyFunc)(
        OSDynLoad_ModuleHandle      aModuleHandle, 
        void                       *apUserArg, 
        int                         aIsLoad, 
        OSDynLoad_NotifyHdr const  *apNotify);

void OSDynLoad_DelNotifyCallback(OSDynLoad_pfNotifyFunc  aFunc,
                                 void *pUserArg);

Parameters

aFunc Notification callback to remove from the callback chain.
pUserArg Generic argument to pass to the callback when it is invoked. This must match the value used when the callback was added.

Return Values

Returns an OSDYNLOAD_ERR_xxx error code (see OSDynLoad.h).

Description

This function allows you to remove a callback that was previously registered.

This is a mechanism primarily used by the debugger in debug builds to determine when to load or unload symbols. However, it can be used by other mechanisms for other purposes or for profile tracking.

Do Not Call From

None.

See Also

OSDynLoad_Acquire
OSDynLoad_AddNotifyCallback
OSDynLoad_FindExport
OSDynLoad_FindTag
OSDynLoad_GetAllocator
OSDynLoad_GetModuleName
OSDynLoad_IsModuleLoaded
OSDynLoad_NotifyHdr
OSDynLoad_Release
OSDynLoad_SetAllocator

Revision History

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


CONFIDENTIAL