crypt32: Add CryptQueryObject() prototype

Francois Gouget fgouget at free.fr
Fri Feb 24 09:03:49 CST 2006


Changelog:

  * include/wincrypt.h
    tools/winapi/win32.api

    Francois Gouget <fgouget at free.fr>
    Add CryptQueryObject() prototype (spotted by winapi_check).
    Update win32.api.


-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
             Before you criticize someone, walk a mile in his shoes.
        That way, if he gets angry, he'll be a mile away - and barefoot.
-------------- next part --------------
Index: include/wincrypt.h
===================================================================
RCS file: /home/wine/wine/include/wincrypt.h,v
retrieving revision 1.67
diff -u -p -r1.67 wincrypt.h
--- include/wincrypt.h	24 Feb 2006 10:49:49 -0000	1.67
+++ include/wincrypt.h	24 Feb 2006 10:57:17 -0000
@@ -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,
Index: tools/winapi/win32.api
===================================================================
RCS file: /home/wine/wine/tools/winapi/win32.api,v
retrieving revision 1.68
diff -u -p -r1.68 win32.api
--- tools/winapi/win32.api	7 Feb 2006 20:22:19 -0000	1.68
+++ tools/winapi/win32.api	24 Feb 2006 10:57:23 -0000
@@ -620,7 +622,9 @@ DATA_BLOB *
 DWORD *
 GUID *
 HCERTSTORE
+HCERTSTORE *
 HCRYPTKEY *
+HCRYPTMSG *
 HCRYPTOIDFUNCADDR
 HCRYPTOIDFUNCADDR *
 HCRYPTOIDFUNCSET
@@ -633,8 +637,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-patches mailing list