27530c3181
* include/schannel.h: New file. * include/schnlsp.h: New file. * include/security.h: New file. * include/sspi.h: New file. * include/ntsecapi.h (KERB_WRAP_NO_ENCRYPT, MICROSOFT_KERBEROS_NAME_[AW]): Add missing constants * include/wincrypt.h (CALG_*, X509_ASN_ENCODING. PKCS_7_ASN_ENCODING, CERT_*, USAGE_MATCH_TYPE_AND, USAGE_MATCH_TYPE_OR, szOID_*): Add missing constants (struct _CRYPTOAPI_BLOB): Add structure and typedefs. (SSL_EXTRA_CERT_CHAIN_POLICY_PARA,HTTPSPolicyCallbackData, CERT_CHAIN_POLICY_PARA,CERT_CHAIN_POLICY_STATUS, CRYPT_ALGORITHM_IDENTIFIER, CRYPT_BIT_BLOB, CERT_PUBLIC_KEY_INFO, CERT_EXTENSION, CERT_INFO, CERT_CONTEXT, CTL_USAGE, CERT_ENHKEY_USAGE, CERT_USAGE_MATCH, CERT_CHAIN_PARA, CERT_CHAIN_FIND_BY_ISSUER_PARA, CERT_TRUST_STATUS, CRL_ENTRY, CRL_INFO, CRL_CONTEXT, CERT_REVOCATION_CRL_INFO, CERT_REVOCATION_INFO, CERT_CHAIN_ELEMENT, CRYPT_ATTRIBUTE, CTL_ENTRY, CTL_INFO, CTL_CONTEXT, CERT_TRUST_LIST_INFO, CERT_SIMPLE_CHAIN, CERT_CHAIN_CONTEXT): Add missing structures. (CertCloseStore, CertGetCertificateChain, CertVerifyCertificateChainPolicy, CertFreeCertificateChain, CertNameToStr[AW], CertOpenSystemStore[AW], CertOpenStore, CertFindCertificateInStore, CertFreeCertificateContext, CertGetIssuerCertificateFromStore, CertFindChainInStore): Add missing functions. (CertNameToStr, CertOpenSystemStore, CERT_FIND_SUBJECT_STR, CERT_FIND_ISSUER_STR): Add Unicode mappings. * lib/crypt32.def: New file. * lib/secur32.def: Add mising stubs. * lib/test.c: Include new headers.
87 lines
1.6 KiB
C
87 lines
1.6 KiB
C
/* Perform simple test of headers to avoid typos and such */
|
|
#define __USE_W32_SOCKETS
|
|
#include <w32api.h>
|
|
#include <windows.h>
|
|
|
|
#ifdef __OBJC__
|
|
#define BOOL WINBOOL
|
|
#endif
|
|
#include <windowsx.h>
|
|
#include <commctrl.h>
|
|
#include <largeint.h>
|
|
#include <mmsystem.h>
|
|
#include <mciavi.h>
|
|
#include <mcx.h>
|
|
#include <sql.h>
|
|
#include <sqlext.h>
|
|
#include <imm.h>
|
|
#include <lm.h>
|
|
#include <zmouse.h>
|
|
#include <scrnsave.h>
|
|
#include <cpl.h>
|
|
#include <cplext.h>
|
|
#include <wincrypt.h>
|
|
#include <pbt.h>
|
|
#include <wininet.h>
|
|
#include <regstr.h>
|
|
#include <custcntl.h>
|
|
#include <mapi.h>
|
|
|
|
#include <dbt.h>
|
|
#include <httpext.h>
|
|
#include <imagehlp.h>
|
|
#include <initguid.h>
|
|
#include <ipexport.h>
|
|
#include <iphlpapi.h>
|
|
#include <ipifcons.h>
|
|
#include <iprtrmib.h>
|
|
#include <iptypes.h>
|
|
#include <isguids.h>
|
|
#include <lmbrowsr.h>
|
|
#include <mswsock.h>
|
|
#include <nddeapi.h>
|
|
#include <ntdef.h>
|
|
#include <ntsecapi.h>
|
|
#include <odbcinst.h>
|
|
#include <psapi.h>
|
|
#include <ras.h>
|
|
#include <raserror.h>
|
|
#include <rassapi.h>
|
|
#include <richedit.h>
|
|
#include <rpcdce2.h>
|
|
#include <subauth.h>
|
|
#include <tlhelp32.h>
|
|
#include <userenv.h>
|
|
#include <winioctl.h>
|
|
#include <winresrc.h>
|
|
#include <winsock.h>
|
|
#include <ws2tcpip.h>
|
|
#include <wsnetbs.h>
|
|
#include <setupapi.h>
|
|
#include <aclapi.h>
|
|
#include <security.h>
|
|
#include <schnlsp.h>
|
|
|
|
#ifndef __OBJC__ /* problems with BOOL */
|
|
#include <ole2.h>
|
|
#include <shlobj.h>
|
|
#include <intshcut.h>
|
|
#include <ocidl.h>
|
|
#include <ole2ver.h>
|
|
#include <olectl.h>
|
|
#include <oledlg.h>
|
|
#include <rapi.h>
|
|
#include <richole.h>
|
|
#include <rpcproxy.h>
|
|
|
|
#else
|
|
#undef BOOL
|
|
#endif
|
|
|
|
#include <stdio.h>
|
|
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|