EOS_ActiveSession_CopyInfo

EOS API reference page for EOS_ActiveSession_CopyInfo

実装方法を選んでください。

C

C#

This function is part of the [Sessions Interface](Interfaces/Sessions).

Remarks

EOS_ActiveSession_CopyInfo is used to immediately retrieve a copy of active session information If the call returns an EOS_Success result, the out parameter, OutActiveSessionInfo, must be passed to EOS_ActiveSession_Info_Release to release the memory associated with it.

Return Value

  • EOS_Success if the information is available and passed out in OutActiveSessionInfo

  • EOS_InvalidParameters if you pass a null pointer for the out parameter

  • EOS_IncompatibleVersion if the API version passed in is incorrect

See Also

EOS_ActiveSession_Info, EOS_ActiveSession_CopyInfoOptions, EOS_ActiveSession_Info_Release

Parameters

EOS_ActiveSession_CopyInfo

Parameter Type And Name

Usage Information

EOS_HActiveSession Handle

const EOS_ActiveSession_CopyInfoOptions* Options

Structure containing the input parameters

EOS_ActiveSession_Info** OutActiveSessionInfo

Out parameter used to receive the EOS_ActiveSession_Info structure.

If successful, this function provides data to the caller through an output parameter. Once you are finished with the data, you must release it by making the appropriate call into the EOS SDK.

Related API Members

This function is part of the [Sessions Interface](Interfaces/Sessions).

Remarks

EOS_ActiveSession_CopyInfo is used to immediately retrieve a copy of active session information If the call returns an EOS_Success result, the out parameter, OutActiveSessionInfo, must be passed to EOS_ActiveSession_Info_Release to release the memory associated with it.

Return Value

  • EOS_Success if the information is available and passed out in OutActiveSessionInfo

  • EOS_InvalidParameters if you pass a null pointer for the out parameter

  • EOS_IncompatibleVersion if the API version passed in is incorrect

See Also

EOS_ActiveSession_Info, EOS_ActiveSession_CopyInfoOptions, EOS_ActiveSession_Info_Release

Parameters

Sessions.ActiveSession.CopyInfo

Parameter Type And Name

Usage Information

ActiveSessionCopyInfoOptions options

Structure containing the input parameters

ActiveSessionInfo outActiveSessionInfo

Out parameter used to receive the EOS_ActiveSession_Info structure.

If successful, this function provides data to the caller through an output parameter. The EOS SDK will automatically handle releasing the data when your code no longer holds any reference to it; you do not need to call a "Release" function.

Related API Members

タグ