how to use Issuer Certificate to verify a subject Certificate??

From: rimoflove (rimoflove_at_hotmail.com)
Date: 03/26/04


Date: Fri, 26 Mar 2004 11:20:10 +0800

I want to use the public key in the issuer's certificate which in the root
store to verify the signature on the subject certificate to check whether
the subject certificate is issued by the such certificate. Does anyone know
how to implement it?
I have used function CertVerifySubjectCertificateContext() to do it ,but it
always get TRUE regardless of any certificate i passed in the function.