StormLib API Reference
DWORD WINAPI SFileVerifyArchive( HANDLE hMpq );
Function SFileVerifyArchive verifies digital signature of the archive, is a digital signature is present. in the MPQ and must have been open by SFileOpenArchive.
Note that MPQ archives created by StormLib are never signed.
Return value can be one of the following values:
|There is no known signature present in the MPQ.|
|An error occured during verifying the signature, such as no memory or read error.|
|Weak digital signature was found in the archive and has been successfully verified. The signature is valid.|
|Weak digital signature was found in the archive but its verification failed. The signature is not valid.|
|Strong digital signature was found in the archive and has been successfully verified. The signature is valid.|
|Strong digital signature was found in the archive but its verification failed. Either the signature is not valid or StormLib doesn't have the proper public key.|
|Available in Storm.dll||No|
|Ordinal number in Storm.dll 1.00||N/A|
|Ordinal number in Storm.dll 1.09||N/A|
Copyright (c) Ladislav Zezula 2003 - 2010