This function retrieves the protection information.
[C++Builder/Visual C++] BOOL
PK3QueryProtectInfo(PTR_PROTECTKIT3_INFO pi);
[Delphi] function
PK3QueryProtectInfo(var pi: PROTECTKIT3_INFO): LongBool;
[Visual Basic] Function
PK3QueryProtectInfo(pi As PROTECTKIT3_INFO) As Long
Parameters
Name | Explanation |
pi | The retieved protection information structure variable (User defined type PROTECTKIT3_INFO) |
Return Value
Returns the True (nonzero) if successful, otherwise returns False (0).
Explanation
The PK3QueryProtectInfo function retrieves the protection information.
The PK3QueryProtectInfo function is disabled when the password has no expiration or if the PK3Initialize function has not been executed.
For detailed information about the PROTECTKIT3\INFO, please refer to the "ProFunc32.dll/ProFunc64.dll's PROTECTKIT3_INFO member variables.