advapi32.dll: Query Provider Type Name.

Michael Jung mjung at iss.tu-darmstadt.de
Thu Jul 15 04:15:41 CDT 2004


Hello,

in CryptEnumProviderTypes the "Provider Type Type Name" is queried with 
RegQueryValueA. I don't know why, but it doesn't work. Changing 
RegQueryValueA to RegQueryValueExA solves the problem. Since MSDN marks 
RegQueryValue as deprecated, I think it's the better alternative anyway.

Greetings,
Michael

Changelog:
        Substituted non functional RegQueryValueA by RegQueryValueExA in
        CryptEnumProviderTypes

-- 
Michael Jung, MSc                               Be liberal in what you accept,
Integrated Circuits and Systems Lab         and conservative in what you send. 
University of Technology, Darmstadt       -- Jonathan Postel, Internet Pioneer
phone: +49(6151)16-6692 / email: mjung at iss.tu-darmstadt.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dlls_advapi32_crypt_c_2.diff
Type: text/x-diff
Size: 907 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040715/c7b7960e/dlls_advapi32_crypt_c_2.bin


More information about the wine-patches mailing list