Commit Graph

845 Commits

Author SHA1 Message Date
Dimitri Papadopoulos d0ede583ee * include/winbase.h [_WIN32_WINNT >= 0x0501]
(CheckRemoteDebuggerPresent, DebugActiveProcessStop, DebugBreakProcess,
	DebugSetProcessKillOnExit): Add functions.

	* include/winbase.h [_WIN32_WINNT >= 0x0500] (DeleteTimerQueue,
	DeleteTimerQueueEx, DeleteTimerQueueTimer,
	DnsHostnameToComputerName[AW]): Add functions.

	* lib/user32.def (CheckRemoteDebuggerPresent, DebugActiveProcessStop,
	DebugBreakProcess, DebugSetProcessKillOnExit, DeleteTimerQueueEx,
	DeleteTimerQueueTimer, DnsHostnameToComputerName[AW]): Add functions.
2003-10-07 07:14:53 +00:00
Dimitri Papadopoulos b2608a4378 * include/winbase.h (GetVolumePathNamesForVolumeName): Available
on Windows XP and later.
2003-10-07 05:54:53 +00:00
Dimitri Papadopoulos 85c50f7194 * include/commctrl.h (TreeView_Select): Returns BOOL. 2003-10-07 05:41:46 +00:00
Dimitri Papadopoulos d645cc8736 * include/winbase.h (CancelDeviceWakeupRequest): Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
	(CreateMemoryResourceNotification, DeactivateActCtx): Add functions.

	* include/winbase.h [_WIN32_WINNT >= 0x0500] (CreateTimerQueue,
	CreateTimerQueueTimer): Add function.

	* include/winbase.h [_WIN32_WINNT >= 0x0501]
	(MEMORY_RESOURCE_NOTIFICATION_TYPE): Add enumeration.

	* include/winbase.h [_WIN32_WINNT >= 0x0501]
	(DEACTIVATE_ACTCTX_FLAG_FORCE_EARLY_DEACTIVATION): Add constant.

	* include/winnt.h (WT_*): Add constants.

	* lib/user32.def (CancelDeviceWakeupRequest,
	CreateMemoryResourceNotification, CreateTimerQueueTimer,
	DeactivateActCtx): Add functions.
2003-10-06 12:33:32 +00:00
Dimitri Papadopoulos 16640527a7 * include/winbase.h [_WIN32_WINNT >= 0x0400] (ConvertFiberToThread):
Add function. Sometimes I don't understand MSDN. This function is
	available on Windows XP and Server 2003, but the SDK is supposed to
	make it available when _WIN32_WINNT >= 0x0400, or so says the MSDN.
	Mmmh...

	* include/winbase.h [_WIN32_WINNT >= 0x0400] (CreateFiberEx):
	Guard function. Same remark as above.

	* lib/user32.def (ConvertFiberToThread, CreateFiberEx):
	Add functions.
2003-10-06 10:00:31 +00:00
Dimitri Papadopoulos a61556238e * include/winbase.h [_WIN32_WINNT >= 0x0501] (ACTCTX_FLAG_*):
Add constants.

	* include/winbase.h [_WIN32_WINNT >= 0x0501] (ACTCTX[AW]): Add
	structures.

	* include/winbase.h [_WIN32_WINNT >= 0x0501] (ActivateActCtx): Add
	function. MSDN says the first argument is HACTCTX but I'm not sure
	where such a specialized handle is defined, so use HANDLE instead.

	* include/winbase.h [_WIN32_WINNT >= 0x0501] (AttachConsole,
	CheckNameLegalDOS8Dot3[AW]): Add functions.

	* lib/user32.def (ActivateActCtx, AttachConsole,
	CheckNameLegalDOS8Dot3[AW]): Add functions.

	* lib/user32.def (AddLocalAlternateComputerName[AW]): Add functions.
	Unfortunately I don't know which header to put the declarations in.
2003-10-06 09:45:59 +00:00
Dimitri Papadopoulos 928bc4d571 * include/winnls.h (CTRY_KYRGYZSTAN, CTRY_MALDIVES, CTRY_MONGOLIA):
Add constants.

	* include/winnls.h (NLS_FUNCTION, SYSGEOCLASS, SYSGEOTYPE): Add
	constants for National Language Support.

	* include/winnls.h (NLSVERSIONINFO): Add structure for National
	Language Support.

	* include/winnls.h (GEO_ENUMPROC): Add callback for National
	Language Support.

	* include/winnls.h (EnumSystemGeoID, GetCalendarInfo[AW],
	GetGeoInfo[AW], GetUserGeoID, SetCalendarInfo[AW], SetUserGeoID):
	Add functions.

	* include/winnls.h (IsNLSDefinedString, GetNLSVersion): Add
	functions. Strange... I am unable to find which library contains
	these functions. Can't find anything with pexports. Any clue?

	* lib/user32.def (EnumSystemGeoID, GetGeoInfo[AW], GetUserGeoID,
	SetUserGeoID): Add functions.
2003-10-06 09:02:04 +00:00
Dimitri Papadopoulos 971a485f99 * include/winnt.h (LANG_KYRGYZ, LANG_MONGOLIAN, LANG_GALICIAN,
LANG_SYRIAC, LANG_INVARIANT, SUBLANG_KASHMIRI_SASIA): Add constants.

	* include/winnt.h (SUBLANG_AZERI_LATIN, SUBLANG_AZERI_CYRILLIC,
	SUBLANG_ENGLISH_ZIMBABWE, SUBLANG_ENGLISH_PHILIPPINES): Fix wrong
	value for constants.
2003-10-06 06:47:41 +00:00
Dimitri Papadopoulos 083817a45b * include/wincrypt.h (KP_SCHANNEL_ALG): Add constant. Specifying
the algorithms.
2003-10-03 12:14:13 +00:00
Dimitri Papadopoulos f9cb5fcec4 * include/wincrypt.h (SCHANNEL_MAC_KEY, SCHANNEL_ENC_KEY,
INTERNATIONAL_USAGE): Add constants. Specifying the Algorithms
2003-10-03 12:11:04 +00:00
Dimitri Papadopoulos 37b6c4adc5 * include/wincrypt.h (CRYPT_FLAGS_*): Add constants. Protocol flags. 2003-10-03 12:06:05 +00:00
Dimitri Papadopoulos 8e14117566 * include/wincrypt.h (KP_*): Add constants. Needed by
CryptSetKeyParam() and other functions.
2003-10-03 12:04:02 +00:00
Dimitri Papadopoulos b9c5ea438c * include/winuser.h [_WIN32_WINNT >= 0x0501] (EVENT_*, CONSOLE_*):
Add constants, related to Console Accessibility.
2003-10-03 11:38:07 +00:00
Dimitri Papadopoulos 4fd4d446d6 * include/winuser.h [WINVER >= 0x0500] (EVENT_MAX): Ooops...
wrong value for constant.
2003-10-03 10:29:16 +00:00
Dimitri Papadopoulos ba4ad171e6 * include/winuser.h [WINVER >= 0x0500] (EVENT_*): Add constants.
* include/uxtheme.h: Cleanup.
	* include/tmschema.h: Cleanup.
2003-10-03 10:27:27 +00:00
Luke Dunstan db0d31d13e 2003-10-02 Luke Dunstan <infidel@users.sourceforge.net>
* include/winspool.h (GetDefaultPrinter[AW]): Add functions.
	* lib/winspool.def (GetDefaultPrinter[AW]): Add stubs.
2003-10-02 02:39:43 +00:00
Danny Smith 334117a940 * include/winnt.h (INVALID_FILE_ATTRIBUTES): Fix define. 2003-10-01 21:40:43 +00:00
Danny Smith 4d36c543ea * include/winuser.h (BSF_*, BSM_*): Sync constants defined in
both winuser.h and dbt.h.
	* include/dbt.h (BSF_*, BSM_*): Likewise.

	* include/winuser.h (struct tagRAWINPUT): Remove
	_ANONYMOUS_UNION tag from named union.
	(struct tagRAWMOUSE): Add _ANONYMOUS_STRUCT to nameless struct.
2003-09-30 07:51:26 +00:00
Dimitri Papadopoulos 684f94e305 * include/dhcpcsvc.h: New file.
Note that MSDN is confused about whether it should start constant
	and structure names with DHCPCAPI or DHCPAPI. It's using both but
	experience suggests it's DHCPCAPI with `C'.

	* lib/dhcpcsvc.def: New file.
2003-09-30 07:40:46 +00:00
Dimitri Papadopoulos e7e4107e39 * include/winuser.h [_WIN32_WINNT >= 0x0501] (RIM_INPUT,
RIM_INPUTSINK): Add constants, for use by WM_INPUT notification.

	* include/winuser.h [_WIN32_WINNT >= 0x0501] (RIDEV_REMOVE,
	RIDEV_EXCLUDE, RIDEV_PAGEONLY, RIDEV_NOLEGACY, RIDEV_INPUTSINK,
	RIDEV_CAPTUREMOUSE, RIDEV_NOHOTKEYS, RIDEV_APPKEYS): Add constants,
	for use in RAWINPUTDEVICE.

	* include/winuser.h [_WIN32_WINNT >= 0x0501]
	(GetRawInputDeviceInfo[AW]): Ooops... there are
	ANSI/Unicode versions of this function.

	* lib/user32.def (GetRawInputDeviceInfo[AW]): Ooops... there
	are ANSI/Unicode versions of this function.
2003-09-30 06:57:46 +00:00
Dimitri Papadopoulos 37048d3df7 * include/winuser.h [_WIN32_WINNT >= 0x0501] (RIM_TYPEMOUSE,
RIM_TYPEKEYBOARD, RIM_TYPEHID, MOUSE_MOVE_RELATIVE,
	MOUSE_MOVE_ABSOLUTE, MOUSE_VIRTUAL_DESKTOP,
	MOUSE_ATTRIBUTES_CHANGED, RI_MOUSE_LEFT_BUTTON_DOWN,
	RI_MOUSE_LEFT_BUTTON_UP, RI_MOUSE_RIGHT_BUTTON_DOWN,
	RI_MOUSE_RIGHT_BUTTON_UP, RI_MOUSE_MIDDLE_BUTTON_DOWN,
	RI_MOUSE_MIDDLE_BUTTON_UP, RI_MOUSE_BUTTON_1_DOWNT_BUTTON_DOWN,
	RI_MOUSE_BUTTON_1_UP, RI_MOUSE_BUTTON_2_DOWNHT_BUTTON_DOWN,
	RI_MOUSE_BUTTON_2_UP, RI_MOUSE_BUTTON_3_DOWNDLE_BUTTON_DOWN,
	RI_MOUSE_BUTTON_3_UP, RI_MOUSE_BUTTON_4_DOWN,
	RI_MOUSE_BUTTON_4_UP, RI_MOUSE_BUTTON_5_DOWN,
	RI_MOUSE_BUTTON_5_UP, RI_MOUSE_WHEEL, KEYBOARD_OVERRUN_MAKE_CODE,
	RI_KEY_MAKE, RI_KEY_BREAK, RI_KEY_E0, RI_KEY_E1,
	RI_KEY_TERMSRV_SET_LED, RI_KEY_TERMSRV_SHADOW, RID_INPUT,
	RID_HEADER, RIDI_PREPARSEDDATA, RIDI_DEVICENAME,
	RIDI_DEVICEINFO): Add constants.

	* include/winuser.h [_WIN32_WINNT >= 0x0501] (RAWINPUTHEADER,
	RAWMOUSE, RAWKEYBOARD, RAWHID, RAWINPUT, RAWINPUTDEVICE,
	RAWINPUTDEVICELIST): Add structures.

	* include/winuser.h [_WIN32_WINNT >= 0x0501] (DefRawInputProc,
	GetRawInputBuffer, GetRawInputData, GetRawInputDeviceInfo,
	GetRawInputDeviceList, GetRegisteredRawInputDevices): Add functions.

	* lib/user32.def (DefRawInputProc, GetRawInputBuffer,
	GetRawInputData, GetRawInputDeviceInfo, GetRawInputDeviceList,
	GetRegisteredRawInputDevices): Add functions.
2003-09-29 08:54:50 +00:00
Dimitri Papadopoulos 349a6402fe * include/winable.h (BlockInput): Add function.
* include/winable.h (WS_ACTIVECAPTION): Add constant.
	For use with WINDOWINFO structure.

	* include/winuser.h [_WIN32_WINNT >= 0x0500] (LockWorkStation):
	Add function.

	* include/winuser.h [_WIN32_WINNT >= 0x0501] (IsWinEventHookInstalled):
	Add function.

	* include/winuser.h [WINVER >= 0x0500] (UnhookWinEvent):
	Add function...

	* include/winable.h [WINVER < 0x0500] (UnhookWinEvent):
	...and duplicate.

	* include/winuser.h [_WIN32_WINNT >= 0x0403] (SendInput):
	Guard function...

	* include/winable.h [_WIN32_WINNT < 0x0403] (SendInput):
	...and duplicate.

	* include/winuser.h [WINVER >= 0x0500] (NotifyWinEvent):
	Guard function...

	* include/winable.h [WINVER < 0x0500] (NotifyWinEvent):
	...and duplicate.

	* include/winuser.h [WINVER >= 0x0500] (MOUSEINPUT, KEYBDINPUT,
	HARDWAREINPUT, INPUT): Guard structures...

	* include/winable.h [WINVER < 0x0500] (MOUSEINPUT, KEYBDINPUT,
	HARDWAREINPUT, INPUT): ...and duplicate.

	* include/winuser.h [_WIN32_WINNT >= 0x0403] (INPUT_MOUSE,
	INPUT_KEYBOARD, INPUT_HARDWARE): Guard constants...

	* include/winable.h [_WIN32_WINNT < 0x0403] (INPUT_MOUSE,
	INPUT_KEYBOARD, INPUT_HARDWARE): ...and duplicate.

	* include/winuser.h: Move around some lines. Reformat according
	to recommended or dominant style. Remove FAR keyword.

	* include/winable.h: Move around some lines.

	* lib/user32.def (BlockInput, IsWinEventHookInstalled,
	LockWorkStation, UnhookWinEvent): Add functions.
2003-09-26 14:46:33 +00:00
Dimitri Papadopoulos b6c1b88ad4 * include/winuser.h [_WIN32_WINNT >= 0x0501] (PrintWindow,
PW_CLIENTONLY): Add function and constant.

	* lib/user32.def (PrintWindow): Add function.
2003-09-26 10:41:23 +00:00
Dimitri Papadopoulos 46ffaf5071 * include/winuser.h (RealGetWindowClassA[AW]): Add function.
* lib/user32.def (RealGetWindowClassA[AW]): Add function.
2003-09-26 10:31:43 +00:00
Dimitri Papadopoulos 2bbffa5b85 * include/winuser.h [WINVER >= 0x0500] (RegisterDeviceNotification[AW],
DEVICE_NOTIFY_WINDOW_HANDLE, DEVICE_NOTIFY_SERVICE_HANDLE,
	DEVICE_NOTIFY_ALL_INTERFACE_CLASSES): Add function and constants.

	* lib/user32.def (RegisterDeviceNotification[AW]): Add function.
2003-09-26 10:20:46 +00:00
Dimitri Papadopoulos d7a6ce1ab5 * include/winuser.h [WINVER >= 0x0500] (SetWinEventHook, WINEVENTPROC,
WINEVENT_OUTOFCONTEXT, WINEVENT_SKIPOWNTHREAD, WINEVENT_SKIPOWNPROCESS,
	WINEVENT_INCONTEXT): Add function, typedef, and constants.

	* include/winable.h [WINVER < 0x0500] (SetWinEventHook, WINEVENTPROC,
	WINEVENT_OUTOFCONTEXT, WINEVENT_SKIPOWNTHREAD, WINEVENT_SKIPOWNPROCESS,
	WINEVENT_INCONTEXT): Add function, typedef, and constants.

	* include/winuser.h [_WIN32_WINNT >= 0x0500] (UserHandleGrantAccess):
	Add function.

	* lib/user32.def (SetWinEventHook, UserHandleGrantAccess):
	Add functions.
2003-09-26 09:49:52 +00:00
Dimitri Papadopoulos 8ff4b3513d * include/winnt.h (ACE_INHERITED_OBJECT_TYPE_PRESENT,
ACE_OBJECT_TYPE_PRESENT): Add constants. For use with
	OBJECTS_AND_NAME structure.
2003-09-26 08:19:30 +00:00
Dimitri Papadopoulos 72b0db800a * include/aclapi.h [_WIN32_WINNT >= 0x0501] (GetInheritanceSource[AW]):
Add functions. Don't know what PFN_OBJECT_MGR_FUNCTS is so use
	void* instead.

	* include/accctrl.h [_WIN32_WINNT >= 0x0501] (INHERITED_FROM[AW],
	PINHERITED_FROM[AW]): Add structures.

	* lib/user32.def (GetInheritanceSource[AW]): Add functions.
2003-09-26 08:07:39 +00:00
Corinna Vinschen 32c9d3a91c Avoid compile time error when including winuser.h:
* include/winuser.h (FLASHWINFO, PFLASHWINFO): Define for 98/Me, too.
2003-09-26 07:51:26 +00:00
Dimitri Papadopoulos e9c00b0eeb * include/winuser.h (GetClipboardSequenceNumber): Add functions
and constants.
* include/winuser.h (GetGuiResources, GR_GDIOBJECTS,
GR_USEROBJECTS): Add functions and constants.
* include/winuser.h (GetMouseMovePointsEx, GMMP_USE_DISPLAY_POINTS,
GMMP_USE_HIGH_RESOLUTION_POINTS): Add functions and constants.
* include/winuser.h (InSendMessageEx, ISMEX_NOSEND, ISMEX_CALLBACK,
ISMEX_NOTIFY, ISMEX_REPLIED, ISMEX_SEND): Add functions and
constants.
* lib/user32.def (GetClipboardSequenceNumber, GetGuiResources,
GetMouseMovePointsEx, InSendMessageEx): Add functions.
2003-09-25 15:04:55 +00:00
Dimitri Papadopoulos d20c4a577d * include/winuser.h (BroadcastSystemMessage, BroadcastSystemMessageA,
BroadcastSystemMessageW, BroadcastSystemMessageEx,
BroadcastSystemMessageExA, BroadcastSystemMessageExW,
BSMINFO, BSF_ALLOWSFW, BSF_SENDNOTIFYMESSAGE, BSF_LUID,
BSF_RETURNHDESK): Add functions and constants.
* include/winuser.h (EnumDisplaySettingsEx, EnumDisplaySettingsExA,
EnumDisplaySettingsExW, EDS_RAWMODE): Add functions and constant.
* include/winuser.h (IsGUIThread, IsHungAppWindow, FlashWindowEx,
GetProcessDefaultLayout, SetProcessDefaultLayout,
RealChildWindowFromPoint, SetProcessDefaultLayout,
SwitchToThisWindow): Add functions.
* lib/user32.def (BroadcastSystemMessageA, BroadcastSystemMessageW,
BroadcastSystemMessageExA, BroadcastSystemMessageExW,
EnumDisplaySettingsExA, EnumDisplaySettingsExW, FlashWindowEx,
GetProcessDefaultLayout, IsGUIThread, IsHungAppWindow,
RealChildWindowFromPoint, SetProcessDefaultLayout,
SwitchToThisWindow): Add function.
2003-09-25 14:11:47 +00:00
Dimitri Papadopoulos cb86a98b3b * include/winuser.h (DeregisterShellHookWindow): Add function.
* include/winuser.h [_WIN32_WINNT >= 0x0500] (EndTask): Add function.
* lib/user32.def (EndTask): Add function.
* include/winuser.h (WINVER, _WIN32_WINNT): It's better (?) to use _WIN32_WINNT instead of WINVER to test for Windows 2000.
* include/winable.h: Reorder target macros.
* lib/*.def: Cleanup.
2003-09-25 11:22:22 +00:00
Dimitri Papadopoulos 9a88a83d5a * include/winuser.h [WINVER >= 0x0500] (AnimateWindow): Add
function.
* lib/user32.def (AnimateWindow): Add function. By the way
there are ~ 140 symbols missing from this file when comparing
to user32.dll on Windows XP.
2003-09-25 08:26:00 +00:00
Dimitri Papadopoulos 12d295911e * include/winuser.h [WINVER >= 0x0500] (AW_SLIDE, AW_ACTIVATE,
AW_BLEND, AW_HIDE, AW_CENTER, AW_HOR_POSITIVE, AW_HOR_NEGATIVE,
AW_VER_POSITIVE, AW_VER_NEGATIVE): Add constants. For use by
AnimateWindow().
2003-09-25 08:04:30 +00:00
Dimitri Papadopoulos 75e1776af6 * include/winuser.h [WINVER >= 0x0500] (GetGUIThreadInfo,
LPGUITHREADINFO): Add function and associated typedef...
* include/winable.h [WINVER < 0x0500] (GetGUIThreadInfo,
LPGUITHREADINFO): ...and duplicate them in <winable.h> as
seems to be required on older versions of Windows.
2003-09-25 07:53:44 +00:00
Dimitri Papadopoulos 2d9af27bf3 Remove test code. 2003-09-24 13:47:46 +00:00
Dimitri Papadopoulos e3ae4e4f62 * include/GL/glu.h (gluErrorUnicodeStringWIN): Add macro
function. MSDN suggests using gluErrorUnicodeStringWIN
instead of gluErrorString, as it allows both ANSI and Unicode
error strings.
* include/GL/glu.h (gluErrorUnicodeStringEXT): Make the
returned pointer const for consistency reasons.
2003-09-24 13:21:52 +00:00
Dimitri Papadopoulos 288beac8c6 * include/GL/glu.h (gluErrorUnicodeStringEXT): Add function.
Function exists in glu32.def but is undocumented on MSDN.
A Google search came up with this declaration.
2003-09-24 12:44:09 +00:00
Dimitri Papadopoulos ea6a4e6c11 * include/GL/glu.h: Rewritten from scratch. Started from GLU 1.3
headers from OpenGL Sample Implementation. Windows ships with
GLU 1.2 so some constants and functions were removed. Then some
typedef's and function declarations were reworked to look like
the previous GL/glu.h.
2003-09-24 12:33:20 +00:00
Dimitri Papadopoulos 1534dca858 * include/uxtheme.h (PROPERTYORIGIN): the documentation of
PROPERTYORIGIN suggests it's `PROPERTYORIGIN' but experimentation
suggests it's actually `enum PROPERTYORIGIN'. Keep both.
* include/uxtheme.h (THEME_SIZE, THEMESIZE): MSDN suggests
it's either `THEME_SIZE' or `THEMESIZE' but experimentation
suggests it's actually `enum THEMESIZE'. Keep `THEME_SIZE'
and `enum THEMESIZE'.
2003-09-24 10:03:39 +00:00
Dimitri Papadopoulos 12318a458c * include/uxtheme.h: New file.
* include/tmschema.h: New file.
* include/uxtheme.def: New file.
* lib/test.c: Include uxtheme.h, tmschema.h.
2003-09-24 09:29:20 +00:00
Dimitri Papadopoulos d771730336 Didn't follow GNU standards in previous commits. Cleaning up. 2003-09-24 08:02:43 +00:00
Dimitri Papadopoulos 92694c7a96 This fixes regression in <winable.h> introduced by previous change. 2003-09-23 15:11:12 +00:00
Dimitri Papadopoulos 729d289070 New CHILDID_SELF constant.
More duplicates in <winuser.h> and <winable.h>.
2003-09-23 09:09:50 +00:00
Dimitri Papadopoulos dbb760bdb8 Bring back OBJID_* and GUITHREADINFO constants in <winuser.h>.
Some constants and structures are duplicated in <winable.h> and <winuser.h>.
Add GUI_* and new KEYEVENTF_* constants.
2003-09-23 08:51:57 +00:00
Dimitri Papadopoulos 679ff6d4fb add some missing constants 2003-09-23 07:35:54 +00:00
Danny Smith cb16ce2c2e * include/winuser.h (UpdateLayeredWindow): Protect against NOGDI.
Thanks to Will Levine  <willll@users.sourceforge.net>
2003-09-17 20:41:53 +00:00
Earnie Boyd 42f4ef1131 * include/w32api.h: Increment version to 2.5.
* Makefile.in: Ditto.
2003-09-15 12:05:40 +00:00
Danny Smith b639ac2b93 2003-09-15 Danny Smith <dannysmith@users.sourceforge.net>
* include/ws2spi.h (LPWSPBIND): Change CONST LPSOCKADDR to
	const struct sockaddr*.
	(LPWSPCONNECT): Likewise.
	(LPWSPJOINLEAF): Likewise.
	(LPWSPSENDTO): Likewise.
	Tanks to Sebastian Nowak  <snowak1@users.spourceforge.net>

2003-09-15  Filip Navara  <xnavara@volny.cz>

	* include/commctrl.h (TCIS_BUTTONPRESSED, TCIS_HIGHLIGHTED):
	Add definitions.

2003-09-15  Sascha Brawer  <brawer@dandelis.ch>

	* include/winuser.h (DISPLAY_DEVICE_ATTACHED_TO_DESKTOP,
	DISPLAY_DEVICE_PRIMARY_DEVICE, DISPLAY_DEVICE_MIRRORING_DRIVER,
	DISPLAY_DEVICE_VGA_COMPATIBLE, DISPLAY_DEVICE_REMOVABLE,
	DISPLAY_DEVICE_MODESPRUNED): Define constants.
	(ChangeDisplaySettingsEx[A,W]): Add prototype.

	* lib/user32.def (ChangeDisplaySettingsEx[A,W]): Add exports.
	(EnumDisplayDevices[A,W]): Likewise.

2003-09-15  Danny Smith  <dannysmith@users.sourceforge.net>

	* include.commctrl.h (_WIN32_WINNT): Change _WXP to 0x0501,
	throughout.
2003-09-15 10:21:57 +00:00
Danny Smith 52bce3938f * include/olectl.h (TEXTMETRICOLE, LPERRORLOG, LPPROPERTYBAG,
LPENUMCONNECTIONPOINTS, LPCONNECTIONPOINT, LPENUMCONNECTIONS,
	LPPROPERTYPAGESITE, LPFONT, LPFONTDISP, OLE_COLOR, HIMETRIC,
	OLE_YPOS_HIMETRIC, OLE_XSIZE_HIMETRIC, OLE_YSIZE_HIMETRIC,
	OLE_YSIZE_CONTAINER, OLE_HANDLE, POINTF,LPPOINTF, CONTROLINFO,
	LPCONTROLINFO, CONNECTDATA, LPCONNECTDATA, LICINFO, LPLICINFO,
	CAUUID, LPCAUUID, CALPOLESTR, LPCALPOLESTR, CADWORD, LPCADWORD,
	PROPPAGEINFO, LPPROPPAGEINFO): Remove from here ...
	* include/ocidl.h: (TEXTMETRICOLE, LPERRORLOG, LPPROPERTYBAG,
	LPENUMCONNECTIONPOINTS, LPCONNECTIONPOINT, LPENUMCONNECTIONS,
	LPPROPERTYPAGESITE, LPFONT, LPFONTDISP, OLE_COLOR, HIMETRIC,
	OLE_YPOS_HIMETRIC, OLE_XSIZE_HIMETRIC, OLE_YSIZE_HIMETRIC,
	OLE_YSIZE_CONTAINER, OLE_HANDLE, POINTF, LPPOINTF, CONTROLINFO,
	LPCONTROLINFO, CONNECTDATA, LPCONNECTDATA, LICINFO, LPLICINFO,
	CAUUID, LPCAUUID, CALPOLESTR, LPCALPOLESTR, CADWORD, LPCADWORD,
	PROPPAGEINFO, LPPROPPAGEINFO): ... to here, for consistency
	with documentation.
	* include/olectl.h: Do #include <ocidl.h>.
	* include/ocidl.h: Don't #include <olectl.h>.
2003-09-13 12:05:08 +00:00
Danny Smith 77780db3bd * include/winuser.h (_WIN32_WINNT, _WIN32_WINDOWS, WINVER):
Change guards to use numeric constants, throughout.
2003-09-13 08:13:30 +00:00
Danny Smith 6c73e54252 2003-09-08 Justin Forest <vhex@users.sourceforge.net>
* include/winuser.h (PM_QS_INPUT, PM_QS_POSTMESSAGE,
	PM_QS_PAINT, PM_QS_SENDMESSAGE): Add defines.

2003-09-08  Filip Navara  <xnavara@volny.cz>

	* include/wingdi.h (GRADIENT_FILL_RECT_H, GRADIENT_FILL_RECT_V,
	GRADIENT_FILL_TRIANGLE, GRADIENT_FILL_OP_FLAG): Add defines.
2003-09-08 10:35:56 +00:00
Earnie Boyd 661cc22065 * include/w32api.h (_NT5, etc): Reverse the changes of 2003-07-01.
* include/winbase.h (_NT5, etc): Ditto.
2003-09-05 19:41:22 +00:00
Danny Smith b258e2c63b 2003-08-29 Steve Cleary <scleary@jerviswebb.com>
* include/winuser.h (QS_ALLPOSTMESSAGE, QS_RAWINPUT): Add defines.
	(QS_INPUT, QS_ALLINPUT, QS_ALLEVENTS): Adjust by OR'ing	with
	QS_RAWINPUT for XP.
	(MWMO_*): Add flags.

	* include/wincrypt.h (MS_ENHANCED_PROV[AW], MS_STRONG_PROV[AW],
	MS_DEF_RSA_SIG_PROV[AW], MS_DEF_RSA_SCHANNEL_PROV[AW],
	MS_DEF_DSS_PROV[AW], MS_DEF_DSS_DH_PROV[AW], MS_ENH_DSS_DH_PROV[AW],
	MS_DEF_DH_SCHANNEL_PROV[AW], MS_SCARD_PROV[AW]): Add definitions.
2003-08-29 08:01:09 +00:00
Danny Smith 311d0d67b9 2003-08-26 Danny Smith <dannysmith@users.sourceforge.net>
* lib/test.c: Add vfw.h to includes.
	* include/mmsystem.h: Add #ifndef guard to definition of
	mmioFOURCC macro.
	* include/vfw.h: Protect __OBJC__ from COM declarations.

2003-08-26  Filip Navara  <xnavara@volny.cz>

	* include/vfw.h: New file.
2003-08-26 06:54:55 +00:00
Danny Smith e98b6dbb6d 2003-08-26 Filip Navara <xnavara@volny.cz>
* include/ddk/winddk.h (RTL_REGISTRY_*): Add defines.
	(IoSetCompletionRoutine): Cast _CompletionRoutine arg to
	PIO_COMPLETION_ROUTINE.
2003-08-25 10:20:36 +00:00
Danny Smith 912800ed01 Add snmp API
2003-08-26  Filip Navara  <xnavara@volny.cz>

	* include/snmp.h: New file.
	* include/winsnmp.h: New file.
	* include/mgmtapi.h: New file.
	* lib/snmpapi.def: New file.
	* lib/wsnmp32.def: New file.
	* lib/igmpagnt.def: New file.
	* lib/mgmtapi.def (SnmpMgrCtl) Add stub.
	(SnmpMgrGetTrapEx): Ditto.
	(SnmpMgrMIB2Disk): Remove.
	(dbginit): Remove.
2003-08-25 09:33:14 +00:00
Danny Smith 6315f62b20 2003-08-25 Steven Edwards <Steven_Ed4153@yahoo.com>
* include/ddk/ntifs.h: Change all C++ style comments to C.
	* include/GL/gl.h: Ditto.

2003-08-25  Martin Fuchs  <Martin-Fuchs@gmx.net>

	* include/shlobj.h (SFGAO_GHOSTED): Correct.
	(SFGAO_HIDDEN): Add define.
2003-08-25 02:02:37 +00:00
Danny Smith 1a5c6b9d0a 2003-08-25 Filip Navara <xnavara@volny.cz>
* include/commctrl.h (ILCF_*): Add defines.
	(ILD_*): Ditto.
	(HDS_*); Ditto.
	(IPN_FIRST, IPN_LAST): Cast to UINT.
	(SBN_FIRST, SBN_LAST): Add defines.
	(PGN_*): Ditto.
	(HDF_JUSTIFYMASK): Fix typo.
	(HDM_*): Add defines.
	(HICF_*): Ditto.
	(I_INDENTCALLBACK,I_IMAGENONE): Ditto.
	(TBSTATE_MARKED): Add define.
	(TBSTYLE_EX_*): Add defines.
	(TBCDRF_*): Ditto.
	(IDB_HIST_SMALL_COLOR,IDB_HIST_LARGE_COLOR): Ditto.
	(TB_*): Ditto.
	(TBN_*): Ditto.
	(TBNRF_*): Ditto.
	(TTF_*): Ditto.
	(TBCD_*): Ditto.
	(TBDDRET_*): Ditto.
	(TBIMHT_*): Ditto.
	(TTM_*): Ditto.
	(UDM_*): Ditto.
	(TBIF_BYINDEX): Define as hex constant.
	(CDIS_*): Add defines.
	(CDDS_SUBITEM): Add define.
	(LVIF_*): Add defines.
	(LVM_*): Ditto.
	(LVGIT_UNFOLDED): Add define.
	(TVM_): Add defines.
	(TVE_EXPANDPARTIAL): Add define.
	(TVGN_LASTVISIBLE): Ditto.
	(TVN_*): Add defines.
	(TVNRET_*): Add defines.
	(TCIF_STATE): Add define.
	(NM_TOOLTIPSCREATED): Ditto.
	(CCM_*): Add defines.
	(INFOTIPSIZE): Add numeric value.
	(ODT_LISTVIEW): Ditto.
	(MCM_GETMAXTODAYWIDTH): Ditto.
	(MCHT_*): Add defines.
	(UDM_SETRANGE32,UDM_GETRANGE32): Define in terms of WM_USER.
	(PGF_*): Add defines.
	(PGM_*): Ditto.
	(TBINSERTMARK): Add structure.
	(LPIMAGEINFO) Add typedef.
	(LPHDHITTESTINFO): Ditto.
	(NMLVGETINFOTIP[AW]: Add structures.
	(NMTBCUSTOMDRAW): Add structure.
	(TTTOOLINFOA_V*_SIZE): Add macros.
	(TTTOOLINFOW_V1_SIZE): Ditto.
	(IMAGELISTDRAWPARAMS): Add new members for WXP.
	(LVITEM[AW]: Ditto.
	(TCITEM[AW]):Ditto.
	(CCSIZEOF_STRUCT): Correct macro definition.
	(ListView_*): Add new macros.
	(HIMAGELIST): Correct typedef.
	(HTREEITEM): Ditto.

2003-08-25   Danny Smith <dannysmith@users.sourceforge.net>

	* commctrl.h (TC_HITTESTINFO): Remove. Add defines for
	TCHITTESTINFO for backward compatibility.
	(TC_ITEM[AW]): Rename to TCITEM[AW]. Add defines for backward
	compatibility.
2003-08-25 01:39:59 +00:00
Danny Smith 110af2d2db 2003-08-24 Danny Smith <dannysmith@users.sourceforge.net>
* include/objidl.h (COBJMACROS): Define macros only
	if using C interace.
	* include/unknwn.h: Ditto.
	* include/comcat.h: Ditto.

2003-08-24  Filip Navara  <xnavara@volny.cz>

	* include/prsht.h (PSH_WIZARDHASFINISH, PSH_WIZARD_LITE,
	PSH_NOCONTEXTHELP): Define.
	(PSH_WIZARD97): Fix definition for _WIN32_IE >= 0x500.
	* include/winuser.h (DFCS_TRANSPARENT, DFCS_HOT): Define.
	(LPDLGTEMPLATE[AW]): Add typedefs.
2003-08-24 23:04:57 +00:00
Danny Smith 01d699914d 2003-08-22 Filip Navara <xnavara@volny.cz>
* include/aclapi.h (BuildImpersonateExplicitAccessWithName[AW]):
	Add prototypes.
	BuildImpersonateTrustee[AW]): Add prototypes.
	GetMultipleTrustee[AW]): Add prototypes.
	GetMultipleTrusteeOperation[AW]): Add prototypes.

Add missing changelog entry from last commit.
2003-08-22 11:21:28 +00:00
Danny Smith 9e80cb966c 2003-08-22 Danny Smith <dannysmith@users.sourceforge.net>
* include/winnt.h (IMAGE_SUBSYSTEM_XBOX): Add define.

2003-08-22  Mihai Preda <mihai_preda@users.sourceforge.net>

	* include/shlobj.h (IPersistFolder::GetClassID):
	Correct declaration.
	(CMF_*) Add missing defines.

2003-08-22   Danny Smith <dannysmith@users.sourceforge.net>

        * include/winuser.h (DC_BUTTONS): Add define.

2003-08-22  Andrew Greenwood  <lists@silverblade.co.uk>

        * include/winuser.h (DC_GRADIENT): Add define.

2003-08-22  Martin Fuchs  <Martin-Fuchs@gmx.net>

	* include/commctrl.h (BTNS_*): Define BTNS_* as successors to the
	older TBSTYLE_* constants.
2003-08-22 10:50:54 +00:00
Danny Smith bb7c60962d 2003-08-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/commctrl.h (TB_*) Group defines together.

2003-08-17  Martin Fuchs  <Martin-Fuchs@gmx.net>

	* include/winuser.h (ICON_SMALL2): Define.
	* include/commctrl.h (TB_SETBUTTONWIDTH,TB_SETDRAWTEXTFLAGS):
	Define.
	* include/shlobj.h (SHDRAGIMAGE): Define structure.
	(IDragSourceHelper) Define interface.
  	(IDropTargetHelper): Likewise.
	(IExtractIcon): Unicode it.
	(ICommDlgBrowser): Use IShellView type as param in OnDefaultCommand,
	OnStateChange and IncludeObject methods.
2003-08-18 09:43:24 +00:00
Danny Smith 5ca7a646d5 2003-08-17 Martin Fuchs <Martin-Fuchs@gmx.net>
* include/commctrl.h (TreeView_GetScrollTime,
	TreeView_SetScrollTime): Define macros.
	* include/winuser.h (GetShellWindow): Add prototype.
	* include/objidl.h (STGMEDIUM): Correct lpszFileName type.
2003-08-17 08:47:37 +00:00
Danny Smith b98580a716 2003-08-15 Martin Fuchs <Martin-Fuchs@gmx.net>
* include/shguid.h (CLSID_DragDropHelper, IID_IDropTargetHelper,
	IID_IDragSourceHelper): Declare.
	* lib/shell32.c (CLSID_DragDropHelper, IID_IDropTargetHelper,
	IID_IDragSourceHelper): Define.
2003-08-15 03:04:25 +00:00
Danny Smith 37f0dc7a05 2003-08-15 Andrew Greenwood <lists@silverblade.co.uk>
* include/wingdi.h (DEVMODE[AW]) Correct structure definition.
	* include/ddk/ntapi.h (LPC_TYPE): Add LPC_CONNECTION_REFUSED.
	* include/ddk/winddk.h (IRP_*): Add constants as anonymous enum.
2003-08-15 02:19:54 +00:00
Danny Smith 46258d6fb8 2003-08-10 Danny Smith <dannysmith@users.sourceforge.net>
* include/shlobj.h (SHELLSTATE): Add structure.
	(SHGetSetSettings): Add prototype.
	(SHGetSettings): Add prototype.
	* lib/user32.def (SHGetSetSettings): Add stub.

2003-08-10  Phil Krylov  <likewolf@users.sourceforge.net>

	* include/commctrl.h (HDM_ORDERTOINDEX): Add define.
	(Header_OrderToIndex): Add macro.
	(Header_GetOrderArray): Add macro.

	* include/commdlg.h (FR_MATCHALEFHAMZA,
	FR_MATCHDIAC, FR_MATCHKASHIDA): Add defines.

2003-08-10  Martin Fuchs  <Martin-Fuchs@gmx.net>

	* include/commctrl.h (TVM_GETSCROLLTIME,
	TVM_SETSCROLLTIME): Add defines.
2003-08-10 00:40:01 +00:00
Danny Smith 5060d48ee7 * include/shlobj.h (SHELLFLAGSTATE): Add structure.
(SHGetInstanceExplorer): Correct return type.
	(SHGetFolderPath[AW]: Likewise.
	Thanks to Magnus Olsen  <greatlord@sourceforge.users.net>
	for report.
2003-08-03 09:09:07 +00:00
Danny Smith be21429f2f 2003-08-01 Danny Smith <dannysmith@users.sourceforge.net>
* lib/test.c: Include winldap.h, ntldap.h, winber.h.

2003-08-01  Filip Navara  <xnavara@volny.cz>

	* include/winldap.h: New file.
	* include/ntldap.h: New file.
	* include/winber.h: New file.
	* lib/winldap32.def: New file.
2003-08-01 09:11:39 +00:00
Danny Smith 7d18037f8f 2003-08-01 Danny Smith <dannysmith@users.sourceforge.net>
* include/ddk/atm.h: Remove stray '.';

2003-08-01  Gisle Vanem  <gvanem@broadpark.no>

	* include/ddk/winddk.h; Remove trailing ';' from macro expressions,
	throughout. Add () around macro expressions with cast returns,
	throughout.
2003-08-01 01:06:26 +00:00
Danny Smith 49c12c3f53 2003-7-31 Martin Fuchs <Martin-Fuchs@gmx.net>
* include/shlobj.h (SFGAO_COMPRESSED): Add define.
	(SFGAOF,SHGDNF): Add typedef's.
	(SHCONTF): Extend enum.
2003-07-31 10:25:56 +00:00
Danny Smith de03e10ca5 * include/shellapi.h: Include all structs within pshpack2.h/
poppack.h block.
2003-07-31 05:40:39 +00:00
Danny Smith e816a74f80 * include/winuser.h (ASFW_ANY, LSFW_LOCK, LSFW_UNLOCK,
LWA_COLORKEY, LWA_ALPHA): Guard with _WIN32_WINNT,
	_WIN32_WINDOWS, not WINVER.
	(AllowSetForegroundWindow,LockSetForegroundWindow,
	SetLayeredWindowAttributes): Likewise.
	(GetLayeredWindowAttributes,UpdateLayeredWindow): Add prototypes.
	* lib/user32.def (GetLayeredWindowAttributes,UpdateLayeredWindow):
	Add stubs.
2003-07-26 11:58:24 +00:00
Danny Smith ffe3e7ef4f 2003-07-26 Eric R. Krause <ekrause_98@users.sourceforge.net>
* include/onjidl.h (IMalloc): Fix typo.
2003-07-26 01:01:03 +00:00
Danny Smith 468f9fa2fe * include/dkk/ntifs.h: Fix typo in guard for
#pragma GCC system_header.
2003-07-24 20:55:48 +00:00
Danny Smith b57a74b210 * include/objidl.h (PropVariant): Add CHAR cVal field
to union.
	(FMTID_SummaryInformation, FMTID_DocSummaryInformation,
	FMTID_UserDefinedProperties): Declare.
2003-07-22 22:48:00 +00:00
Danny Smith f7ef885903 * include/winbase.h (GetModuleHandleEx[AW]): Add prototypes. 2003-07-22 22:36:03 +00:00
Danny Smith 1058b66e9a * include/winbase.h (DUPLICATE_CLOSE_SOURCE,
DUPLICATE_SAME_ACCESS): Remove defines.
	(HANDLE_FLAG_INHERIT, HANDLE_FLAG_PROTECT_FROM_CLOSE): Sync with
	ddk/ntapi.h defines.
	(SEM_*) : Likewise.
	* include/winnt.h (COMPRESSION_*, ACCESS_*, SYSTEM_*): Sync with
	ddk/ntifs.h defines.
	(FILE_*): Likewise.
	(MEM_IMAGE, SEC_*): Likewise.
	(DUPLICATE_CLOSE_SOURCE, DUPLICATE_SAME_ACCESS,
	DUPLICATE_SAME_ATTRIBUTES): Sync with ddk/winddk.h defines.
	(TOKEN_*): Sync with ddk/ntifs.h defines.
	* include/ddk/ntapi.h: Add comments noting definitions in
	winbase.h.
	* include/ddk/ntifs.h: Add comments noting definitions in
	winnt.h.
	* include/ddk/winddk.h: Add comments noting definitions in
	winnt.h.
2003-07-22 22:21:27 +00:00
Danny Smith 00314d7e16 * include/winnt.h (FILE_*): Sync with ddk/winddk.h.
* include/winioctl.h (FILE_*): Sync with ddk/winddk.h.
2003-07-18 10:21:01 +00:00
Danny Smith a817d5a835 2003-07-17 Pierre Humblet <pierre.humblet@ieee.org>
* include/mmsystem.h (TIME_KILL_SYNCHRONOUS): Add define.
2003-07-17 08:23:06 +00:00
Danny Smith a13fa879dd Clean up warnings in ddk.
* include/ddk/atm.h (_ATM_AAL_OOB_INFO): Add _ANONYMOUS_UNION,
	conditional on  __cplusplus.
	* include/ddk/scsi.h: Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT
	defines, throughout.
	(_CDB): Add _ANONYMOUS_UNION, conditional on __cplusplus.
	* include/ddk/cfg.h (_PNP_VETO_TYPE): Remove extra comma.
	* include/ddk/cfgmgr32.h: Change C++ comment style to ISO C.
	* include/ddk/ddkmapi.h (_DDLOCKOUT): Add _ANONYMOUS_UNION defines.
	* include/ddk/hidpi.h: Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT
	defines, throughout.
	* include/ddk/ndis.h: Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT
	defines, throughout. Remove trailing semicolon from *_S 'structure'
	macro expansion, throughout. Remove trailing semicolon from
	DECLARE_UNKNOWN_STRUCT macro expansion.
	* include/ddk/ndiswan.h (_NDIS_WAN_COMPRESS_INFO): Add
	_ANONYMOUS_UNION.
	* include/ddk/ntapi.h (_PROCESS_DEVICEMAP_INFORMATION,
	_PROCESS_SESSION_INFORMATION): Add _ANONYMOUS_UNION.
	* include/ddk/ntddcdrm.h (CDROM_TOC_CD_TEXT_DATA_BLOCK):
	Add _ANONYMOUS_UNION.
	* include/ddk/ntdddisk.h: Add _ANONYMOUS_UNION, throughout.
	* include/ddk/ntddmou.h:  Add _ANONYMOUS_UNION, throughout.
	* include/ddk/ntifs.h:  Add _ANONYMOUS_UNION, throughout.
	(ZwQueryObject): Change 2nd param to OBJECT_INFORMATION_CLASS, to
	match proto in ntapi.h.
	(ZwSetInformationObject): Likewise.
	* include/ddk/srb.h (SCSI_REQUEST_BLOCK): Add _ANONYMOUS_UNION.
	(SCSI_ADAPTER_CONTROL_TYPE): Add __extension__.
	* include/ddk/tdikrnl.h (TDI20_CLIENT_INTERFACE_INFO): Add
	_ANONYMOUS_UNION and _ANONYMOUS_STRUCT.
	* include/ddk/usb.h (USB): Add _ANONYMOUS_UNION.
	* include/ddk/usbcamdi.h (USBCAMD_CamControlFlags): Remove
	last comma.
	* include/ddk/video.h (STATUS_BLOCK): Add _ANONYMOUS_UNION.
	* include/ddk/winddk.h (DECLARE_INTERNAL_OBJECT): Remove
	trailing semicolon when expanding macro.
	(GENERAL_LOOKASIDE_S): Likewise.
	Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT, throughout.
	Change inline to __inline, throughout.
	* include/ddk/winnt4.h: Change inline to __inline, throughout.
2003-07-16 21:49:02 +00:00
Danny Smith 8330615ded 2003-07-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/ddk/ntifs.h (KeInsertQueueApc): Make return type
	BOOLEAN. Name parameter 4 PriorityBoost and make it of type
	KPRIORITY.
	* include/ddk/winddk.h (_KPCR): Put IDT field on next line.
	* include/ddk/winddk.h (_IO_STATUS_BLOCK, _IRP, _OWNER_ENTRY,
	_ERESOURCE, _IMAGE_INFO, _CREATE_DISK, _DISK_SIGNATURE, _KPCR_TIB):
	Apply _ANONYMOUS_UNION to anonymous unions and _ANONYMOUS_STRUCT
	to anonymous structs.
2003-07-13 03:41:46 +00:00
Danny Smith a6674ee61b * include/winnt.h (PVOID): Move to before HANDLE typedef.
* include/winuser.h (mouse_event): Correct type of fifth param,
	Thanks to: Andrew Jones <guln at users dot sourceforge dot net>
2003-07-12 09:26:43 +00:00
Earnie Boyd 57552a7378 * include/winnt.h (HANDLE): Define based on STRICT filter.
(THREAD_BASE_PRIORITY_MIN): Use parens around negative value.
	(THREAD_BASE_PRIOIRTY_IDLE): Ditto.
2003-07-11 11:56:00 +00:00
Danny Smith 49a14729eb * include/commctrl.h (NMTVDISPINFO[AW]): Replace obsolete struct
names _TV_DISPINFO[AW] and typedefs. Add defines for backward
	compatability. Thanks to Magnus Olsen <greatlord@users.sf.net>
	for report.
2003-07-08 11:11:58 +00:00
Luke Dunstan b1868c88bc * include/commdlg.h (CommDlg_OpenSave_*): Add parentheses around
macro arguments. Thanks to Tom Bishop <tombishop@users.sf.net>.
	* include/winuser.h (MONITOR_DEFAULTTONULL, MONITOR_DEFAULTTOPRIMARY,
	MONITOR_DEFAULTTONEAREST, MONITORINFOF_PRIMARY): Add defines.
	(TPM_RECURSE): Add guard for Win98/Win2K.
	Thanks to Magnus Olsen <greatlord@users.sf.net>.
2003-07-03 02:19:01 +00:00
Earnie Boyd f7ba12a587 * include/basetyps.h (small, hyper): Change to __small and __hyper to
avoid user namespace conflicts.
2003-07-01 23:37:00 +00:00
Earnie Boyd 6dbe0697a7 Change existing guards to use the above macro names as appropriate.
* include/basetyps.h (__int32, __int16, __int8, small, hyper): Define.
	Note: Also added to mingw/include/_mingw.h.
2003-07-01 13:01:41 +00:00
Earnie Boyd b8582a99b5 * include/w32api.h (_NT4, _W98, _WME, _NT5, _W2000, _WXP, _W2003,
_IE3, _IE4, _IE5, _IE6): Add definitions.
	* include/winbase.h (GetLongPathName[AW]): Add guard for OS >= NT5 or
	>= Win98.
	Change existing guards to use the above macro names as appropriate.
2003-07-01 12:01:05 +00:00
Danny Smith a52e274d12 2003-06-28 Steven Edwards <Steven_Ed4153@yahoo.com>
* include/shlwapi.h (UrlGetLocationA, UrlGetLocationW,
	PathFindSuffixArrayA, PathFindSuffixArrayW,
	PathFindExtensionA, PathFindExtensionW, StrStrW
	StrStrA): Change unicode-macro'd LP[C]TSTR return values to
	explicit type.
2003-06-28 05:34:47 +00:00
Danny Smith b08e1ec95a 2003-06-26 Mattia Barbon <mbarbon@dsi.unive.it>
* include/richedit.h (PARAFORMAT2): Add definition.
	* include/richedit.h (PFA_*, PFE_*, PFM_*): Add some
	missing constants.
2003-06-26 01:49:11 +00:00
Danny Smith 1c906df21f 2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/shellapi.h (SHQUERYRBINFO): Add structure,
	(SHQueryRecycleBin[AW]. SHEmptyRecycleBin[AW]):Add prototypes.
	(SHERB_NOCONFIRMATION, SHERB_NOPROGRESSUI, SHERB_NOSOUND):
	Add defines. Thanks to Brett Hart <brett at ncubedtech dot com>

2003-06-17  Danny Smith  <dannysmith@users.sourceforge.net>

	* include/winbase.h (GlobalCompact, GlobalFix, GlobalFlags,
	GlobalUnfix, GlobalUnWire, GlobalWire, LocalCompact,
	LocalFlags, LocalShrink, LockSegment, UnlockSegment): Add comment
	that these are obsolete no-ops.

2003-06-17  Bang Jun-Young  <junyoung@netbsd.org>

	* include/winbase.h (GetProcessWorkingSetSize,
	GlobalCompact, LocalAlloc, LocalCompact, LocalReAlloc,
	LocalShrink, SignalObjectAndWait, WriteProcessMemory):
	Correct prototypes.
2003-06-18 10:04:09 +00:00
Luke Dunstan 5a8ad0f577 2003-06-18 Steven Edwards <Steven_Ed4153@yahoo.com>
* include/winuser.h (TPM_RECURSE): Add define.
2003-06-18 09:46:09 +00:00
Danny Smith b0ad6f2ba5 2003-06-06 Danny Smith <dannysmith@users.sourceforge.net>
* lib/test.c: #include <powerprof.h>.

2003-06-06  James E. Lucas  <xelloss@sourceforge.net>

	* include/powerprof.h: New file.
	* lib/powerprof.def: New file.

2003-06-06  Danny Smith  <dannysmith@users.sourceforge.net>

	* include/winnt (SLIST_HEADER): Add C90 anonymous struct
	protection.
2003-06-06 00:24:34 +00:00
Luke Dunstan 51683b1aed * include/winuser.h (WNDCLASS[AW], WNDCLASSEX[AW]): Change type of
hInstance members to HINSTANCE.
	Thanks to: Brenden T. <brenden@rcsis.com>
2003-06-05 10:19:08 +00:00
Danny Smith 496e018f2f 2003-06-05 Bart Oldeman <bartoldeman@users.sourceforge.net>
* include/lmaccess.h (UF_MNS_LOGON_ACCOUNT): Add define.
	* include/wingdi.h (LPRGBTRIPLE, LPRGBQUAD): Add typedefs.
2003-06-05 00:49:27 +00:00
Danny Smith 38b524b385 * include/ddk/ntpoapi.h (POWER_INFORMATION_LEVEL): Remove.
* include/winnt.h (POWER_INFORMATION_LEVEL): Add.
	* include/ddk/winddk.h (SINGLE_LIST_ENTRY,SLIST_HEADER):
	Remove.
	* include/ddk/ndis.h (NdisAllocateSpinLock): Add missing '\'.
2003-06-02 22:21:54 +00:00
Luke Dunstan 1698ff392a 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 10:09:36 +00:00
Danny Smith a681e7f0c6 2003-05-30 Bang Jun-Young <junyoung@netbsd.org>
* include/winbase.h (HeapCompact): Correct prototype.
	* include/winnt.h (SINGLE_LIST_ENTRY, SLIST_ENTRY,
	SLIST_HEADER): Add.
2003-05-30 08:44:50 +00:00
Luke Dunstan 87cde7d600 * include/winuser.h (LWA_COLORKEY, LWA_ALPHA): Add defines. 2003-05-29 10:32:03 +00:00
Christopher Faylor 7b3a9e6e00 * include/winuser.h (EnumDisplayDevicesW): Fix typo. 2003-05-25 21:38:31 +00:00
Danny Smith ff462cb235 2003-05-23 Danny Smith <dannysmith@users.sourceforge.net>
* include/winuser.h (EnumDisplayDevices[AW]): Add prototypes.
	* include/wingdi.h (DISPLAY_DEVICE): UNICODE it.

2003-05-23  Andrew Dunbar <hippietrail@users.sourceforge.net>

	* include/wingdi.h (GCP_RESULTS[AW]) Correct type of
	lpGlyphs field to LPWSTR.
2003-05-23 08:07:05 +00:00
Danny Smith a66cfe68eb * include/wincrypt.h (PLAINTEXTKEYBLOB, OPAQUEKEYBLOB,
PUBLICKEYBLOBEX, SYMMETRICWRAPKEYBLOB) Add defines.
	(PP_*): Add defines.
	(CryptContextAddRef): Add prototype.
	Thanks to: Shura Zam  <debil_urod@users.sourceforge.net>
2003-05-21 09:49:58 +00:00
Danny Smith 8dc6cea2e8 2003-05-18 Manu B <manubee@users.sourceforge.net>
* include/commctrl.h (TVSORTCB): Rename old TV_SORTCB structure.

2003-05-18  Bang Jun-Young <junyoung@netbsd.org>

	* include/winbase.h (CREATE_DEFAULT_ERROR_MODE,
	DEBUG_PROCESS, DEBUG_ONLY_THIS_PROCESS, CREATE_SUSPENDED,
	DETACHED_PROCESS, CREATE_NEW_CONSOLE, NORMAL_PRIORITY_CLASS,
	IDLE_PRIORITY_CLASS, HIGH_PRIORITY_CLASS, REALTIME_PRIORITY_CLASS,
	CREATE_NEW_PROCESS_GROUP, CREATE_UNICODE_ENVIRONMENT,
	CREATE_SEPARATE_WOW_VDM, CREATE_SHARED_WOW_VDM, CREATE_FORCEDOS,
	CREATE_NO_WINDOW): Convert to hexadecimal form for better
	readability.
	(BELOW_NORMAL_PRIORITY_CLASS, ABOVE_NORMAL_PRIORITY_CLASS,
	CREATE_BREAKAWAY_FROM_JOB, CREATE_WITH_USERPROFILE): Add.
2003-05-18 10:20:47 +00:00
Danny Smith a445a0b0ce * include/ddk/ndis.h (NDIS30_MINIPORT_CHARACTERISTICS_S):
Unname anonymous unions if NONAMELESSUNION not defined.
2003-05-15 01:04:07 +00:00
Danny Smith 6c4ce46ce1 2003-05-14 Bang Jun-Young <junyoung@netbsd.org>
* include/winbase.h (GMEM_VALID_FLAGS): Add.
2003-05-15 00:10:33 +00:00
Danny Smith 1b89c1742e * include/prsht.h (PROPSHEETHEADER[AW]: Mark
anonymous unions as GCC extension.
2003-05-13 10:53:13 +00:00
Danny Smith b823fca9ba * include/oleidl.h (LPENUMOLEDOCUMENTVIEWS): Remove typedef.
(IEnumOleDocumentViews): Remove commented out DECLARE_ENUMERATOR.
	* include/docobj.h  (LPENUMOLEDOCUMENTVIEWS): Add typedef (previously
	commented out).
	(IEnumOleDocumentViews): Add definition using DECLARE_ENUMERATOR.
2003-05-13 02:05:12 +00:00
Earnie Boyd 3b30f11fbf * include/commctrl.h: (MCSC_BACKGROUND, MCSC_TEXT, MCSC_TITLEBK,
MCSC_TITLETEXT, MCSC_MONTHBK, MCSCTRAILTEXT): Define.
	Thanks to: Robert Wishlaw  <rwishlaw @ shaw . ca>
2003-05-12 12:29:00 +00:00
Danny Smith 214d1b21cb * include/olectl.h (IOleControl,IOleControlSite,ISimpleFrameSite,
IErrorLog,IPropertyBag,IPersistPropertyBag,IPersistStreamInit,
	IPersistMemory,IPropertyNotifySink,IProvideClassInfo,
	IProvideClassInfo2,IConnectionPointContainer,
	IEnumConnectionPoints,IConnectionPoint,IEnumConnections,
	IClassFactory2,ISpecifyPropertyPages,IPerPropertyBrowsing,
	IPropertyPageSite,IPropertyPage,IPropertyPage2,IFont,IFontDisp,
	IPicture,IPictureDisp): Move from here to...
	* include/ocidl.h (IOleControl,IOleControlSite,ISimpleFrameSite,
	IErrorLog,IPropertyBag,IPersistPropertyBag,IPersistStreamInit,
	IPersistMemory,IPropertyNotifySink,IProvideClassInfo,
	IProvideClassInfo2,IConnectionPointContainer,
	IEnumConnectionPoints,IConnectionPoint,IEnumConnections,
	IClassFactory2,ISpecifyPropertyPages,IPerPropertyBrowsing,
	IPropertyPageSite,IPropertyPage,IPropertyPage2,IFont,IFontDisp,
	IPicture,IPictureDisp): Here, as per documentation.
2003-05-12 10:43:08 +00:00
Danny Smith e9a398893f 2003-05-12 Mattia Barbon <mbarbon@dsi.unive.it>
* include/oleauto.h (VarR8FromDec, VarDecFromR8): Add prototypes.
	* include/winbase.h (TerminateJobObject,
	AssignProcessToJobObject): Likewise.
	* include/servprov.h: New header.
	* lib/test.c: Include servprov.h.

Correct ChangeLog typo
2003-05-12 10:35:35 +00:00
Danny Smith bf759a5ae6 * include/shlguid.h (CGID_ShellServiceObject): Declare.
* lib/uuid.c (CGID_ShellServiceObject): Define guid.
	Thanks to Chris Sutcliffe  <ir0nh34d#users.sourceforge.net>
	* include/winuser.h (SetLayeredWindowAttributes): Add prototype.
	* lib/user32.def (SetLayeredWindowAttributes): Add stub.
	* lib/uuid.c (CGID_Explorer, CGID_ShellDocView): Define guids.
2003-05-10 09:20:11 +00:00
Danny Smith 2937200d0e * include/commctrl.h (STATUSCLASSNAME, TOOLBARCLASSNAME,
TOOLTIPS_CLASS, TRACKBAR_CLASS, UPDOWN_CLASS, PROGRESS_CLASS,
	HOTKEY_CLASS): Remove dupicate defines for UNICODE case.
2003-05-05 09:16:35 +00:00
Danny Smith 1a2060aa43 2003-05-02 Steven Edwards <Steven_Ed4153@yahoo.com>
* include/richedit.h (EM_FINDTEXTEXW, EM_FINDTEXTW,
	EM_GETAUTOURLDETECT, EM_GETBIDIOPTIONS, EM_GETEDITSTYLE,
	EM_GETIMECOLOR, EM_GETIMEOPTIONS, EM_GETPUNCTUATION,
	EM_GETWORDWRAPMODE, EM_RECONVERSION, EM_SETBIDIOPTIONS,
	EM_SETEDITSTYLE, EM_SETIMECOLOR, EM_SETIMEOPTIONS,
	EM_SETPALETTE, EM_SETPUNCTUATION, EM_SETTEXTEX,
	EM_SETWORDWRAPMODE, RICHEDIT_CLASS10A): Add defines.
2003-05-02 00:46:57 +00:00
Danny Smith b349465ef3 2003-05-02 Francois Ferrand <typz@sourceforge.users.net>
* include/commctrl.h (TBM_*): Add missing trackbar defines.
2003-05-02 00:16:03 +00:00
Danny Smith 41e7de4863 * include/cplext.h (CPLPAGE_MOUSE_WHEEL,
CPLPAGE_DISPLAY_BACKGROUND): Add defines.
2003-05-02 00:11:49 +00:00
Danny Smith 14dbd34e9e * include/wingdi.h (DC_PEN, DC_BRUSH): Add defines.
(SetDCPenColor, SetDCBrushColor): Add prototypes.
	* lib/gdi32.def (SetDCPenColor, SetDCBrushColor): Add stubs.
2003-04-30 09:28:15 +00:00
Danny Smith 98dc5aa07f 2003-04-26 Bang Jun-Young <junyoung@netbsd.org>
* include/winioctl.h (DEVICE_TYPE_FROM_CTL_CODE): Add macro.
2003-04-26 22:00:16 +00:00
Danny Smith a5035abfac * include/oaidl.h (ITypeMarshal): Add interface. 2003-04-26 08:48:03 +00:00
Danny Smith d9d35a454b 2003-04-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/winioctl.h: Clean up formatting.
	(RETRIEVAL_POINTERS_BUFFER): Add fields to Extents[1] struct.
	(CREATE_DISK): Add _ANONYMOUS_UNION macro.
	(DISK_CACHE_INFORMATION): Likewise.
	(DISK_DETECTION_INFO): Likewise.
	(DISK_PARTITION_INFO): Likewise.
	(PARTITION_INFORMATION_EX): Likewise.
	(DRIVE_LAYOUT_INFORMATION_EX): Likewise.

2003-04-26  Casper S. Hornstrup  <chorns@users.sourceforge.net>

	* include/winbase.h (DeleteVolumeMountPoint[AW],
	FindFirstVolumeMountPoint[AW], FindNextVolumeMountPoint[AW],
	FindVolumeMountPointClose, GetVolumeNameForVolumeMountPoint[AW],
	GetVolumePathName[AW], GetVolumePathNamesForVolumeName[AW],
	SetVolumeMountPoint[AW]): Add prototypes.
	* include/winioctl.h (IOCTL_DISK_GET_PARTITION_INFO_EX,
	IOCTL_DISK_SET_PARTITION_INFO_EX,
	IOCTL_DISK_GET_DRIVE_LAYOUT_EX,
	IOCTL_DISK_SET_DRIVE_LAYOUT_EX, IOCTL_DISK_CREATE_DISK,
	IOCTL_DISK_GET_LENGTH_INFO, IOCTL_DISK_PERFORMANCE_OFF,
	IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, IOCTL_DISK_GROW_PARTITION,
	IOCTL_DISK_GET_CACHE_INFORMATION,
	IOCTL_DISK_SET_CACHE_INFORMATION,
	IOCTL_DISK_DELETE_DRIVE_LAYOUT, IOCTL_DISK_UPDATE_PROPERTIES,
	FSCTL_GET_VOLUME_BITMAP, FSCTL_GET_RETRIEVAL_POINTERS,
	FSCTL_MOVE_FILE): Define.
	(CREATE_DISK_GPT, CREATE_DISK_MBR, CREATE_DISK,
	DISK_CACHE_INFORMATION,
	DETECTION_TYPE, DISK_INT13_INFO, DISK_EX_INT13_INFO,
	DISK_DETECTION_INFO, DISK_GEOMETRY_EX, DISK_GROW_PARTITION,
	DISK_PARTITION_INFO, DISKQUOTA_USER_INFORMATION,
	GET_LENGTH_INFORMATION, DISK_EXTENT, VOLUME_DISK_EXTENTS,
	DRIVE_LAYOUT_INFORMATION_GPT, DRIVE_LAYOUT_INFORMATION_MBR,
	PARTITION_INFORMATION_MBR, PARTITION_INFORMATION_GPT,
	PARTITION_INFORMATION_EX, DRIVE_LAYOUT_INFORMATION_EX,
	MOVE_FILE_DATA,
	RETRIEVAL_POINTERS_BUFFER, STARTING_LCN_INPUT_BUFFER,
	STARTING_VCN_INPUT_BUFFER, VOLUME_BITMAP_BUFFER): Add structs
	(PARTITION_STYLE, DISK_CACHE_RETENTION_PRIORITY): Add enums.
	(MEDIA_TYPE): Add F3_120M_512, F3_640_512, F5_640_512,
	F5_720_512,
	F3_1Pt2_512, F3_1Pt23_1024, F5_1Pt23_1024, F3_128Mb_512,
	F3_230Mb_512,
	F8_256_128, F3_200Mb_512, F3_240M_512, and F3_32M_512.
	* lib/kernel32.def (GetVolumePathNamesForVolumeName[AW]): Add
	stubs.
2003-04-26 08:31:29 +00:00
Earnie Boyd 8425a8ce49 * include/wingdi.h (DM_SPECVERSION): Define.
Thanks to Sinitsyn Valentime <valentine.sinitsyn@usu.ru>
	* include/rpcdce.h (UuidCreateSequential): Properly guard with
	appropriate _WIN32_WINNT values.
2003-04-16 12:19:57 +00:00
Christopher Faylor 9eed5df639 * rpcdce.h: Add declaration for UuidCreateSequential.
* rpcrt4.def: Add entry for UuidCreateSequential.
2003-04-16 02:57:33 +00:00
Danny Smith b88a1e6f13 2003-04-14 Phil Krylov <likewolf@users.sourceforge.net>
* include/winuser.h (VK_*): Add missing defines.

2003-04-14  Vincent B�ron  <papineau@users.sourceforge.net>

	* include/commctrl.h (NMUPDOWN, LPNMUPDOWN): Use currently
	documented typedefs for struct _NM_UPDOWN.
	Add defines for backward comapatibility.
	* include/commdlg.h (OFN_ENABLESIZING): Add define.
	* include/wininet.h (IRF_*): Add issing defines.

2003-04-14  Bang Jun-Young  <junyoung@netbsd.org>

	* lib/ntdll.def (Csr*, Dbg*, Ki*, Ldr*, Rtl*): Add W2K exports.
2003-04-14 05:26:34 +00:00
Earnie Boyd fd959d2b39 * include/sspi.h: Add comment for FreeCredentialsHandle. 2003-04-11 12:27:39 +00:00
Danny Smith 3f26a1aeb7 2003-04-07 Marcel Telka <telka@users.sourceforge.net>
* include/ddk/winddk.h (KIRQL): Typedef as UCHAR. not ULONG.
2003-04-07 01:06:23 +00:00
Danny Smith ebb73170e8 2003-03-30 Hans E. Molin <kvasi@users.sourceforge.net>
* include/olectl.h (OleLoadPicturePath): Correct prototype.
2003-03-30 21:19:04 +00:00
Danny Smith c453f40410 2003-03-30 Danny Smith <dannysmith@users.sourceforge.net>
* lib/uuid.c (IID_IHTML*): Move definitions to...
	* lib/mshtml-uuid.c: New file.
	* lib/Makefile.in: Add mshtml-uuid.o to libuuid.a

2003-03-30  Michael Sazonov  <traip@comset.net>

	* lib/uuid.c (IID_IHTML*): Add new GUID definitions.
	* include/mshtml.h (IHTMLElementCollection, IHTMLLinkElement,
	IHTMLImgElement): Add intetface definitions.
2003-03-29 21:31:15 +00:00
Danny Smith d9c55a44d6 * include/commctrl.h (ANIMATE_CLASS,HOTKEY_CLASS,PROGRESS_CLASS,
STATUSCLASSNAME,TOOLBARCLASSNAME,TOOLTIPS_CLASS,TRACKBAR_CLASS,
	UPDOWN_CLASS,WC_COMBOBOXEX,WC_HEADER,WC_IPADDRESS,WC_LISTVIEW,
	WC_TABCONTROL,WC_TREEVIEW): Move UNICODE mappings out of
	RC_INVOKED guard.
 	(WC_PAGESCROLLER,WC_NATIVEFONTCTL,WC_BUTTON,WC_STATIC,WC_EDIT,
	WC_LISTBOX,WC_COMBOBOX,WC_SCROLLBAR): Add defines.
2003-03-29 05:06:53 +00:00
Danny Smith 247808c13b 2003-03-28 Bang Jun-Young <junyoung@netbsd.org>
* include/winnt.h (WAITORTIMERCALLBACKFUNC): Add typedef.
2003-03-29 01:33:41 +00:00
Danny Smith 2f4be7367e * include/secext.h (GetComputerObjectName[AW],GetUserNameEx[AW],
TranslateName[AW]): Add prototypes.
	* lib/sec32.def (GetComputerObjectName[AW],GetUserNameEx[AW],
	TranslateName[AW]): Add stubs.
2003-03-27 08:10:46 +00:00
Danny Smith 498268ef01 2003-03-27 Vladimir Michl <michlv@users.sourceforge.net>
* include/ddk/ndis.h (NdisAllocateSpinLock,NdisFreeSpinLock,
	NdisAcquireSpinLock,NdisReleaseSpinLock,NdisDprAcquireSpinLock,
	NdisDprReleaseSpinLock): Change macro argument from SpinLock to
	_SpinLock.
2003-03-27 02:14:14 +00:00
Earnie Boyd fc7c546387 * include/w32api.h: Increment version to 2.4.
* Makefile.in: Ditto.
2003-03-26 23:50:25 +00:00
Danny Smith 200738932f Move some ddk defines to winnt.h as per MSDN documentation
* include/ddk/batclass.h (BATTERY_REPORTING_SCALE)
	Move structure from here...
	* include/winnt.h (BATTERY_REPORTING_SCALE): To here.

	* include/ddk/ntapi.h (JOBOBJECT_*):
	Remove structures and enums definitions.
  	(JOB_OBJECT*): Move defines from here...
	* include/winnt.h (JOB_OBJECT* ): To here.

	* include/ddk/ntpoapi.h (LATENCY_TIME, POWER_ACTION_POLICY,
	SYSTEM_POWER_LEVEL, SYSTEM_POWER_POLICY,
	PROCESSOR_POWER_POLICY_INFO, PROCESSOR_POWER_POLICY,
	ADMINISTRATOR_POWER_POLICY, SYSTEM_POWER_INFORMATION,
	PROCESSOR_POWER_INFORMATION, SYSTEM_BATTERY_STATE,
	SYSTEM_POWER_CAPABILITIES): Move enums, structures
	and associated defines from here ...
	* include/winnt.h: (LATENCY_TIME, POWER_ACTION_POLICY,
	SYSTEM_POWER_LEVEL, SYSTEM_POWER_POLICY,
	PROCESSOR_POWER_POLICY_INFO, PROCESSOR_POWER_POLICY,
	ADMINISTRATOR_POWER_POLICY, SYSTEM_POWER_INFORMATION,
	PROCESSOR_POWER_INFORMATION, SYSTEM_BATTERY_STATE,
	SYSTEM_POWER_CAPABILITIES):To here.

	* include/ddk/winddk.h (DEVICE_POWER_STATE,
	SYSTEM_POWER_STATE, POWER_ACTION): Move enums
	from here...
	* include/winnt.h (DEVICE_POWER_STATE,
	SYSTEM_POWER_STATE, POWER_ACTION): To here.
2003-03-26 22:28:01 +00:00
Danny Smith bc1658ad66 * include/lmaccess.h (UF_LOCKOUT): Correct name from UF_LOCK.
Thanks to: Fabricio D. Rossi  <gurusoda@users.sourceforge.net>
 	(UF_SETTABLE_BITS): Correct UF_LOCKOUT here too.
2003-03-18 09:19:21 +00:00
Danny Smith 4b170a4bf4 2003-03-17 Bang Jun-Young <junyoung@netbsd.org>
* include/winbase.h (EnumResourceLanguages[AW]): Correct prototypes.
	(EnumResourceNames[AW]): Ditto.
	(EnumResourceTypes[AW]): Ditto.
	* include/wincon.h (CONSOLE_FONT_INFO): Add struct.
2003-03-17 10:01:07 +00:00
Danny Smith 9bd09d45f0 2003-03-16 Toby Malone <malone@users.sourceforge.net>
* include/winuser.h (SendInput): Add prototype.
	* lib/user32.def (SendInput): Add stub.
2003-03-17 00:14:39 +00:00
Danny Smith 7729cf524f 2003-03-16 Vadim Yegorov <zg@bmg.lv>
* winioctl.h (FSCTL_SET_REPARSE_POINT: Correct macro.
	(FSCTL_DELETE_REPARSE_POINT): Likewise.
2003-03-16 01:41:58 +00:00
Danny Smith 5b537130a3 2003-03-15 Bang Jun-Young <junyoung@netbsd.org>
* winnt.h (JOBOBJECTINFOCLASS): Define enum.
	(JOBOBJECT_*): Define corresponding structures.
2003-03-15 03:50:48 +00:00
Danny Smith 2359084b5b 2003-03-13 Danny Smith <dannysmith@users.sourceforge.net>
* include/ddk/winddk.h (PCUNICODE_STRING): Remove incorrect
	typedef.

2003-03-13  Bang Jun-Young  <junyoung@netbsd.org>

	* lib/kernel32.def (Module32{First,Next}{,W}): Add missing exports.
	(Process32{First,Next}{,W}): Ditto.
	(Thread32{First,Next}): Ditto.
	* include/ntdef.h (PCUNICODE_STRING): Add typedef.
2003-03-14 03:06:52 +00:00
Earnie Boyd 19bf3bcc3e * include/mswsock.h: Correct invalid filter for _WINSOCK2_H.
Thanks to Jim Barton <jmbarton@users.sf.net>.
2003-03-12 23:36:54 +00:00
Danny Smith c5e1d3ea74 2003-03-12 Ranjit Mathew <rmathew@hotmail.com>
* include/winnt.h (_IMAGE_SEPARATE_DEBUG_HEADER): Expose
        member SectionAlignment.
2003-03-11 23:53:08 +00:00
Earnie Boyd 296b2a5f17 * include/winsvc.h (SERVICE_NO_CHANGE): Use hex constant to avoid
warnings.
	Thanks to Fabricio D. Rossi <gurusoda@users.sf.net>.
	* Makefile.in (bindist): Correct process.
	* lib/Makefile.in (install): Ditto.
	Thanks to Jeff Bonnggren <jbon@users.sf.net>.
2003-03-11 14:44:58 +00:00
Danny Smith 316d65dc72 * include/rasdlg.h: New file.
* lib/rasdlg.def: New file.
	* lib/test.c: Include rasdlg.h.
2003-03-10 22:45:51 +00:00
Danny Smith 3332e57f26 2003-03-06 Christopher January <chris@atomice.net>
* include/winbase.h (FindFirstVolume): Add declaration.
	(FindNextVolume): Add declaration.
	(FindVolumeClose): Add declaration.
	(GetSystemTimes): Add declaration.
	* include/winnt.h: Add define for PF_XMMI64_INSTRUCTIONS_AVAILABLE.

2003-03-06  Danny Smith  <dannysmith@users.sourceforge.net>

	*lib/kernel32.def (GetSystemTimes): Add stub.
2003-03-07 00:51:19 +00:00
Danny Smith b99f1bf031 2003-03-04 Heiko Gerdau <hg@technosis.de>
* oleidl.h (IOleObject): Correct GetUserType prototype.
	(IViewObject2): Correct GetExtent prototype.
	* olectl.h (DISPIP_): Add new defines
	* ocidl.h (IOleInPlaceSiteWindowless): Add new interface.
2003-03-04 00:36:06 +00:00
Danny Smith 82569d7ac6 * include/olectl.h (OleLoadPictureEx) Add prototype.
(OleLoadPictureFile): Ditto.
	(OleLoadPictureFileEx): Ditto.
	(OleLoadPicturePath): Ditto.
	(OleSavePictureFile): Ditto.
2003-03-01 09:34:12 +00:00
Danny Smith c498f2e35a * include/objbase.h (CoAddRefServerProcess): Add prototype.
(CoAddReleaseServerProcess): Ditto.
	(CoResumeClassObjects): Ditto.
	(CoSuspendClassObjects): Ditto.
	* include/oleauto.h (V_I1): Define.
	Thanks to: "Timofei"  <mmttmm@users.sourceforge.net>
2003-03-01 07:19:36 +00:00
Danny Smith 8c061d6294 2003-03-01 Heiko Gerdau <hg@technosis.de>
* include/oleidl.h (USERCLASSTYPE): Add enum.
	* include/ocidl.h (IObjectWithSite): Add interface.
2003-03-01 06:51:51 +00:00
Danny Smith 3d5a4cbe6b 2003-02-28 Roland Schwingel <roland.schwingel@onevision.de>
Fixup UNICODE thinko in 2003-02-22 patch.
	* include/wingdi.h (AddFontMemResourceEx): Add.
	(RemoveFontMemResourceEx): Ditto.
	(AddFontMemResourceEx[AW]): Remove.
	(RemoveFontMemResourceEx[AW]): Ditto
	* lib/gdi32.def: (AddFontResourceEx): Add.
	(RemoveFontMemResourceEx): Ditto.
	(AddFontMemResourceEx[AW]): Remove.
	(RemoveFontResourceEx[AW]): Ditto.
2003-02-28 08:03:13 +00:00
Danny Smith cc379158bb 2003-02-23 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (EVENTLOG_SUCCESS): Add define.
	Thanks to: Thomas Weber  <thomasweber@sourceforge.net>
2003-02-23 08:31:37 +00:00
Danny Smith fe96201935 2003-02-22 Roland Schwingel <roland.schwingel@onevision.de>
* include/wingdi.h (AddFontMemResourceEx[AW]): Add.
	(RemoveFontMemResourceEx[AW]): Ditto
	* lib/gdi32.def (AddFontMemResourceEx[AW]): Add.
	(RemoveFontMemResourceEx[AW]): Ditto.
2003-02-22 11:32:30 +00:00
Danny Smith f06b65e352 * include/wsahelp.h: Remove ';' after closing
#ifdef __cplusplus brace.
	* include/ws2spi.h: Likewise.
2003-02-22 10:21:39 +00:00
Danny Smith dffcc5d324 * include/winbase.h (MEMORYSTATUSEX): Add structure.
(GlobalMemoryStatusEx): Add prototype.
	* lib/kernel32.def (GlobalMemoryStatusEx): Add stub.
2003-02-22 10:16:22 +00:00
Corinna Vinschen 7920792369 w32api:
* include/winioctl.h (FSCTL_SET_SPARSE): Define.

cygwin:

        * wincap.h (wincaps::supports_sparse_files): New flag.
        (wincapc::supports_sparse_files): New method.
        * wincap.cc (wincap_unknown): Define value for the new flag.
        (wincap_95): Ditto.
        (wincap_95osr2): Ditto.
        (wincap_98): Ditto.
        (wincap_98se): Ditto.
        (wincap_me): Ditto.
        (wincap_nt3): Ditto.
        (wincap_nt4): Ditto.
        (wincap_nt4sp4): Ditto.
        (wincap_2000): Ditto.
        (wincap_xp): Ditto.
        * path.h (path_conv::fs_flags): New method.
        * fhandler_disk_file.cc: Include winioctl.h for DeviceIoControl.
        (fhandler_disk_file::open): Set newly created and truncated files as
        sparse on platforms that support it.
2003-02-20 10:14:53 +00:00
Danny Smith 31ad033df2 2003-02-12 Roland Schwingel <roland.schwingel@onevision.de>
* include/wingdi.h (AddFontResourceEx[AW]): Add.
	(RemoveFontResourceEx[AW]): Ditto
	(FR_PRIVATE): Define.
	(FR_NOT_ENUM): Define.
	* lib/gdi32.def (AddFontResourceEx[AW]): Add.
	(RemoveFontResourceEx[AW]): Ditto.
2003-02-12 21:15:13 +00:00
Earnie Boyd 16f4e17208 * include/w32api.h: Increment version to 2.3.
* Makefile.in: Ditto.
2003-02-10 14:14:01 +00:00
Earnie Boyd 4fa551dbc4 * include/secext.h: New file. Declare EXTENDED_NAME_FORMAT.
* include/security.h: Include secext.h.
	* include/winbase.h: Declare COMPUTER_NAME_FORMAT.
	Thanks to Dimitri Papadopoulos <dimitri_at@users.sf.net>
2003-02-09 14:02:30 +00:00
Earnie Boyd 33c7867ef1 * include/basetypes.h (_GUID_DEFINED): Add deprecation warning, start
using GUID_DEFINED instead.
	* include/sqltypes.h: Ditto.
	* include/winnt.h: Ditto.
	* include/ddk/scsiwmi.h: Ditto.
2003-02-05 15:51:27 +00:00
Danny Smith ccbb9a6490 * include/shlwapi.h (PathRelativePathTo[AW]): Correct
protototypes.
	Thanks to: John Dallaway  <jld@ecoscentric.com>.
2003-02-04 22:17:38 +00:00
Danny Smith 05d2a9a4fb * include/commctrl.h (TCM_*): Add missing defines. 2003-02-01 11:38:31 +00:00
Danny Smith 93dfea5667 2003-02-01 Jesus Alvarez <jesus_alvarez@users.sourceforge.net>
Danny Smith  <dannysmith@users.sourceforge.net>

	* include/prsht.h (PSP_*, PSH_*): Add missing defines.
	(PROPSHEETPAGE[AW]): Add pszHeaderTitle, pszHeaderSubTitle
	for (_WIN32_IE >= 0x0400).
	(PROPSHEETHEADER[AW]): Add hplWatermark and anonymous union
	fields for (_WIN32_IE >= 0x0400).
2003-02-01 08:53:17 +00:00
Danny Smith 28c098e3f4 2003-01-31 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (CreateFiber): Change first parameter
	to SIZE_T.
	(CreateJobObject[AW], CreateHardLink[AW]): Guard with
	(_WIN32_WINNT >= 0x0500).

2003-01-31  Bang Jun-Young  <junyoung@netbsd.org>

	* include/winbase.h (PWIN32_FIND_DATAA, PWIN32_FIND_DATAW):
	Add missing typedefs.
	(CreateFiberEx, CreateJobObjectA,CreateJobObjectW): Add missing
	prototypes.
	(CreateHardLinkA, CreateHardLinkW): Return BOOL, not HANDLE.
2003-01-31 08:28:44 +00:00
Danny Smith 500acc57eb 2003-01-27 Krzysztof Nikiel <kni@poczta.onet.pl>
* include/mmsystem.h (MIXERCONTROL_CONTROLF_MULTIPLE): Correct
	define.
	* lib/largeint.c (LargeIntegerAdd): Add, don't multiply.
2003-01-27 23:11:13 +00:00
Danny Smith d2f9f641d9 2003-01-27 Danny Smith <dannysmith@users.sourceforge.net>
* include/rpcnterr.h (RPC_X_INVALID_PIPE_OPERATION): Add
	define.
	* include/winbase.h (WAIT_TIMEOUT): Guard against prior
	definition.
	(WAIT_FAILED): Cast to DWORD.
	* include/winerror.h (WAIT_TIMEOUT): Guard against prior
	definition.

2003-01-27  Bang Jun-Young  <junyoung@netbsd.org>

	* include/winerror.h: Protect against multiple
	definition of WSA* error codes.
	* include/winsock.h: Likewise.
	* include/winsock2.h: Likewise.

2003-01-27  Bang Dong-Heui
	    Bang Jun-Young  <junyoung@netbsd.org>

	* include/winerror.h (ERROR_*, SEC_E_*,RPC_S_*, FRS_ERR_*,
	DNS_*, WSA*, WAIT_TIMEOUT): Add missing error codes.
	(RPC_X_INVALID_PIPE_OPERATION): Remove define.
2003-01-27 07:15:17 +00:00
Danny Smith 81632e9e55 * include/ras.h (RASCONN[AW]): Add dwSessionId for
(WINVER >= 0x501).
2003-01-25 00:47:25 +00:00
Danny Smith bb9f07bc54 * include/ras.h (RASCONN[AW]): Guard szDeviceType,
szDeviceName fields with WINVER >= 0x400. Add dwFlags, luid
	fields for WINVER >= 0x501.
2003-01-25 00:41:45 +00:00
Danny Smith 2d771b3dd9 * lib/ws2_32.def (getaddrinfo, freeaddrinfo and getnameinfo):
Add stubs.
	* include/ws2tcpip.h (IPV6_*) Add IPPROTO_IPV6 level socket
	options.
2003-01-23 20:43:47 +00:00
Danny Smith c3e8272116 * include/winnt.h (IMAGE_FILE_AGGRESIVE_WS_TRIM
IMAGE_FILE_LARGE_ADDRESS_AWARE): Add defines.
2003-01-11 06:06:46 +00:00
Danny Smith 18d821e186 * include/accctrl.h (enum _SE_OBJECT_TYPE): Add
SE_REGISTRY_WOW64_32KEY.
2003-01-11 04:08:15 +00:00
Danny Smith 82409119c0 * include/commctrl.h (HDN_GETDISPINFO[AW]: Add defines.
(tagNMHDDISPINFO[AW}: Add structures and typedefs.
2003-01-11 03:43:14 +00:00
Christopher Faylor 7ba5067f87 * include/winsock2.h: Remove gethostname from INSIDE_CYGWIN protection. 2003-01-11 01:28:37 +00:00
Danny Smith 5e1b786d38 * lib/dxguid.c: Don't #include <objbase.h>.
* include/unknwn.h: Partially revert change of 2002-12-26.
	Don't include <ole2.h>.
2003-01-08 10:55:02 +00:00
Danny Smith 4961ecb3d9 2003-01-08 Danny Smith <dannysmith@users.sourceforge.net>
* lib/dinput.c: Don't #include <objbase.h>.

2003-01-08  Bart Oldeman  <bartoldeman@users.sourceforge.net>

	* include/windows.h (ole2.h):Do #include for
	__WATCOMC__.
2003-01-08 09:15:53 +00:00
Danny Smith 066a41acdf * include/winuser.h ((SPI_SETWHEELSCROLLLINES) Add define.
* include/zmouse.h (WHEEL_DELTA): Guard against prior
	definition.
	(WHEEL_PAGESCROLL): Likewise.
	(SPI_SETWHEELSCROLLLINES): Define, if not already done.
2003-01-06 00:18:45 +00:00
Danny Smith 8b052ae3f6 * include/winuser.h (SPI_GETWHEELSCROLLLINES) Add define.
(WHEEL_PAGESCROLL): Add define.
2003-01-05 02:49:15 +00:00
Danny Smith f2f59a268f * include/commctrl.h (tagNMTOOLBAR[AW]): Replace obsolete struct
names tagTBNOTIFY[AW] and typedefs. Add defines for backward
	compatability. Add RECT field. Add UNICODE mappings for new
	names.
	(tagNMREBARCHEVRON): Add struct and typedefs for
	_WIN32_IE >= 0x0500.
2003-01-04 11:52:06 +00:00
Danny Smith 61b9f92918 * include/commctrl.h (TOOLINFO[AW]: Update structures.
(LVHITTESTINFO): Likewise.

	* include/wingdi.h (GRADIENT_TRIANGLE): Add structure.
	(GRADIENT_RECT): Likewise.
2003-01-04 10:58:36 +00:00
Danny Smith 670867158e 2003-01-03 Bang Jun-Young <junyoung@netbsd.org>
* include/winerror.h (ERROR_OPLOCK_NOT_GRANTED,
	ERROR_INVALID_OPLOCK_PROTOCOL, ERROR_SOURCE_ELEMENT_EMPTY,
	ERROR_DESTINATION_ELEMENT_FULL, ERROR_ILLEGAL_ELEMENT_ADDRESS,
	ERROR_MAGAZINE_NOT_PRESENT, ERROR_DEVICE_REINITIALIZATION_NEEDED,
	ERROR_DEVICE_REQUIRES_CLEANING, ERROR_DEVICE_DOOR_OPEN,
	ERROR_DEVICE_NOT_CONNECTED, ERROR_NOT_FOUND, ERROR_NO_MATCH,
	ERROR_SET_NOT_FOUND, ERROR_NO_TRACKING_SERVICE,
	ERROR_JOURNAL_DELETE_IN_PROGRESS, ERROR_JOURNAL_NOT_ACTIVE,
	ERROR_JOURNAL_ENTRY_DELETED, ERROR_ONLY_IF_CONNECTED,
	ERROR_NOT_SUPPORTED_ON_SBS, ERROR_SERVER_SHUTDOWN_IN_PROGRESS,
	ERROR_MUTUAL_AUTH_FAILED, ERROR_TIME_SKEW, ERROR_DEVICE_REMOVED,
	RPC_S_INVALID_ASYNC_HANDLE, RPC_S_INVALID_ASYNC_CALL,
	RPC_X_PIPE_CLOSED, RPC_X_PIPE_DISCIPLINE_ERROR, RPC_X_PIPE_EMPTY,
	ERROR_CANT_ACCESS_FILE, ERROR_CANT_RESOLVE_FILENAME,
	ERROR_WMI_GUID_NOT_FOUND, ERROR_WMI_INSTANCE_NOT_FOUND,
	ERROR_WMI_ITEMID_NOT_FOUND, ERROR_WMI_TRY_AGAIN, ERROR_WMI_READ_ONLY,
	ERROR_WMI_SET_FAILURE, ERROR_TRANSPORT_FULL, ERROR_FILE_OFFLINE,
	ERROR_REMOTE_STORAGE_NOT_ACTIVE, ERROR_REMOTE_STORAGE_MEDIA_ERROR,
	ERROR_NOT_A_REPARSE_POINT, ERROR_REPARSE_ATTRIBUTE_CONFLICT,
	ERROR_INVALID_REPARSE_DATA, ERROR_REPARSE_TAG_INVALID,
	ERROR_REPARSE_TAG_MISMATCH, ERROR_FILE_ENCRYPTED,
	ERROR_FILE_NOT_ENCRYPTED, ERROR_NOT_EXPORT_FORMAT,
	ERROR_CTX_WINSTATION_NAME_INVALID, ERROR_CTX_INVALID_PD,
	ERROR_CTX_PD_NOT_FOUND, ERROR_CTX_WD_NOT_FOUND,
	ERROR_CTX_CLOSE_PENDING, ERROR_CTX_NO_OUTBUF,
	ERROR_CTX_MODEM_INF_NOT_FOUND, ERROR_CTX_INVALID_MODEMNAME,
	ERROR_CTX_MODEM_RESPONSE_ERROR, ERROR_CTX_MODEM_RESPONSE_TIMEOUT,
	ERROR_CTX_MODEM_RESPONSE_NO_CARRIER,
	ERROR_CTX_MODEM_RESPONSE_NO_DIALTONE, ERROR_CTX_MODEM_RESPONSE_BUSY,
	ERROR_CTX_MODEM_RESPONSE_VOICE, ERROR_CTX_TD_ERROR,
	ERROR_CTX_WINSTATION_NOT_FOUND, ERROR_CTX_WINSTATION_ALREADY_EXISTS,
	ERROR_CTX_WINSTATION_BUSY, ERROR_CTX_BAD_VIDEO_MODE,
	ERROR_CTX_GRAPHICS_INVALID, ERROR_CTX_NOT_CONSOLE,
	ERROR_CTX_CLIENT_QUERY_TIMEOUT, ERROR_CTX_CONSOLE_DISCONNECT,
	ERROR_CTX_CONSOLE_CONNECT, ERROR_CTX_SHADOW_DENIED,
	ERROR_CTX_WINSTATION_ACCESS_DENIED, ERROR_CTX_INVALID_WD,
	ERROR_CTX_SHADOW_INVALID, ERROR_CTX_SHADOW_DISABLED,
	ERROR_CTX_CLIENT_LICENSE_IN_USE, ERROR_CTX_CLIENT_LICENSE_NOT_SET,
	ERROR_CTX_LICENSE_NOT_AVAILABLE, ERROR_CTX_LICENSE_CLIENT_INVALID,
	ERROR_CTX_LICENSE_EXPIRED, ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY,
	ERROR_DS_NO_ATTRIBUTE_OR_VALUE, ERROR_DS_INVALID_ATTRIBUTE_SYNTAX,
	ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED, ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS,
	ERROR_DS_BUSY, ERROR_DS_UNAVAILABLE, ERROR_DS_NO_RIDS_ALLOCATED,
	ERROR_DS_NO_MORE_RIDS, ERROR_DS_INCORRECT_ROLE_OWNER,
	ERROR_DS_RIDMGR_INIT_ERROR, ERROR_DS_OBJ_CLASS_VIOLATION,
	ERROR_DS_CANT_ON_NON_LEAF, ERROR_DS_CANT_ON_RDN,
	ERROR_DS_CANT_MOD_OBJ_CLASS, ERROR_DS_CROSS_DOM_MOVE_ERROR,
	ERROR_DS_GC_NOT_AVAILABLE, ERROR_SHARED_POLICY,
	ERROR_POLICY_OBJECT_NOT_FOUND, ERROR_POLICY_ONLY_IN_DS,
	ERROR_DS_ADMIN_LIMIT_EXCEEDED, ERROR_DS_DS_REQUIRED,
	ERROR_DS_SAM_INIT_FAILURE, ERROR_DS_SENSITIVE_GROUP_VIOLATION,
	ERROR_DS_CANT_MOD_PRIMARYGROUPID, ERROR_DS_INVALID_GROUP_TYPE,
	ERROR_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN,
	ERROR_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN,
	ERROR_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER,
	ERROR_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER,
	ERROR_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER,
	ERROR_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER,
	ERROR_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER,
	ERROR_DS_HAVE_PRIMARY_MEMBERS, ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD,
	ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY, ERROR_DS_CANT_START,
	ERROR_DS_INIT_FAILURE, ERROR_SAM_INIT_FAILURE, ERROR_DS_GC_REQUIRED,
	ERROR_DS_LOCAL_MEMBER_OF_LOCAL_ONLY,
	ERROR_DS_NO_FPO_IN_UNIVERSAL_GROUPS,
	ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED):
	Add missing error codes.
2003-01-03 22:57:37 +00:00
Danny Smith c7ceb003b2 * include/winnt.h (GetCurrentFiber): Remove blank input field
in asm code.
	(GetFiberData): Likewise.
2003-01-02 23:30:27 +00:00
Danny Smith 6e745f9fb8 * include/winerror.h (ERROR_DIFFERENT_SERVICE_ACCOUNT,
ERROR_EXE_MACHINE_TYPE_MISMATCH, ERROR_HOOK_TYPE_NOT_ALLOWED,
	ERROR_INVALID_KEYBOARD_HANDLE, ERROR_INVALID_PRINT_MONITOR,
	ERROR_PRINT_MONITOR_IN_USE, ERROR_PRINTER_HAS_JOBS_QUEUED,
	ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION,
	ERROR_SUCCESS_REBOOT_REQUIRED, ERROR_SUCCESS_RESTART_REQUIRED,
	ERROR_TIMEOUT, OR_INVALID_OID, OR_INVALID_OXID,
	OR_INVALID_SET, RPC_X_INVALID_PIPE_OPERATION): Add missing
	error codes.
	Re-sort codes..
2003-01-02 11:17:16 +00:00
Danny Smith fa40ef7337 * include/winspool.h (PRINTER_INFO_6): Add.
Reported by: Mat Nieuwenhoven  <matnieuw@users.sourceforge.net>
2003-01-02 03:47:21 +00:00
Danny Smith 31fa4af548 2002-12-30 Hartmut Honisch <hhonisch@users.sourceforge.net>
* include/winbase.h (NMPWAIT_WAIT_FOREVER): Cast to DWORD.

	* lib/ntdll.def (NtConnectPort, NtOpenEvent,
	NtRequestWaitReplyPort, NtWaitForSingleObject,ZwConnectPort,
	ZwOpenEvent, ZwRequestWaitReplyPort, ZwWaitForSingleObject):
	Add stubs.
2002-12-30 08:48:23 +00:00
Danny Smith c8eb82fe9f * include/wingdi.h (wglGetLayerPaletteEntries): Correct
prototype. Thanks to: Joe Krahn  <jkrahn at nc dot rr dot com>.

	ChangeLog: Remove some whitespace.
2002-12-30 06:48:50 +00:00
Danny Smith 4a5c645e62 2002-12-26 Dimitri Papadopoulos <dimitri_at@sourceforge.users.net>
* include/wingdi.h (DOCINFOA): Replace LPCTSTR with LPCSTR.
2002-12-26 10:51:13 +00:00
Danny Smith dfc7f86821 2002-12-26 Dimitri Papadopoulos <dimitri_at@sourceforge.users.net>
* include/wingdi.h (BALTIC_CHARSET, JOHAB_CHARSET,
	VIETNAMESE_CHARSET): Remove duplicate defines.
	* lib/comctl32.def (ImageList_SetImageCount): Add stub.
2002-12-26 10:40:58 +00:00
Danny Smith 6e29a31e99 * include/dbt.h (DEV_BROADCAST_PORT): Add UNICODE version.
Thanks to: Dimitri Papadopoulos  <dimitri_at@sourceforge.users.net>
2002-12-26 05:21:43 +00:00
Danny Smith 177a7cda75 2002-12-26 Dimitri Papadopoulos <dimitri_at@sourceforge.users.net>
* include/dde.h (PackDDElParam, UnpackDDElParam,FreeDDElParam,
	ReuseDDElParam): Use __WIN64 compatible typedefs.
2002-12-26 05:08:32 +00:00
Danny Smith aa6ad99be8 * include/unknwn.h: Include windows.h and ole2.h before header
guard to avoid circular inclusion of COM headers.
2002-12-26 05:05:46 +00:00
Danny Smith 832a8b19cd 2002-12-26 Dimitri Papadopoulos <dimitri_at@sourceforge.users.net>
* include/accctrl.h (ACTRL_ACCESS_ENTRY[AW]): Make
	lpInheritProperty member const.
	(ACTRL_PROPERTY_ENTRY[AW]): Make lpProperty member
	const.
2002-12-26 04:34:47 +00:00
Danny Smith bdcc7be2bb * include/commcat.h: Don't include windows.h or ole2.h ifdef
COM_NO_WINDOWS_H.
	* include/unknwn.h: Ditto.
2002-12-26 04:23:57 +00:00
Danny Smith ebe02e1884 * include/imm.h (ImmGetCompositionFont[AW],
ImmSetCompositionFont[AW]): Add NOGDI guard.
2002-12-26 03:57:17 +00:00
Danny Smith 037c11e868 * include/ddk/hidusage.h: Remove unneccessary #pragma pack's.
* include/ddk/miniport.h (EMULATOR_PORT_ACCESS_TYPE): Define
	before using.
	(VIDEO_ACCESS_RANGE): Guard against prior definition.
	* include/ddk/minitape.h (INQUIRYDATA): Guard against prior
	definition.
	* include/ddk/ndis.h (DECLARE_UNKNOWN_PROTOTYPE): Correct macro.
	* include/ddk/ndisguid.h: Remove unneccessary #pragma pack's.
	* include/ddk/scsi.h (INQUIRYDATA): Guard against prior
	definition.
	* include/ddk/scsiwmi.h (GUID): Define if not already done.
	(LPCGUID): Likewise.
	* include/ddk/tdi.h: Close "Listen flags" comment.
	* include/ddk/tdistat.h: Remove unneccessary #pragma pack's.
	* include/ddk/video.h:	Add #pragma pack(push,4) to balance.
	(VIDEO_ACCESS_RANGE): Guard against prior definition.
	* include/ddk/videoagp.h:Add #pragma pack(push,4) to balance.
	* include/ddk/win2k.h: Likewise.
	* include/ddk/winddi.h: Likewise.
	* include/ddk/winddk.h: Likewise.
	* include/ddk/winnt4.h: Likewise.
	* include/ddk/ws2san.h: Likewise.
	* include/ddk/xfilter.h: Remove unbalanced #pragma pack(pop).
	* include/ddk/video.h: Don't process rest of file ifdef
	__WINDDI_H.
	* include/ddk/winddi.h: Don't process rest of file ifdef
	__VIDEO_H.
	* include/ddk/usb.h: Don't process rest of file ifdef
	__USBDI_H.
	* include/ddk/usbdi.h: Don't process rest of file ifdef
	__USB_H.
	* include/ddk/usbcamdi.h: Don't process rest of file if
	!defined(__USB_H) && !defined(__USBDI_H)
2002-12-19 01:34:26 +00:00
Danny Smith b0ae479f36 2002-12-18 James E. Lucas <xelloss@users.sourceforge.net>
* include/winnetwk.h (WNetResourceInformation[AW]): Correct
	prototypes.
	* include/winuser.h (GetAncestor) Add prototype.
	(GA_PARENT, GA_ROOT, GA_ROOTOWNER): Add defines.
	(EWX_FORCEIFHUNG): Add define for _WIN32_WINNT >= 0x0500.
	(SPI_GETACTIVEWINDOWTRACKING, SPI_GETACTIVEWNDTRKZORDER,
	SPI_GETACTIVEWNDTRKTIMEOUT, SPI_SETACTIVEWINDOWTRACKING
	SPI_SETACTIVEWNDTRKZORDER, SPI_SETACTIVEWNDTRKTIMEOUT): Add
	defines.
	* lib/user32.def (GetAncestor@8): Add stub.
2002-12-18 00:25:58 +00:00
Danny Smith ba1ff7c9b8 * include/windows.h: Guard inclusion of wingdi.h,
commdlg.h, winspool.h, ole2.h with NOGDI.
 	* include/winuser.h (ICONMETRICS, NONCLIENTMETRICS,
	ChangeDisplaySettings, CreateDesktop, EnumDisplaySettings):
	Guard with NOGDI.
2002-12-15 20:55:36 +00:00
Danny Smith 4adcb8724d 2002-12-12 Dimitri Papadopoulos <dimitri_at@sourceforge.users.net>
* include/oleacc.h (SELFLAG_*): Change to enum.
2002-12-13 01:18:54 +00:00
Danny Smith a6af7dbdc3 * include/shlobj.h (IShellLinkW::GetPath): Correct prototype. 2002-12-12 09:51:38 +00:00
Danny Smith 97cc22ad06 * include/shellapi.h (ExtractIconEx[AW]): Correct return type
to UINT.
2002-12-09 01:51:27 +00:00
Danny Smith e57ba5d3cd * include/winuser.h (AllowSetForegroundWindow,
LockSetForegroundWindow) Add prototypes.
	(ASFW_ANY, LSFW_LOCK, LSFW_UNLOCK) Add defines.
	Thanks to:  Pat Thoyts  <patthoyts@users.sourceforge.net>
	* lib/winuser.def (AllowSetForegroundWindow,
	LockSetForegroundWindow): Add stubs.
2002-12-07 07:23:41 +00:00
Danny Smith e25e377eb3 2002-12-06 Ken Fitlike <kenfitlike@users.sourceforge.net>
* include/commctrl.h (TN_GETDISPINFO[AW]): Add defines and
	UNICODE mappings.
	(tagNMTTDISPINFO[AW]): Replace obsolete struct names
	tagTOOLTIPTEXT[AW] and typedefs. Add defines for backward
	compatability. Add lParam field. Add UNICODE mappings for new
	names.
2002-12-06 04:13:31 +00:00
Danny Smith d0619aa715 2002-12-02 Andrew Stadt <acstadt@sympatico.ca>
* include/shellapi.h (_SHFILEOPSTRUCTA,_SHFILEOPSTRUCTW):
	Wrap with pshpack2.h/poppack.h to correct alignment.
2002-12-02 09:53:09 +00:00
Danny Smith c7ca0398dc 2002-12-02 Ken Fitlike <kenfitlike@users.sourceforge.net>
* include/commctrl.h (LVBKIF_*): Add defines.
	(LVM_SETIMAGE[AW]): Add defines and UNICODE mappings.
	(LVM_GETIMAGE[AW]): Add defines and UNICODE mappings.
	(LVBKIMAGE[AW]): Add defines and UNICODE mappings.
	(LPLVBKIMAGE[AW]): Add defines and UNICODE mappings.
	(LVM_GETBKIMAGE[AW]): Add defines and UNICODE mappings.
	(LVM_SETBKIMAGE[AW]): Add defines and UNICODE mappings.
	(ListView_GetBkImage): Add define.
	(ListView_SetBkImage): Add define.
	(LVBKIMAGE): Add structures and typedefs.
2002-12-02 09:50:03 +00:00
Earnie Boyd 4e85569d11 * include/w32api.h: Increment to version 2.2
* Makefile.in: Ditto.
2002-11-25 21:15:52 +00:00
Danny Smith 540d550a38 * include/ddk/(atm.h, batclass.h, cfg.h, cfgmgr32.h, d4drvif.h,
d4iface.h, ddkmapi.h, hidclass.h, hidpi.h, hidusage.h, mcd.h,
	miniport.h, minitape.h, mountdev.h, mountmgr.h, ndis.h,
	ndisquid.h, ndistapi.h, ndisvan.h, netevent.h, netpnp.h,
	netdev.h, ntapi.h, ntdd8042.h, ntddbeep.h, ntddcdrm.h,
	ntddcdvd.h, ntddchgr.h, ntdddisk.h, ntddk.h, ntddkbd.h,
	ntddmou.h, ntddndis.h, ntddpar.h, ntddpcm.h, ntddscsi.h,
	ntddser.h, ntddstor.h, ntddtape.h, ntddtdi.h, ntddvdeo.h,
	ntddvol.h, ntifs.h, ntpoapi.h, ntstatus.h, parallel.h, pfhook.h,
	poclass.h, scsi.h, scsiscan.h, scsiwmi.h, smbus.h, srb.h,
	storport.h, tdi.h, tdiinfo.h, tdikrnl.h, tdistat.h, tvout.h,
	upssvc.h, usb.h, usb100.h, usbcamdi.h, usbdi.h, usbioctl.h,
	usbiodef.h, usbscan.h, usbuser.h, video.h, videoagp.h, win2k.h,
	winddi.h, winddk.h, winnt4.h, winxp.h, ws2san.h,
	xfilter.h): Change comment to refer w32api package, not MinGW.
2002-11-15 01:08:17 +00:00
Danny Smith 429ae76922 * include/ddk/ntddk.h: Include winnt.h as system header. 2002-11-15 01:02:37 +00:00
Danny Smith 6ac7b97610 * include/ddk/(atm.h, batclass.h, cfg.h, cfgmgr32.h, d4drvif.h,
d4iface.h, ddkmapi.h, hidclass.h, hidpi.h, hidusage.h, mcd.h,
	miniport.h, minitape.h, mountdev.h, mountmgr.h, ndis.h,
	ndisquid.h, ndistapi.h, ndisvan.h, netevent.h, netpnp.h,
	netdev.h, ntapi.h, ntdd8042.h, ntddbeep.h, ntddcdrm.h,
	ntddcdvd.h, ntddchgr.h, ntdddisk.h, ntddk.h, ntddkbd.h,
	ntddmou.h, ntddndis.h, ntddpar.h, ntddpcm.h, ntddscsi.h,
	ntddser.h, ntddstor.h, ntddtape.h, ntddtdi.h, ntddvdeo.h,
	ntddvol.h, ntifs.h, ntpoapi.h, ntstatus.h, parallel.h, pfhook.h,
	poclass.h, scsi.h, scsiscan.h, scsiwmi.h, smbus.h, srb.h,
	storport.h, tdi.h, tdiinfo.h, tdikrnl.h, tdistat.h, tvout.h,
	upssvc.h, usb.h, usb100.h, usbcamdi.h, usbdi.h, usbioctl.h,
	usbiodef.h, usbscan.h, usbuser.h, video.h, videoagp.h, win2k.h,
	winddi.h, winddk.h, winnt4.h, winxp.h, ws2san.h,
	xfilter.h): Fix typo in disclaimer comment.
2002-11-12 21:34:07 +00:00
Danny Smith 4308e5b0dd * include/exdisp.h: Include oaidl.h as system header. 2002-11-12 21:25:23 +00:00
Earnie Boyd 1f90279128 * include/w32api.h (__W32API_VERSION): Fix. 2002-11-12 16:13:51 +00:00
Danny Smith 00970f126e * include/oleauto.h (DeregisterTypeLib): Remove.
(UnRegisterTypeLib): Add prototype.
2002-11-08 00:00:01 +00:00
Corinna Vinschen 963fb8837d * include/winioctl.h: Add definition for IOCTL_DISK_UPDATE_DRIVE_SIZE. 2002-11-07 14:14:01 +00:00
Danny Smith 2f14399c16 * include/winnt.h (VerSetConditionMask): Add prototype.
* lib/kernel32.def (VerifyVersionInfo[AW]): Add stubs.
2002-11-04 03:53:53 +00:00
Danny Smith d7c2dc62fd * include/winuser.h (MONITORINFOEX[AW]): Add structure
definitions and ANSI/UNICODE mappings.
	Cleanup whitespace.
2002-10-16 22:20:34 +00:00
Danny Smith 5c2b46f4a8 * include/windows.h: Don't include basetyps.h.
* include/objfwd.h: Do include basetyps.h.
2002-10-14 02:12:51 +00:00
Danny Smith 5cafa3aa1a * include/objbase.h: Include rpc.h and rpcndr.h
before header guard.
2002-10-13 03:11:58 +00:00
Danny Smith afc65aebbd * include/olectl.h (PROPPAGEINFO): Change type of
field cb to ULONG.
2002-10-11 03:40:06 +00:00
Danny Smith ce6ac4003f 2002-10-08 Heiko Gerdau <hg@technosis.de>
* include/oleacc.h: New file.
	* include/winuser.h (ENDSESSION_LOGOFF) Add define.
	(OBJID_*) Add defines.
	* lib/uuid.c: Add DEFINE_GUID for IID_IAccessible.
	* lib/test.c: Include oleacc.h.
2002-10-09 00:16:22 +00:00
Earnie Boyd 2bacbfb1d1 2002-10-06 Casper Hornstrup <chorns@it.dk>
* include/ddk: New subdir.
	* lib/ddk: Ditto.
	* include/ddk/(atm.h, batclass.h, cfg.h, cfgmgr32.h, d4drvif.h,
	d4iface.h, ddkmapi.h, hidclass.h, hidpi.h, hidusage.h, mcd.h,
	miniport.h, minitape.h, mountdev.h, mountmgr.h, ndis.h,
	ndisquid.h, ndistapi.h, ndisvan.h, netevent.h, netpnp.h,
	netdev.h, ntapi.h, ntdd8042.h, ntddbeep.h, ntddcdrm.h,
	ntddcdvd.h, ntddchgr.h, ntdddisk.h, ntddk.h, ntddkbd.h,
	ntddmou.h, ntddndis.h, ntddpar.h, ntddpcm.h, ntddscsi.h,
	ntddser.h, ntddstor.h, ntddtape.h, ntddtdi.h, ntddvdeo.h,
	ntddvol.h, ntifs.h, ntpoapi.h, ntstatus.h, parallel.h, pfhook.h,
	poclass.h, scsi.h, scsiscan.h, scsiwmi.h, smbus.h, srb.h,
	storport.h, tdi.h, tdiinfo.h, tdikrnl.h, tdistat.h, tvout.h,
	upssvc.h, usb.h, usb100.h, usbcamdi.h, usbdi.h, usbioctl.h,
	usbiodef.h, usbscan.h, usbuser.h, video.h, videoagp.h, win2k.h,
	winddi.h, winddk.h, winnt4.h, winxp.h, ws2san.h,
	xfilter.h): New files.
	* lib/ddk/(Makefile.in, apcups.def, cfgmgr32.def, dxapi.def,
	hal.def, hid.def, hidparse.def, mcd.def, ndis.def, ntoskrnl.def,
	scsiport.def, tdi.def, usbcamd.def, usbcamd2.def, videoprt.def,
	win32k.def): Ditto.
2002-10-06 22:18:26 +00:00
Danny Smith d905b7d0ce 2002-10-04 "KJK::Hyperion" <noog@libero.it>
*include/windef.h (WPARAM): Update typedef.
	(LPARAM): Ditto.
	(LRESULT): Ditto.
2002-10-04 04:25:00 +00:00
Danny Smith 6930d6cdd0 2002-10-04 "KJK::Hyperion" <noog@libero.it>
* include/shlobj.h (CSIDL_*): Add defines.
2002-10-04 04:18:55 +00:00
Danny Smith 1878ede072 * include/ws2tcpip.h: Throw error if winsock.h, not winsock2.h
has been included first.
2002-09-24 01:47:27 +00:00
Danny Smith 7aaee7b646 2002-09-24 Rene Moeller Fonseca <fonseca@users.sourceforge.net>
* include/winbase.h (FindFirstFileEx): Fixed ANSI mode.
        * include/wingdi.h (PFD_SWAP_LAYER_BUFFERS):Added define.
        * include/winuser.h (AppendMenu[AW]): Fixed prototypes.
2002-09-24 01:28:00 +00:00
Danny Smith 57dfd574a7 2002-09-18 Eric R. Krause <ekrause_98@users.sourceforge.net>
* include/winuser.h (DS_SHELLFONT): Define.
2002-09-19 00:01:18 +00:00
Danny Smith e58d89280b 2002-09-17 Daniel Schlyder <daniel@dascdev.net>
* include/winnt.h (VER_SUITE_BLADE): Define.
2002-09-17 21:21:48 +00:00
Danny Smith cbb704cf60 * include/shlobj.h (SHGetSpecialFolderPath[AW]): Add _WIN32_IE guard.
Correct prototype for wide version.
	(SHGetFolderPath): Add comment on shfolder.dll library.
	(SHGetFolderLocation): Add prototyope for WinME and W2K.
	(SHGetFolderPathAndSubDir[AW]): Add prototypes for XP.
2002-09-17 03:08:11 +00:00
Danny Smith 3f7b89caf1 * include/winsock.h (timeval): Guard struct and associated
macros with _TIMEVAL_DEFINED.
	* include/winsock2.h (timeval): Likewise.
2002-09-12 10:11:05 +00:00
Earnie Boyd de3387b304 * include/windef.h (WINVER): Add documentation.
(_WIN32_WINNT): Ditto.
	Special thanks to Paul Schmidt <paul@tricattechnologies.com>
2002-09-07 16:47:35 +00:00
Danny Smith 1730adee69 2002-09-04 Kevin Chase <kevincha99@hotmail.com>
* include/winbase.h (AllocateUserPhysicalPages,
	MapUserPhysicalPages, MapUserPhysicalPagesScatter,
	FreeUserPhysicalPages): Add prototypes.
	* lib/kernel32.def: Add function stubs for above.
2002-09-04 22:20:52 +00:00
Danny Smith 3573883f9d 2002-09-03 Ren� M�ller Fonseca <fonseca@users.sourceforge.net>
* include/winuser.h (IDTRYAGAIN,IDCONTINUE): Add defines.
	Add WINVER guards for dialog box command id defines.
2002-09-03 22:29:11 +00:00
Earnie Boyd 20fb0cc513 * include/wincon.h (GetConsoleWindow): Add _WIN32_WINNT >= 0x0500 guard. 2002-09-03 16:25:54 +00:00
Christopher Faylor 91edb60487 * include/wincon.h: Define GetConsoleWindow(void). 2002-08-30 15:58:06 +00:00
Earnie Boyd 1a48bbb9b8 * include/w32api.h: Increment version to 2.1.
* Makefile.in: Ditto.
2002-08-28 22:26:46 +00:00
Danny Smith 4854ee501e 2002-08-26 Bart Oldeman <bart.oldeman@btinternet.com>
* include/winsock2.h (SOCKET_ADDRESS): Define if
	__CSADDR_T_DEFINED is not defined (copied from nspapi.h)
	(CSADDR_INFO): Ditto.
	(nspapi.h) : Don't include. Removed FIXME comment.
	* include/nspapi.h (SOCKET_ADDRESS) Only define if
	__CSADDR_T_DEFINED is not defined.
	(CSADDR_INFO): Ditto.
	(BLOB): Added structure and typedef if not already defined.
	(NS_*): Add defines.
	(SERVICE_*): Ditto.
	(SERVICE_ADDRESS): Add structure and typedefs.
 	(SERVICE_ADDRESSES): Ditto.
	(SERVICE_INFO[AW]): Ditto, and add UNICODE mappings.
	(LPSERVICE_ASYNC_INFO): Add typedef.
	(SetService[AW], GetAddressByName[AW]): Add prototypes and UNICODE
	mappings.
	* include/wsipx.h: New file.
	* include/svcguid.h: New file.
	* lib/test.c: Include wspix.h and svcguid.h.
2002-08-26 23:33:17 +00:00
Danny Smith eac48e7ecf 2002-08-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/wsahelp.h: New file.
	* lib/test.c: Include wsahelp.h.
2002-08-26 22:13:05 +00:00
Earnie Boyd 39d3651cad * include/commctrl.h (NMCUSTOMDRAW): Fix lItemlParam.
Thanks to: "Phil Dempster" <p_dempster@yahoo.co.uk>.
2002-08-21 12:07:51 +00:00
Danny Smith 9a5498d08b * include/ws2spi.h: Modify comment about being part of
mingw32 package.
	(winsock2.h): Change "" to <>.
2002-08-20 00:59:23 +00:00
Danny Smith 73078ed64d 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/ws2spi.h: New file.
	* lib/test.c: Include ws2spi.h.
2002-08-20 00:48:23 +00:00
Danny Smith c79f8453b0 * include/winsock2.h (WSAIsBlocking,WSAUnhookBlockingHook,
WSASetBlockingHook,WSACancelBlockingCall): Expose deprecated
	functions.
2002-08-20 00:36:09 +00:00
Danny Smith 894d685ff7 * include/winuser.h (CURSOR_SHOWING) Add define. 2002-08-17 09:41:52 +00:00
Danny Smith 9e0f101fa9 * include/winerror.h: Cast OLE error codes to HRESULT. 2002-08-17 04:42:25 +00:00
Danny Smith e893abd3c6 * include/wincrypt.h (ALG_*): Add defines.
(CALG_*): Ditto.
	(CRYPT_*): Ditto.
	(PP_*): Ditto.
	(PROV_*): Ditto.
	(PRIVATEKEYBLOB): Add define.
2002-08-14 23:47:46 +00:00
Earnie Boyd 99a3b239eb * include/shlobj.h (SHGetFolderPath): Add define.
* lib/shell32.def (SHGetSpecialFolderPath): Add export.
	(SHGetFolderPath): Ditto.
2002-08-14 16:43:40 +00:00
Danny Smith 3317419d1a * include/commdlg.h: Don't include COM headers if __OBJC__. 2002-08-12 23:33:10 +00:00
Danny Smith 03a0a275b5 * include/wincrypt.h (CryptDuplicateHash, CryptDuplicateKey):
Add prototypes.
2002-08-12 23:10:16 +00:00
Danny Smith d6f9ca7959 2002-08-12 Andriy Palamarchuk <apa3a@yahoo.com>
* include/shellapi.h (FOF_NOERRORUI): Add define.
2002-08-12 22:24:28 +00:00
Danny Smith a814828d06 * include/objidl.h (IEnumMoniker): Put 'interface' back. 2002-08-11 21:16:30 +00:00
Danny Smith 2324fd5b91 * include/objidl.h (IEnumMoniker): Correct declaration. 2002-08-11 07:36:43 +00:00
Danny Smith c9fadf3b49 * include/commctrl.h: Whitespace change. 2002-08-09 02:49:38 +00:00
Danny Smith 154215ec38 2002-08-09 Mark Schreiber <mark7@users.sourceforge.net>
* include/wincrypt.h (CRYPT_NOHASHOID): Add define.

2002-08-09  Danny Smith  <dannysmith@users.sourceforge.net>

	* include/commctrl.h: Whitespace change.
2002-08-09 02:45:50 +00:00
Danny Smith ddf344afb3 2002-08-09 Lars Munch <lars@segv.dk>
* include/commctrl.h (tagTVHITTESTINFO): Replace obsolete
	struct name _TVHITTESTINFO and typedefs. Add defines for
	backward compatability.
	(ListView_SetExtendedListViewStyleEx): Add macro.
2002-08-09 02:29:57 +00:00
Danny Smith 9f37f36de6 * include/wingdi.h (AlphaBlend,GradientFill,TransparentBlt):
Add prototypes.
	* lib/msimg32.def: New file, with stubs for above.
2002-08-05 02:03:24 +00:00
Danny Smith 6e82d87372 * winbase.h (AddAccessAllowedAceEx,AddAccessDeniedAceEx,
GetFileSizeEx, SetFilePointerEx): Add prototypes.
	(EncryptFile[AW], FileEncryptionStatus[AW]): Add prototypes
	and UNICODE mappings.
2002-08-03 22:51:15 +00:00
Danny Smith 04875a95c8 * include/winbase.h (ReadFileScatter, WriteFileGather):
Change second parameter to pointer.
2002-08-02 08:50:45 +00:00
Danny Smith c3b6ad4d8d * include/wininet.h (InternetReadFileEx[AW]). Add prototypes and
UNICODE mapings.
	* lib/wininet.def: Regenerate.
2002-08-01 06:52:05 +00:00
Danny Smith 045d6a99fe * include/windef.h (PVOID, LPVOID): Move typedefs to...
* include/winnt: ...here.
	(PVOID64): New typeddef.

	* include/winnt,h (FILE_SEGMENT_ELEMENT): Define union.
	* include/winbase.h: (ReadFileScatter, WriteFileGather):
	Add prototypes.

	* include/winnt,h (PROCESSOR_ARCHITECTURE_*): Add defines.
	(PROCESSOR_INTEL_IA64): Add define
2002-07-30 03:20:59 +00:00
Danny Smith b1f495ed3b * include/oleidl.h (MK_ALT): Define. 2002-07-26 04:38:00 +00:00
Danny Smith 15cc7bc14d 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 04:26:26 +00:00
Danny Smith 6ebbcd2563 * include/shlobj.h (BFFM_VALIDATEFAILED[AW]): Add defines.
(BFFM_SETSTATUSTEXT, BFFM_SETSELECTION): UNICODE them.
2002-07-24 21:57:01 +00:00
Danny Smith b0054da2c0 2002-07-25 Mattia Barbon <mbarbon@dsi.unive.it>
* include/commctrl.h: Avoid redefinition of CDN_FIRST/LAST.
	* include/commdlg.h: Likewise.
2002-07-24 21:50:49 +00:00
Danny Smith 5e50e4e45c * include/oleauto.h (V_UNION): Correct definition for case of
NONAMELESSUNION:
	(V_VT): Likewise.
2002-07-23 21:27:09 +00:00
Danny Smith 80ac7b1f9a * include/oleauto.h (V_BOOL): Define in terms of boolVal,
not bool, for C as well as C++.
2002-07-23 02:09:27 +00:00
Danny Smith 6b2ba9ad49 2002-07-22 Danny Smith <dannysmith@users.sourceforge.net>
* include/shlwapi.h: New file.
	Thanks to: Mattia Barbon  <mbarbon@dsi.unive.it> and
	Victor Porton  <porton@narod.ru> for contributions.
	* lib/shlwapi.def: New file.
	* lib/test.c: #include shlwapi.h.
2002-07-22 03:10:43 +00:00
Danny Smith 9e35380b5a 2002-07-21 Bart Oldeman <bart.oldeman@btinternet.com>
* include/shlobj.h (FCIDM_MENU_FAVORITES): Remove bogus
	character.
	* include/winsock2.h (struct sockaddr): Use __int64 instead of
	long long.
	* include/kernel32.c (GetCurrentFiber, GetFiberData): Watcom
	does not need external library functions.
2002-07-21 00:17:41 +00:00
Danny Smith f658e220d9 2002-07-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/winbase.h (GetEnvironmentStringsA): Remove duplicate
	definition.
	(Interlocked*): Wrap in #ifndef __INTERLOCKED_DECLARED to
	avoid compile error when already defined.

2002-07-20  Steven Edwards  <Steven_Ed4153@yahoo.com>

	* include/winuser.h (WM_MENURBUTTONUP): Add define.
2002-07-20 00:12:25 +00:00
Danny Smith 4b5ccabc17 2002-07-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/commdlg.h: Define CDN_* notification message constants
	as UINT.

2002-07-17  Mattia Barbon  <mbarbon@users.sourceforge.net>

	* include/commctrl.h: Define notification message constants for
	NMHDR.code as UINT.
2002-07-17 04:49:01 +00:00
Danny Smith c344492ccc 2002-07-17 Bart Oldeman <bart.oldeman@btinternet.com>
* include/ddeml.h (MH_*) Add defines.
	(MONHSZSTRUCT): Add structure and typedefs.
	(MONLINKSTRUCT): Ditto.
	(MONCONVSTRUCT): Ditto.
	(MONCBSTRUCT): Ditto.
	(MONERRSTRUCT): Ditto.
	(MONMSGSTRUCT): Ditto.
	* include/windef.h: Don't define __cdecl or _cdecl for
	__WATCOM__.
	Don't define _export or __export for __WATCOM__.
	* include/windows.h (imm.h): #include.
	* include/winnt.h (LPEXCEPTION_RECORD): Add typedef.

2002-07-17  Danny Smith <dannysmith@users.sourceforge.net>

	* include/wtypes.h: Remove duplicate #includes of rhc.h and
	rpcndr.h.
2002-07-17 03:37:45 +00:00
Earnie Boyd 90310ffd09 Merge changes from MinGW 2002-07-09 13:24:02 +00:00
Danny Smith 875beea460 Let RPC API work with or without windows.h.
* include/rpc.h: Conditionally include <windows.h> before
	header guard.
	* include/wtypes.h: Include <rpc.h> and <rpcndr.h> before
	header guard.
2002-07-04 08:29:56 +00:00
Danny Smith b23a38b29e 2002-07-02 Danny Smith <dannysmith@users.sourceforge.net>
* include/commctrl.h (WC_*): Remove some duplicate defines.

2002-07-02  Ken Fitlike  <kenfitlike@hotmail.com>

	* include/commctrl.h (WC_IPADDRESS[AW]): Add defines and
	UNICODE mappings.
	(IPM*): Add defines.
	(IPN_*): Add defines.
	(NMIPADDRESS): Add structure and typedefs.
	(MAKEIPADDRESS): Add macro.
	(MAKEIPRANGE): Add macro.
	(FIRST_IPADDRESS): Add macro.
	(SECOND_IPADDRESS): Add macro.
	(THIRD_IPADDRESS): Add macro.
	(FOURTH_IPADDRESS): Add macro.
2002-07-02 05:50:10 +00:00
Conrad Scott d3c260c334 Delete extraneous comment from my previous change. 2002-06-27 20:08:33 +00:00
Conrad Scott b4b15309b7 * include/winbase.h (FILE_FLAG_FIRST_PIPE_INSTANCE): Add constant. 2002-06-25 21:16:46 +00:00
Danny Smith 8e8a913ff1 2002-06-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/winbase.h (WINBASEAPI): Don't define if prior
	definition.

	* include/winioctl.h (PARTITION_FAT32, PARTITION_FAT32_XINT13,
	PARTITION_XINT13, PARTITION_XINT13_EXTENDED, PARTITION_LDM,
	PARTITION_UNIX): Add defines.
	(PDRIVE_LAYOUT_INFORMATION): Add typedef.
	(IsRecognizedPartition): Also check for PARTITION_FAT32,
	PARTITION_FAT32_XINT13 and PARTITION_XINT13.
	(IsContainerPartition): Add macro.
2002-06-25 21:05:19 +00:00
Danny Smith e85e106d88 2002-06-25 Ken Fitlike <kenfitlike@hotmail.com>
* include/commctrl.h: (CBEIF_*): Add defines.
	(CBEN_*): Add defines and UNICODE mappings
	(WC_COMBOBOXEX[AW]): Add defines and UNICODE mappings.
	(CBEMAXSTRLEN): Add define.
	(COMBOBOXEXITEM[AW]): Add structures and typedefs.
	(NMCOMBOBOXEX[AW]): Add structures and typedefs.
	(NMCBEDRAGBEGIN[AW]): Add structure and typedefs.
	(NMCBEENDEDIT[AW]): Add structure and typedefs.
2002-06-25 03:26:21 +00:00
Danny Smith f8f2ad211f * include/objidl.h (struct tagPROPVARIANT): Kill obsolete
union member _VARIANT_BOOL bool.
2002-06-24 04:51:34 +00:00
Danny Smith e106f92bfc * include/winioctl.h (FILE_SPECIAL_ACCESS): Add define. 2002-06-24 02:49:47 +00:00
Danny Smith 7c00c9bd40 2002-06-24 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/winnt.h (PCCHAR, FCHAR, FSHORT, FLONG,
	PLUID_AND_ATTRIBUTES,PSECURITY_IMPERSONATION_LEVEL,
	PSID_AND_ATTRIBUTES, PTOKEN_TYPE, PTOKEN_STATISTICS):
	Add typedefs.
	(CCHAR): Correct typedef.
	(PROCESS_SET_SESSIONID, SECURITY_*,SECTION_MAP_EXECUTE):
	Add defines.


	* README.w32api: Correct spelling error.
2002-06-24 02:46:38 +00:00
Danny Smith e1164b684d 2002-06-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/winuser.h (FLASHW_*,INPUT_MOUSE,INPUT_KEYBOARD,
	INPUT_HARDWARE): Add defines.
	(HDEVNOTIFY): Add typedef.
	(FLASHWINFO,tagMOUSEMOVEPOINT,tagMOUSEINPUT,tagKEYBDINPUT,
	tagHARDWAREINPUT,tagINPUT,tagGUITHREADINFO): Define structs and
	typedefs.
	(CreateDesktop[AW],CreateMDIWindow[AW],GetClassInfo[AW],
	GetClassInfoEx[AW],GetKeyboardLayoutList,
	MessageBoxIndirect[AW],MsgWaitForMultipleObjects,
	MsgWaitForMultipleObjectsEx, RegisterClass[AW],
	RegisterClassEx[AW]): Correct prototypes.


Remove duplicate ChangeLog entry of 2001-12-07
2002-06-19 12:32:06 +00:00
Danny Smith 7c1d8db987 2002-06-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/ddeml.h (DdeCreateStringHandle{AW]:Correct
	prototypes.
	* include/winsvc.h (StartServiceW): Correct prototype.
	* include/winbase.h (BackupRead,BackupSeek,BackupWrite,
	FileTimeToLocalFileTime, GetAce,GetPrivateProfileStruct[AW],
	GetTickCount,InterlockedExchangeAdd,
	WritePrivateProfileStruct[AW]: Correct prototypes.
	(GetEnvironmentStrings): Correct mapping to
	GetEnvironmentStringsA.
	* include/winver.h (VerQueryValueA,VerQueryValueW):
	Correct prototypes.
	* include/wincon.h (CreateConsoleScreenBuffer): Correct
	prototype.
	* include/winreg.h (RegQueryMultipleValues[AW],
	RegQueryValueEx[AW]):Correct prototypes.
	* include/wingdi.h (PXFORM, PLOGBRUSH, PLOGPEN, PPOLYTEXTA,
	PPOLYTEXTW): Add typedefs.
	(_DESIGNVECTOR,COLOR16, _TRIVERTEX, _DISPLAY_DEVICE): Add
	structures and typedefs.
	(MM_MAX_NUMAXES): Add define.
	(EnumFontsW,GetEnhMetaFilePixelFormat,wglGetLayerPaletteEntries):
	Correct prototypes.
	* include/winerror.h (RPC_X_INVALID_PIPE_OBJECT,
	RPC_X_WRONG_PIPE_ORDER,RPC_X_WRONG_PIPE_VERSION,
	RPC_S_SEND_INCOMPLETE): Add defines.
2002-06-19 01:15:45 +00:00
Danny Smith 6cde27195c 2002-06-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/windef.h (_fastcall, __fastcall, FASTCALL):
	Add defines.
2002-06-17 08:22:02 +00:00
Egor Duda 45e9463a38 * include/ntdll.h: New file.
* lib/ntdll.def: Add NtShutdownSystem.
2002-06-16 13:21:43 +00:00
Earnie Boyd ced1e577b7 * include/w32api.h: Change to version 2.0 to reflect the change
in the license.
	* README: Renamed.
	* README.w32api: Renamed from README.  Modified license to remove
	the restriction of notifying the author based on the fact that the
	author is unreachable at the notified address.
	* Makefile.in (VERSION): Change to 2.0.
2002-06-14 13:46:12 +00:00
Earnie Boyd d61bc7aad8 * include/wingdi.h (GetEnhMetaFileBits): Correct typo. 2002-06-14 10:29:28 +00:00
Earnie Boyd 04229a06ac * include/wingdi.h: (GetEnhMetaFileBits): Define prototype. 2002-06-13 18:29:37 +00:00
Earnie Boyd bb1085295a * include/winuser.h (MOUSEHOOKSTRUCT): Define structure. 2002-06-13 11:35:30 +00:00
Danny Smith b89a2aac33 2002-06-13 John K. Hohm <jhohm@acm.org>
* include/comcat.h: New file.
2002-06-13 00:13:34 +00:00
Danny Smith 3c1736432d 2002-06-09 Gunnar Degnbol <gdegnbol@users.sourceforge.net>
* include/richedit.h (EM_*, TM_*, GT_*): Add new defines.
	(GETTEXTEX): Add structure definition.
2002-06-09 05:02:01 +00:00
Danny Smith 63f4c63a19 * include/windows.h (ole2.h): #include if !__OBJC__ and
__GNUC__ >=3 and !WIN32_LEAN_AND_MEAN.
2002-06-09 03:37:20 +00:00
Danny Smith a579a11b57 2002-06-07 Gunnar Degnbol <gdegnbol@users.sourceforge.net>
* include/mapi.h: Change LPTSTR to LPSTR throughout.
2002-06-07 00:30:17 +00:00
Danny Smith 915d66ce9e * include/winnt.h (PACE_HEADER, PACCESS_ALLOWED_ACE,
PACCESS_DENIED_ACE): Add typedefs.
2002-06-04 22:41:50 +00:00
Danny Smith 2843ca56e7 * include/windef.h: Fix typo in last change. 2002-06-01 21:09:29 +00:00
Danny Smith 748bc82966 * include/windef.h: Add no-op __try, __except, __finally
defines from ...
	* include/excpt.h: Remove file.
	* include/windows.h: Don't include excpt.h.
2002-06-01 20:38:33 +00:00
Corinna Vinschen 5fe3a988af * include/ntdef.h (ANSI_STRING, PANSI_STRING, OEM_STRING, POEM_STRING):
Add missing typedefs.
2002-05-30 08:20:52 +00:00
Earnie Boyd d4cf003fa0 * include/w32api.h: Increment version to 1.5
* Makefile.in: Ditto.
2002-05-28 13:24:26 +00:00
Danny Smith 31be924314 2002-05-27 Ren� M�ller Fonseca <fonseca@users.sourceforge.net>
* include/winreg.h: (RegConnectRegistry[AW]): Replace
	LP[W]STR with LPC[W]STR.
	(REG_QWORD, REG_QWORD_LITTLE_ENDIAN): Add defines.
	Clean up whitespace.
2002-05-27 09:44:17 +00:00
Danny Smith a440dc9527 2002-05-27 Rick Rankin <rick_rankin@yahoo.com>
* include/winnls.h: Add #define for LOCALE_RETURN_NUMBER.
2002-05-27 08:49:26 +00:00
Danny Smith 130e7349a5 2002-05-20 Philip Aston <philipa@mail.com>
* include/pbt.h (PBT_APMRESUMESUSPEND): Correct value is 7.
2002-05-20 00:57:18 +00:00
Danny Smith a110a2ad4d 2002-05-20 Ren� M�ller Fonseca <fonseca@users.sourceforge.net>
* include/lmaccess.h: (NetAccess*, NetGroup*,
	NetLocalGroup*, NetUser*, NetGet*, INetLogonControl[2],
	NetQueryDisplayInfotmationIndex): Replace LPWSTR with LPCWSTR.
2002-05-20 00:52:06 +00:00
Danny Smith 735bb7e7d7 * include/commctrl.h (ImageList_DragShowNolock): Remove
conflicting redeclaration.
2002-05-07 22:58:26 +00:00
Danny Smith 3769952b4d * include/windows.h: Move _ANONYMOUS_UNION, _ANONYMOUS_STRUCT,
STRICT and related defines to ...
	* include/windef.h: Here.

	ChangeLog: Correct date and typo in last entry.
2002-05-06 23:37:52 +00:00
Danny Smith c218361efa * include/winsock2.h (int32): Remove typedef.
(SEVICETYPE): Add typedef.
	(struct _flowspec):Revise struct definition,  Comment
	on types used for members.
2002-05-03 03:01:51 +00:00
Danny Smith 4c956a7c0f * include/winnt.h (EVENT_*, SEMAPHORE_*, MUTEX_*): Remove
more defines added in earlier 2002-05-02 change.
	* lib/Makefile.in (TEST_OPTIONS): Add -Wsystem-headers flag.
2002-05-02 08:41:03 +00:00
Danny Smith 08d528a57c * include/winnt.h (THREAD_PRIORITY_*): Remove defines.
Add TIMER_* to last ChangeLog entry.
2002-05-02 05:59:56 +00:00
Danny Smith e1377e380f * include/winnt.h (THREAD_*, EVENT_*, MUTANT_*,
SEMAPHORE_*, MUTEX_*): Add new defines.
2002-05-02 03:49:43 +00:00
Danny Smith 2a71c1d299 * include/commctrl.h (SNDMSG): Define and use throughout
in other macros instead of SendMessage.
	* include/commdlg.h (SNDMSG): Ditto.
2002-05-01 01:10:51 +00:00
Earnie Boyd 54492ef5c6 2002-04-22 Jos� Fonseca <jrfonseca@users.sf.net>
* include/GL/gl.h: New file.
	* include/GL/glext.h: Ditto.
	* include/GL/glu.h: Ditto.
2002-04-22 23:19:36 +00:00
Earnie Boyd 891057bce7 * include/w32api.h: Increment version.
* Makefile.in: Ditto.
2002-04-09 23:49:11 +00:00
Danny Smith e432b38efe * include/objidl.h (IRunningObjectTable.Register): Correct
prototype.
	* include/wtypes.h (ROTFLAGS_REGISTRATIONKEEPSALIVE,
	ROTFLAGS_ALLOWANYCLIENT): Add defines.
	* include/wtypes.h (enum tagCLSCTX): Change formatting.
2002-04-02 09:00:14 +00:00
Danny Smith cb01b9eadb * include/shellapi.h (SHGFI_ATTR_SPECIFIED): Add define. 2002-03-31 20:45:38 +00:00
Danny Smith 6c893868bf * include/wingdi.h (SetPixelFormat): Correct prototype.
* include/richedit.h (EM_SHOWSCROLLBAR): Add define.
2002-03-30 01:03:22 +00:00
Danny Smith fb1c4e20f4 * include/richedit.h (EM_GETSCROLLPOS, EM_SETSCROLLPSPOS):
Add defines.
2002-03-26 21:20:53 +00:00
Danny Smith 5289f34254 * include/richedit.h (RICHEDIT_CLASS): UNICODE it.
* include/shlobj.h (IContextMenu2): Put methods in right order.
	* include/basetyps.h (REFGUID, REFIID, REFCLSID): Check for
	CINTERFACE before defining.
2002-03-13 20:00:16 +00:00
Danny Smith cf62424b92 * include/accctrl.h, aclapi.h, basetsd.h, basetyps.h, cderr.h,
cguid.h, commctrl.h, commdlg.h, cpl.h, cplext.h, custcntl.h,
	dbt.h, dde.h, ddeml.h, dlgs.h, excpt.h, httpext.h, imagehlp.h,
	imm.h, initguid.h, intshcut.h, ipexport.h, iphlpapi.h,
	ipifcons.h, iprtrmib.h, iptypes.h, isguids.h, largeint.h, lm.h,
	lmaccess.h, lmalert.h, lmapibuf.h, lmat.h, lmaudit.h,
	lmbrowsr.h, lmchdev.h, lmconfig.h, lmcons.h, lmerr.h,
	lmerrlog.h, lmmsg.h, lmremutl.h, lmrepl.h, lmserver.h,
	lmshare.h, lmsname.h, lmstats.h, lmsvc.h, lmuse.h, lmuseflg.h,
	lmwksta.h, lzexpand.h, mapi.h, mciavi.h, mcx.h, mmsystem.h,
	mswsock.h, nb30.h, nddeapi.h, nspapi.h, ntdef.h, ntsecapi.h,
	ntsecpkg.h, oaidl.h, objbase.h, objfwd.h, objidl.h, odbcinst.h,
	ole.h, ole2.h, ole2ver.h, oleauto.h, olectl.h, olectlid.h,
	oledlg.h, oleidl.h, pbt.h, prsht.h, psapi.h, rapi.h, ras.h,
	raserror.h, rassapi.h, regstr.h, richedit.h, richole.h, rpc.h,
	rpcdce.h, rpcdce2.h, rpcdcep.h, rpcndr.h, rpcnsi.h, rpcnsip.h,
	rpcnterr.h, rpcproxy.h, schannel.h, schnlsp.h, scrnsave.h,
	security.h, setupapi.h, shellapi.h, shlguid.h, shlobj.h, sql.h,
	sqlext.h, sqltypes.h, sqlucode.h, sspi.h, subauth.h,
	tlhelp32.h, unknwn.h, userenv.h, w32api.h, winbase.h, wincon.h,
	wincrypt.h, windef.h, windows.h, windowsx.h, winerror.h,
	wingdi.h, wininet.h, winioctl.h, winnetwk.h, winnls.h, winnt.h,
	winperf.h, winreg.h, winresrc.h, winsock.h, winsock2.h,
	winspool.h, winsvc.h, winuser.h, winver.h, ws2tcpip.h,
	wsnetbs.h, wtypes.h, zmouse.h:	Add #pragma GCC system_header
	if __GNUC__ >= 3.
	* include/mapi.h: Change header guard name to _MAPI_H  for
	consistency.
2002-03-09 09:04:10 +00:00
Danny Smith 96a3b54498 * include/accctrl.h (_ACCCTRL_H): Correct typo.
Remove unnecessary inclusion of <wtypes.h>
	* ChangeLog: Fix omission of name in recent entries.

	* include/initguid.h (DEFINE_GUID): Add GUID_EXT to define.
2002-03-08 08:17:19 +00:00
Danny Smith b7410006b9 * include/mswsock.h: Group winsock2 dependants
together and protect with #ifdef _WINSOCK2_H.
	* lib/test.c: Only test ws2tcpip.h if winsock2.h
	has been included.
2002-03-06 11:31:47 +00:00
Danny Smith 8d3db0afbe * include/mswsock.h (TP_*): Add new defines.
(TRANSMIT_PACKETS_ELEMENT): Define new structure.
	(WSAMSG): Likewise.
	(WSACMSGHDR): Likewise.
	(DisconnectEx): Add new prototype.
	(WSARecvMsg): Likewise.
	(WSA_CMSG_*) Add empty macros, guarded by #if 0.
2002-03-05 22:40:30 +00:00
Danny Smith 6c766d2095 * ChangeLog: Fix typo in last entry.
* include/winsock2.h (IPPROTO_*): Add IPv6 defines.
	* include/ws2tcpip.h: (IP_*): Add new defines.
	(INET_ADDRSTRLEN, INET6_ADDRSTRLEN): Add defines.
	(NI_*): Add getnameinfo constants and bitmasks.
	(AI_*): Add getaddrinfo flags.
	(EAI_*): Add getaddrinfo error codes.
	(ip_mreq_source): Add new structure.
	(ip_msfilter): Add new structure.
	(IP_MSFILTER_SIZE): Add new macro.
	(in_pktinfo): Add new structure.
	Add preliminary IPv6 support.
	(in6_addr): Add new structure and some defines.
	(sockaddr_in6): Add new structure.
	(in6addr_any, in6addr_loopback): Declare extern structures.
	(IN6ADDR_ANY_INIT,IN6ADDR_LOOPBACK_INIT): Add
	initialization macros for above.
	(IN6_ARE_ADDR_EQUAL): Define macro.
	(IN6_IS_ADDR_*): Define address testing macros.
	(socklen_t) Add new typedef.
	(ipv6_mreq): Add new structure.
	(in6_pktinfo): Same.
	(addrinfo): Same.
	(freeaddrinfo):Add new prototype.
	(getaddrinfo): Same.
	(gai_strerror[AW]): Same.
	(getnameinfo): Same.
	(sockaddr_in6_old): Add structure.
	(sockaddr_gen): Add union definition.
	(INTERFACE_INFO): Use sockaddr_gen as members.
	(INTERFACE_INFO_OLD): Add comment on workaround for problems
	with INTERFACE_INFO on NT4 prior to sp4.
.
2002-03-02 10:49:56 +00:00
Danny Smith fd2ded00a7 * include/windows.h; Remove test for __W32API_MAJOR_VERSION
when selecting winsock interface.
	* include/winsock.h (SOCKET_ADDRESS_LIST): Add structure
	definition and typedefs.
	Expand FIXME comment.
	(WSACOMPLETIONTYPE): Add enum.
	(WSACOMPLETION): Add structure and typedefs.
	(WSANSPIoctl): Add function prototpe and callback typedef.
	(SIO_NSP_NOTIFY_CHANGE): Add define.
	(sockaddr_storage): Add structure and typedefs.
2002-02-28 00:03:11 +00:00
Danny Smith 08618b6f92 * 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-15 19:27:44 +00:00
Danny Smith 27530c3181 * 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 00:24:52 +00:00
Danny Smith 21d349adfc * include/windef.h (FARPROC,NEARPROC,PROC): Remove
void parameter.
2002-02-13 20:56:17 +00:00
Danny Smith ae334f668d * include/mapi.h: New file.
* lib/mapi.def: Add missing function stubs.
	* lib/test.c: Include mapi.h.
2002-01-30 17:33:27 +00:00
Danny Smith 3be1ef991b * include/winuser.h (GetWindowLongPtr[AW],
SetWindowLongPtr[AW]): Add prototypes for _WIN64.
2002-01-28 01:31:00 +00:00
Danny Smith 28a632779a * include/winuser.h (GWLP_*,DWLP_*): Add missing constants.
(GetWindowLongPtr[AW], SetWindowLongPtr[AW]): Map them to
	{Get Set}WindowLong[AW], as in Win32 they are equivalent.
	(GetWindowLongPtr, SetWindowLongPtr): Add Unicode mappings.
2002-01-27 23:42:49 +00:00
Danny Smith a4f2440619 * lib/test.c: Include wsnetbsd.h.
* include/wsnetbs.h: New file.
2002-01-27 23:20:56 +00:00
Earnie Boyd d4b5d8fda2 * include/winnt.h: Remove merge conflict. 2002-01-25 13:13:55 +00:00
Danny Smith d554b253b5 * include/winnt.h (_TCHAR): Add typedefs.
* include/wininet.h (SECURITY_FLAG_IGNORE_*): Add missing
	defines.
	* include/winsuser.h (ATF_AVAILABLE, SERKF_ACTIVE):
	Add defines.
	(LPACCESSTIMEOUT): Add typedef.
2002-01-25 02:54:19 +00:00
Earnie Boyd 019f46a626 Merge MinGW differences 2002-01-25 00:52:35 +00:00
Danny Smith 993c684df7 * include/commctrl.h: Add missing HDM_*,HDN_*,LVSICF_* defines.
* include/commctrl.h (HDITEM[AW]): Rename _HD_ITEM[AW] to
	_HDITEM[AW], with parallel changes to typedefs.	Use defines for
	backward compatability with old names. Update UNICODE mappings.
	(HDLAYOUT): Remove struct _HD_LAYOUT_XP.  Use new typedefs
	for struct _HD_LAYOUT and add defines for backward
	compatability with old names.
	(NMLISTVIEW): Rename _NM_LISTVIEW to tagNMLISTVIEW, with
	parallel chages to typedefs. Add defines for backward
	compatability with old names.
	(TCHITTESTINFO, IMAGELISTDRAWPARAMS): Fix _WIN32_IE guard.
2002-01-24 07:34:22 +00:00
Robert Collins 186f78be19 2002-01-21 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h: Add missing MEM_ defines, and convert existing to
        hex for readability.
2002-01-20 15:20:02 +00:00
Corinna Vinschen 7837ec4bda * include/winnt.h (FILE_ATTRIBUTE_ENCRYPTED): Correct constant.
(FILE_ATTRIBUTE_DEVICE): Add define.
2002-01-14 23:30:14 +00:00
Corinna Vinschen 55409319de * include/winnt.h: Add INVALID_FILE_ATTRIBUTES. 2002-01-14 20:15:32 +00:00
Robert Collins 175f01bc17 2002-01-11 Ralf Habacker <Ralf.Habacker@freenet.de>
* include/ntsecapi.h:  Fixed missing void parameter type in some prototypes.
        * include/objbase.h: Ditto.
        * include/rapi.h: Ditto.
        * include/rpc.h: Ditto.
        * include/rpcdce.h: Ditto.
        * include/rpcdcep.h: Ditto.
        * include/rpcndr.h: Ditto.
        * include/rpcnsip.h: Ditto.
        * include/rpcproxy.h: Ditto.
        * include/windef.h: Ditto.
2002-01-11 10:23:20 +00:00
Robert Collins f827d65e12 2001-12-30 Guido Serassio <serassio@libero.it>
* include/winsvc.h: Add EnumServiceStatusEx(),
       QueryServiceStatusEx()
       & RegisterServiceCtrlHandlerEx()
2002-01-11 10:17:27 +00:00
Robert Collins a3e320f3c9 2001-12-21 Robert Collins <rbtcollins@hotmail.com>
* include/wingdi.h: Add GetRandomRgn and SYSRGN.
2001-12-21 06:53:56 +00:00
Robert Collins 4706b72837 2001-12-17 Guido Serassio <serassio@libero.it>
* include/winsvc.h: Add ChangeServiceConfig2() &
        QueryServiceConfig2() definition
2001-12-16 21:57:36 +00:00
Robert Collins 990d6d89b6 2001-12-17 Robret Collins <rbtcollins@hotmail.com>
* include/commctrl.h: New typedefs for HDLAYOUT and LPHDLAYOUT based
	on MSDN documentation for XP.
2001-12-16 21:55:40 +00:00
Earnie Boyd ddd50f72b5 * Makefile.in: Increment VERSION.
* include/w32api.h: Ditto.
2001-12-07 21:29:30 +00:00
Earnie Boyd 17e6a0014b merge changes from MinGW 2001-12-07 14:15:24 +00:00
Earnie Boyd 937b5e4d04 2001-12-04 Earnie Boyd <earnie@users.sf.net>
* include/winuser.h (IDC_STATIC): Don't define.
2001-12-04 14:36:40 +00:00
Earnie Boyd 9d2dfde225 2001-12-04 Danny Smith <dannysmith@users.sourceforge.net>
Cleanup merge between SourceForge and winsup CVS.
        * include/winbase.h (OSVERSIONINFO[AW], OSVERSIONINFOEX[AW]: Remove
	definitions.
        * include/winnt.h (VER_NT*): Remove duplicate defines.
        (VER_SUITE*): Group with VER_PLATFORM*, VER_NT* defines.
2001-12-04 13:35:34 +00:00
Earnie Boyd 6dfcb5a3a9 2001-12-03 Earnie Boyd <earnie@users.sf.net>
* include/accctrl.h: Change \r\n to \n.

2001-11-30  Danny Smith  <dannysmith@users.sourceforge.net>

	* include/ipexport.h (IP_UNIDIRECTIONAL_ADAPTER_ADDRESS):
	Add structure definition.
	* include/iptypes.h (IP_PER_ADAPTER_INFO): Ditto.
	* include/iphlpapi.h (AddIPAddress,CreateProxyArpEntry,
	DeleteIPAddress,DeleteProxyArpEntry,EnableRouter,
	FlushIpNetTable,GetAdapterIndex,GetPerAdapterInfo,
	GetUniDirectionalAdapterInfo,SendARP,SetAdapterIpAddress,
	UnenableRouter) Declare functions.
	* lib/iphlpapi.def: Add function names to import lib.

2001-11-24  Danny Smith  <dannysmith@users.sourceforge.net>

	* include/winnt.h (PACCESS_MASK): Add typedef.
	* include/aclapi.h: New file.
	* include/acctrl.h: New file.
	* lib/advapi32.def: Add missing symbols.
	* lib/test.c: Add #include <aclapi.h>.

2001-11-23  Danny Smith  <dannysmith@users.sourceforge.net>

	* include/winbase.h (OSVERSIONINFO[AW],VER_PLATFORM_WIN32s,
	VER_PLATFORM_WIN32_WINDOWS,VER_PLATFORM_WIN32_NT): Move from
	here ...
	* include/winnt.h: ... to here.
	* include/winbase.h (VerifyVersionInfo[AW]): Add declaration.
	* include/winnt.h (OSVERSIONINFOEX[AW]): Add structure definitions
	and typedefs.
	(VER_NT_WORKSTATION,VER_NT_DOMAIN_CONTROLLER,VER_NT_SERVER):
	Add defines.

2001-11-19  Pierre Muller  <muller@ics.u-strasbg.fr>

	* w32api/include/winnt.h: prepare SSE register support.
	(CONTEXT_EXTENDED_REGISTERS): Add new define.
	(MAXIMUM_SUPPORTED_EXTENSION): New define.
	(struct CONTEXT): ExtendedRegisters field added.

2001-11-16  Danny Smith  <dannysmith@users.sourceforge.net>

	* include/winuser.h (tagALTTABINFO, tagCOMBOBOXINFO,
	tagCURSORINFO, tagMENUBARINFO, tagMENUINFO, tagMONITORINFO
	tagSCROLLBARINFO, tagTITLEBARINFO. tagWINDOWINFO,
	tagLASTINPUTINFO ): Define new structures.
	(EndMenu, GetAltTabInfo[AW],GetComboBoxInfo,GetCursorInfo,
	GetLastInputInfo, GetListBoxInfo, GetMenuBarInfo,
	GetMonitorInfo[AW], GetScrollBarInfo, GetTitleBarInfo,
	GetWindowInfo, GetWindowModuleFileName[AW],GetMenuInfo
	SetMenuInfo): Add new prototypes.
	* lib/user32.def: Add import stubs for above functions.

	* include/winuser.h (IDC_STATIC): Protect against prior
	definition.

2001-11-12  Corinna Vinschen  <corinna@vinschen.de>

	* include/winbase.h (OSVERSIONINFOEX): Add definition.
	* include/winnt.h: Add VER_NT_* and VER_SUITE_* defines.

2001-11-10  Robert Collins  <rbtcollins@hotmail.com>

	* include/winnt.h: Add Danny Smith's text comment about gcc compiler
	warnings with _AUTHORITY #defines.

2001-11-09  Robert Collins  <rbtcollins@hotmail.com>

	* include/winnt.h (GetCurrentFiber): Create a prototype before the
	implementation;
	(GetFiberData): Ditto.

2001-11-09  Robert Collins  <rbtcollins@hotmail.com>

	* include/winnt.h: Backout last change.
2001-12-03 19:59:34 +00:00
Corinna Vinschen 87f1a487ed Patch by 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-21 23:13:59 +00:00
Corinna Vinschen 192b4f6261 * include/winbase.h (OSVERSIONINFOEX): Add definition.
* include/winnt.h: Add VER_NT_* and VER_SUITE_* defines.
2001-11-12 17:53:47 +00:00
Robert Collins 4d1fdcb6f8 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 13:23:54 +00:00
Robert Collins d0d69f141d 2001-11-09 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h (GetCurrentFiber): Create a prototype before the implementation;
        (GetFiberData): Ditto.
2001-11-09 11:34:26 +00:00
Robert Collins 29c63d063f 2001-11-09 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h: Backout last change.
2001-11-09 08:31:37 +00:00
Robert Collins 418c02db8f 2001-11-08 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h: Define *_SID_AUTHORITY appropriately. (nested
        structures.)
        GetCurrentFiber: Create a prototype before the implementation;
        GetFiberData: Ditto.
2001-11-07 14:11:41 +00:00
Earnie Boyd 44506780d9 2001-11-01 Danny Smith <dannysmith@users.sourceforge.net>
* include/basetyps.h (DECLARE_INTERFACE): Don't add
	__attribute__((com_interface)) for __GNUC__ >= 3.

2001-11-01  Danny Smith  <dannysmith@users.sourceforge.net>

	* include/commdlg.h (PRINTPAGERANGE): Add structure
	definition.
	(PRINTDLGEX[AW]): Likewise.
	(PrintDlgEx[AW]): Add function declaration.
	* lib/comdlg32.def (PrintDlgEx[AW]): Add function stubs.
	* ChangeLog: Fix typo in last entry.


2001-11-01  TAMURA Kent  <tkent@users.sourceforge.net>

	* include/objbase.h (CoGetClassObject): Change third parameter
	to COSERVERINFO*.

2001-10-30  Danny Smith  <dannysmith@users.sourceforge.net>

	* include/winuser.h (MOUSEEVENTF_WHEEL): Define.
	Thanks to: Kim Saunders.
	* include/oleauto.h: Define VARIANT* flags for VariantChangeType.
	Thanks to: Pat Thoyts.
	* include/winnt.h: Change C++ style comment to C style.
 	* include/shlobj.h: Ditto.
	* include/objbase.h (enum tagCOINIT): Remove comma at end of
	list.
	* include/oledlg.h (enum tagOLEUIPASTEFLAG): Ditto.
	* include/oleidl.h (enum tagDROPEFFECT): Mark as __extension__
	(enum not limited to range of int).
	* include/oaidl.h (struct tagVARIANT): Mark as __extension__
	(struct with no named members), ifndef NONAMELESSUNION.

2001-10-30  Danny Smith  <dannysmith@users.sourceforge.net>

	* include/winuser.h (CREATESTRUCT): UNICODE it.
	(CBT_CREATEWND): Likewise.

2001-10-20  Corinna Vinschen  <corinna@vinschen.de>

	* include/winnetwk.h (WNetGetResourceInformationA): Add declaration.
	(WNetGetResourceInformationW): Ditto.
	(WNetGetResourceInformation): Add define.

2001-10-12  Pedro A Aranda  <paaguti@hotmail.com>

	* include/winuser.h (POINTSTOPOINT): Use explicit casts
	before extracting words.
2001-11-01 19:42:57 +00:00
Corinna Vinschen b07891c58b * include/winnetwk.h (WNetGetResourceInformationA): Add declaration.
(WNetGetResourceInformationW): Ditto.
        (WNetGetResourceInformation): Add define.
2001-10-20 10:41:09 +00:00
Earnie Boyd 7141383a86 2001-09-18 Danny Smith <dannysmith@users.sourceforge.net>
* include/winnt.h (_[U]LARGE_INTEGER): Mark nameless structure
	field as _ANONYMOUS_STRUCT.
	* include/setupapi.h (SP_DEVINSTALL_PARAMS): Add missing typedef
	for UNICODE.
	* include/ipexport.h (icmp_echo_reply): Remove extra ';'.
	* lib/makefile.in: Add -pedantic switch to TEST_OPTIONS for header
	test.

2001-09-17  Mattia Barbon  <mbarbon@dsi.unive.it>

	* include/commctrl.h: Add some ListView constants.

2001-09-17  Earnie Boyd  <earnie@sf.net>

	* lib/Makefile.in (inst_includedir): Add FIXME and remove the usr/
	portion of the directory from the install.
	(inst_libdir): Ditto.
	* Makefile.in (VERSION): Increment.
	* include/w32api.h: Increment version.
2001-09-19 23:56:12 +00:00
Earnie Boyd 3e985c99c0 2001-09-17 Earnie Boyd <earnie@sf.net>
* lib/Makefile.in (inst_includedir): Add FIXME and remove the usr/
	portion of the directory from the install.
	(inst_libdir): Ditto.
	* Makefile.in (VERSION): Increment.
	* include/w32api.h: Increment version.
2001-09-17 16:15:54 +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
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 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 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 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 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 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 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 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 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
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 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
Corinna Vinschen e625e1b99e * include/winbase.h: Add prototype for SetSecurityDescriptorControl. 2000-12-20 12:36:28 +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 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
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 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
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 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 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 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