This DLL function generates the password.

[C++Builder/Visual C++] BOOL PS3GetPassword(LPCSTR lpszLockword, LPCSTR lpszPcID, long lPasswordType, LPSTR lpszPassword);
[Delphi] function PS3GetPassword(lpszLockword, lpszPcID: PAnsiChar; lPasswordType: Longint; lpszPassword: PAnsiChar): LongBool;
[Visual Basic] Function PS3GetPassword(ByVal lpszLockword As String, ByVal lpszPcID As String, ByVal lPasswordType As Long, ByVal lpszPassword As String) As Long

Parameters

Name Explanation
lpszLockword The lockword that is set in the application code.
lpszPcID The PcID received from the enduser.
lPasswordType The password type
0: Numeric
1: Alpha-numeric
2: Alpha-numeric (Only uppercase alphabet)
lpszPassword The generated password
In C++Builder, Visual C++, and Delphi, this is a null terminated string. In Visual Basic, this is of type String of the specified size.

Return Value

Returns True (non-zero) if successful, otherwise returns False (0).