这是 JwaWinCrypt 中定义的:
PCERT_CONTEXT = ^CERT_CONTEXT;
{$EXTERNALSYM CERT_CONTEXT}
_CERT_CONTEXT = record
dwCertEncodingType: DWORD;
pbCertEncoded: LPBYTE;
cbCertEncoded: DWORD;
pCertInfo: PCERT_INFO;
hCertStore: HCERTSTORE;
end;
{$EXTERNALSYM _CERT_CONTEXT}
CERT_CONTEXT = _CERT_CONTEXT;
{$EXTERNALSYM CERT_CONTEXT}
TCertContext = CERT_CONTEXT;
PCertContext = PCERT_CONTEXT;
PCCERT_CONTEXT = PCERT_CONTEXT;
{$EXTERNALSYM PCCERT_CONTEXT}
PPCCERT_CONTEXT = ^PCCERT_CONTEXT;
{$NODEFINE PCCERT_CONTEXT}
所以 PCCERT_CONTEXT 和 CERT_CONTEXT 都存在(这意味着你可能会犯另一个错误,但我不知道,因为你没有分享你的代码)