DWC_GetGsProfileId

Syntax

#include <dwc.h>
int DWC_GetGsProfileId(const DWCUserData *userdata,
                       const DWCFriendData *frienddata);

Arguments

userdata Pointer to the DWCUserData structure where the user data is stored.
frienddata Pointer to the DWCFriendData structure where the friend information is stored.

Return Values

Positive value GS profile ID.
0 Cannot get the profile ID because the friend registration key is invalid.
-1 Cannot get the profile ID because the login ID is stored.

Description

Gets a GS profile ID from the friend information specified by frienddata. The GS profile ID can be obtained when the friend information type as returned by DWC_GetFriendDataType is "friend registration key," and the friend has an established friend relationship with the local host.

See Also

DWC_GetFriendDataType

Revision History

For the changelog prior to 5.1 PR2, click here.


CONFIDENTIAL