2000-02-18 03:38:33 +08:00
|
|
|
/* Perform simple test of headers to avoid typos and such */
|
2001-08-10 19:51:03 +08:00
|
|
|
#define __USE_W32_SOCKETS
|
|
|
|
#include <w32api.h>
|
2000-02-18 03:38:33 +08:00
|
|
|
#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>
|
2002-01-31 01:33:27 +08:00
|
|
|
#include <mapi.h>
|
2000-02-18 03:38:33 +08:00
|
|
|
|
2001-08-10 19:51:03 +08:00
|
|
|
#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>
|
2002-03-06 19:31:47 +08:00
|
|
|
#ifdef _WINSOCK2_H
|
2001-08-10 19:51:03 +08:00
|
|
|
#include <ws2tcpip.h>
|
2002-03-06 19:31:47 +08:00
|
|
|
#endif
|
2002-01-28 07:20:56 +08:00
|
|
|
#include <wsnetbs.h>
|
2001-08-21 21:58:52 +08:00
|
|
|
#include <setupapi.h>
|
2001-12-03 Earnie Boyd <earnie@users.sf.net>
* include/accctrl.h: Change \r\n to \n.
2001-11-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/ipexport.h (IP_UNIDIRECTIONAL_ADAPTER_ADDRESS):
Add structure definition.
* include/iptypes.h (IP_PER_ADAPTER_INFO): Ditto.
* include/iphlpapi.h (AddIPAddress,CreateProxyArpEntry,
DeleteIPAddress,DeleteProxyArpEntry,EnableRouter,
FlushIpNetTable,GetAdapterIndex,GetPerAdapterInfo,
GetUniDirectionalAdapterInfo,SendARP,SetAdapterIpAddress,
UnenableRouter) Declare functions.
* lib/iphlpapi.def: Add function names to import lib.
2001-11-24 Danny Smith <dannysmith@users.sourceforge.net>
* include/winnt.h (PACCESS_MASK): Add typedef.
* include/aclapi.h: New file.
* include/acctrl.h: New file.
* lib/advapi32.def: Add missing symbols.
* lib/test.c: Add #include <aclapi.h>.
2001-11-23 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (OSVERSIONINFO[AW],VER_PLATFORM_WIN32s,
VER_PLATFORM_WIN32_WINDOWS,VER_PLATFORM_WIN32_NT): Move from
here ...
* include/winnt.h: ... to here.
* include/winbase.h (VerifyVersionInfo[AW]): Add declaration.
* include/winnt.h (OSVERSIONINFOEX[AW]): Add structure definitions
and typedefs.
(VER_NT_WORKSTATION,VER_NT_DOMAIN_CONTROLLER,VER_NT_SERVER):
Add defines.
2001-11-19 Pierre Muller <muller@ics.u-strasbg.fr>
* w32api/include/winnt.h: prepare SSE register support.
(CONTEXT_EXTENDED_REGISTERS): Add new define.
(MAXIMUM_SUPPORTED_EXTENSION): New define.
(struct CONTEXT): ExtendedRegisters field added.
2001-11-16 Danny Smith <dannysmith@users.sourceforge.net>
* include/winuser.h (tagALTTABINFO, tagCOMBOBOXINFO,
tagCURSORINFO, tagMENUBARINFO, tagMENUINFO, tagMONITORINFO
tagSCROLLBARINFO, tagTITLEBARINFO. tagWINDOWINFO,
tagLASTINPUTINFO ): Define new structures.
(EndMenu, GetAltTabInfo[AW],GetComboBoxInfo,GetCursorInfo,
GetLastInputInfo, GetListBoxInfo, GetMenuBarInfo,
GetMonitorInfo[AW], GetScrollBarInfo, GetTitleBarInfo,
GetWindowInfo, GetWindowModuleFileName[AW],GetMenuInfo
SetMenuInfo): Add new prototypes.
* lib/user32.def: Add import stubs for above functions.
* include/winuser.h (IDC_STATIC): Protect against prior
definition.
2001-11-12 Corinna Vinschen <corinna@vinschen.de>
* include/winbase.h (OSVERSIONINFOEX): Add definition.
* include/winnt.h: Add VER_NT_* and VER_SUITE_* defines.
2001-11-10 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h: Add Danny Smith's text comment about gcc compiler
warnings with _AUTHORITY #defines.
2001-11-09 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h (GetCurrentFiber): Create a prototype before the
implementation;
(GetFiberData): Ditto.
2001-11-09 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h: Backout last change.
2001-12-04 03:59:34 +08:00
|
|
|
#include <aclapi.h>
|
* include/ntsecpkg.h: New file.
* 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.
2002-02-14 08:24:52 +08:00
|
|
|
#include <security.h>
|
|
|
|
#include <schnlsp.h>
|
2001-08-10 19:51:03 +08:00
|
|
|
|
|
|
|
#ifndef __OBJC__ /* problems with BOOL */
|
2000-02-18 03:38:33 +08:00
|
|
|
#include <ole2.h>
|
2002-06-13 08:13:34 +08:00
|
|
|
#include <comcat.h>
|
2000-02-18 03:38:33 +08:00
|
|
|
#include <shlobj.h>
|
2001-08-10 19:51:03 +08:00
|
|
|
#include <intshcut.h>
|
|
|
|
#include <ocidl.h>
|
|
|
|
#include <ole2ver.h>
|
|
|
|
#include <olectl.h>
|
|
|
|
#include <oledlg.h>
|
|
|
|
#include <rapi.h>
|
|
|
|
#include <richole.h>
|
|
|
|
#include <rpcproxy.h>
|
|
|
|
|
2000-02-18 03:38:33 +08:00
|
|
|
#else
|
|
|
|
#undef BOOL
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|