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>
|
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 17:35:29 +08:00
|
|
|
#include <icm.h>
|
2001-08-10 19:51:03 +08:00
|
|
|
#include <imagehlp.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 08:24:34 +08:00
|
|
|
#include <powrprof.h>
|
2001-08-10 19:51:03 +08:00
|
|
|
#include <psapi.h>
|
|
|
|
#include <ras.h>
|
2003-03-11 06:45:51 +08:00
|
|
|
#include <rasdlg.h>
|
2001-08-10 19:51:03 +08: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 19:31:47 +08:00
|
|
|
#ifdef _WINSOCK2_H
|
2001-08-10 19:51:03 +08:00
|
|
|
#include <ws2tcpip.h>
|
2002-08-20 08:48:23 +08:00
|
|
|
#include <ws2spi.h>
|
2002-08-27 06:13:05 +08:00
|
|
|
#include <wsahelp.h>
|
2002-03-06 19:31:47 +08:00
|
|
|
#endif
|
2002-08-27 07:33:17 +08:00
|
|
|
#include <wsipx.h>
|
2002-01-28 07:20:56 +08:00
|
|
|
#include <wsnetbs.h>
|
2002-08-27 07:33:17 +08:00
|
|
|
#include <svcguid.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>
|
2003-03-27 16:10:46 +08: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 08:24:52 +08:00
|
|
|
#include <schnlsp.h>
|
2003-08-01 17:11:39 +08:00
|
|
|
#include <ntldap.h>
|
|
|
|
#include <winber.h>
|
|
|
|
#include <winldap.h>
|
2002-07-22 11:10:43 +08:00
|
|
|
#include <shlwapi.h>
|
2003-08-25 17:52:10 +08:00
|
|
|
#include <snmp.h>
|
|
|
|
#include <winsnmp.h>
|
|
|
|
#include <mgmtapi.h>
|
2003-08-26 14:54:55 +08:00
|
|
|
#include <vfw.h>
|
2003-09-24 17:29:20 +08:00
|
|
|
#include <uxtheme.h>
|
|
|
|
#include <tmschema.h>
|
2003-09-30 15:40:46 +08:00
|
|
|
#include <dhcpcsdk.h>
|
2003-10-09 13:52:12 +08:00
|
|
|
#include <errorrep.h>
|
2004-02-12 03:57:58 +08:00
|
|
|
#include <windns.h>
|
2006-03-26 05:43:55 +08:00
|
|
|
#include <usp10.h>
|
2001-08-10 19:51:03 +08:00
|
|
|
|
2006-07-25 08:22:19 +08:00
|
|
|
#ifndef _OBJC_NO_COM
|
|
|
|
#include <initguid.h>
|
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>
|
2002-10-09 08:16:22 +08: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 18:09:36 +08:00
|
|
|
#include <winable.h>
|
2001-08-10 19:51:03 +08: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 12:26:26 +08:00
|
|
|
#include <docobj.h>
|
|
|
|
#include <idispids.h>
|
2001-08-10 19:51:03 +08: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 12:26:26 +08:00
|
|
|
#include <exdisp.h>
|
|
|
|
#include <mshtml.h>
|
2003-05-12 18:35:35 +08:00
|
|
|
#include <servprov.h>
|
2004-04-24 00:03:43 +08:00
|
|
|
#include <aclui.h>
|
2006-04-18 10:57:59 +08:00
|
|
|
#include <mlang.h>
|
2000-02-18 03:38:33 +08:00
|
|
|
#endif
|
|
|
|
|
2006-07-25 08:22:19 +08:00
|
|
|
#ifdef __OBJC__
|
|
|
|
#undef BOOL
|
|
|
|
|
|
|
|
@interface class1 {
|
|
|
|
int e;
|
|
|
|
}
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation class1
|
|
|
|
@end
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|