Added stub for CryptProtectData, so programs like Skype can start.

This commit is contained in:
Thomas Brix Larsen 2003-12-02 03:47:44 +00:00 committed by Alexandre Julliard
parent ce2d3ef77d
commit 16c1bf123d
3 changed files with 16 additions and 0 deletions

View File

@ -132,6 +132,7 @@
@ stub CryptMsgSignCTL
@ stub CryptMsgUpdate
@ stub CryptMsgVerifyCountersignatureEncoded
@ stdcall CryptProtectData(ptr wstr ptr ptr ptr long ptr)
@ stdcall CryptRegisterDefaultOIDFunction(long str long wstr)
@ stdcall CryptRegisterOIDFunction(long str str wstr str)
@ stub CryptRegisterOIDInfo

View File

@ -53,6 +53,14 @@ BOOL WINAPI I_CryptFreeLruCache(DWORD x)
return FALSE;
}
BOOL WINAPI CryptProtectData(DATA_BLOB* pDataIn, LPCWSTR szDataDescr, DATA_BLOB* pOptionalEntropy,
PVOID pvReserved, CRYPTPROTECT_PROMPTSTRUCT* pPromptStruct,
DWORD dwFlags, DATA_BLOB* pDataOut)
{
FIXME("stub!\n");
return FALSE;
}
/*
* (0x1001350, %eax, 0, 0, 9);
*

View File

@ -49,6 +49,13 @@ typedef struct _CRYPTOAPI_BLOB {
CRYPT_DER_BLOB, *PCRYPT_DER_BLOB,
CRYPT_ATTR_BLOB, *PCRYPT_ATTR_BLOB;
typedef struct _CRYPTPROTECT_PROMPTSTRUCT{
DWORD cbSize;
DWORD dwPromptFlags;
HWND hwndApp;
LPCWSTR szPrompt;
} CRYPTPROTECT_PROMPTSTRUCT, *PCRYPTPROTECT_PROMPTSTRUCT;
typedef struct _CRYPT_ALGORITHM_IDENTIFIER {
LPSTR pszObjId;
CRYPT_OBJID_BLOB Parameters;