black-box implementation of CryptProtectData/CryptUnprotectData
Mike McCormack
mike at codeweavers.com
Mon Apr 4 11:07:14 CDT 2005
Kees Cook wrote:
> Actually, I did that to avoid the line prefix that "TRACE" adds. All
> the stuff where I call the dbg functions directly are part of helper
> functions, and seeing their names is confusing while watching a
> Protect/Unprotect session.
It's probably better to keep it consistent with what the rest of Wine does.
> Doesn't RegSetValueExW return an HRESULT?
No, it returns a Win32 error code.
> BTW: what is your opinion on where to store the triplets in the
> Registry?
If there's no equivilent keys in Windows, then under the Wine key sounds
ok to me.
It seems like you need to investigate what it does on Windows and the
MSDN description of the function a bit more. The description on MSDN
indicated that they used a per user key generated when the user logs in.
Mike
More information about the wine-devel
mailing list