To verify a DSS signature, the DSS public key of the signer must be imported, the signed data must be hashed, and then the signature can be verified. The steps necessary for this are shown in the following procedure.
hHash. set to the handle to the hash performed in the previous step.
pbSignature. points to the signature to be verified.
dwSigLen. set to the length of the signature.
hPubKey. set to the handle of the public key imported in step 2.
dwFlags. set to zero.