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 data is stored.

Return Values

Positive integer GS profile ID
0 Cannot get the profile ID because the friend code is invalid.
-1 Cannot obtain the profile ID because the login ID is stored.

Description

Gets a GS profile ID from the friend data specified by frienddata. The GS profile ID can be obtained when the friend data type returned by DWC_GetFriendDataType is a friend code and from an established friend.

Revision History

1.1.2
Removed the text "Use only for debugging."

CONFIDENTIAL