Skip to main content
Retrieves the profiling event callbacks the Party XBOX Live library is configured to use when entering or exiting instrumented methods.

Syntax

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
Last modified on August 20, 2026