RSAENH_CPGetProvParam
Alexandre Julliard
julliard at winehq.org
Tue May 8 12:50:42 CDT 2007
Mounir IDRASSI <mounir.idrassi at idrix.fr> writes:
> + case PP_KEYSTORAGE:
> + dwTemp = GetVersion();
> + /* for Windows NT, 95,98, Me, return CRYPT_PSTORE | CRYPT_UI_PROMPT | CRYPT_SEC_DESCR
> + * for the others, return CRYPT_SEC_DESCR
> + */
> + if(dwTemp < 0x80000000 && ((dwTemp & 0x000000FF) != 0x00000004))
> + dwTemp = CRYPT_SEC_DESCR;
> + else
> + dwTemp = CRYPT_PSTORE | CRYPT_UI_PROMPT | CRYPT_SEC_DESCR;
You shouldn't add such version checks, unless you have a real life app
that depends on the difference.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list