Skip to main content

EOS_Connect_CopyProductUserInfo

Function EOS_Connect_CopyProductUserInfo 

Source
pub unsafe extern "C" fn EOS_Connect_CopyProductUserInfo(
    Handle: EOS_HConnect,
    Options: *const EOS_Connect_CopyProductUserInfoOptions,
    OutExternalAccountInfo: *mut *mut EOS_Connect_ExternalAccountInfo,
) -> EOS_EResult
Expand description

Fetch information about a Product User, using the external account that they most recently logged in with as the reference. On a successful call, the caller must release the returned structure using the EOS_Connect_ExternalAccountInfo_Release API.

@param Options Structure containing the target external account ID. @param OutExternalAccountInfo The external account info data last logged in for the user.

@see EOS_Connect_CopyProductUserInfoOptions @see EOS_Connect_ExternalAccountInfo @see EOS_Connect_ExternalAccountInfo_Release

@return An EOS_EResult that indicates the external account data was copied into the OutExternalAccountInfo.

  • EOS_Success if the information is available and passed out in OutExternalAccountInfo.
  • EOS_InvalidParameters if you pass a null pointer for the out parameter.
  • EOS_NotFound if the account data doesn’t exist or hasn’t been queried yet.