#include <dwc.h>int DWC_GetGsProfileId(const DWCUserData *userdata,
const DWCFriendData *frienddata);| userdata | Pointer to the DWCUserData structure where the user data is stored. |
| frienddata | Pointer to the DWCFriendData structure where the friend data is stored. |
| 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. |
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.
CONFIDENTIAL