#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 information is stored. |
| 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. |
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.
For the changelog prior to 5.1 PR2, click here.
CONFIDENTIAL