cryptui: Ignore additional prop sheet pages when calling CryptUIViewCertificateW from CryptUIViewCertificateA.
This commit is contained in:
parent
dfc028b4fb
commit
29bf23108b
|
@ -59,6 +59,9 @@ BOOL WINAPI CryptUIDlgCertMgr(PCCRYPTUI_CERT_MGR_STRUCT pCryptUICertMgr)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* CryptUIDlgViewCertificateA (CRYPTUI.@)
|
||||||
|
*/
|
||||||
BOOL WINAPI CryptUIDlgViewCertificateA(
|
BOOL WINAPI CryptUIDlgViewCertificateA(
|
||||||
PCCRYPTUI_VIEWCERTIFICATE_STRUCTA pCertViewInfo, BOOL *pfPropertiesChanged)
|
PCCRYPTUI_VIEWCERTIFICATE_STRUCTA pCertViewInfo, BOOL *pfPropertiesChanged)
|
||||||
{
|
{
|
||||||
|
@ -87,6 +90,11 @@ BOOL WINAPI CryptUIDlgViewCertificateA(
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (pCertViewInfo->cPropSheetPages)
|
||||||
|
{
|
||||||
|
FIXME("ignoring additional prop sheet pages\n");
|
||||||
|
viewInfo.cPropSheetPages = 0;
|
||||||
|
}
|
||||||
ret = CryptUIDlgViewCertificateW(&viewInfo, pfPropertiesChanged);
|
ret = CryptUIDlgViewCertificateW(&viewInfo, pfPropertiesChanged);
|
||||||
HeapFree(GetProcessHeap(), 0, title);
|
HeapFree(GetProcessHeap(), 0, title);
|
||||||
error:
|
error:
|
||||||
|
|
Loading…
Reference in New Issue