This function sets the password using the PcID retrieved with the PK3NextQueryPcID function. The function works for passwords that have an expiration date.

[C++Builder/Visual C++] BOOL PK3NextSetPassword(LPSTR lpszPassword);
[Delphi] function PK3NextSetPassword(lpszPassword: PAnsiChar): LongBool;
[Visual Basic] Function PK3NextSetPassword(ByVal lpszPassword As String) As Long

Parameters

Name Explanation
lpszPassword The password to be set

Return Value

Returns the True (nonzero) if successful, otherwise returns False (0).

Explanation

The PK3NextSetPassword function sets the password using the PcID retrieved with the PK3NextQueryPcID function.

The PK3NextSetPassword function is disabled when the password has no expiration.