http://bugs.winehq.org/show_bug.cgi?id=11070
--- Comment #24 from Juan Lang juan_lang@yahoo.com 2010-05-24 14:27:18 --- These logs are sort of interesting, but pretty off-topic for implementing PFXImportCertStore. From your logs:
trace:loaddll:load_native_dll Loaded L"C:\windows\system32\rsaenh.dll" at 0x68000000: native trace:advapi:GetTokenInformation (0xa0, TokenUser, 0x32dbe0, 1024, 0x32dbd0): trace:advapi:GetTokenInformation (0xa0, TokenType, 0x32dad8, 4, 0x32dae0): err:advapi:ImpersonateLoggedOnUser NtDuplicateToken failed with error 0xc0000022 trace:advapi:GetTokenInformation (0xa0, TokenType, 0x32d890, 4, 0x32d898): err:advapi:ImpersonateLoggedOnUser NtDuplicateToken failed with error 0xc0000022 trace:loaddll:free_modref Unloaded module L"C:\windows\system32\rsaenh.dll" : native
That is, native rsaenh fails to load due to ImpersonateLoggedOnUser failing (NtDuplicateToken is failing with STATUS_ACCESS_DENIED.) This may well be a bug elsewhere in Wine that prevents native rsaenh from being used. But that's not the subject of this bug.
Please, let's keep this bug about implementing PFXImportCertStore.