PartyManager::GetProfilingCallbacksForMethodEntryExit
Retrieves the profiling event callbacks the Party 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 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 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 library is calling for the instrumented event types.
A callback equal to nullptr
indicates that the Party library will not make any profiling callbacks for that event type.
This method is only supported on the Windows and Microsoft Game Core versions of the library. Calls on other platforms will fail.
Requirements
Header: Party.h
See also
PartyManager
PartyProfilingMethodEntranceCallback
PartyProfilingMethodExitCallback
PartyManager::SetProfilingCallbacksForMethodEntryExit
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om