This function retrieves a "custom created" (user defined) PcID.

[C++Builder/Visual C++] BOOL PK3QueryPcIDofPassword(LPSTR lpszPcID, LPLONG lpPcIDLen);
[Delphi] function PK3QueryPcIDofPassword(lpszPcID: PAnsiChar; var lpPcIDLen: Longint): LongBool;
[Visual Basic] Function PK3QueryPcIDofPassword(ByVal lpszPcID As String, lpPcIDLen As Long) As Long

Parameters

Name Explanation
lpszPcID The retrieved PcID (Maximum length is 64 digits)

In C++Builder, Visual C++, and Delphi. this is a string terminating with Null. In Visual Basic, this is a string of specified size.
lpPcIDLen The number of digits in the retrieved PcID

Return Value

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

Explanation

The PK3QueryPcIDofPassword function retrieves a "custom created" PcID.

The PK3QueryPcIDofPassword function is disabled when the password has no expiration or if the PK3Initialize function has not been executed.