Francois Gouget : crypt32: Add CryptQueryObject() prototype.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Feb 24 14:29:56 CST 2006


Module: wine
Branch: refs/heads/master
Commit: 8851c4fc4e8fa67c29c51f92d05a5e33f796c593
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=8851c4fc4e8fa67c29c51f92d05a5e33f796c593

Author: Francois Gouget <fgouget at free.fr>
Date:   Fri Feb 24 16:03:49 2006 +0100

crypt32: Add CryptQueryObject() prototype.
Update win32.api.

---

 include/wincrypt.h     |    6 ++++++
 tools/winapi/win32.api |    4 ++++
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/include/wincrypt.h b/include/wincrypt.h
index 0427b2d..678f466 100644
--- a/include/wincrypt.h
+++ b/include/wincrypt.h
@@ -2732,6 +2732,12 @@ BOOL WINAPI CryptHashToBeSigned(HCRYPTPR
  const BYTE *pbEncoded, DWORD cbEncoded, BYTE *pbComputedHash,
  DWORD *pcbComputedHash);
 
+BOOL WINAPI CryptQueryObject(DWORD dwObjectType, const void* pvObject,
+ DWORD dwExpectedContentTypeFlags, DWORD dwExpectedFormatTypeFlags,
+ DWORD dwFlags, DWORD* pdwMsgAndCertEncodingType, DWORD* pdwContentType,
+ DWORD* pdwFormatType, HCERTSTORE* phCertStore, HCRYPTMSG* phMsg,
+ const void** ppvContext);
+
 BOOL WINAPI CryptSignCertificate(HCRYPTPROV hCryptProv, DWORD dwKeySpec,
  DWORD dwCertEncodingType, const BYTE *pbEncodedToBeSigned,
  DWORD cbEncodedToBeSigned, PCRYPT_ALGORITHM_IDENTIFIER pSignatureAlgorithm,
diff --git a/tools/winapi/win32.api b/tools/winapi/win32.api
index 8911a2d..db06841 100644
--- a/tools/winapi/win32.api
+++ b/tools/winapi/win32.api
@@ -620,7 +620,9 @@ DATA_BLOB *
 DWORD *
 GUID *
 HCERTSTORE
+HCERTSTORE *
 HCRYPTKEY *
+HCRYPTMSG *
 HCRYPTOIDFUNCADDR
 HCRYPTOIDFUNCADDR *
 HCRYPTOIDFUNCSET
@@ -633,8 +635,10 @@ PCCERT_CONTEXT
 PCCERT_CONTEXT *
 PCCRL_CONTEXT
 PCCRL_CONTEXT *
+PCCRYPT_OID_INFO
 PCCTL_CONTEXT
 PCCTL_CONTEXT *
+PCERT_ENHKEY_USAGE
 PCERT_EXTENSION
 PCERT_INFO
 PCERT_NAME_BLOB




More information about the wine-cvs mailing list