#include <dwc.h>DWCCfError DWC_CfGetAppFriendKeyFromNWC24Msg(const NWC24MsgObj *obj,
const DWCUserData *userdata,
u64 *appFriendKey,
DWCCfMsgType *msgType);| obj | Pointer to NWC24MsgObj from which to extract game Friend information. |
| userdata | Own user data. |
| appFriendKey | Pointer to the other party's game Friend code. If the other party does not permit registration, NULL is substituted for ( msgType==DWC_CF_MSG_TYPE_RESPONSE_DENY). |
| msgType | Pointer to the variable that gets the message type. |
| DWC_CF_ERROR_NONE | Succeeded. |
| Other | The DWCCfError enumerated type which indicates the error code. |
Extracts information for game Friend exchanges from the NWC24 message. Pass the message that was sent from the same application ID.
If a message that does not include game Friend information gets passed, DWC_CF_ERROR_NOFRIENDDATA is returned.
CONFIDENTIAL