Commit Graph

1172 Commits

Author SHA1 Message Date
Earnie Boyd
76c4e21b49 Even though MSDN documents these as __cdecl the kernel32.dll library
exports them as __stdcall.  Confirmed with gendef program.

	* lib/kernel32.def (InterlockedDecrement): Revert the 2012-08-08 change.
	(InterlockedIncrement): Ditto.
	(InterlockedExchange): Ditto.
	* include/winbase.h (InterlockedDecrement): Revert the 2012-08-01
	change.
	(InterlockedIncrement): Ditto.
	(InterlockedExchange): Ditto.
2012-08-10 13:58:49 +00:00
Earnie Boyd
cc02df1286 * lib/kernel32.def (InterlockedDecrement): Remove the @BYTE count since
we now declare it as __cdecl.
	(InterlockedIncrement): Ditto.
	(InterlockedExchange): Ditto.
2012-08-08 20:28:26 +00:00
Earnie Boyd
f29261e662 * include/winnt.h (MemoryBarrier): Define to __mingworg_MemoryBarrier()
which is in libmingwex.a.
	MODIFIED FROM: Use __sync_synchronize instead of
	creating a function due to multiple definition.
	NOTE: Not using __sync_synchronize to allow applications to mix-n-match
	C libraries from different vendors.
2012-08-06 18:12:53 +00:00
Earnie Boyd
705d9e463c * include/winnt.h (MemoryBarrier): Use __sync_synchronize instead of
creating a function due to multiple definition.
2012-08-06 15:49:39 +00:00
Earnie Boyd
189dc15b84 * include/winver.h (VerQueryValue[AW]): Correct declaration per MSDN. 2012-08-04 18:36:18 +00:00
Earnie Boyd
b766e1bfdf * lib/Makefile.in (amvideo.h): Dependencies are not met making this file
implementation incomplete.  Do not deliver it.
	(amaudio.h): Ditto.
2012-08-02 01:53:55 +00:00
Earnie Boyd
a2e6f7e2ef * include/setupapi.h: Correct typos and truncations. 2012-08-02 01:17:04 +00:00
Earnie Boyd
47bc176b42 * include/winnt.h (MemoryBarrier): Add definition. 2012-08-01 19:17:37 +00:00
Earnie Boyd
8c582a2053 * include/winbase.h (InterlockedDecrement): Modify declaration from
LONG WINAPI to LONG __cdecl to match Microsoft documentation.
	(InterlockedIncrement): Ditto.
	(InterlockedExchange): Ditto.
2012-08-01 17:38:51 +00:00
Earnie Boyd
30ea43437c * include/wtsapi32.h (WTSVirtualChannelClose): Add declaration.
(WTSVirtualChannelOpen): Ditto.
	(WTSVirtualchannelOpenEx): Ditto.
	(WTSVirtualChannelPurgeInput): Ditto.
	(WTSVirtualChannelPurgeOutput): Ditto.
	(WTSVirtualChannelQuery): Ditto.
	(WTSVirtualChannelRead): Ditto.
	(WTSVirtualChannelWrite): Ditto.
	* lib/wtsapi32.def (WTSVirtualChannelOpenEx@12): Add import.
2012-08-01 17:25:34 +00:00
Earnie Boyd
764af9a4a5 * include/winuser.h (tagMENUITEMINFOA): Correct dwItemData definition.
(tagMENUITEMINFOW): Ditto.
2012-08-01 14:44:22 +00:00
Earnie Boyd
c1a11ccfca Add missing include/sdkddkver.h 2012-07-30 00:04:05 +00:00
Earnie Boyd
c5b9032e48 * include/sdkddkver.h: New file.
* include/windows.h: Include sdkddkver.h.
2012-07-29 20:52:41 +00:00
Corinna Vinschen
dc45bfa0bf * include/winsock.h: Keep IP_OPTIONS and SO_xxx definitions when
building Cygwin.
	* include/winsock2.h: Keep sockaddr and sockaddr_storage definitions
	when building Cygwin.
2012-07-06 13:52:10 +00:00
Chris Sutcliffe
c9306c71ed 2012-04-29 Jan Ringos <tringi@users.sf.net>
* include/winbase.h (GetModuleHandleEx[A/W]): Correct version guard.
2012-04-30 00:44:48 +00:00
Chris Sutcliffe
d578467671 2012-04-28 LRN <l_r_nightmare@users.sf.net>
* include/shobjidl.h: New file.
        * lib/shobjidl-uuid.c: New file.
        * lib/Makefile.in: Reference shobjidl-uuid.c.
2012-04-29 02:43:40 +00:00
Chris Sutcliffe
b0a905c5a0 2012-03-19 Ben Greear <greear@users.sf.net>
* include/routprot.h (IP_LOCAL_BINDING): Move above IP_ADAPTER_BINDING_INFO
        to correct warning about IP_LOCAL_BINDING being undefined.
2012-03-20 00:28:53 +00:00
Keith Marshall
d409f31ff3 Correct misused 'rm -r' command in uninstall rules. 2012-01-16 20:37:25 +00:00
Keith Marshall
ec54dd65e2 Generalise makefile references to subdirectories of lib. 2012-01-16 20:26:49 +00:00
Corinna Vinschen
32bd06e544 * configure: Regenerate and re-add to repository.
* .cvsignore: Fix accordingly.
2012-01-16 08:44:37 +00:00
Keith Marshall
47c607cdca Add 'check' as GCS conforming alias for make's 'test' goal. 2012-01-15 21:30:48 +00:00
Keith Marshall
fe493b0f4b More makefile code refactoring; remove redundant INCLUDES references. 2012-01-15 20:56:25 +00:00
Keith Marshall
71992560f7 Add smart identification of auxiliary header file paths. 2012-01-15 19:11:09 +00:00
Keith Marshall
f485d8ffb4 More makefile code refactoring; fix top_srcdir references. 2012-01-15 15:31:11 +00:00
Keith Marshall
6208cfce7a Update and correct makefile rebuilding rules. 2012-01-15 15:10:09 +00:00
Keith Marshall
f0449b5092 More formatting adjustments. 2012-01-15 14:28:17 +00:00
Keith Marshall
300dfd2a1b Miscellaneous formatting adjustments. 2012-01-15 14:20:36 +00:00
Keith Marshall
c6a4777d85 Improve self-documentation of 'for' loop commands. 2012-01-15 12:39:00 +00:00
Keith Marshall
3ef7500436 Generalise 'all' rule to arbitrary prerequisite sub-directories. 2012-01-15 12:27:13 +00:00
Keith Marshall
09223354f9 Derive package release index from configure time specification. 2012-01-15 12:20:09 +00:00
Keith Marshall
124e2b274b Discontinue CVS tracking of generated 'configure' script. 2012-01-14 21:19:12 +00:00
Keith Marshall
1f250fc805 Ensure Makefile.comm source is included in distribution tarballs. 2012-01-06 22:01:15 +00:00
Chris Sutcliffe
c7cee543f0 2012-01-06 Chris Sutcliffe <ir0nh34d@users.sf.net>
* include/windef.h (WINVER): Back off to 0x0500.
2012-01-06 18:51:33 +00:00
Chris Sutcliffe
1f94817747 2012-01-05 Chris Sutcliffe <ir0nh34d@users.sf.net>
* include/windef.h (WINVER): Bump to 0x0501.
2012-01-05 19:39:01 +00:00
Chris Sutcliffe
70284e10d0 2012-01-03 Chris Sutcliffe <ir0nh34d@users.sf.net>
Return value, identified by 'make test'.

        * include/gdiplus/gdiplustypes.h (Gdiplus::GdiplusAbort::Abort()): Return
        NO_ERROR in virtual definition.
2012-01-04 02:32:08 +00:00
Chris Sutcliffe
b018c06fa9 2012-01-03 Chris Sutcliffe <ir0nh34d@users.sf.net>
Remove duplicate definitions, identified by 'make test'.

        * include/wincrypt.h (CRYPT_NEWKEYSET, CRYPT_DELETEKEYSET,
        CRYPT_MACHINE_KEYSET, CRYPT_SILENT, CRYPT_EXPORTABLE, CRYPT_USER_PROTECTED,
        CRYPT_CREATE_SALT, CRYPT_UPDATE_KEY, CRYPT_NO_SALT, CRYPT_PREGEN,
        CRYPT_RECIPIENT, CRYPT_INITIATOR, CRYPT_ONLINE, CRYPT_SF, CRYPT_CREATE_IV,
        CRYPT_KEK, CRYPT_DATA_KEY, CRYPT_VOLATILE, CRYPT_SGCKEY): Remove duplicate
        definitions.
        * include/winerror.h (CRYPT_E_REVOKED): Removed - already defined in
        wincrypt (which is where it should be defined according to MSDN).
2012-01-04 01:32:07 +00:00
Keith Marshall
2a4b36abb7 Correct misuse of #ifdef, identified by 'make test'. 2012-01-03 19:09:39 +00:00
Corinna Vinschen
964a927fe6 * include/winnt.h (JOB_OBJECT_LIMIT_BREAKAWAY_OK): Define.
(JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK): Define.
	(JOB_OBJECT_BREAKAWAY_OK): Define as JOB_OBJECT_LIMIT_BREAKAWAY_OK
	and mark as kept for backward compatibility only.
	(JOB_OBJECT_SILENT_BREAKAWAY): Define as
	JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK and mark as kept for backward
	compatibility only.
2011-12-22 14:31:46 +00:00
Corinna Vinschen
a6ae9400a7 * include/winnt.h: Add missing PROCESS_QUERY_LIMITED_INFORMATION. 2011-12-22 13:46:11 +00:00
Keith Marshall
f46fcfebd1 Factor common code from subdirectory makefiles into Makefile.comm.in 2011-12-13 20:46:53 +00:00
Keith Marshall
5cc68751fd Prepare for factoring out common makefile code. 2011-12-13 20:10:42 +00:00
Keith Marshall
1e10d23a56 Correct makefile error; remove unnecessary FLAGS_TO_PASS macro 2011-12-12 20:02:33 +00:00
Keith Marshall
14bb21fe45 Correct defective configure checkin 2011-12-10 21:43:09 +00:00
Keith Marshall
51d406aaa7 Build system clean-up (phase 1) 2011-12-10 17:24:25 +00:00
Corinna Vinschen
17e1361aa3 * include/winuser.h: Ad missing MAPVK_xxx definitions. 2011-08-19 11:58:05 +00:00
Corinna Vinschen
e5366c218d * include/winnt.h (IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE,
IMAGE_DLLCHARACTERISTICS_FORCE_INTEGRITY,
	IMAGE_DLLCHARACTERISTICS_NX_COMPAT): Fix typo in definitions.
	(IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE,
	IMAGE_DLL_CHARACTERISTICS_FORCE_INTEGRITY,
	IMAGE_DLL_CHARACTERISTICS_NX_COMPAT): Keep broken definitions for
	backward compatibility.
2011-08-05 07:02:26 +00:00
Corinna Vinschen
108b037ea3 * include/winsock2.h (SIO_UDP_CONNRESET): Define. 2011-07-29 11:45:15 +00:00
Chris Sutcliffe
ec2b3046a1 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sf.net>
* include/wingdi.h (GCP_RESULTSW):  Correct defintion.

        Thanks to Albrecht Schlosser for the report and the fix.
2011-05-23 00:13:45 +00:00
Corinna Vinschen
2922c6c4aa * include/winbase.h (STACK_SIZE_PARAM_IS_A_RESERVATION): Define. 2011-05-15 16:40:48 +00:00
Chris Sutcliffe
8ba4144d50 2011-04-21 Chris Sutcliffe <ir0nh34d@users.sf.net>
* include/windef.h (PACKED): Remove macro.
        * include/wincon.h: Replace PACKED macro with __attribute__((packed)).

        Thanks to Keith Marshall for the fix.
2011-04-22 00:10:07 +00:00