DWC_GetGsProfileId

C Specification

#include <dwc.h>

int DWC_GetGsProfileId( const DWCUserData* userdata,
                        const DWCFriendData* frienddata )

Description

Gets a GS profile ID from the friend information specified by frienddata. The GS profile ID can be used when the type of friend information returned by DWC_GetFriendDataType is a friend registration key and established friend.

Arguments

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

Return Values

Positive integer GS Profile ID
0 Cannot get the profile ID because the friend registration key is invalid
-1 Cannot obtain the profile ID because the login ID is stored

See Also

DWC_GetFriendDataType

Revision History

2005/12/16 Revisions.
11/08/2005 Revisions.
07/22/2005 Initial version.