Added stub for CryptProtectData, so programs like Skype can start.
This commit is contained in:
parent
ce2d3ef77d
commit
16c1bf123d
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
*
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue