Commit Graph

975 Commits

Author SHA1 Message Date
Earnie Boyd 36d19bdddb 2001-09-13 Earnie Boyd <earnie@SF.net>
* lib/Makefile.in (config_prefix): New variable.
	(inst_includedir): Manipulate special value only if target == cygwin
	and build == target and prefix != config_prefix.
	(inst_libdir): Ditto.
2001-09-13 12:06:28 +00:00
Earnie Boyd 1176fb61c9 2001-09-12 Earnie Boyd <earnie@SF.net>
* Makefile.in (TARFLAGS): New variable.
	(TARFILEEXT): Ditto.
2001-09-12 20:24:06 +00:00
Earnie Boyd c88bb51c3c 2001-09-12 Earnie Boyd <earnie@SF.net>
* Makefile.in: Increment version.
	* include/w32api.h: Ditto.
	* lib/Makefile.in: Add usr/ to install directory special for cygwin.
2001-09-12 14:48:07 +00:00
Earnie Boyd e078566ced 2001-09-11 Danny Smith <dannysmith@users.sourceforge.net>
* include/winnt.h (_[U]LARGE_INTEGER): Protect nameless struct with
	!defined(NONAMELESSUNION), rather than defined(_ANONYMOUS_STRUCT).
	(_REPARSE_DATA_BUFFER): Name union field DUMMYUNIONNAME.
2001-09-12 14:08:53 +00:00
Earnie Boyd bb36822663 2001-09-05 Danny Smith <dannysmith@users.sourceforge.net>
* include/wininet.h (InternetAutodial): Add prototype.
	(InternetAutodialHangup): Ditto.
	(InternetDial): Ditto.
	(InternetGetConnectedState): Ditto.
	(InternetGoOnline): Ditto.
	(InternetHangUp): Ditto.
	(InternetSetDialState): Ditto.
	Add associated INTERNET_* auto dial flags.
	Guard typedefs and prototypes with #ifndef RC_INVOKED.
2001-09-10 16:50:06 +00:00
Earnie Boyd 615a70a882 2001-09-04 Earnie Boyd <earnie@SF.Net>
* lib/Makefile.in: Move the setting of variable libdir to after the
	setting of exec_prefix since the value of libdir is dependant on it.
2001-09-04 20:56:23 +00:00
Christopher Faylor fb7369b515 * winbase.h: Add missing closing parentheses to InterlockedExchangePointer
declaration.
2001-09-04 18:19:33 +00:00
Earnie Boyd 2d54484a72 2001-09-01 Danny Smith <dannysmith@users.sourceforge.net>
* include/shlobj.h (CFSTR_* ): Add new defines.
	Thanks to: "Ron" <ron@debian.org> .
	Unicode them.
2001-09-04 14:57:51 +00:00
Christopher Faylor 2bcd6fb89d * include/winnt.h: Use defined(_ANONYMOUS_STRUCT) to determine if anonymous
structs are available rather than just testing preprocessor variable directly.
2001-09-01 14:42:57 +00:00
Corinna Vinschen 75f259bfe3 * include/winnt.h: Change definition of `SYSTEM_LUID' to comply
with new `LARGE_INTEGER' definition.
2001-08-31 19:48:04 +00:00
Christopher Faylor 4208d592f3 * include/winsock2.h: Remove "extra token" after #endif. 2001-08-30 13:37:23 +00:00
Earnie Boyd bca00ab4b6 * config.guess: Remove the \r from the end of line.
* config.sub: Ditto.
	* include/winnt.h: Allow anonymous struct in [U]LARGE_INTEGER
	if __cplusplus as well as if _ANONYMOUS_STRUCT.
	* config.guess: Add the MSYS system.
	* config.sub: Ditto.
	* include/winsock.h: Add the __INSIDE_MSYS__ protections.
	* incldue/winsock2.h: Ditto.
2001-08-30 04:29:49 +00:00
Earnie Boyd d1b093d567 * include\winnt.h: Allow anonymous (Xxx.LowPart) or
non-anonymous (Xxx.u.LowPart) access to HighPart and
	LowPart of a LARGE_INTEGER or ULARGE_INTEGER.
	* include/wingdi.h (HANGUL_CHARSET): Add define.
2001-08-29 13:45:46 +00:00
Earnie Boyd de8e9cfb39 * include/setupapi.h : New file.
* lib/setupapi.def:New file.
	* lib/test.c: Include setupapi.h.
	* include/winioctl.h (_DISK_PERFORMANCE): Correct typo.
	* include/richedit.h (ENLINK): Add structure definition.
	(EM_AUTOURLDETECT, EN_LINK, ENM_LINK): Add defines.
	* include/shlobj.h (CMIC_*): Remove duplicate defines.
	(CMDSTR_*): Remove duplicates; UNICODE string constants.
	(GCS_*): Make UNICODE.
	(CSIDL_*): Add more defines.
	* include/winioctl.h (_MEDIA_TYPE): Add pointer typedef.
	(_DISK_GEOMETRY): Ditto.
	(_DISK_PERFORMANCE): Ditto.
	* include/winbase.h (HasOverlappedIoCompleted): Add macro.
	* include/winnt.h: Move CHAR, SHORT and LONG typedefs outside
	of block protected by #ifndef VOID.
	(This reverts 1998-12-01 Anders Norlander change.)
	* include/odbcinst.h: End file with newline.
	* include/raserror.h: Ditto.
	* include/winsock2.h (#include <wtypes.h): Don't.
	(_BLOB): Define instead, if not already done.
	(__BLOB_T_DEFINED: New define for guarding _BLOB.
	* include/wtypes.h (_BLOB): Guard against prior definition.
	* include/oaidl.h (tagVARIANT): Mark anonymous structs and unions
	 as 	__extension__.
	(tagTYPEDESC): Ditto.
	(_wireBRECORD): Add structure definition.
	(_wireSAFEARR_BRECORD): Ditto.
	(_wireSAFEARR_HAVEIID): Ditto.
	(_wireSAFEARRAY_UNION.u): Add fields SAFEARR_BRECORD RecordStr,
	SAFEARR_HAVEIID HaveIidStr.
	(tagVariant): Add fields _VARIANT_BOOL bool,*pbool.
	(_wireVARIANT): Change field parray to type wirePSAFEARRAY,
	pparray to wirePSAFEARRAY*.
	(_wireVARIANT): Add field wireBRECORD brecVal.
	(wireVARIANT): Change typedef to struct _wireVariant*.
	(IRecordInfo): Add interface definition.
	(LPRECORDINFO): Add typedef for IRecordInfo*.
	(IID_IRecordInfo): Add forward decalaration.
	* include/lmcons.h: Guard CNLEN and UNCLEN against prior definition.
	* include/nddeapi.h: Likewise.
	* ChangeLog: Formatting and typo fixes.
2001-08-21 13:58:52 +00:00
Earnie Boyd 6286806473 * lib/kernels.c: New file. 2001-08-10 11:52:35 +00:00
Earnie Boyd 5b9d54bf97 * lib/test.c (Win32_Winsock): Replace with __USE_W32_SOCKETS.
Add more includes of w32api headers.
	* include/winnt.h (GetCurrentFiber): Change __inline to __inline__.
	Swap asm code with that of GetFiberData.
	(GetFiberData): Ditto.
	* lib/kernels.c: New file, containing library versions of
	GetCurrentFiber and GetFiberData.
	* lib/makefile.in: Add kernel32.o as static object to libkernal32.a.
2001-08-10 11:51:03 +00:00
Earnie Boyd 89500585f7 * include/winuser.h (GET_WHEEL_DELTA_WPARAM): Add macro.
* lib/oleaut32.def: Regenerate.
2001-08-08 17:25:23 +00:00
Earnie Boyd 54580e6a88 * include/wtypes.h: (DECIMAL_SETZERO): Correct typo.
* include/oleidl.h (ISupportErrorInfo, ICreateInfo): Move from here
	* include/oaidl.h: ... to here.
	* include/oaidl.h ICreateErrorInfo): Add interface definition.
	(IErrorInfo::GetGUID): Change arg to GUID.
	(LPSUPPORTERRORINFO): Add typedef.
	(IID_ISupportErrorInfo): Change forward decl. of type to IID.
	* include/winsock2.h (WSAGET* and WSAMAKE*): Remove duplicate
	defines.
	* include/commctrl.h (TreeView_SetIndent): Correct typo.
	* include/commctrl.h (TBSTYPE_FLAT): Remove define.
	* include/commctrl.h (TBBUTTONINFO[AW]): Add struct definitions,
	and UNICODE mappings, if _WIN32_IE >= 0x400.
	(TBIF_* and TB_SETBUTTONINFO): Add defines, if _WIN32_IE >= 0x400.
	(CDIS_*,CDDS_*,CDRF_*) : Add defines.
	(tagNMCUSTOMDRAWINFO): Add struct definition and typedefs.
	(tagNMLVCUSTOMDRAW): Likewise.
	(tagNMTVCUSTOMDRAW): Likewise.
	(tagNMLVCACHEHINT): Likewise.
	* include/basetsd.h (#include <_mingw.h>): Remove.
	(__int64): Define.
	* include/wingdi.h (AC_SRC_OVER): Add define.
	(struct _BLENDFUNCTION): Add.
	* include/shlobj.h:  Add BIF_* defines.
	* include/winerror.h (E_PENDING): Add error code define.
	* include/basetsd.h (#include <_mingw.h>): Add directive.
	* include/winbase.h(InterlockedCompareExchange): Change args
	and return value from PVOID to LONG.
	(InterlockedExchange): Change first arg to LPLONG.
	(InterlockedCompareExchangePointer): New macro.
	(InterlockedExchangePointer): New macro.
2001-08-05 12:47:53 +00:00
Earnie Boyd 4abaaac33c * lib/kernel32.def: Add LanguageGroup and UILanguage symbols.
Thanks to Kevin Chase <kevincha99@hotmail.com>.
2001-06-19 13:49:40 +00:00
Earnie Boyd 66a7fbe263 * objidl.h (IMalloc::ReAlloc()): Correct declaration.
(IMalloc::Free()): Ditto.
2001-06-11 20:06:54 +00:00
Earnie Boyd 13a01ce06a * include/shlobj.h (REGSTR_PATH_EXPLORER): Unicode it.
(REGSTR_PATH_SPECIAL_FOLDERS): Ditto.
	* include/regstr.h (REGSTR_PATH_EXPLORER): Add #ifndef guard.
2001-06-11 19:18:52 +00:00
Earnie Boyd 05763a593c * include/shlobj.h (struct _browseinfo): UNICODE it.
(SHBrowseForFolder): Ditto.
	(SHGetPathFromIDList): Ditto.
2001-06-11 18:28:19 +00:00
Earnie Boyd a179327987 * include/basetsd.h: RC_INVOKED protection and realignment.
Thanks to: Colin Peters <colinpeters@users.sourceforge.net>
2001-06-11 17:29:54 +00:00
Earnie Boyd 5a2f66ab43 * Makefile.in (bindist): Reassign value of exec_prefix on make command
line.
2001-06-06 19:02:59 +00:00
Christopher Faylor 1d0f9ded2e * lib/mapi32.def: Add MAPISendMail. 2001-05-22 23:03:25 +00:00
Earnie Boyd 1f6e71f348 * include/w32api.h: Update version.
* Makefile.in: Ditto.
2001-05-22 20:51:47 +00:00
Corinna Vinschen f6b52c79f5 * include/winnt.h: Define SE_GROUP_LOGON_ID as unsigned to avoid
compiler warnings.
2001-05-17 21:13:10 +00:00
Corinna Vinschen a69eb9099b * include/ntdef.h: Protect definition of OBJECT_ATTRIBUTES against
previous definition in include/ntsecapi.h.
        * include/ntsecapi.h: Vice versa.
2001-05-17 15:16:37 +00:00
Corinna Vinschen 554504edd2 Add missing ChangeLog entry. 2001-05-17 08:23:47 +00:00
Corinna Vinschen 631af2e6a3 * include/winnt.h: Add defines for group attributes.
Add define for SYSTEM_LUID.
        Add missing types `PTOKEN_DEFAULT_DACL', `PTOKEN_OWNER' and
        `PTOKEN_PRIMARY_GROUP'.
2001-05-16 16:01:45 +00:00
Christopher Faylor 7260ea4954 * lib/Makefile.in: Install libraries in /usr/lib/w32api when building for
cygwin.
2001-04-25 03:51:06 +00:00
Christopher Faylor f669342ed7 * include/winsock2.h: Protect one *more* newlib defines when compiling cygwin. 2001-04-24 20:20:01 +00:00
Christopher Faylor c35bcd3ebc * include/winsock2.h: Protect some more newlib defines when compiling cygwin 2001-04-24 03:41:37 +00:00
Christopher Faylor ca608f5682 * include/winsock.h: Protect some more newlib defines when compiling cygwin. 2001-04-23 17:19:24 +00:00
Earnie Boyd 91874e20bf * include/windows.h: Define _ANONYMOUS_STRUCT and _ANONYMOUS_UNION
as __extenstion__ when appropriate.
	* include/mmsystem.h: Mark anonymous structs and unions as
	__extension__ to prevent compiler warning when invoked with
	-pedantic
	* include/oaidl.h: Ditto.
	* include/objidl.h: Ditto.
	* include/olectl.h: Ditto.
	* include/prsht.h: Ditto.
	* include/shlobj.h: Ditto.
	* include/winbase.h: Ditto.
	* include/winnt.h: Ditto.
	* include/wtypes.h: Ditto.
2001-04-17 12:58:06 +00:00
Earnie Boyd eae0943a1f * include/windows.h (#include <winsock.h>): Include <winsock2.h>
instead if (_WIN32_WINNT >= 0x0400)&&(__W32API_MAJOR_VERSION > 0).
2001-04-12 01:11:41 +00:00
Earnie Boyd e1cc9ad77c 2001-04-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
* include/winuser.h (WM_IME_*): Remove defines (now in imm.h).
2001-04-12 01:03:29 +00:00
Earnie Boyd bae5f26cfb * include/windef.h (*PBOOL): Unprotect from XFree86Server.
(*LPBOOL): Ditto.
2001-04-12 00:55:48 +00:00
Christopher Faylor 4c1ce6d3a2 * include/winnt.h (GetCurrentFiber): Make "external __inline" or asm code will
be included in every module which includes this header.
(GetFiberData): Ditto.
2001-04-09 00:52:35 +00:00
Earnie Boyd 97101b51aa * include/winnt.h (GetCurrentFiber): Fix typo. 2001-04-08 17:00:27 +00:00
Earnie Boyd a1a1b83adf * include/shellapi.h: (CommandLineToArgvW): Add WINAPI declaration.
* include/winbase.h: (GetFileAttributesExW): Fix typo.
	* include/wingdi.h: (StartDocA): Change LPDOCINFOA to DOCINFOA*.
	(StartDocB): Chage LNPDOCINFOB to DOCINFOB*.
	Thanks To: Kent Tamura  <tkent@users.sourceforge.net>
	* include/winnt.h: (GetFiberData): Add __inline assembler coding.
	(GetCurrentFiber): Ditto.
	Thanks to: Andy Younger  <AndyY@redlemon.com>
	* include/windef.h: (HMONITOR_DECLARED): New definition to stop
	DirectX 8 from complaining.
	Thanks to: Sigbj�rn Lund Olsen  <mosikos@online.no>
        * include/commctrl.h Updated TreeView and ListView defines and macros.
        * include/winuser.h (MB_SERVICE_NOTIFICATION): Correct value for NT4
	and above.
2001-04-08 16:53:56 +00:00
Earnie Boyd 0e09a700d1 * include/winuser.h (RT_CURSOR): Add protection for XFree86Server.
(RT_FONT): Ditto.
	(VK_KANA): New definition.
	* include/basetsd.h (INT32): Ditto.
	* include/windef.h (ATOM): Ditto.
	(BOOL): Ditto.
	(BYTE): Ditto.
	* include/winbase.h (FreeResource): Ditto.
	Thanks to: "Harold Hunt" <huntharo@msu.edu>
2001-03-30 13:22:17 +00:00
Christopher Faylor dac9c6045f * include/winsock.h (_SYS_TYPES_H macro guard for int types): Remove; use only
_BSDTYPES_DEFINED macro now defined in newlib sys/types.h.
(SYS_TYPES_H macro guard for fd_set): Replace with_SYS_TYPES_FD_SET macro now
defined in newlib sys/types.h.  Emit warning if defined.
* include/winsock2.h: Ditto.
* include/windows.h (Win32_Winsock): Replace with new macros __USE_W32_SOCKETS
and warn of deprecation.
2001-03-20 19:27:37 +00:00
Earnie Boyd ce2924faee * include/wingdi.h: (DOCINFO) Ansi version defined incorrectly.
Thanks to: Mattia Barbon <mbarbon@dsi.unive.it>
2001-03-13 12:04:57 +00:00
Earnie Boyd 17bd7f5a37 * include/commctrl.h (TBSTYLE_FLAT): New definition.
(TB_GETBUTTONSIZE): Ditto.
	(TCS_HOTTRACK): Ditto.
	Thanks to: Chris Hansen <popeofpop@softhome.net>
2001-03-12 19:26:16 +00:00
Earnie Boyd 4124e827f2 2001-03-01 Earnie Boyd <earnie@users.sourceforge.net
* Makefile.in: (snapshot): Add target.
	* lib/Makefile.in: (install-headers): Use installdir variable.
	(installdir): Set value based on target-alias.
2001-03-01 20:32:34 +00:00
Earnie Boyd c7193585d3 * include/w32api.h: (_W32API_VERSION): Remove.
(__W32API_VERSION): Add.
	(__W32API_MAJOR_VERSION): Ditto.
	(__W32API_MINOR_VERSION): Ditto.
2001-02-21 21:44:59 +00:00
Earnie Boyd 0b0a9f4087 * include/wingdi.h (struct _DOCINFO[AW]): UNICODE it.
(StartDoc[AW]): Use UNICODE'd LPDOCINFO[AW]
	* include/winuser.h (struct tagMOUSEKEYS): Define new structure.
	* include/winerror.h (NTE_*): Add CryptoAPI error codes.
2001-02-21 21:37:18 +00:00
Earnie Boyd b701af168c * include/mswsock.h: New file.
* include/ws2tcpip.h: New file.
	* include/winsock.h (IPPROTO_IGMP): New define.
	(IPPROTO_GGP): Correct value.
	(SO_* macros): Remove mswsock defines.
	(TCP_BSDURGENT): Likewise.
	(IP_* macros): Add comment warning of WinSock2 incompatibility
	(WSARecvEx): Remove mswsock prototype.
	(TransmitFile): Likewise.
	(AcceptEx): Likewise.
	(GetAcceptExSockaddrs): Likewise.
	(struct _TRANSMIT_FILE_BUFFERS): Remove mswsock definition.
	(#include <mswsock.h>): Add directive and explanatory comment
	* include/winsock2.h (header guard): add guard for  _WINSOCK_H
	(_WINSOCK_H): Define to prevent later inclusion of winsock.h
	(#include <winsock.h>): Replace directive with winsock.h file content
	The following changes apply to the merged file:
	(FD_SET): Keep winsock2.h definition, delete winsock.h definition
	(SOMAXCONN): Likewise
	(#include <nspapi.h>): Move - don't include until LPSOCKADDR defined
	(IP_* macros): Delete WinSock1 definitions (WinSock2 definitions now
	in ws2tcpip.h)
	(struct ip_mreq): Delete (now defined in ws2tcpip.h for WinSock2)
	(FD_*_BIT and FD_* defines): Place together and extend to
	FD_MAX_EVENTS 10
	(AF* defines): Extend to AF_MAX 10
	(WSAIsBlocking): #if 0 out prototype (N/A in WinSock2)
	(WSAUnhookBlockingHook): Likewise.
	(WSASetBlockingHook): Likewise.
	(WSACancelBlockingCall): Likewise.
	(WSAEINPROGRESS): Comment as not raised in WinSock2.
	(#include <mswsock.h>): Delete directive inherited from winsock.h
	(WSA_QOS* defines): Add QualityOfService error codes.
	(SIO_* defines): Add new macros
	* include/ipexport.h (IP_STATUS flags): Add definitions.
	(IP_FLAG_DF): Likewise.
	(IP_OPT_* ): Likewise.
	(struct ip_option_information): Likewise.
	(struct icmp_echo_reply): Likewise.
2001-02-21 20:40:47 +00:00
Earnie Boyd ea9bdf67b8 * include/commctrl.h: Revert TEXT change.
* include/lmalert.h: Ditto.
	* include/lmcons.h: Ditto.
	* include/lmsname.h: Ditto.
	* include/lmsvc.h: Ditto.
	* include/ntsecapi.h: Ditto.
	* include/oledlg.h: Ditto.
	* include/ras.h: Ditto.
	* include/regstr.h: Ditto.
	* include/richedit.h: Ditto.
	* include/wininet.h: Ditto.
	* include/winnt.h: Ditto.
2001-02-21 19:31:54 +00:00
Earnie Boyd 00aae5a740 * include/w32api.h: Oops forgot to cvs add this. 2001-02-15 17:28:40 +00:00
Earnie Boyd 10216d4395 * include/commctrl.h: Use _TEXT() instead of TEXT() throughout.
* include/lmalert.h: Ditto.
	* include/lmcons.h: Ditto.
	* include/lmsname.h: Ditto.
	* include/lmsvc.h: Ditto.
	* include/ntsecapi.h: Ditto.
	* include/oledlg.h: Ditto.
	* include/ras.h: Ditto.
	* include/regstr.h: Ditto.
	* include/richedit.h: Ditto.
	* include/wininet.h: Ditto.
	* include/w32api.h: New File.
2001-02-15 17:26:22 +00:00
Corinna Vinschen 61ee24b56c * include/shlobj.h: Add missing SLR_* flags. 2001-02-13 21:39:57 +00:00
Earnie Boyd 5a4b4ab9cc * lib/Makefile.in: (host_alias): Add variable.
(host_build): Ditto:
	(xinstall): Removed
	(xinstall-libraries): Ditto.
	(xinstall-headers): Ditto.
	(xuninstall): Ditto.
	(xuninstall-libraries): Ditto.
	(xuninstall-headers): Ditto.
	* Makefile.in: (host_alias): Add variable.
	(build_alias): Ditto.
2001-02-12 19:45:33 +00:00
Earnie Boyd 7152ac2bb3 * include/winnt.h: (__TEXT): Add private macro.
(_TEXT): Modify definition to use __TEXT.
	(_T): Ditto.
	This change allows the passing of a MACRO as an argument and have that
	MACRO resolved first.
	Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
2001-02-02 18:10:58 +00:00
Earnie Boyd 67997034e8 * Makefile.in: Increment VERSION to 0.5
* include/winnt.h: Change TEXT to _TEXT throughout.
	(SID_RELEASE): Define.
	Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
2001-01-31 22:41:22 +00:00
Earnie Boyd 9cf3d9cbb5 * Apply Phil Krylov patches.
2001-01-19  Phil Krylov  <phil@mail.ru>
	* include/commctrl.h: (HDI_IMAGE) New definition.
	(HDI_DI_SETITEM) Ditto.
	(HDI_ORDER) Ditto.
	(HDI_FILTER) Ditto.
	(HDF_BITMAP_ON_RIGHT) Ditto.
	(HDF_IMAGE) Ditto.
	(HDM_SETORDERARRAY) Ditto.
	(Header_SetOrderArray) Ditto.
	(ICC_BAR_CLASSES) Ditto.
	(struct _HD_ITEMA) Change definition.
	(struct _HD_ITEMW) Ditto.
	(struct tagINITCOMMONCONTROLSEX) Enclose in _WIN32_IE braces.
	(InitCommonControlsEx()) Ditto.
	2001-01-23  Phil Krylov  <phil@mail.ru>
	* include/richedit.h: Many Richedit 2.0 definitions.
2001-01-30 15:47:41 +00:00
Earnie Boyd aaee3363f6 * include/winuser.h: (IDC_HAND) New resource identifier.
Thanks to: Mark Jordon <mark_jordan@ieee.org>
2001-01-30 14:59:29 +00:00
Earnie Boyd 04f79a1ca8 * include/iptypes.h: Include <sys/types.h> for time_t declaration.
Fix typo's.
2001-01-30 14:37:54 +00:00
Earnie Boyd bac9524c30 * objidl.h: (GetClassID): Argument needs to be a pointer.
(GetUnmarshalClass): CLSID argument needs to be a pointer.
	Thanks To: <bge@users.sourceforge.net>
2001-01-30 13:34:50 +00:00
Earnie Boyd 9d80174e9d * Apply Danny Smith patch 102386
2000-11-15  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
	* lib/rasapi32.def: add symbols available in NT4 and W2k
2001-01-30 12:55:03 +00:00
Earnie Boyd 80ac51aa47 Sun Jan 28 12:47:31 2001 Earnie Boyd <earnie@users.sourceforge.net>
* Apply Danny Smith patch 102382
	2000-11-15  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
	* lib/mswsock.def: remove leading underscores from symbol names
2001-01-28 17:49:58 +00:00
Earnie Boyd d28fea6f4e * Apply Danny Smith patch 102446
2000-11-20  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
	* include/sql.h (ODBCVER): change default to 0x0351.
	(SQLSetScrollOptions): non-core function, move prototype to sqlext.h.
	(SQLColAttributes): likewise.
	(SQLBindParam): add prototype for ODBC 3.x function.
	(SQLCloseCursor): likewise.
	(SQLColAttribute): likewise.
	(SQLCopyDesc):likewise.
	(SQLEndTran): likewise.
	(SQLFetchScroll): likewise.
	(SQLGetConnectAttr): likewise.
	(SQLGetDescField): likewise.
	(SQLGetDescRec): likewise.
	(SQLGetDiagField): likewise.
	(SQLGetDiagRec): likewise.
	(SQLGetEnvAttr): likewise.
	(SQLGetStmtAttr): likewise.
	(SQLSetConnectAttr): likewise.
	(SQLSetDescField):likewise.
	(SQLSetDescRec): likewise.
	(SQLSetEnvAttr): likewise.
	(SQLSetStmtAttr): likewise.
	(SQLINTENGER and SQLUINTEGER): replace with SQLLEN and SQLULEN for
	_WIN64 compatability;
	(SQL_ACCESS_MODE): Move define to sqlext.h (used in non-core functions).
	(SQL_ACTIVE_CONNECTIONS): likewise.
	(SQL_ACTIVE_STATEMENTS): likewise.
	(SQL_ALL_EXCEPT_LIKE): likewise.
	(SQL_API_ALL_FUNCTIONS): likewise.
	(SQL_API_LOADBYORDINAL): likewise.
	(SQL_API_SQLBINDPARAMETER): likewise.
	(SQL_API_SQLBROWSECONNECT): likewise.
	(SQL_API_SQLCOLATTRIBUTES): likewise.
	(SQL_API_SQLCOLUMNPRIVILEGES): likewise.
	(SQL_API_SQLDESCRIBEPARAM): likewise.
	(SQL_API_SQLDRIVERCONNECT): likewise.
	(SQL_API_SQLDRIVERS): likewise.
	(SQL_API_SQLEXTENDEDFETCH): likewise.
	(SQL_API_SQLFOREIGNKEYS): likewise.
	(SQL_API_SQLMORERESULTS): likewise.
	(SQL_API_SQLNATIVESQL): likewise.
	(SQL_API_SQLNUMPARAMS): likewise.
	(SQL_API_SQLPARAMOPTIONS): likewise.
	(SQL_API_SQLPRIMARYKEYS): likewise.
	(SQL_API_SQLPROCEDURECOLUMNS): likewise.
	(SQL_API_SQLPROCEDURES): likewise.
	(SQL_API_SQLSETPOS): likewise.
	(SQL_API_SQLSETSCROLLOPTIONS): likewise.
	(SQL_API_SQLTABLEPRIVILEGES): likewise.
	(SQL_ASYNC_ENABLE): likewise.
	(SQL_ASYNC_ENABLE_DEFAULT): likewise.
	(SQL_ASYNC_ENABLE_OFF): likewise.
	(SQL_ASYNC_ENABLE_ON): likewise.
	(SQL_ATTR_READONLY): likewise.
	(SQL_ATTR_READWRITE_UNKNOWN): likewise.
	(SQL_ATTR_WRITE): likewise.
	(SQL_AUTOCOMMIT): likewise.
	(SQL_AUTOCOMMIT_DEFAULT): likewise.
	(SQL_AUTOCOMMIT_OFF): likewise.
	(SQL_AUTOCOMMIT_ON): likewise.
	(SQL_BEST_ROWID): likewise.
	(SQL_BIGINT): likewise.
	(SQL_BINARY): likewise.
	(SQL_BIND_BY_COLUMN): likewise.
	(SQL_BIND_TYPE): likewise.
	(SQL_BIND_TYPE_DEFAULT): likewise.
	(SQL_BIT): likewise.
	(SQL_BOOKMARK_PERSISTENCE): likewise.
	(SQL_BP_CLOSE): likewise.
	(SQL_BP_DELETE): likewise.
	(SQL_BP_DROP): likewise.
	(SQL_BP_OTHER_HSTMT): likewise.
	(SQL_BP_SCROLL): likewise.
	(SQL_BP_TRANSACTION): likewise.
	(SQL_BP_UPDATE): likewise.
	(SQL_C_BINARY): likewise.
	(SQL_C_BIT): likewise.
	(SQL_C_BOOKMARK): likewise.
	(SQL_C_CHAR): likewise.
	(SQL_C_DATE): likewise.
	(SQL_C_DEFAULT): likewise.
	(SQL_C_DOUBLE): likewise.
	(SQL_C_FLOAT): likewise.
	(SQL_C_LONG): likewise.
	(SQL_C_SHORT): likewise.
	(SQL_C_SLONG): likewise.
	(SQL_C_SSHORT): likewise.
	(SQL_C_STINYINT): likewise.
	(SQL_C_TIME): likewise.
	(SQL_C_TIMESTAMP): likewise.
	(SQL_C_TINYINT): likewise.
	(SQL_C_ULONG): likewise.
	(SQL_C_USHORT): likewise.
	(SQL_C_UTINYINT): likewise.
	(SQL_CB_NON_NULL): likewise.
	(SQL_CB_NULL): likewise.
	(SQL_CC_CLOSE): likewise.
	(SQL_CC_DELETE): likewise.
	(SQL_CC_PRESERVE): likewise.
	(SQL_CN_ANY): likewise.
	(SQL_CN_DIFFERENT): likewise.
	(SQL_CN_NONE): likewise.
	(SQL_COLATT_OPT_MAX): likewise.
	(SQL_COLATT_OPT_MIN): likewise.
	(SQL_COLUMN_ALIAS): likewise.
	(SQL_COLUMN_AUTO_INCREMENT): likewise.
	(SQL_COLUMN_CASE_SENSITIVE): likewise.
	(SQL_COLUMN_COUNT): likewise.
	(SQL_COLUMN_DISPLAY_SIZE): likewise.
	(SQL_COLUMN_DRIVER_START): likewise.
	(SQL_COLUMN_LABEL): likewise.
	(SQL_COLUMN_LENGTH): likewise.
	(SQL_COLUMN_MONEY): likewise.
	(SQL_COLUMN_NAME): likewise.
	(SQL_COLUMN_NULLABLE): likewise.
	(SQL_COLUMN_OWNER_NAME): likewise.
	(SQL_COLUMN_PRECISION): likewise.
	(SQL_COLUMN_QUALIFIER_NAME): likewise.
	(SQL_COLUMN_SCALE): likewise.
	(SQL_COLUMN_SEARCHABLE): likewise.
	(SQL_COLUMN_TABLE_NAME): likewise.
	(SQL_COLUMN_TYPE): likewise.
	(SQL_COLUMN_TYPE_NAME): likewise.
	(SQL_COLUMN_UNSIGNED): likewise.
	(SQL_COLUMN_UPDATABLE): likewise.
	(SQL_CONCAT_NULL_BEHAVIOR): likewise.
	(SQL_CONCUR_DEFAULT): likewise.
	(SQL_CONCUR_LOCK): likewise.
	(SQL_CONCUR_READ_ONLY): likewise.
	(SQL_CONCUR_ROWVER): likewise.
	(SQL_CONCUR_TIMESTAMP): likewise.
	(SQL_CONCUR_VALUES): likewise.
	(SQL_CONCURRENCY): likewise.
	(SQL_CONN_OPT_MAX): likewise.
	(SQL_CONN_OPT_MIN): likewise.
	(SQL_CONNECT_OPT_DRVR_START): likewise.
	(SQL_CONVERT_BIGINT): likewise.
	(SQL_CONVERT_BINARY): likewise.
	(SQL_CONVERT_BIT): likewise.
	(SQL_CONVERT_CHAR): likewise.
	(SQL_CONVERT_DATE): likewise.
	(SQL_CONVERT_DECIMAL): likewise.
	(SQL_CONVERT_DOUBLE): likewise.
	(SQL_CONVERT_FLOAT): likewise.
	(SQL_CONVERT_FUNCTIONS): likewise.
	(SQL_CONVERT_INTEGER): likewise.
	(SQL_CONVERT_LONGVARBINARY): likewise.
	(SQL_CONVERT_LONGVARCHAR): likewise.
	(SQL_CONVERT_NUMERIC): likewise.
	(SQL_CONVERT_REAL): likewise.
	(SQL_CONVERT_SMALLINT): likewise.
	(SQL_CONVERT_TIME): likewise.
	(SQL_CONVERT_TIMESTAMP): likewise.
	(SQL_CONVERT_TINYINT): likewise.
	(SQL_CONVERT_VARBINARY): likewise.
	(SQL_CONVERT_VARCHAR): likewise.
	(SQL_CORRELATION_NAME): likewise.
	(SQL_CR_CLOSE): likewise.
	(SQL_CR_DELETE): likewise.
	(SQL_CR_PRESERVE): likewise.
	(SQL_CUR_DEFAULT): likewise.
	(SQL_CUR_USE_DRIVER): likewise.
	(SQL_CUR_USE_IF_NEEDED): likewise.
	(SQL_CUR_USE_ODBC): likewise.
	(SQL_CURRENT_QUALIFIER): likewise.
	(SQL_CURSOR_DYNAMIC): likewise.
	(SQL_CURSOR_FORWARD_ONLY): likewise.
	(SQL_CURSOR_KEYSET_DRIVEN): likewise.
	(SQL_CURSOR_ROLLBACK_BEHAVIOR): likewise.
	(SQL_CURSOR_STATIC): likewise.
	(SQL_CURSOR_TYPE): likewise.
	(SQL_CURSOR_TYPE_DEFAULT): likewise.
	(SQL_CVT_BIGINT): likewise.
	(SQL_CVT_BINARY): likewise.
	(SQL_CVT_BIT): likewise.
	(SQL_CVT_CHAR): likewise.
	(SQL_CVT_DATE): likewise.
	(SQL_CVT_DECIMAL): likewise.
	(SQL_CVT_DOUBLE): likewise.
	(SQL_CVT_FLOAT): likewise.
	(SQL_CVT_INTEGER): likewise.
	(SQL_CVT_LONGVARBINARY): likewise.
	(SQL_CVT_LONGVARCHAR): likewise.
	(SQL_CVT_NUMERIC): likewise.
	(SQL_CVT_REAL): likewise.
	(SQL_CVT_SMALLINT): likewise.
	(SQL_CVT_TIME): likewise.
	(SQL_CVT_TIMESTAMP): likewise.
	(SQL_CVT_TINYINT): likewise.
	(SQL_CVT_VARBINARY): likewise.
	(SQL_CVT_VARCHAR): likewise.
	(SQL_DATABASE_NAME): likewise.
	(SQL_DATE): likewise.
	(SQL_DRIVER_HDBC): likewise.
	(SQL_DRIVER_HENV): likewise.
	(SQL_DRIVER_HLIB): likewise.
	(SQL_DRIVER_HSTMT): likewise.
	(SQL_DRIVER_NAME): likewise.
	(SQL_DRIVER_ODBC_VER): likewise.
	(SQL_DRIVER_VER): likewise.
	(SQL_ENSURE): likewise.
	(SQL_EXPRESSIONS_IN_ORDERBY): likewise.
	(SQL_EXT_API_LAST): likewise.
	(SQL_EXT_API_START): likewise.
	(SQL_FD_FETCH_BOOKMARK): likewise.
	(SQL_FD_FETCH_PREV): likewise.
	(SQL_FD_FETCH_RESUME): likewise.
	(SQL_FETCH_PREV): likewise.
	(SQL_FETCH_RESUME): likewise.
	(SQL_FILE_NOT_SUPPORTED): likewise.
	(SQL_FILE_QUALIFIER): likewise.
	(SQL_FILE_TABLE): likewise.
	(SQL_FILE_USAGE): likewise.
	(SQL_FN_CVT_CONVERT): likewise.
	(SQL_FN_NUM_ABS): likewise.
	(SQL_FN_NUM_ACOS): likewise.
	(SQL_FN_NUM_ASIN): likewise.
	(SQL_FN_NUM_ATAN): likewise.
	(SQL_FN_NUM_ATAN2): likewise.
	(SQL_FN_NUM_CEILING): likewise.
	(SQL_FN_NUM_COS): likewise.
	(SQL_FN_NUM_COT): likewise.
	(SQL_FN_NUM_DEGREES): likewise.
	(SQL_FN_NUM_EXP): likewise.
	(SQL_FN_NUM_FLOOR): likewise.
	(SQL_FN_NUM_LOG): likewise.
	(SQL_FN_NUM_LOG10): likewise.
	(SQL_FN_NUM_MOD): likewise.
	(SQL_FN_NUM_PI): likewise.
	(SQL_FN_NUM_POWER): likewise.
	(SQL_FN_NUM_RADIANS): likewise.
	(SQL_FN_NUM_RAND): likewise.
	(SQL_FN_NUM_ROUND): likewise.
	(SQL_FN_NUM_SIGN): likewise.
	(SQL_FN_NUM_SIN): likewise.
	(SQL_FN_NUM_SQRT): likewise.
	(SQL_FN_NUM_TAN): likewise.
	(SQL_FN_NUM_TRUNCATE): likewise.
	(SQL_FN_STR_ASCII): likewise.
	(SQL_FN_STR_CHAR): likewise.
	(SQL_FN_STR_CONCAT): likewise.
	(SQL_FN_STR_DIFFERENCE): likewise.
	(SQL_FN_STR_INSERT): likewise.
	(SQL_FN_STR_LCASE): likewise.
	(SQL_FN_STR_LEFT): likewise.
	(SQL_FN_STR_LENGTH): likewise.
	(SQL_FN_STR_LOCATE): likewise.
	(SQL_FN_STR_LOCATE_2): likewise.
	(SQL_FN_STR_LTRIM): likewise.
	(SQL_FN_STR_REPEAT): likewise.
	(SQL_FN_STR_REPLACE): likewise.
	(SQL_FN_STR_RIGHT): likewise.
	(SQL_FN_STR_RTRIM): likewise.
	(SQL_FN_STR_SOUNDEX): likewise.
	(SQL_FN_STR_SPACE): likewise.
	(SQL_FN_STR_SUBSTRING): likewise.
	(SQL_FN_STR_UCASE): likewise.
	(SQL_FN_SYS_DBNAME): likewise.
	(SQL_FN_SYS_IFNULL): likewise.
	(SQL_FN_SYS_USERNAME): likewise.
	(SQL_FN_TD_CURDATE): likewise.
	(SQL_FN_TD_CURTIME): likewise.
	(SQL_FN_TD_DAYNAME): likewise.
	(SQL_FN_TD_DAYOFMONTH): likewise.
	(SQL_FN_TD_DAYOFWEEK): likewise.
	(SQL_FN_TD_DAYOFYEAR): likewise.
	(SQL_FN_TD_HOUR): likewise.
	(SQL_FN_TD_MINUTE): likewise.
	(SQL_FN_TD_MONTH): likewise.
	(SQL_FN_TD_MONTHNAME): likewise.
	(SQL_FN_TD_NOW): likewise.
	(SQL_FN_TD_QUARTER): likewise.
	(SQL_FN_TD_SECOND): likewise.
	(SQL_FN_TD_TIMESTAMPadd): likewise.
	(SQL_FN_TD_TIMESTAMPDIFF): likewise.
	(SQL_FN_TD_WEEK): likewise.
	(SQL_FN_TD_YEAR): likewise.
	(SQL_FN_TSI_DAY): likewise.
	(SQL_FN_TSI_FRAC_SECOND): likewise.
	(SQL_FN_TSI_HOUR): likewise.
	(SQL_FN_TSI_MINUTE): likewise.
	(SQL_FN_TSI_MONTH): likewise.
	(SQL_FN_TSI_QUARTER): likewise.
	(SQL_FN_TSI_SECOND): likewise.
	(SQL_FN_TSI_WEEK): likewise.
	(SQL_FN_TSI_YEAR): likewise.
	(SQL_GB_GROUP_BY_CONTAINS_SELECT): likewise.
	(SQL_GB_GROUP_BY_EQUALS_SELECT): likewise.
	(SQL_GB_NO_RELATION): likewise.
	(SQL_GB_NOT_SUPPORTED): likewise.
	(SQL_GD_BLOCK): likewise.
	(SQL_GD_BOUND): likewise.
	(SQL_GET_BOOKMARK): likewise.
	(SQL_GROUP_BY): likewise.
	(SQL_INFO_DRIVER_START): likewise.
	(SQL_INFO_FIRST): likewise.
	(SQL_INFO_LAST): likewise.
	(SQL_INTERVAL_DAY): likewise.
	(SQL_INTERVAL_DAY_TO_HOUR): likewise.
	(SQL_INTERVAL_DAY_TO_MINUTE): likewise.
	(SQL_INTERVAL_DAY_TO_SECOND): likewise.
	(SQL_INTERVAL_HOUR): likewise.
	(SQL_INTERVAL_HOUR_TO_MINUTE): likewise.
	(SQL_INTERVAL_HOUR_TO_SECOND): likewise.
	(SQL_INTERVAL_MINUTE): likewise.
	(SQL_INTERVAL_MINUTE_TO_SECOND): likewise.
	(SQL_INTERVAL_MONTH): likewise.
	(SQL_INTERVAL_SECOND): likewise.
	(SQL_INTERVAL_YEAR): likewise.
	(SQL_INTERVAL_YEAR_TO_MONTH): likewise.
	(SQL_KEYSET_SIZE): likewise.
	(SQL_KEYSET_SIZE_DEFAULT): likewise.
	(SQL_KEYWORDS): likewise.
	(SQL_LCK_EXCLUSIVE): likewise.
	(SQL_LCK_NO_CHANGE): likewise.
	(SQL_LCK_UNLOCK): likewise.
	(SQL_LIKE_ESCAPE_CLAUSE): likewise.
	(SQL_LIKE_ONLY): likewise.
	(SQL_LOCK_TYPES): likewise.
	(SQL_LOGIN_TIMEOUT): likewise.
	(SQL_LOGIN_TIMEOUT_DEFAULT): likewise.
	(SQL_LONGVARBINARY): likewise.
	(SQL_LONGVARCHAR): likewise.
	(SQL_MAX_BINARY_LITERAL_LEN): likewise.
	(SQL_MAX_CHAR_LITERAL_LEN): likewise.
	(SQL_MAX_DSN_LENGTH): likewise.
	(SQL_MAX_LENGTH): likewise.
	(SQL_MAX_LENGTH_DEFAULT): likewise.
	(SQL_MAX_OPTION_STRING_LENGTH): likewise.
	(SQL_MAX_OWNER_NAME_LEN): likewise.
	(SQL_MAX_PROCEDURE_NAME_LEN): likewise.
	(SQL_MAX_QUALIFIER_NAME_LEN): likewise.
	(SQL_MAX_ROW_SIZE_INCLUDES_LONG): likewise.
	(SQL_MAX_ROWS): likewise.
	(SQL_MAX_ROWS_DEFAULT): likewise.
	(SQL_MODE_DEFAULT): likewise.
	(SQL_MODE_READ_ONLY): likewise.
	(SQL_MODE_READ_WRITE): likewise.
	(SQL_MULT_RESULT_SETS): likewise.
	(SQL_MULTIPLE_ACTIVE_TXN): likewise.
	(SQL_NC_END): likewise.
	(SQL_NC_START): likewise.
	(SQL_NEED_LONG_DATA_LEN): likewise.
	(SQL_NNC_NON_NULL): likewise.
	(SQL_NNC_NULL): likewise.
	(SQL_NO_TOTAL): likewise.
	(SQL_NON_NULLABLE_COLUMNS): likewise.
	(SQL_NOSCAN): likewise.
	(SQL_NOSCAN_DEFAULT): likewise.
	(SQL_NOSCAN_OFF): likewise.
	(SQL_NOSCAN_ON): likewise.
	(SQL_NUM_EXTENSIONS): likewise.
	(SQL_NUM_FUNCTIONS): likewise.
	(SQL_NUMERIC_FUNCTIONS): likewise.
	(SQL_OAC_LEVEL1): likewise.
	(SQL_OAC_LEVEL2): likewise.
	(SQL_OAC_NONE): likewise.
	(SQL_ODBC_API_CONFORMANCE): likewise.
	(SQL_ODBC_CURSORS): likewise.
	(SQL_ODBC_KEYWORDS): likewise.
	(SQL_ODBC_SAG_CLI_CONFORMANCE): likewise.
	(SQL_ODBC_SQL_CONFORMANCE): likewise.
	(SQL_ODBC_SQL_OPT_IEF): likewise.
	(SQL_ODBC_VER): likewise.
	(SQL_OPT_TRACE): likewise.
	(SQL_OPT_TRACE_DEFAULT): likewise.
	(SQL_OPT_TRACE_FILE_DEFAULT): likewise.
	(SQL_OPT_TRACE_OFF): likewise.
	(SQL_OPT_TRACE_ON): likewise.
	(SQL_OPT_TRACEFILE): likewise.
	(SQL_OSC_CORE): likewise.
	(SQL_OSC_EXTENDED): likewise.
	(SQL_OSC_MINIMUM): likewise.
	(SQL_OSCC_COMPLIANT): likewise.
	(SQL_OSCC_NOT_COMPLIANT): likewise.
	(SQL_OU_DML_STATEMENTS): likewise.
	(SQL_OU_INDEX_DEFINITION): likewise.
	(SQL_OU_PRIVILEGE_DEFINITION): likewise.
	(SQL_OU_PROCEDURE_INVOCATION): likewise.
	(SQL_OU_TABLE_DEFINITION): likewise.
	(SQL_OUTER_JOINS): likewise.
	(SQL_OWNER_TERM): likewise.
	(SQL_OWNER_USAGE): likewise.
	(SQL_PACKET_SIZE): likewise.
	(SQL_PC_NOT_PSEUDO): likewise.
	(SQL_POS_add): likewise.
	(SQL_POS_DELETE): likewise.
	(SQL_POS_OPERATIONS): likewise.
	(SQL_POS_POSITION): likewise.
	(SQL_POS_REFRESH): likewise.
	(SQL_POS_UPDATE): likewise.
	(SQL_POSITIONED_STATEMENTS): likewise.
	(SQL_PROCEDURE_TERM): likewise.
	(SQL_PROCEDURES): likewise.
	(SQL_PS_POSITIONED_DELETE): likewise.
	(SQL_PS_POSITIONED_UPDATE): likewise.
	(SQL_PS_SELECT_FOR_UPDATE): likewise.
	(SQL_QL_END): likewise.
	(SQL_QL_START): likewise.
	(SQL_QU_DML_STATEMENTS): likewise.
	(SQL_QU_INDEX_DEFINITION): likewise.
	(SQL_QU_PRIVILEGE_DEFINITION): likewise.
	(SQL_QU_PROCEDURE_INVOCATION): likewise.
	(SQL_QU_TABLE_DEFINITION): likewise.
	(SQL_QUALIFIER_LOCATION): likewise.
	(SQL_QUALIFIER_NAME_SEPARATOR): likewise.
	(SQL_QUALIFIER_TERM): likewise.
	(SQL_QUALIFIER_USAGE): likewise.
	(SQL_QUERY_TIMEOUT): likewise.
	(SQL_QUERY_TIMEOUT_DEFAULT): likewise.
	(SQL_QUICK): likewise.
	(SQL_QUIET_MODE): likewise.
	(SQL_QUOTED_IDENTIFIER_CASE): likewise.
	(SQL_RD_DEFAULT): likewise.
	(SQL_RD_OFF): likewise.
	(SQL_RD_ON): likewise.
	(SQL_RETRIEVE_DATA): likewise.
	(SQL_ROW_NUMBER): likewise.
	(SQL_ROW_UPDATES): likewise.
	(SQL_ROWSET_SIZE): likewise.
	(SQL_ROWSET_SIZE_DEFAULT): likewise.
	(SQL_ROWVER): likewise.
	(SQL_SC_NON_UNIQUE): likewise.
	(SQL_SC_TRY_UNIQUE): likewise.
	(SQL_SC_UNIQUE): likewise.
	(SQL_SCCO_OPT_TIMESTAMP): likewise.
	(SQL_SCROLL_DYNAMIC): likewise.
	(SQL_SCROLL_FORWARD_ONLY): likewise.
	(SQL_SCROLL_KEYSET_DRIVEN): likewise.
	(SQL_SCROLL_OPTIONS): likewise.
	(SQL_SCROLL_STATIC): likewise.
	(SQL_SEARCHABLE): likewise.
	(SQL_SIGNED_OFFSET): likewise.
	(SQL_SIMULATE_CURSOR): likewise.
	(SQL_SO_DYNAMIC): likewise.
	(SQL_SO_FORWARD_ONLY): likewise.
	(SQL_SO_KEYSET_DRIVEN): likewise.
	(SQL_SO_MIXED): likewise.
	(SQL_SO_STATIC): likewise.
	(SQL_SPEC_MAJOR): likewise.
	(SQL_SPEC_MINOR): likewise.
	(SQL_SPEC_STRING): likewise.
	(SQL_SQ_COMPARISON): likewise.
	(SQL_SQ_CORRELATED_SUBQUERIES): likewise.
	(SQL_SQ_EXISTS): likewise.
	(SQL_SQ_IN): likewise.
	(SQL_SQ_QUANTIFIED): likewise.
	(SQL_SQLSTATE_SIZE): likewise.
	(SQL_SS_addITIONS): likewise.
	(SQL_SS_DELETIONS): likewise.
	(SQL_SS_UPDATES): likewise.
	(SQL_STATIC_SENSITIVITY): likewise.
	(SQL_STMT_OPT_MAX): likewise.
	(SQL_STMT_OPT_MIN): likewise.
	(SQL_STRING_FUNCTIONS): likewise.
	(SQL_SUBQUERIES): likewise.
	(SQL_SYSTEM_FUNCTIONS): likewise.
	(SQL_TABLE_STAT): likewise.
	(SQL_TABLE_TERM): likewise.
	(SQL_TIME): likewise.
	(SQL_TIMEDATE_add_INTERVALS): likewise.
	(SQL_TIMEDATE_DIFF_INTERVALS): likewise.
	(SQL_TIMEDATE_FUNCTIONS): likewise.
	(SQL_TIMESTAMP): likewise.
	(SQL_TINYINT): likewise.
	(SQL_TRANSLATE_DLL): likewise.
	(SQL_TRANSLATE_OPTION): likewise.
	(SQL_TXN_ISOLATION): likewise.
	(SQL_TXN_VERSIONING): likewise.
	(SQL_TYPE_DRIVER_END): likewise.
	(SQL_TYPE_DRIVER_START): likewise.
	(SQL_TYPE_MAX): likewise.
	(SQL_TYPE_MIN): likewise.
	(SQL_TYPE_NULL): likewise.
	(SQL_U_UNION): likewise.
	(SQL_U_UNION_ALL): likewise.
	(SQL_UB_DEFAULT): likewise.
	(SQL_UB_OFF): likewise.
	(SQL_UB_ON): likewise.
	(SQL_UNICODE): likewise.
	(SQL_UNICODE_CHAR): likewise.
	(SQL_UNICODE_LONGVARCHAR): likewise.
	(SQL_UNICODE_VARCHAR): likewise.
	(SQL_UNION): likewise.
	(SQL_UNSEARCHABLE): likewise.
	(SQL_UNSIGNED_OFFSET): likewise.
	(SQL_USE_BOOKMARKS): likewise.
	(SQL_VARBINARY): likewise.
	(SQL_TRUE): add define for ODBC3.x.
	(SQL_FALSE): likewise.
	(SQL_AM_CONNECTION): likewise.
	(SQL_AM_NONE): likewise.
	(SQL_AM_STATEMENT): likewise.
	(SQL_API_SQLALLOCHANDLE): likewise.
	(SQL_API_SQLBINDPARAM): likewise.
	(SQL_API_SQLCLOSECURSOR): likewise.
	(SQL_API_SQLCOLATTRIBUTE): likewise.
	(SQL_API_SQLCOPYDESC): likewise.
	(SQL_API_SQLENDTRAN): likewise.
	(SQL_API_SQLFETCHSCROLL): likewise.
	(SQL_API_SQLFREEHANDLE): likewise.
	(SQL_API_SQLGETCONNECTATTR): likewise.
	(SQL_API_SQLGETDESCFIELD): likewise.
	(SQL_API_SQLGETDESCREC): likewise.
	(SQL_API_SQLGETDIAGFIELD): likewise.
	(SQL_API_SQLGETDIAGREC): likewise.
	(SQL_API_SQLGETENVATTR): likewise.
	(SQL_API_SQLGETSTMTATTR): likewise.
	(SQL_API_SQLSETCONNECTATTR): likewise.
	(SQL_API_SQLSETDESCFIELD): likewise.
	(SQL_API_SQLSETDESCREC): likewise.
	(SQL_API_SQLSETENVATTR): likewise.
	(SQL_API_SQLSETSTMTATTR): likewise.
	(SQL_ARD_TYPE): likewise.
	(SQL_AT_add_CONSTRAINT): likewise.
	(SQL_ATTR_APP_PARAM_DESC): likewise.
	(SQL_ATTR_APP_ROW_DESC): likewise.
	(SQL_ATTR_AUTO_IPD): likewise.
	(SQL_ATTR_CURSOR_SCROLLABLE): likewise.
	(SQL_ATTR_CURSOR_SENSITIVITY): likewise.
	(SQL_ATTR_IMP_PARAM_DESC): likewise.
	(SQL_ATTR_IMP_ROW_DESC): likewise.
	(SQL_ATTR_METADATA_ID): likewise.
	(SQL_ATTR_OUTPUT_NTS): likewise.
	(SQL_CATALOG_NAME): likewise.
	(SQL_CODE_DATE): likewise.
	(SQL_CODE_TIME): likewise.
	(SQL_CODE_TIMESTAMP): likewise.
	(SQL_COLLATION_SEQ): likewise.
	(SQL_CURSOR_SENSITIVITY): likewise.
	(SQL_DATE_LEN): likewise.
	(SQL_DATETIME): likewise.
	(SQL_DEFAULT): likewise.
	(SQL_DESC_ALLOC_AUTO): likewise.
	(SQL_DESC_ALLOC_TYPE): likewise.
	(SQL_DESC_ALLOC_USER): likewise.
	(SQL_DESC_COUNT): likewise.
	(SQL_DESC_DATA_PTR): likewise.
	(SQL_DESC_DATETIME_INTERVAL_CODE): likewise.
	(SQL_DESC_INDICATOR_PTR): likewise.
	(SQL_DESC_LENGTH): likewise.
	(SQL_DESC_NAME): likewise.
	(SQL_DESC_NULLABLE): likewise.
	(SQL_DESC_OCTET_LENGTH): likewise.
	(SQL_DESC_OCTET_LENGTH_PTR): likewise.
	(SQL_DESC_PRECISION): likewise.
	(SQL_DESC_SCALE): likewise.
	(SQL_DESC_TYPE): likewise.
	(SQL_DESC_UNNAMED): likewise.
	(SQL_DESCRIBE_PARAMETER): likewise.
	(SQL_DIAG_ALTER_DOMAIN): likewise.
	(SQL_DIAG_ALTER_TABLE): likewise.
	(SQL_DIAG_CALL): likewise.
	(SQL_DIAG_CLASS_ORIGIN): likewise.
	(SQL_DIAG_CONNECTION_NAME): likewise.
	(SQL_DIAG_CREATE_ASSERTION): likewise.
	(SQL_DIAG_CREATE_CHARACTER_SET): likewise.
	(SQL_DIAG_CREATE_COLLATION): likewise.
	(SQL_DIAG_CREATE_DOMAIN): likewise.
	(SQL_DIAG_CREATE_INDEX): likewise.
	(SQL_DIAG_CREATE_SCHEMA): likewise.
	(SQL_DIAG_CREATE_TABLE): likewise.
	(SQL_DIAG_CREATE_TRANSLATION): likewise.
	(SQL_DIAG_CREATE_VIEW): likewise.
	(SQL_DIAG_DELETE_WHERE): likewise.
	(SQL_DIAG_DROP_ASSERTION): likewise.
	(SQL_DIAG_DROP_CHARACTER_SET): likewise.
	(SQL_DIAG_DROP_COLLATION): likewise.
	(SQL_DIAG_DROP_DOMAIN): likewise.
	(SQL_DIAG_DROP_INDEX): likewise.
	(SQL_DIAG_DROP_SCHEMA): likewise.
	(SQL_DIAG_DROP_TABLE): likewise.
	(SQL_DIAG_DROP_TRANSLATION): likewise.
	(SQL_DIAG_DROP_VIEW): likewise.
	(SQL_DIAG_DYNAMIC_DELETE_CURSOR): likewise.
	(SQL_DIAG_DYNAMIC_FUNCTION): likewise.
	(SQL_DIAG_DYNAMIC_FUNCTION_CODE): likewise.
	(SQL_DIAG_DYNAMIC_UPDATE_CURSOR): likewise.
	(SQL_DIAG_GRANT): likewise.
	(SQL_DIAG_INSERT): likewise.
	(SQL_DIAG_MESSAGE_TEXT): likewise.
	(SQL_DIAG_NATIVE): likewise.
	(SQL_DIAG_NUMBER): likewise.
	(SQL_DIAG_RETURNCODE): likewise.
	(SQL_DIAG_REVOKE): likewise.
	(SQL_DIAG_ROW_COUNT): likewise.
	(SQL_DIAG_SELECT_CURSOR): likewise.
	(SQL_DIAG_SERVER_NAME): likewise.
	(SQL_DIAG_SQLSTATE): likewise.
	(SQL_DIAG_SUBCLASS_ORIGIN): likewise.
	(SQL_DIAG_UNKNOWN_STATEMENT): likewise.
	(SQL_DIAG_UPDATE_WHERE): likewise.
	(SQL_FALSE): likewise.
	(SQL_FETCH_ABSOLUTE): likewise.
	(SQL_FETCH_LAST): likewise.
	(SQL_FETCH_PRIOR): likewise.
	(SQL_FETCH_RELATIVE): likewise.
	(SQL_HANDLE_DBC): likewise.
	(SQL_HANDLE_DESC): likewise.
	(SQL_HANDLE_ENV): likewise.
	(SQL_HANDLE_STMT): likewise.
	(SQL_INSENSITIVE): likewise.
	(SQL_INTEGRITY): likewise.
	(SQL_MAX_CATALOG_NAME_LEN): likewise.
	(SQL_MAX_CONCURRENT_ACTIVITIES): likewise.
	(SQL_MAX_DRIVER_CONNECTIONS): likewise.
	(SQL_MAX_IDENTIFIER_LEN): likewise.
	(SQL_MAX_SCHEMA_NAME_LEN): likewise.
	(SQL_MAXIMUM_CATALOG_NAME_LENGTH): likewise.
	(SQL_MAXIMUM_COLUMN_NAME_LENGTH): likewise.
	(SQL_MAXIMUM_COLUMNS_IN_GROUP_BY): likewise.
	(SQL_MAXIMUM_COLUMNS_IN_INDEX): likewise.
	(SQL_MAXIMUM_COLUMNS_IN_ORDER_BY): likewise.
	(SQL_MAXIMUM_COLUMNS_IN_SELECT): likewise.
	(SQL_MAXIMUM_CONCURRENT_ACTIVITIES): likewise.
	(SQL_MAXIMUM_CURSOR_NAME_LENGTH): likewise.
	(SQL_MAXIMUM_DRIVER_CONNECTIONS): likewise.
	(SQL_MAXIMUM_IDENTIFIER_LENGTH): likewise.
	(SQL_MAXIMUM_INDEX_SIZE): likewise.
	(SQL_MAXIMUM_ROW_SIZE): likewise.
	(SQL_MAXIMUM_SCHEMA_NAME_LENGTH): likewise.
	(SQL_MAXIMUM_STATEMENT_LENGTH): likewise.
	(SQL_MAXIMUM_TABLES_IN_SELECT): likewise.
	(SQL_MAXIMUM_USER_NAME_LENGTH): likewise.
	(SQL_NAMED): likewise.
	(SQL_NONSCROLLABLE): likewise.
	(SQL_NTSL): likewise.
	(SQL_NULL_HANDLE): likewise.
	(SQL_NULL_HDESC): likewise.
	(SQL_OUTER_JOIN_CAPABILITIES): likewise.
	(SQL_PRED_BASIC): likewise.
	(SQL_PRED_CHAR): likewise.
	(SQL_PRED_NONE): likewise.
	(SQL_ROW_IDENTIFIER): likewise.
	(SQL_SCROLLABLE): likewise.
	(SQL_SENSITIVE): likewise.
	(SQL_SUCCEEDED(rc)): likewise.
	(SQL_TIME_LEN): likewise.
	(SQL_TIMESTAMP_LEN): likewise.
	(SQL_TRANSACTION_CAPABLE): likewise.
	(SQL_TRANSACTION_ISOLATION_OPTION): likewise.
	(SQL_TRANSACTION_READ_COMMITTED): likewise.
	(SQL_TRANSACTION_READ_UNCOMMITTED): likewise.
	(SQL_TRANSACTION_REPEATABLE_READ): likewise.
	(SQL_TRANSACTION_SERIALIZABLE): likewise.
	(SQL_TYPE_DATE): likewise.
	(SQL_TYPE_TIME): likewise.
	(SQL_TYPE_TIMESTAMP): likewise.
	(SQL_UNKNOWN_TYPE): likewise.
	(SQL_UNNAMED): likewise.
	(SQL_UNSPECIFIED): likewise.
	(SQL_XOPEN_CLI_YEAR): likewise.
	(SQLAllocConnect): add comment marking as deperecated.
	(SQLAllocEnv): likewise.
	(SQLAllocStmt): likewise.
	(SQLFreeConnect): likewise.
	(SQLFreeEnv): likewise.
	(SQLGetConnectOption): likewise.
	(SQLGetStmtOption): likewise.

	* include/sqlext.h (#include <sqlucode.h>): add directive.
	(SQLSetScrollOptions): non-core function, move prototype from sql.h.
	(SQLColAttributes): likewise.
	(SQLBulkOperations): add function prototype.
	(SQLAllocHandleStd): likewise
	(TraceReturn): add Trace API prototype.
	(TraceVersion): likewise.
	(ODBCGetTryWaitValue):likewise.
	(ODBCSetTryWaitValue): likewise.
	(SQL_LOCK_RECORD): correct function macro.
	(SQL_REFRESH_RECORD): likewise.
	(SQLINTENGER and SQLUINTEGER): replace with SQLLEN and SQLULEN for
	_WIN64 compatability.
	move defines for non-core functions from sql.h to sqlext.h (refer
	changes for sql.h)
	(SQL_ACTIVE_ENVIRONMENTS): new ODBC3.x define
	(SQL_AD_ADD_CONSTRAINT_DEFERRABLE): likewise.
	(SQL_AD_ADD_CONSTRAINT_INITIALLY_DEFERRED): likewise.
	(SQL_AD_ADD_CONSTRAINT_INITIALLY_IMMEDIATE): likewise.
	(SQL_AD_ADD_CONSTRAINT_NON_DEFERRABLE): likewise.
	(SQL_AD_ADD_DOMAIN_CONSTRAINT): likewise.
	(SQL_AD_ADD_DOMAIN_DEFAULT): likewise.
	(SQL_AD_CONSTRAINT_NAME_DEFINITION): likewise.
	(SQL_AD_DROP_DOMAIN_CONSTRAINT): likewise.
	(SQL_AD_DROP_DOMAIN_DEFAULT): likewise.
	(SQL_AF_ALL): likewise.
	(SQL_AF_AVG): likewise.
	(SQL_AF_COUNT): likewise.
	(SQL_AF_DISTINCT): likewise.
	(SQL_AF_MAX): likewise.
	(SQL_AF_MIN): likewise.
	(SQL_AF_SUM): likewise.
	(SQL_AGGREGATE_FUNCTIONS): likewise.
	(SQL_ALL_CATALOGS): likewise.
	(SQL_ALL_SCHEMAS): likewise.
	(SQL_ALL_TABLE_TYPES): likewise.
	(SQL_ALTER_DOMAIN): likewise.
	(SQL_AM_CONNECTION): likewise.
	(SQL_AM_NONE): likewise.
	(SQL_AM_STATEMENT): likewise.
	(SQL_API_ODBC3_ALL_FUNCTIONS): likewise.
	(SQL_API_ODBC3_ALL_FUNCTIONS_SIZE): likewise.
	(SQL_API_SQLALLOCHANDLESTD): likewise.
	(SQL_API_SQLBULKOPERATIONS): likewise.
	(SQL_ASYNC_MODE): likewise.
	(SQL_AT_ADD_COLUMN_COLLATION): likewise.
	(SQL_AT_ADD_COLUMN_DEFAULT): likewise.
	(SQL_AT_ADD_COLUMN_SINGLE): likewise.
	(SQL_AT_ADD_TABLE_CONSTRAINT): likewise.
	(SQL_AT_CONSTRAINT_DEFERRABLE): likewise.
	(SQL_AT_CONSTRAINT_INITIALLY_DEFERRED): likewise.
	(SQL_AT_CONSTRAINT_INITIALLY_IMMEDIATE): likewise.
	(SQL_AT_CONSTRAINT_NAME_DEFINITION): likewise.
	(SQL_AT_CONSTRAINT_NON_DEFERRABLE): likewise.
	(SQL_AT_DROP_COLUMN_CASCADE): likewise.
	(SQL_AT_DROP_COLUMN_DEFAULT): likewise.
	(SQL_AT_DROP_COLUMN_RESTRICT): likewise.
	(SQL_AT_DROP_TABLE_CONSTRAINT_CASCADE): likewise.
	(SQL_AT_DROP_TABLE_CONSTRAINT_RESTRICT): likewise.
	(SQL_AT_SET_COLUMN_DEFAULT): likewise.
	(SQL_ATTR_ACCESS_MODE): likewise.
	(SQL_ATTR_ASYNC_ENABLE): likewise.
	(SQL_ATTR_AUTOCOMMIT): likewise.
	(SQL_ATTR_CONCURRENCY): likewise.
	(SQL_ATTR_CONNECTION_POOLING): likewise.
	(SQL_ATTR_CONNECTION_TIMEOUT): likewise.
	(SQL_ATTR_CP_MATCH): likewise.
	(SQL_ATTR_CURRENT_CATALOG): likewise.
	(SQL_ATTR_CURSOR_TYPE): likewise.
	(SQL_ATTR_DISCONNECT_BEHAVIOR): likewise.
	(SQL_ATTR_ENABLE_AUTO_IPD): likewise.
	(SQL_ATTR_ENLIST_IN_DTC): likewise.
	(SQL_ATTR_ENLIST_IN_XA): likewise.
	(SQL_ATTR_FETCH_BOOKMARK_PTR): likewise.
	(SQL_ATTR_KEYSET_SIZE): likewise.
	(SQL_ATTR_LOGIN_TIMEOUT): likewise.
	(SQL_ATTR_MAX_LENGTH): likewise.
	(SQL_ATTR_MAX_ROWS): likewise.
	(SQL_ATTR_NOSCAN): likewise.
	(SQL_ATTR_ODBC_CURSORS): likewise.
	(SQL_ATTR_ODBC_VERSION): likewise.
	(SQL_ATTR_PACKET_SIZE): likewise.
	(SQL_ATTR_PARAM_BIND_OFFSET_PTR): likewise.
	(SQL_ATTR_PARAM_BIND_TYPE): likewise.
	(SQL_ATTR_PARAM_OPERATION_PTR): likewise.
	(SQL_ATTR_PARAM_STATUS_PTR): likewise.
	(SQL_ATTR_PARAMS_PROCESSED_PTR): likewise.
	(SQL_ATTR_PARAMSET_SIZE): likewise.
	(SQL_ATTR_QUERY_TIMEOUT): likewise.
	(SQL_ATTR_QUIET_MODE): likewise.
	(SQL_ATTR_RETRIEVE_DATA): likewise.
	(SQL_ATTR_ROW_ARRAY_SIZE): likewise.
	(SQL_ATTR_ROW_BIND_OFFSET_PTR): likewise.
	(SQL_ATTR_ROW_BIND_TYPE): likewise.
	(SQL_ATTR_ROW_NUMBER): likewise.
	(SQL_ATTR_ROW_OPERATION_PTR): likewise.
	(SQL_ATTR_ROW_STATUS_PTR): likewise.
	(SQL_ATTR_ROWS_FETCHED_PTR): likewise.
	(SQL_ATTR_SIMULATE_CURSOR): likewise.
	(SQL_ATTR_TRACE): likewise.
	(SQL_ATTR_TRACEFILE): likewise.
	(SQL_ATTR_TRANSLATE_LIB): likewise.
	(SQL_ATTR_TRANSLATE_OPTION): likewise.
	(SQL_ATTR_TXN_ISOLATION): likewise.
	(SQL_ATTR_USE_BOOKMARKS): likewise.
	(SQL_BATCH_ROW_COUNT): likewise.
	(SQL_BATCH_SUPPORT): likewise.
	(SQL_BRC_EXPLICIT): likewise.
	(SQL_BRC_PROCEDURES): likewise.
	(SQL_BRC_ROLLED_UP): likewise.
	(SQL_BS_ROW_COUNT_EXPLICIT): likewise.
	(SQL_BS_ROW_COUNT_PROC): likewise.
	(SQL_BS_SELECT_EXPLICIT): likewise.
	(SQL_BS_SELECT_PROC): likewise.
	(SQL_C_INTERVAL_DAY): likewise.
	(SQL_C_INTERVAL_DAY_TO_HOUR): likewise.
	(SQL_C_INTERVAL_DAY_TO_MINUTE): likewise.
	(SQL_C_INTERVAL_DAY_TO_SECOND): likewise.
	(SQL_C_INTERVAL_HOUR): likewise.
	(SQL_C_INTERVAL_HOUR_TO_MINUTE): likewise.
	(SQL_C_INTERVAL_HOUR_TO_SECOND): likewise.
	(SQL_C_INTERVAL_MINUTE): likewise.
	(SQL_C_INTERVAL_MINUTE_TO_SECOND): likewise.
	(SQL_C_INTERVAL_MONTH): likewise.
	(SQL_C_INTERVAL_SECOND): likewise.
	(SQL_C_INTERVAL_YEAR): likewise.
	(SQL_C_INTERVAL_YEAR_TO_MONTH): likewise.
	(SQL_C_NUMERIC): likewise.
	(SQL_C_SBIGINT): likewise.
	(SQL_C_TYPE_DATE): likewise.
	(SQL_C_TYPE_TIME): likewise.
	(SQL_C_TYPE_TIMESTAMP): likewise.
	(SQL_C_UBIGINT): likewise.
	(SQL_C_VARBOOKMARK): likewise.
	(SQL_CA_CONSTRAINT_DEFERRABLE): likewise.
	(SQL_CA_CONSTRAINT_INITIALLY_DEFERRED): likewise.
	(SQL_CA_CONSTRAINT_INITIALLY_IMMEDIATE): likewise.
	(SQL_CA_CONSTRAINT_NON_DEFERRABLE): likewise.
	(SQL_CA_CREATE_ASSERTION): likewise.
	(SQL_CA1_ABSOLUTE): likewise.
	(SQL_CA1_BOOKMARK): likewise.
	(SQL_CA1_BULK_ADD): likewise.
	(SQL_CA1_BULK_DELETE_BY_BOOKMARK): likewise.
	(SQL_CA1_BULK_FETCH_BY_BOOKMARK): likewise.
	(SQL_CA1_BULK_UPDATE_BY_BOOKMARK): likewise.
	(SQL_CA1_LOCK_EXCLUSIVE): likewise.
	(SQL_CA1_LOCK_NO_CHANGE): likewise.
	(SQL_CA1_LOCK_UNLOCK): likewise.
	(SQL_CA1_NEXT): likewise.
	(SQL_CA1_POS_DELETE): likewise.
	(SQL_CA1_POS_POSITION): likewise.
	(SQL_CA1_POS_REFRESH): likewise.
	(SQL_CA1_POS_UPDATE): likewise.
	(SQL_CA1_POSITIONED_DELETE): likewise.
	(SQL_CA1_POSITIONED_UPDATE): likewise.
	(SQL_CA1_RELATIVE): likewise.
	(SQL_CA1_SELECT_FOR_UPDATE): likewise.
	(SQL_CA2_CRC_APPROXIMATE): likewise.
	(SQL_CA2_CRC_EXACT): likewise.
	(SQL_CA2_LOCK_CONCURRENCY): likewise.
	(SQL_CA2_MAX_ROWS_AFFECTS_ALL): likewise.
	(SQL_CA2_MAX_ROWS_CATALOG): likewise.
	(SQL_CA2_MAX_ROWS_DELETE): likewise.
	(SQL_CA2_MAX_ROWS_INSERT): likewise.
	(SQL_CA2_MAX_ROWS_SELECT): likewise.
	(SQL_CA2_MAX_ROWS_UPDATE): likewise.
	(SQL_CA2_OPT_ROWVER_CONCURRENCY): likewise.
	(SQL_CA2_OPT_VALUES_CONCURRENCY): likewise.
	(SQL_CA2_READ_ONLY_CONCURRENCY): likewise.
	(SQL_CA2_SENSITIVITY_ADDITIONS): likewise.
	(SQL_CA2_SENSITIVITY_DELETIONS): likewise.
	(SQL_CA2_SENSITIVITY_UPDATES): likewise.
	(SQL_CA2_SIMULATE_NON_UNIQUE): likewise.
	(SQL_CA2_SIMULATE_TRY_UNIQUE): likewise.
	(SQL_CA2_SIMULATE_UNIQUE): likewise.
	(SQL_CATALOG_LOCATION): likewise.
	(SQL_CATALOG_NAME_SEPARATOR): likewise.
	(SQL_CATALOG_TERM): likewise.
	(SQL_CATALOG_USAGE): likewise.
	(SQL_CCOL_CREATE_COLLATION): likewise.
	(SQL_CCS_COLLATE_CLAUSE): likewise.
	(SQL_CCS_CREATE_CHARACTER_SET): likewise.
	(SQL_CCS_LIMITED_COLLATION): likewise.
	(SQL_CDO_COLLATION): likewise.
	(SQL_CDO_CONSTRAINT): likewise.
	(SQL_CDO_CONSTRAINT_DEFERRABLE): likewise.
	(SQL_CDO_CONSTRAINT_INITIALLY_DEFERRED): likewise.
	(SQL_CDO_CONSTRAINT_INITIALLY_IMMEDIATE): likewise.
	(SQL_CDO_CONSTRAINT_NAME_DEFINITION): likewise.
	(SQL_CDO_CONSTRAINT_NON_DEFERRABLE): likewise.
	(SQL_CDO_CREATE_DOMAIN): likewise.
	(SQL_CDO_DEFAULT): likewise.
	(SQL_CL_END): likewise.
	(SQL_CL_START): likewise.
	(SQL_COL_PRED_BASIC): likewise.
	(SQL_COL_PRED_CHAR): likewise.
	(SQL_COLUMN_DRIVER_START): likewise.
	(SQL_COLUMN_IGNORE): likewise.
	(SQL_COLUMN_NUMBER_UNKNOWN): likewise.
	(SQL_CONVERT_GUID): likewise.
	(SQL_CONVERT_INTERVAL_DAY_TIME): likewise.
	(SQL_CONVERT_INTERVAL_YEAR_MONTH): likewise.
	(SQL_CONVERT_WCHAR): likewise.
	(SQL_CONVERT_WLONGVARCHAR): likewise.
	(SQL_CONVERT_WVARCHAR): likewise.
	(SQL_CP_DEFAULT): likewise.
	(SQL_CP_MATCH_DEFAULT): likewise.
	(SQL_CP_OFF): likewise.
	(SQL_CP_ONE_PER_DRIVER): likewise.
	(SQL_CP_ONE_PER_HENV): likewise.
	(SQL_CP_RELAXED_MATCH): likewise.
	(SQL_CP_STRICT_MATCH): likewise.
	(SQL_CREATE_ASSERTION): likewise.
	(SQL_CREATE_CHARACTER_SET): likewise.
	(SQL_CREATE_COLLATION): likewise.
	(SQL_CREATE_DOMAIN): likewise.
	(SQL_CREATE_SCHEMA): likewise.
	(SQL_CREATE_TABLE): likewise.
	(SQL_CREATE_TRANSLATION): likewise.
	(SQL_CREATE_VIEW): likewise.
	(SQL_CS_AUTHORIZATION): likewise.
	(SQL_CS_CREATE_SCHEMA): likewise.
	(SQL_CS_DEFAULT_CHARACTER_SET): likewise.
	(SQL_CT_COLUMN_COLLATION): likewise.
	(SQL_CT_COLUMN_CONSTRAINT): likewise.
	(SQL_CT_COLUMN_DEFAULT): likewise.
	(SQL_CT_COMMIT_DELETE): likewise.
	(SQL_CT_COMMIT_PRESERVE): likewise.
	(SQL_CT_CONSTRAINT_DEFERRABLE): likewise.
	(SQL_CT_CONSTRAINT_INITIALLY_DEFERRED): likewise.
	(SQL_CT_CONSTRAINT_INITIALLY_IMMEDIATE): likewise.
	(SQL_CT_CONSTRAINT_NAME_DEFINITION): likewise.
	(SQL_CT_CONSTRAINT_NON_DEFERRABLE): likewise.
	(SQL_CT_CREATE_TABLE): likewise.
	(SQL_CT_GLOBAL_TEMPORARY): likewise.
	(SQL_CT_LOCAL_TEMPORARY): likewise.
	(SQL_CT_TABLE_CONSTRAINT): likewise.
	(SQL_CTR_CREATE_TRANSLATION): likewise.
	(SQL_CU_DML_STATEMENTS): likewise.
	(SQL_CU_INDEX_DEFINITION): likewise.
	(SQL_CU_PRIVILEGE_DEFINITION): likewise.
	(SQL_CU_PROCEDURE_INVOCATION): likewise.
	(SQL_CU_TABLE_DEFINITION): likewise.
	(SQL_CVT_GUID): likewise.
	(SQL_CVT_INTERVAL_DAY_TIME): likewise.
	(SQL_CVT_INTERVAL_YEAR_MONTH): likewise.
	(SQL_CVT_WCHAR): likewise.
	(SQL_CVT_WLONGVARCHAR): likewise.
	(SQL_CVT_WVARCHAR): likewise.
	(SQL_DA_DROP_ASSERTION): likewise.
	(SQL_DATETIME_LITERALS): likewise.
	(SQL_DB_DEFAULT): likewise.
	(SQL_DB_DISCONNECT): likewise.
	(SQL_DB_RETURN_TO_POOL): likewise.
	(SQL_DC_DROP_COLLATION): likewise.
	(SQL_DCS_DROP_CHARACTER_SET): likewise.
	(SQL_DD_CASCADE): likewise.
	(SQL_DD_DROP_DOMAIN): likewise.
	(SQL_DD_RESTRICT): likewise.
	(SQL_DDL_INDEX): likewise.
	(SQL_DELETE_BY_BOOKMARK): likewise.
	(SQL_DESC_ARRAY_SIZE): likewise.
	(SQL_DESC_ARRAY_STATUS_PTR): likewise.
	(SQL_DESC_AUTO_UNIQUE_VALUE): likewise.
	(SQL_DESC_BASE_COLUMN_NAME): likewise.
	(SQL_DESC_BASE_TABLE_NAME): likewise.
	(SQL_DESC_BIND_OFFSET_PTR): likewise.
	(SQL_DESC_BIND_TYPE): likewise.
	(SQL_DESC_CASE_SENSITIVE): likewise.
	(SQL_DESC_CATALOG_NAME): likewise.
	(SQL_DESC_CONCISE_TYPE): likewise.
	(SQL_DESC_DATETIME_INTERVAL_PRECISION): likewise.
	(SQL_DESC_DISPLAY_SIZE): likewise.
	(SQL_DESC_FIXED_PREC_SCALE): likewise.
	(SQL_DESC_LABEL): likewise.
	(SQL_DESC_LITERAL_PREFIX): likewise.
	(SQL_DESC_LITERAL_SUFFIX): likewise.
	(SQL_DESC_LOCAL_TYPE_NAME): likewise.
	(SQL_DESC_MAXIMUM_SCALE): likewise.
	(SQL_DESC_MINIMUM_SCALE): likewise.
	(SQL_DESC_NUM_PREC_RADIX): likewise.
	(SQL_DESC_PARAMETER_TYPE): likewise.
	(SQL_DESC_ROWS_PROCESSED_PTR): likewise.
	(SQL_DESC_SCHEMA_NAME): likewise.
	(SQL_DESC_SEARCHABLE): likewise.
	(SQL_DESC_TABLE_NAME): likewise.
	(SQL_DESC_TYPE_NAME): likewise.
	(SQL_DESC_UNSIGNED): likewise.
	(SQL_DESC_UPDATABLE): likewise.
	(SQL_DI_CREATE_INDEX): likewise.
	(SQL_DI_DROP_INDEX): likewise.
	(SQL_DIAG_COLUMN_NUMBER): likewise.
	(SQL_DIAG_CURSOR_ROW_COUNT): likewise.
	(SQL_DIAG_ROW_NUMBER): likewise.
	(SQL_DL_SQL92_DATE): likewise.
	(SQL_DL_SQL92_INTERVAL_DAY): likewise.
	(SQL_DL_SQL92_INTERVAL_DAY_TO_HOUR): likewise.
	(SQL_DL_SQL92_INTERVAL_DAY_TO_MINUTE): likewise.
	(SQL_DL_SQL92_INTERVAL_DAY_TO_SECOND): likewise.
	(SQL_DL_SQL92_INTERVAL_HOUR): likewise.
	(SQL_DL_SQL92_INTERVAL_HOUR_TO_MINUTE): likewise.
	(SQL_DL_SQL92_INTERVAL_HOUR_TO_SECOND): likewise.
	(SQL_DL_SQL92_INTERVAL_MINUTE): likewise.
	(SQL_DL_SQL92_INTERVAL_MINUTE_TO_SECOND): likewise.
	(SQL_DL_SQL92_INTERVAL_MONTH): likewise.
	(SQL_DL_SQL92_INTERVAL_SECOND): likewise.
	(SQL_DL_SQL92_INTERVAL_YEAR): likewise.
	(SQL_DL_SQL92_INTERVAL_YEAR_TO_MONTH): likewise.
	(SQL_DL_SQL92_TIME): likewise.
	(SQL_DL_SQL92_TIMESTAMP): likewise.
	(SQL_DM_VER): likewise.
	(SQL_DRIVER_HDESC): likewise.
	(SQL_DROP_ASSERTION): likewise.
	(SQL_DROP_CHARACTER_SET): likewise.
	(SQL_DROP_COLLATION): likewise.
	(SQL_DROP_DOMAIN): likewise.
	(SQL_DROP_SCHEMA): likewise.
	(SQL_DROP_TABLE): likewise.
	(SQL_DROP_TRANSLATION): likewise.
	(SQL_DROP_VIEW): likewise.
	(SQL_DS_CASCADE): likewise.
	(SQL_DS_DROP_SCHEMA): likewise.
	(SQL_DS_RESTRICT): likewise.
	(SQL_DT_CASCADE): likewise.
	(SQL_DT_DROP_TABLE): likewise.
	(SQL_DT_RESTRICT): likewise.
	(SQL_DTC_DONE): likewise.
	(SQL_DTR_DROP_TRANSLATION): likewise.
	(SQL_DV_CASCADE): likewise.
	(SQL_DV_DROP_VIEW): likewise.
	(SQL_DV_RESTRICT): likewise.
	(SQL_DYNAMIC_CURSOR_ATTRIBUTES1): likewise.
	(SQL_DYNAMIC_CURSOR_ATTRIBUTES2): likewise.
	(SQL_EXT_API_LAST): likewise.
	(SQL_EXT_API_START): likewise.
	(SQL_FETCH_BY_BOOKMARK): likewise.
	(SQL_FETCH_FIRST_SYSTEM): likewise.
	(SQL_FETCH_FIRST_USER): likewise.
	(SQL_FN_CVT_CAST): likewise.
	(SQL_FN_STR_BIT_LENGTH): likewise.
	(SQL_FN_STR_CHAR_LENGTH): likewise.
	(SQL_FN_STR_CHARACTER_LENGTH): likewise.
	(SQL_FN_STR_OCTET_LENGTH): likewise.
	(SQL_FN_STR_POSITION): likewise.
	(SQL_FN_TD_CURRENT_DATE): likewise.
	(SQL_FN_TD_CURRENT_TIME): likewise.
	(SQL_FN_TD_CURRENT_TIMESTAMP): likewise.
	(SQL_FN_TD_EXTRACT): likewise.
	(SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES1): likewise.
	(SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES2): likewise.
	(SQL_FUNC_EXISTS(exists,api)): likewise.
	(SQL_GB_COLLATE): likewise.
	(SQL_HANDLE_SENV): likewise.
	(SQL_IK_ALL): likewise.
	(SQL_IK_ASC): likewise.
	(SQL_IK_DESC): likewise.
	(SQL_IK_NONE): likewise.
	(SQL_INDEX_KEYWORDS): likewise.
	(SQL_INFO_DRIVER_START): likewise.
	(SQL_INFO_LAST): likewise.
	(SQL_INFO_SCHEMA_VIEWS): likewise.
	(SQL_INITIALLY_DEFERRED): likewise.
	(SQL_INITIALLY_IMMEDIATE): likewise.
	(SQL_INSERT_STATEMENT): likewise.
	(SQL_INTERVAL): likewise.
	(SQL_IS_INSERT_LITERALS): likewise.
	(SQL_IS_INSERT_SEARCHED): likewise.
	(SQL_IS_INTEGER): likewise.
	(SQL_IS_POINTER): likewise.
	(SQL_IS_SELECT_INTO): likewise.
	(SQL_IS_SMALLINT): likewise.
	(SQL_IS_UINTEGER): likewise.
	(SQL_IS_USMALLINT): likewise.
	(SQL_ISV_ASSERTIONS): likewise.
	(SQL_ISV_CHARACTER_SETS): likewise.
	(SQL_ISV_CHECK_CONSTRAINTS): likewise.
	(SQL_ISV_COLLATIONS): likewise.
	(SQL_ISV_COLUMN_DOMAIN_USAGE): likewise.
	(SQL_ISV_COLUMN_PRIVILEGES): likewise.
	(SQL_ISV_COLUMNS): likewise.
	(SQL_ISV_CONSTRAINT_COLUMN_USAGE): likewise.
	(SQL_ISV_CONSTRAINT_TABLE_USAGE): likewise.
	(SQL_ISV_DOMAIN_CONSTRAINTS): likewise.
	(SQL_ISV_DOMAINS): likewise.
	(SQL_ISV_KEY_COLUMN_USAGE): likewise.
	(SQL_ISV_REFERENTIAL_CONSTRAINTS): likewise.
	(SQL_ISV_SCHEMATA): likewise.
	(SQL_ISV_SQL_LANGUAGES): likewise.
	(SQL_ISV_TABLE_CONSTRAINTS): likewise.
	(SQL_ISV_TABLE_PRIVILEGES): likewise.
	(SQL_ISV_TABLES): likewise.
	(SQL_ISV_TRANSLATIONS): likewise.
	(SQL_ISV_USAGE_PRIVILEGES): likewise.
	(SQL_ISV_VIEW_COLUMN_USAGE): likewise.
	(SQL_ISV_VIEW_TABLE_USAGE): likewise.
	(SQL_ISV_VIEWS): likewise.
	(SQL_KEYSET_CURSOR_ATTRIBUTES1): likewise.
	(SQL_KEYSET_CURSOR_ATTRIBUTES2): likewise.
	(SQL_MAX_ASYNC_CONCURRENT_STATEMENTS): likewise.
	(SQL_NO_COLUMN_NUMBER): likewise.
	(SQL_NO_ROW_NUMBER): likewise.
	(SQL_NOT_DEFERRABLE): likewise.
	(SQL_NUM_EXTENSIONS): likewise.
	(SQL_NUM_FUNCTIONS): likewise.
	(SQL_ODBC_INTERFACE_CONFORMANCE): likewise.
	(SQL_OIC_CORE): likewise.
	(SQL_OIC_LEVEL1): likewise.
	(SQL_OIC_LEVEL2): likewise.
	(SQL_OV_ODBC2): likewise.
	(SQL_OV_ODBC3): likewise.
	(SQL_PARAM_ARRAY_ROW_COUNTS): likewise.
	(SQL_PARAM_ARRAY_SELECTS): likewise.
	(SQL_PARAM_BIND_BY_COLUMN): likewise.
	(SQL_PARAM_BIND_TYPE_DEFAULT): likewise.
	(SQL_PARAM_DIAG_UNAVAILABLE): likewise.
	(SQL_PARAM_ERROR): likewise.
	(SQL_PARAM_IGNORE): likewise.
	(SQL_PARAM_PROCEED): likewise.
	(SQL_PARAM_SUCCESS): likewise.
	(SQL_PARAM_SUCCESS_WITH_INFO): likewise.
	(SQL_PARAM_UNUSED): likewise.
	(SQL_PARC_BATCH): likewise.
	(SQL_PARC_NO_BATCH): likewise.
	(SQL_PAS_BATCH): likewise.
	(SQL_PAS_NO_BATCH): likewise.
	(SQL_PAS_NO_SELECT): likewise.
	(SQL_ROW_IGNORE): likewise.
	(SQL_ROW_NUMBER_UNKNOWN): likewise.
	(SQL_ROW_PROCEED): likewise.
	(SQL_ROW_SUCCESS_WITH_INFO): likewise.
	(SQL_SC_FIPS127_2_TRANSITIONAL): likewise.
	(SQL_SC_SQL92_ENTRY): likewise.
	(SQL_SC_SQL92_FULL): likewise.
	(SQL_SC_SQL92_INTERMEDIATE): likewise.
	(SQL_SCC_ISO92_CLI): likewise.
	(SQL_SCC_XOPEN_CLI_VERSION1): likewise.
	(SQL_SCHEMA_TERM): likewise.
	(SQL_SCHEMA_USAGE): likewise.
	(SQL_SDF_CURRENT_DATE): likewise.
	(SQL_SDF_CURRENT_TIME): likewise.
	(SQL_SDF_CURRENT_TIMESTAMP): likewise.
	(SQL_SFKD_CASCADE): likewise.
	(SQL_SFKD_NO_ACTION): likewise.
	(SQL_SFKD_SET_DEFAULT): likewise.
	(SQL_SFKD_SET_NULL): likewise.
	(SQL_SFKU_CASCADE): likewise.
	(SQL_SFKU_NO_ACTION): likewise.
	(SQL_SFKU_SET_DEFAULT): likewise.
	(SQL_SFKU_SET_NULL): likewise.
	(SQL_SG_DELETE_TABLE): likewise.
	(SQL_SG_INSERT_COLUMN): likewise.
	(SQL_SG_INSERT_TABLE): likewise.
	(SQL_SG_REFERENCES_COLUMN): likewise.
	(SQL_SG_REFERENCES_TABLE): likewise.
	(SQL_SG_SELECT_TABLE): likewise.
	(SQL_SG_UPDATE_COLUMN): likewise.
	(SQL_SG_UPDATE_TABLE): likewise.
	(SQL_SG_USAGE_ON_CHARACTER_SET): likewise.
	(SQL_SG_USAGE_ON_COLLATION): likewise.
	(SQL_SG_USAGE_ON_DOMAIN): likewise.
	(SQL_SG_USAGE_ON_TRANSLATION): likewise.
	(SQL_SG_WITH_GRANT_OPTION): likewise.
	(SQL_SNVF_BIT_LENGTH): likewise.
	(SQL_SNVF_CHAR_LENGTH): likewise.
	(SQL_SNVF_CHARACTER_LENGTH): likewise.
	(SQL_SNVF_EXTRACT): likewise.
	(SQL_SNVF_OCTET_LENGTH): likewise.
	(SQL_SNVF_POSITION): likewise.
	(SQL_SP_BETWEEN): likewise.
	(SQL_SP_COMPARISON): likewise.
	(SQL_SP_EXISTS): likewise.
	(SQL_SP_IN): likewise.
	(SQL_SP_ISNOTNULL): likewise.
	(SQL_SP_ISNULL): likewise.
	(SQL_SP_LIKE): likewise.
	(SQL_SP_MATCH_FULL): likewise.
	(SQL_SP_MATCH_PARTIAL): likewise.
	(SQL_SP_MATCH_UNIQUE_FULL): likewise.
	(SQL_SP_MATCH_UNIQUE_PARTIAL): likewise.
	(SQL_SP_OVERLAPS): likewise.
	(SQL_SP_QUANTIFIED_COMPARISON): likewise.
	(SQL_SP_UNIQUE): likewise.
	(SQL_SQL_CONFORMANCE): likewise.
	(SQL_SQL92_DATETIME_FUNCTIONS): likewise.
	(SQL_SQL92_FOREIGN_KEY_DELETE_RULE): likewise.
	(SQL_SQL92_FOREIGN_KEY_UPDATE_RULE): likewise.
	(SQL_SQL92_GRANT): likewise.
	(SQL_SQL92_NUMERIC_VALUE_FUNCTIONS): likewise.
	(SQL_SQL92_PREDICATES): likewise.
	(SQL_SQL92_RELATIONAL_JOIN_OPERATORS): likewise.
	(SQL_SQL92_REVOKE): likewise.
	(SQL_SQL92_ROW_VALUE_CONSTRUCTOR): likewise.
	(SQL_SQL92_STRING_FUNCTIONS): likewise.
	(SQL_SQL92_VALUE_EXPRESSIONS): likewise.
	(SQL_SR_CASCADE): likewise.
	(SQL_SR_DELETE_TABLE): likewise.
	(SQL_SR_GRANT_OPTION_FOR): likewise.
	(SQL_SR_INSERT_COLUMN): likewise.
	(SQL_SR_INSERT_TABLE): likewise.
	(SQL_SR_REFERENCES_COLUMN): likewise.
	(SQL_SR_REFERENCES_TABLE): likewise.
	(SQL_SR_RESTRICT): likewise.
	(SQL_SR_SELECT_TABLE): likewise.
	(SQL_SR_UPDATE_COLUMN): likewise.
	(SQL_SR_UPDATE_TABLE): likewise.
	(SQL_SR_USAGE_ON_CHARACTER_SET): likewise.
	(SQL_SR_USAGE_ON_COLLATION): likewise.
	(SQL_SR_USAGE_ON_DOMAIN): likewise.
	(SQL_SR_USAGE_ON_TRANSLATION): likewise.
	(SQL_SRJO_CORRESPONDING_CLAUSE): likewise.
	(SQL_SRJO_CROSS_JOIN): likewise.
	(SQL_SRJO_EXCEPT_JOIN): likewise.
	(SQL_SRJO_FULL_OUTER_JOIN): likewise.
	(SQL_SRJO_INNER_JOIN): likewise.
	(SQL_SRJO_INTERSECT_JOIN): likewise.
	(SQL_SRJO_LEFT_OUTER_JOIN): likewise.
	(SQL_SRJO_NATURAL_JOIN): likewise.
	(SQL_SRJO_RIGHT_OUTER_JOIN): likewise.
	(SQL_SRJO_UNION_JOIN): likewise.
	(SQL_SRVC_DEFAULT): likewise.
	(SQL_SRVC_NULL): likewise.
	(SQL_SRVC_ROW_SUBQUERY): likewise.
	(SQL_SRVC_VALUE_EXPRESSION): likewise.
	(SQL_SSF_CONVERT): likewise.
	(SQL_SSF_LOWER): likewise.
	(SQL_SSF_SUBSTRING): likewise.
	(SQL_SSF_TRANSLATE): likewise.
	(SQL_SSF_TRIM_BOTH): likewise.
	(SQL_SSF_TRIM_LEADING): likewise.
	(SQL_SSF_TRIM_TRAILING): likewise.
	(SQL_SSF_UPPER): likewise.
	(SQL_STANDARD_CLI_CONFORMANCE): likewise.
	(SQL_STATIC_CURSOR_ATTRIBUTES1): likewise.
	(SQL_STATIC_CURSOR_ATTRIBUTES2): likewise.
	(SQL_SU_DML_STATEMENTS): likewise.
	(SQL_SU_INDEX_DEFINITION): likewise.
	(SQL_SU_PRIVILEGE_DEFINITION): likewise.
	(SQL_SU_PROCEDURE_INVOCATION): likewise.
	(SQL_SU_TABLE_DEFINITION): likewise.
	(SQL_SVE_CASE): likewise.
	(SQL_SVE_CAST): likewise.
	(SQL_SVE_COALESCE): likewise.
	(SQL_SVE_NULLIF): likewise.
	(SQL_UB_FIXED): likewise.
	(SQL_UB_VARIABLE): likewise.
	(SQL_UNION_STATEMENT): likewise.
	(SQL_UPDATE_BY_BOOKMARK): likewise.
	(SQL_US_UNION): likewise.
	(SQL_US_UNION_ALL): likewise.
	(SQL_DESC_ROWVER): likewise.
	(SQL_GUID): likewise.
	(SQL_C_GUID): likewise.
	(ODBC_STD): likewise.
	(SQLAllocHandle): likewise.
	(SQLAllocEnv(p)): likewise.
	(SQL_YEAR): likewise.
	(SQL_MONTH): likewise.
	(SQL_DAY): likewise.
	(SQL_HOUR): likewise.
	(SQL_MINUTE): likewise.
	(SQL_SECOND): likewise.
	(SQL_YEAR_TO_MONTH): likewise.
	(SQL_DAY_TO_HOUR): likewise.
	(SQL_DAY_TO_MINUTE): likewise.
	(SQL_DAY_TO_SECOND): likewise.
	(SQL_HOUR_TO_MINUTE): likewise.
	(SQL_HOUR_TO_SECOND): likewise.
	(SQL_MINUTE_TO_SECOND): likewise.
	(SQL_ATTR_ANSI_APP): likewise.
	(SQL_AA_TRUE): likewise.
	(SQL_AA_FALSE): likewise.

	* include/sqltypes.h (#pragma pack(push,1), #pragma pack(pop)): remove.
	(struct tagSQL_YEAR_MONTH): add for ODBC3.x.
	(struct tagSQL_DAY_SECOND): likewise.
	(struct	tagSQL_INTERVAL_STRUCT): likewise.
	(struct tagSQL_NUMERIC_STRUCT): likewise.
	(struct tagSQLGUID): add for 0DBC3.50.
	(enum SQLINTERVAL): add for ODBC3.x.
	(SQLWCHAR): add typedef.
	(SQLTCHAR): add typedef, conditional on UNICODE.
	(SQLLEN): add typedef for _WIN64, define for _WIN32.
	(SQLULEN): likewise.
	(SQLROWOFFSET): likewise.
	(SQLROWCOUNT): likewise.
	(SQLTRANSID): likewise.
	(SQLSETPOSIROW): likewise.
	(SQLHANDLE): add ODBC3.x typedef.
	(SQLHDESC): likewise.
	(SQLDATE): likewise.
	(SQLDECIMAL): likewise.
	(SQLDOUBLE): likewise.
	(SQLFLOAT): likewise.
	(SQLNUMERIC): likewise.
	(SQLREAL): likewise.
	(SQLTIME): likewise.
	(SQLTIMESTAMP): likewise.
	(SQLVARCHAR): likewise.
	(SQLBIGINT): likewise.
	(SQLUBIGINT): likewise.
	(SQL_DATE_STRUCT): likewise.
	(SQL_TIME_STRUCT): likewise.
	(SQL_TIMESTAMP_STRUCT): likewise.
	(ODBCINT64): add ODBC3.x define.

	* lib/odbc32.def : regenerate.
2001-01-28 16:21:01 +00:00
Earnie Boyd 7646d1a111 * Apply Danny Smith patch 102275
2000-11-05  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
	* include/objbase.h: (COM_RIGHTS): Add definition.
	(tagSTDMSHLFLAGS): add enumeration.
	(CoInitializeEx): Add prototypes.
	(CoGetStdMarshalEx): ditto.
	(CoCreateInstanceEx): ditto.
	(CoInitializeSecurity): ditto.
	(CoGetCallContext): ditto.
	(CoQueryProxyBlanket): ditto.
	(CoSetProxyBlanket): ditto.
	(CoCopyProxy): ditto.
	(CoQueryClientBlanket): ditto.
	(CoImpersonateClient): ditto.
	(CoRevertToSelf): ditto.
	(CoQueryAuthenticationServices): ditto.
	(CoSwitchCallContext): ditto.
	(CoGetInstanceFromFile): ditto.
	(CoGetInstanceFromIStorage): ditto.
	* include/objidl.h: (SOLE_AUTHENTICATION_SERVICE): Add structure.
	(SOLE_AUTHENTICATION_INFO): ditto.
	(EOLE_AUTHENTICATION_CAPABILITIES): Add enumeration.
	(COLE_DEFAULT_PRINCIPAL): Add definition.
	(COLE_DEFAULT_AUTHINFO): Ditto.
	* include/rpcdce.h: (RPC_C_AUTHZ_DEFAULT): Add definition.
	(RPC_PROTSEQ_VECTOR) Fix typo.
	(RpcRaiseException): add DECLSPEC_NORETURN attribute.
	* include/winbase.h: (FreeLibraryAndExitThread): add DECLSPEC_NORETURN
	attribute.
2001-01-26 21:05:20 +00:00
Earnie Boyd bfa15b05e8 * lib/msvcp60.def: New file 2001-01-26 18:39:58 +00:00
Christopher Faylor 046fcbed3b * include/winnt.h: Add PTOKEN_USER. 2001-01-26 16:35:17 +00:00
Earnie Boyd 48e952a687 * include/sqlucode.h: Apply Danny Smith patch 102443
2000-11-20  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
	New file.
2001-01-16 19:02:04 +00:00
Earnie Boyd 4ba2b1898c * lib/odbccp32.def: Apply Danny Smith patch 102442
2000-11-20  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
	New file.
2001-01-16 18:41:48 +00:00
Earnie Boyd 8a5edc3613 * include/odbcinst.h: Apply Danny Smith patch 102441
2000-11-20  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
	New file.
2001-01-16 18:23:52 +00:00
Christopher Faylor 45eb603342 missed a spot. 2000-12-25 17:49:36 +00:00
Christopher Faylor 446760ac78 * lib/Makefile.in: Don't make "links" to include/w32api directory. 2000-12-25 17:23:29 +00:00
Corinna Vinschen e625e1b99e * include/winbase.h: Add prototype for SetSecurityDescriptorControl. 2000-12-20 12:36:28 +00:00
Christopher Faylor 772231a055 * lib/Makefile.in: Install headers and libraries in tooldir. 2000-12-11 18:14:15 +00:00
Earnie Boyd 48ba505b8b * include/winnls.h: NORM_IGNORE* remove duplicate defines.
SORT_STRINGSORT: ditto.
	CMAP*: ditto.
	CTRY_*: add new defines.
	LGRPID_*: ditto.
	LCMAP*: change defines to hex notation.
	CALID: change from ULONG to DWORD.
	CALTYPE: ditto.
	_cpinfoex[AW]: add structure.
	FoldString: correct Unicode mappings.
	GetCPInfoEx[AW]: add prototypes.
	EnumCalendarInfoEx[AW]: ditto.
	EnumDateFormatsEx[AW]: ditto.
	EnumSystemLanguageGroups[AW]: ditto.
	EnumLanguageGroupLocales[AW]: ditto.
	EnumUILanguages[AW]: ditto.
	GetSystemDefaultUILanguage[AW]: ditto.
	GetUserDefaultUILanguage[AW]: ditto.
	IsValidLanguageGroup[AW]: ditto.
	CALINFO_ENUMPROCEX[AW]: add function pointer typedef
	LANGUAGEGROUP_ENUMPROC[AW]: ditto
	LANGGROUPLOCALE_ENUMPROC[AW]: ditto
	UILANGUAGE_ENUMPROC[AW]: ditto
	DATEFMT_ENUMPROCEX[AW]: ditto
	LPCURRENCYFMT[AW]: add structure pointer typedef
	LPNUMBERFMT[AW]: ditto

	* ChangeLog: Correct entry by Matt Hargett to include file name.
2000-12-05 17:26:01 +00:00
Corinna Vinschen 96963a1423 * Added a define for INVALID_SET_FILE_POINTER, a possible return
code for the SetFilePointer() win32 API call.
2000-12-05 08:53:45 +00:00
Corinna Vinschen 65e0f5ebc2 * include/winnt.h: Add missing FILE_NAMED_STREAMS define. 2000-11-22 21:27:36 +00:00
Earnie Boyd 014b820a0d * Makefile.in: increment VERSION.
(dist:) Rename to srcdist.  Create new dist target to call
	srcdist and bindist targets.
	(srcdist:) New target.
	(clean-top:) add call to mostlyclean-top and add rm of distribution
	tarballs.
	* lib/Makefile.in: (uninstall:) modify to remove files from the
	new w32api subdirectory and to remove w32api subdirectory.
	(xuninstall:) Ditto.
	TODO: Add a task to redo the clean targets of Makefile.in
2000-11-06 16:17:16 +00:00
Christopher Faylor 46209564d4 * lib/Makefile.in: Install header files in w32api subdirectory. 2000-11-04 02:51:36 +00:00
Earnie Boyd cb08a6c1a0 * CONTRIBUTIONS: New file.
* README: Change the maintained by header.
	* TODO: Add a note about checking the TODO.
2000-11-01 01:22:08 +00:00
Earnie Boyd baf428f0d5 * include/basetyps.h: add comment for GUID_DEFINED
* include/lm.h: add includes for lmerr.h and lmserver.h
	* include/lmcons.h: add W2K typedefs LMSTR, LMCSTR
	* include/lmerr.h:  add error codes
	* include/lmserver.h: replace LPTSTR with LPWSTR,
	LPTCSTR with LPWCSTR in structures and prototypes
	* include/lmshare.h: ditto
	* include/lmuse.h: ditto
	* include/lmstats.h: ditto
	* include/oleauto.h: add function prototype SystemTimeToVariantTime
	* include/winbase.h: change first argument of CommConfigDialog to const
	* include/windowsx.h: add macros  defining FAR versions of
	mem and string functions for porting from Win16 code
	* include/winioctl.h:  added IOCTL_STORAGE defines
	* include/winnetwk.h:  added WNNC_NET flags
	* include/winnt.h: add include of <basetsd.h>;
	add structs; add pointer typedefs  for TOKEN structs
	* include/winsock.h: add guard around BSD-ish typedefs
	* include/wtypes.h: new VARENUM enums, new WIN32/WIN64 compat. macros
	* include/basetsd.h: new file
	* include/raserror.h: ditto
	* include/rassapi.h: ditto
	* include/ras.h: ditto
	comment from Earnie: replaced original ras.h contribution with Danny's
	contribution as it is more complete.
	* include/rpcndr.h: add default definition for __RPCNDR_H_VERSION__
2000-11-01 00:37:23 +00:00
Christopher Faylor 0b1eab2764 Makefile.in shuffle. 2000-10-20 04:39:21 +00:00
Earnie Boyd 74266a0fee * Makefile.in: increment VERSION. Change tar file name for dist and
bindist targets to be more standard.
	* config.guess: Update with the currently published file.
	* config.sub: ditto.
	* configure.in: Use value of build_alias instead of testing for
	directory names to set BUILDENV.
	* configure: ditto.
	* lib/Makefile.in: Change the name of the targets install,
	install-headers and install-libraries to xinstall, xinstall-headers
	and xinstall-libraries for system target specified installation.
	Recreate targets install, install-headers and install-libraries for
	exec-prefix specified installation.  Ditto for the uninstall targets of
	the same name.
2000-10-19 20:56:51 +00:00
Earnie Boyd 19d9e89b4a * Makefile.in: increment VERSION. Change tar file name for dist and
bindist targets to be more standard.
	* config.guess: Update with the currently published file.
	* config.sub: ditto.
	* configure.in: Use value of build_alias instead of testing for
	directory names to set BUILDENV.
	* configure: ditto.
	* lib/Makefile.in: Change the name of the targets install,
	install-headers and install-libraries to xinstall, xinstall-headers
	and xinstall-libraries for system target specified installation.
	Recreate targets install, install-headers and install-libraries for
	exec-prefix specified installation.  Ditto for the uninstall targets of
	the same name.
2000-10-19 20:56:50 +00:00
Corinna Vinschen b9e7a2b666 * include/iprtrmib.h: Further layout changes according to standard.
* include/iptypes.h: Ditto.
        * include/ntdef.h: Ditto.
        * include/ntsecapi.h: Ditto.
        * include/subauth.h: Ditto.
2000-10-09 09:51:46 +00:00
Corinna Vinschen 4b5970ab89 * include/ntsecapi.h: Fix PLSA_UNICODE_STRING define. 2000-10-09 09:34:04 +00:00
Corinna Vinschen d81311a800 I forgot 'iprtrmib.h' in the ChangeLog 2000-10-09 09:19:57 +00:00
Corinna Vinschen 65bb926f51 * include/ntsecapi.h: New file.
* include/subauth.h: Ditto.
        * include/ipexport.h: Fix global header define not to contain
        trailing underscore. Change layout according to standard.
        * include/iphlpapi.h: Ditto.
        * include/ipifcons.h: Ditto.
        * include/iptypes.h: Ditto.
        * include/ntdef.h: Ditto. Define conditional datatypes dependent
        of inclusion of ntdecapi.h and subauth.h.
        * lib/secur32.def: New stub for secur32.dll.
2000-10-08 16:55:29 +00:00
Corinna Vinschen 63c05d8ce7 * include/ras.h: New file.
* lib/rasapi32.def: Add symbols for RasEnumDevicesA and
        RasEnumDevicesW.
2000-10-02 09:19:14 +00:00
Corinna Vinschen 7041211c58 * include/ntdef.h: Add define for NTAPI. 2000-10-02 09:09:38 +00:00
Corinna Vinschen 5b4db83881 * include/ipexport.h: Add missing `extern "C"' directives.
* include/iphlpapi.h: Ditto.
        * include/iprtrmib.h: Ditto.
        * include/iptypes.h: Ditto.
2000-10-01 21:57:57 +00:00
Corinna Vinschen a86ea17b8a * include/ipifcons.h: New header file.
* include/iprtrmib.h: Move operational states to ipifcons.h.
        * include/iphlpapi.h: Add missing parameters to GetIfTable()
        declaration.
2000-10-01 20:09:53 +00:00
Corinna Vinschen d6ced52274 * include/iprtrmib.h: Add missing MIB_IF_OPER_STATUS_xxx definitions. 2000-10-01 14:32:24 +00:00
Corinna Vinschen 7d278f3da3 * lib/iphlpapi.def: New stub for iphlpapi.dll.
* include/iptypes.h: New header file.
        * include/ipexport.h: Ditto.
        * include/iphlpapi.h: Ditto.
        * include/iprtrmib.h: Ditto.
2000-10-01 14:22:14 +00:00
Corinna Vinschen a5e8da40eb * include/ntdef.h: New file. 2000-10-01 00:55:42 +00:00
Corinna Vinschen 5422433943 * include/winnt.h:Add enums for TokenRestrictedSids and TokenSessionId
to TOKEN_INFORMATION_CLASS type.
Add QUOTA_LIMITS type.
2000-08-19 00:20:00 +00:00
Corinna Vinschen 5678e1954a * include/userenv.h: New header file.
* lib/userenv.def: New stub for userenv.dll.
2000-08-08 20:00:35 +00:00
Christopher Faylor 0e882d4f29 * include/winuser.h: Correct PCWPSTRUCT typo.
(discovered by Axel Riese)
2000-08-08 14:30:54 +00:00
Corinna Vinschen b1b8c65b31 Added missing ChangeLog entry. 2000-07-27 18:30:57 +00:00
DJ Delorie d0b178fe3a * testsuite/winsup.api/winsup.exp: ignore stdout by default
* testsuite/winsup.api/crlf.c: non-verbose by default

* winsup.h: prune out windows headers we don't normally need
* assert.cc: add wingdi.h and winuser.h
* fhandler_console.cc: ditto
* fhandler_windows.cc: ditto
* select.cc: ditto
* spawn.cc: ditto
* strace.cc: ditto
* tty.cc: ditto
* window.cc: ditto
* hinfo.cc: add winsock.h
* syscalls.cc: add winnls.h
* uinfo.cc: ditto

* include/windows.h: optimize non-inclusion of repeat headers
2000-07-27 17:30:51 +00:00
Corinna Vinschen 4c02a6ab9c * include/winnt.h: Add missing typedefs for PTOKEN_SOURCE and
LPTOKEN_SOURCE.
2000-07-21 10:11:57 +00:00
DJ Delorie 1ff7263eb9 * include/shlobj.h: add CSIDL_COMMON_* 2000-07-11 17:33:48 +00:00
Corinna Vinschen 666b9d7bb8 * include/winbase.h: Add stream ids BACKUP_OBJECT_ID,
BACKUP_REPARSE_DATA and BACKUP_SPARSE_BLOCK.
        Add file open flags FILE_FLAG_OPEN_REPARSE_POINT and
        FILE_FLAG_OPEN_NO_RECALL.
        * winioctl.h: Add device io control codes FSCTL_GET_REPARSE_POINT,
        FSCTL_SET_REPARSE_POINT and FSCTL_DELETE_REPARSE_POINT.
        * winnt.h: Add typedef for GUID.
        Add file attributes FILE_ATTRIBUTE_ENCRYPTED,
        FILE_ATTRIBUTE_SPARSE_FILE, FILE_ATTRIBUTE_REPARSE_POINT and
        FILE_ATTRIBUTE_NOT_CONTENT_INDEXED.
        Add volume attributes FILE_VOLUME_QUOTAS, FILE_SUPPORTS_SPARSE_FILES,
        FILE_SUPPORTS_REPARSE_POINTS, FILE_SUPPORTS_REMOTE_STORAGE,
        FILE_SUPPORTS_OBJECT_IDS and FILE_SUPPORTS_ENCRYPTION.
        Add several reparse point defines and typedefs for REPARSE_DATA_BUFFER,
        REPARSE_GUID_DATA_BUFFER and REPARSE_POINT_INFORMATION.
        * lib/psapi.def: New file.
2000-06-27 18:21:31 +00:00
Christopher Faylor 42030c97d7 * rpcdce.h: Protect OPTIONAL definition since it may be (legally) previously
defined.
* windef.h : Ditto.
2000-06-22 18:37:31 +00:00
Christopher Faylor df031c83f4 * include/winnt.h: Add some missing defines related to locale identifiers.
Translate values of LANG_* and SUBLANG_* into hexadecimal.
2000-06-14 20:33:31 +00:00
Corinna Vinschen 3a26e0cbed * include/wincrypt.h: Add missing CRYPT_MACHINE_KEYSET define. 2000-05-27 13:59:33 +00:00
Corinna Vinschen f55f400b2d * include/winnt.h: Add some missing TAPE_DRIVE_* defines. 2000-05-18 09:39:33 +00:00
Christopher Faylor 3cac739aca Add another INTERNET_OPTION. 2000-04-26 15:04:53 +00:00
Mumit Khan 8017cc0edd 2000-04-25 Mumit Khan <khan@xraylith.wisc.edu>
* include/winspool.h: Add 2 more PRINTER_ATTRIBUTE_* macros.
2000-04-25 19:22:31 +00:00
Mumit Khan 84364d972c 2000-04-25 Martin Kotulla <martin-k@softmaker.de>
* include/ddeml.h (DdeCreateStringHandle{A,W}): Fix prototype.
	* include/shlobj.h (IShellLink{A,W}::GetPath): Fix prototype.
	* include/wingdi.h: Add LPFNDEVMODE and LPFNDEVCAPS callbacks.
	* include/winuser.h: Add WM_* macros. Add PCOPYDATASTRUCT typedef.
2000-04-25 19:13:51 +00:00
Christopher Faylor caa8b1ca9b * include/winbase.h: Change first argument of ENUMRES* types to coincide with
Microsoft usage.
2000-04-11 12:51:58 +00:00
Christopher Faylor c90d7012d3 * include/wininet.h: Add three more "INTERNET_OPTIONS". 2000-04-02 01:52:38 +00:00
Mumit Khan 152e16e798 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
* include/winbase.h (CreateHardLink{A,W}): Add prototypes.
	* include/winerror.h (ERROR_TOO_MANY_LINKS): Add macro.
	* include/winnt.h (SEC_*): Add macros.
	* lib/th32.def: Use Kernel32.dll instead of TH32.DLL.
2000-03-30 06:10:11 +00:00
Mumit Khan f36f4868d1 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
* include/ole.h: Workaround for C++ parser bug.
	* include/rpcdcep.h: Likewise.
	* include/winsock.h: Likewise.
2000-03-30 06:08:58 +00:00
Christopher Faylor 1bee0008e6 * include/winnt.h: Eliminate duplicate PCONTEXT and LPCONTEXT typedefs. 2000-03-26 19:24:12 +00:00
Mumit Khan adbc0b0aa7 2000-02-28 Mumit Khan <khan@xraylith.wisc.edu>
* include/largeint.h: Rename HAVE_INT64 macro to _HAVE_INT64 to avoid
	namespace pollution.
	* include/rpcndr.h: Likewise.
	* include/winnt.h: Likewise.
2000-02-29 03:16:14 +00:00
Mumit Khan 1756811b99 2000-02-28 Mumit Khan <khan@xraylith.wisc.edu>
Patches from Jan Nijtmans <j.nijtmans@chello.nl>:
	* include/wtypes.h (PBLOB, LPBLOB): Define.
	* include/winsock2.h: Much more complete version.
	(FD_SET, SOMAXCONN): Protect common macros defined by winsock.h.
2000-02-29 03:14:40 +00:00
Mumit Khan bb76eb243f 2000-02-28 Mumit Khan <khan@xraylith.wisc.edu>
Patches from Jan Nijtmans <j.nijtmans@chello.nl>:
	* include/winsock.h (FD_CLR): Add missing ')'.
	(timercmp): Fix macro to handle all 6 comparison operators.
	(AF_FIREFOX, AF_UNKNOWN1, AF_BAN, AF_ATM, AF_INET6): Define.
	(AF_MAX): Update.
	(PF_FIREFOX, PF_UNKNOWN1, PF_BAN, PF_ATM, PF_INET6): Define.
2000-02-29 03:13:40 +00:00
Mumit Khan 977ee8850d 2000-02-28 Mumit Khan <khan@xraylith.wisc.edu>
* include/largeint.h: Rename HAVE_INT64 macro to _HAVE_INT64 to avoid
	namespace pollution.
	* include/rpcndr.h: Likewise.
	* include/winnt.h: Likewise.
2000-02-29 03:11:06 +00:00
Mumit Khan 393aa11bce 2000-02-28 Mumit Khan <khan@xraylith.wisc.edu>
* include/shlobj.h (SHGetDataFromIDList{A,W}): Fix typo.
	(SHGetSpecialFolderPath{A,W}): Add prototypes.
2000-02-29 03:10:04 +00:00
Mumit Khan b37e557227 2000-02-28 Mumit Khan <khan@xraylith.wisc.edu>
* lib/ole32.def: Add missing exports.
2000-02-29 03:08:37 +00:00
Mumit Khan 6dc88be7da 2000-02-28 Mumit Khan <khan@xraylith.wisc.edu>
* include/winbase.h (TLS_MINIMUM_AVAILABLE): Move macro from here
	* include/winnt.h (TLS_MINIMUM_AVAILABLE): to here.
	(NT_TIB): Define.
	* include/tlhelp32.h: New file.
2000-02-29 03:07:07 +00:00
Christopher Faylor 9fbcd67ebc * include/rapi.h: New file.
* lib/rapi.def: New file.
2000-02-28 22:09:56 +00:00
Christopher Faylor 7408c24343 Adhere to w32api copyright conventions. 2000-02-24 18:04:23 +00:00
Christopher Faylor 1fd5e000ac import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
Christopher Faylor 369d8a8fd5 import winsup-2000-02-17 snapshot 2000-02-17 19:38:31 +00:00