DWC_StringToFriendKey

Syntax

#include <dwc.h>
u64 DWC_StringToFriendKey(const char *string);

Arguments

string 12-digit decimal string.

Return Values

0 Conversion has failed.
Nonzero Friend registration key.

Description

Converts the twelve-digit decimal string string into a friend registration key.

If an inappropriate string is passed to the function, it will return 0.

See Also

DWC_FriendKeyToString

Revision History

For the changelog prior to 5.1 PR2, click here.


CONFIDENTIAL