Bewerken

Delen via


PartyXblManager::GetProfilingCallbacksForMethodEntryExit

Retrieves the profiling event callbacks the Party Xbox Live library is configured to use when entering or exiting instrumented methods.

Syntax

PartyError GetProfilingCallbacksForMethodEntryExit(  
    PartyProfilingMethodEntranceCallback* profilingMethodEntranceCallback,  
    PartyProfilingMethodExitCallback* profilingMethodExitCallback  
)  

Parameters

profilingMethodEntranceCallback   PartyProfilingMethodEntranceCallback*
library-allocated output, may return nullptr

A pointer to the callback made when the Party Xbox Live library enters an internal method which is instrumented for profiling.

profilingMethodExitCallback   PartyProfilingMethodExitCallback*
library-allocated output, may return nullptr

A pointer to the callback made when the Party Xbox Live library is about to exit an internal method which is instrumented for profiling.

Return value

PartyError

c_partyErrorSuccess if the call succeeded or an error code otherwise. The human-readable form of the error code can be retrieved via GetErrorMessage().

Remarks

This method retrieves the profiling callback functions the Party Xbox Live library is calling for the instrumented event types.

A callback equal to nullptr indicates that the Party Xbox Live library will not make any profiling callbacks for that event type.

Requirements

Header: PartyXboxLive.h

See also

PartyXblManager
PartyXblManager::SetProfilingCallbacksForMethodEntryExit