Le dim 30/11/2003 à 14:52, Thomas Brix Larsen a écrit :
RCS file: /home/wine/wine/dlls/crypt32/crypt32.spec,v retrieving revision 1.13 diff -u -r1.13 crypt32.spec --- dlls/crypt32/crypt32.spec 12 May 2003 03:21:45 -0000 1.13 +++ dlls/crypt32/crypt32.spec 30 Nov 2003 19:45:03 -0000 @@ -186,3 +186,4 @@ @ stub RegQueryInfoKeyU @ stub RegQueryValueExU @ stub RegSetValueExU +@ stdcall CryptProtectData(ptr wstr ptr ptr ptr long ptr)
Try to keep the functions in alphabetical order in the spec file please.
+BOOL WINAPI CryptProtectData(DATA_BLOB* pDataIn, LPCWSTR szDataDescr, DATA_BLOB* pOptionalEntropy, PVOID pvReserved, void* pPromptStruct, DWORD dwFlags, DATA_BLOB* pDataOut)
You said you changed the type of pPromptStruct to void* for cause of non-documentation. Better to get documentation for it, such as from WinCrypt.h from the SDK. I suggest you add something along those lines in Wine's wincrypt.h:
typedef struct _CRYPTPROTECT_PROMPTSTRUCT { DWORD cbSize; DWORD dwPromptFlags; HWND hwndApp; LPCWSTR szPrompt; } CRYPTPROTECT_PROMPTSTRUCT, *PCRYPTPROTECT_PROMPTSTRUCT;
Vincent
søn, 2003-11-30 kl. 22:05 skrev Vincent Béron:
@ stub RegQueryValueExU @ stub RegSetValueExU +@ stdcall CryptProtectData(ptr wstr ptr ptr ptr long ptr)
Try to keep the functions in alphabetical order in the spec file please.
Done.
+BOOL WINAPI CryptProtectData(DATA_BLOB* pDataIn, LPCWSTR szDataDescr, DATA_BLOB* pOptionalEntropy, PVOID pvReserved, void* pPromptStruct, DWORD dwFlags, DATA_BLOB* pDataOut)
You said you changed the type of pPromptStruct to void* for cause of non-documentation. Better to get documentation for it, such as from WinCrypt.h from the SDK. I suggest you add something along those lines in Wine's wincrypt.h:
Done.
Sent to wine-patches@winehq.org.
Greetings, --Thomas _________________ My worst enemy gave me a copy of Windows...