forked from Mirrors/wine-wine
Added stub for CryptProtectData, so programs like Skype can start.
parent
ce2d3ef77d
commit
16c1bf123d
|
@ -132,6 +132,7 @@
|
||||||
@ stub CryptMsgSignCTL
|
@ stub CryptMsgSignCTL
|
||||||
@ stub CryptMsgUpdate
|
@ stub CryptMsgUpdate
|
||||||
@ stub CryptMsgVerifyCountersignatureEncoded
|
@ stub CryptMsgVerifyCountersignatureEncoded
|
||||||
|
@ stdcall CryptProtectData(ptr wstr ptr ptr ptr long ptr)
|
||||||
@ stdcall CryptRegisterDefaultOIDFunction(long str long wstr)
|
@ stdcall CryptRegisterDefaultOIDFunction(long str long wstr)
|
||||||
@ stdcall CryptRegisterOIDFunction(long str str wstr str)
|
@ stdcall CryptRegisterOIDFunction(long str str wstr str)
|
||||||
@ stub CryptRegisterOIDInfo
|
@ stub CryptRegisterOIDInfo
|
||||||
|
|
|
@ -53,6 +53,14 @@ BOOL WINAPI I_CryptFreeLruCache(DWORD x)
|
||||||
return FALSE;
|
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);
|
* (0x1001350, %eax, 0, 0, 9);
|
||||||
*
|
*
|
||||||
|
|
|
@ -49,6 +49,13 @@ typedef struct _CRYPTOAPI_BLOB {
|
||||||
CRYPT_DER_BLOB, *PCRYPT_DER_BLOB,
|
CRYPT_DER_BLOB, *PCRYPT_DER_BLOB,
|
||||||
CRYPT_ATTR_BLOB, *PCRYPT_ATTR_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 {
|
typedef struct _CRYPT_ALGORITHM_IDENTIFIER {
|
||||||
LPSTR pszObjId;
|
LPSTR pszObjId;
|
||||||
CRYPT_OBJID_BLOB Parameters;
|
CRYPT_OBJID_BLOB Parameters;
|
||||||
|
|
Loading…
Reference in New Issue