[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Crypt32 - CryptProtectData
From:       Thomas Brix Larsen <killar () get2net ! dk>
Date:       2003-11-30 14:17:55
[Download RAW message or body]

Hi list,
I've been trying to get the application "Skype" (http://skype.org)
working in wine. But it complains about that it can't locate the
function CryptProtectData, which MSDN says belongs to crypt32.dll.
I've been trying to implement this function as a stub.

By adding this to crypt32/main.c:

BOOL WINAPI CryptProtectData(DATA_BLOB* pDataIn, LPCWSTR szDataDescr,
DATA_BLOB* pOptionalEntropy, PVOID pvReserved, void* pPromptStruct,
DWORD dwFlags, DATA_BLOB* pDataOut)
{
    FIXME("stub!\n");
    return FALSE;
}

I know the args aren't correct but I had a problem with
CRYPTPROTECT_PROMPTSTRUCT*, which isn't implented, so I just replaced
with void*.

I added:
@ stdcall CryptProtectData(ptr wstr ptr ptr ptr long ptr)
to crypt32.spec

But, the app still says it can't locate CryptProtectData, so what needs
to be done?


Greetings,
--Thomas
_________________
My worst enemy gave me a copy of Windows...


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic