2000-02-17 20:38:33 +01:00
|
|
|
/* Perform simple test of headers to avoid typos and such */
|
2001-08-10 13:51:03 +02:00
|
|
|
#define __USE_W32_SOCKETS
|
|
|
|
#include <w32api.h>
|
2000-02-17 20:38:33 +01: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-30 18:33:27 +01:00
|
|
|
#include <mapi.h>
|
2000-02-17 20:38:33 +01:00
|
|
|
|
2001-08-10 13:51:03 +02:00
|
|
|
#include <dbt.h>
|
|
|
|
#include <httpext.h>
|
2006-04-18 Eric House <ehouse@eehouse.org>
PocketPC support.
* include/aygshell.h: New file [_WIN32_WCE]. Declare most common
functions for using aygshell on PocketPC:
SHCreateMenuBar, SHFindMenuBar, SHCreateNewItem, SHFullScreen,
SHSipInfo, SHHandleWMActivate, SHHandleWMSettingChange
* include/commctrl.h [_WIN32_WCE] Add function prototypes for
command bar API on PocketPC:
CommandBar_Create, CommandBar_Show, CommandBar_AddBitmap,
CommandBar_InsertComboBox, CommandBar_InsertMenubar,
CommandBar_InsertMenubarEx, CommandBar_DrawMenuBar,
CommandBar_GetMenu, CommandBar_AddAdornments, CommandBar_Height,
CommandBar_InsertButton, CommandBar_Destroy.
* include/winbase.h [_WIN32_WCE] (WIN32_FIND_DATA{A|W}): Remove
fields not present on PocketPC.
(GetCurrentThreadId): Conditionally declare as extern function
without dllimport attribute on PocketPC.
(ResetEvent): Likwise.
(SetEvent): Likewise.
* include/wingdi.h [_WIN32_WCE] (GetTextExtentPoint32{A|W}):
Conditionally declare as extern function without dllimport
attribute on PocketPC.
* winuser.h [_WIN32_WCE] (DialogBoxParam{A|W}): Conditionally
declare as extern function without dllimport attribute on PocketPC.
2006-04-18 11:35:29 +02:00
|
|
|
#include <icm.h>
|
2001-08-10 13:51:03 +02:00
|
|
|
#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>
|
2003-06-06 02:24:34 +02:00
|
|
|
#include <powrprof.h>
|
2001-08-10 13:51:03 +02:00
|
|
|
#include <psapi.h>
|
|
|
|
#include <ras.h>
|
2003-03-10 23:45:51 +01:00
|
|
|
#include <rasdlg.h>
|
2001-08-10 13:51:03 +02:00
|
|
|
#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 12:31:47 +01:00
|
|
|
#ifdef _WINSOCK2_H
|
2001-08-10 13:51:03 +02:00
|
|
|
#include <ws2tcpip.h>
|
2002-08-20 02:48:23 +02:00
|
|
|
#include <ws2spi.h>
|
2002-08-27 00:13:05 +02:00
|
|
|
#include <wsahelp.h>
|
2002-03-06 12:31:47 +01:00
|
|
|
#endif
|
2002-08-27 01:33:17 +02:00
|
|
|
#include <wsipx.h>
|
2002-01-28 00:20:56 +01:00
|
|
|
#include <wsnetbs.h>
|
2002-08-27 01:33:17 +02:00
|
|
|
#include <svcguid.h>
|
2001-08-21 15:58:52 +02: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-03 20:59:34 +01: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 01:24:52 +01:00
|
|
|
#include <security.h>
|
2003-03-27 09:10:46 +01:00
|
|
|
#include <secext.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 01:24:52 +01:00
|
|
|
#include <schnlsp.h>
|
2003-08-01 11:11:39 +02:00
|
|
|
#include <ntldap.h>
|
|
|
|
#include <winber.h>
|
|
|
|
#include <winldap.h>
|
2002-07-22 05:10:43 +02:00
|
|
|
#include <shlwapi.h>
|
2003-08-25 11:52:10 +02:00
|
|
|
#include <snmp.h>
|
|
|
|
#include <winsnmp.h>
|
|
|
|
#include <mgmtapi.h>
|
2003-08-26 08:54:55 +02:00
|
|
|
#include <vfw.h>
|
2003-09-24 11:29:20 +02:00
|
|
|
#include <uxtheme.h>
|
|
|
|
#include <tmschema.h>
|
2003-09-30 09:40:46 +02:00
|
|
|
#include <dhcpcsdk.h>
|
2003-10-09 07:52:12 +02:00
|
|
|
#include <errorrep.h>
|
2004-02-11 20:57:58 +01:00
|
|
|
#include <windns.h>
|
2006-03-25 22:43:55 +01:00
|
|
|
#include <usp10.h>
|
2001-08-10 13:51:03 +02:00
|
|
|
|
|
|
|
#ifndef __OBJC__ /* problems with BOOL */
|
2000-02-17 20:38:33 +01:00
|
|
|
#include <ole2.h>
|
2002-06-13 02:13:34 +02:00
|
|
|
#include <comcat.h>
|
2000-02-17 20:38:33 +01:00
|
|
|
#include <shlobj.h>
|
2001-08-10 13:51:03 +02:00
|
|
|
#include <intshcut.h>
|
|
|
|
#include <ocidl.h>
|
|
|
|
#include <ole2ver.h>
|
2002-10-09 02:16:22 +02:00
|
|
|
#include <oleacc.h>
|
2003-05-30 Mattia Barbon <mbarbon@dsi.unive.it>
* lib/oleacc.def: New file.
* include/winable.h: New file.
* include/oleacc.h: Add extern "C" guard.
(NAVDIR_*, ROLE_*, STATE_*): Add missing constants.
(AccessibleChildren, AccessibleObjectFromEvent,
AccessibleObjectFromPoint, AccessibleObjectFromWindow,
CreateStdAccessibleProxy[AW], GetOleaccVersionInfo, GetRoleText[AW],
GetStateText[AW], LresultFromObject, ObjectFromLresult,
WindowFromAccessibleObject): Add prototypes and UNICODE mappings.
* include/winuser.h (NotifyWinEvent): Add prototype.
(OBJID_WINDOW, OBJID_SYSMENU, OBJID_TITLEBAR,
OBJID_MENU, OBJID_CLIENT, OBJID_VSCROLL, OBJID_HSCROLL,
OBJID_SIZEGRIP, OBJID_CARET, OBJID_CURSOR, OBJID_ALERT,
OBJID_SOUND): Move from here to...
* include/winable.h (OBJID_WINDOW, OBJID_SYSMENU, OBJID_TITLEBAR,
OBJID_MENU, OBJID_CLIENT, OBJID_VSCROLL, OBJID_HSCROLL,
OBJID_SIZEGRIP, OBJID_CARET, OBJID_CURSOR, OBJID_ALERT,
OBJID_SOUND): Here, as per documentation.
* lib/test.c: Include winable.h.
* lib/user32.def (NotifyWinEvent): Add missing export.
2003-05-30 12:09:36 +02:00
|
|
|
#include <winable.h>
|
2001-08-10 13:51:03 +02:00
|
|
|
#include <olectl.h>
|
|
|
|
#include <oledlg.h>
|
2002-07-26 Mattia Barbon <mbarbon@dsi.unive.it>
* include/exdisp.h: New file.
* include/exdispid.h: New file.
* include/mshtml.h: New file.
* lib/test.c: #include exdisp.h and mshtml.h
* lib/uuid.c (CLSID_WebBrowser, DIID_DWebBrowserEvents,
DIID_DWebBrowserEvents2, IID_IHTMLDocument, IID_IHTMLDocument2,
IID_IHTMLElement, IID_IHTMLSelectionObject, IID_IHTMLTxtRange,
IID_IWebBrowser, IID_IWebBrowser2, IID_IWebBrowserApp):
New GUIDs.
* include/docobj.h: New file.
* include/idispids.h: New file.
* include/objidl.h (IID_IMoniker): Declare.
* include/ocidl.h (READYSTATE): New enum.
(IOleInPlaceSiteEx): New interface.
* include/olectlid.h (IID_IEnumSTATSTG): New interface
identifier.
* include/oleidl.h (IOleItemContainer, IOleInPlaceObject,
IOleInPlaceSite): New interfaces.
* lib/test.c: #include docobj.h,idispids.h,
2002-07-26 06:26:26 +02:00
|
|
|
#include <docobj.h>
|
|
|
|
#include <idispids.h>
|
2001-08-10 13:51:03 +02:00
|
|
|
#include <rapi.h>
|
|
|
|
#include <richole.h>
|
|
|
|
#include <rpcproxy.h>
|
2002-07-26 Mattia Barbon <mbarbon@dsi.unive.it>
* include/exdisp.h: New file.
* include/exdispid.h: New file.
* include/mshtml.h: New file.
* lib/test.c: #include exdisp.h and mshtml.h
* lib/uuid.c (CLSID_WebBrowser, DIID_DWebBrowserEvents,
DIID_DWebBrowserEvents2, IID_IHTMLDocument, IID_IHTMLDocument2,
IID_IHTMLElement, IID_IHTMLSelectionObject, IID_IHTMLTxtRange,
IID_IWebBrowser, IID_IWebBrowser2, IID_IWebBrowserApp):
New GUIDs.
* include/docobj.h: New file.
* include/idispids.h: New file.
* include/objidl.h (IID_IMoniker): Declare.
* include/ocidl.h (READYSTATE): New enum.
(IOleInPlaceSiteEx): New interface.
* include/olectlid.h (IID_IEnumSTATSTG): New interface
identifier.
* include/oleidl.h (IOleItemContainer, IOleInPlaceObject,
IOleInPlaceSite): New interfaces.
* lib/test.c: #include docobj.h,idispids.h,
2002-07-26 06:26:26 +02:00
|
|
|
#include <exdisp.h>
|
|
|
|
#include <mshtml.h>
|
2003-05-12 12:35:35 +02:00
|
|
|
#include <servprov.h>
|
2004-04-23 18:03:43 +02:00
|
|
|
#include <aclui.h>
|
2006-04-18 04:57:59 +02:00
|
|
|
#include <mlang.h>
|
2000-02-17 20:38:33 +01:00
|
|
|
#else
|
|
|
|
#undef BOOL
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|