* include/winbase.h (InterlockedDecrement): Modify declaration from

LONG WINAPI to LONG __cdecl to match Microsoft documentation.
	(InterlockedIncrement): Ditto.
	(InterlockedExchange): Ditto.
This commit is contained in:
Earnie Boyd 2012-08-01 17:38:51 +00:00
parent 30ea43437c
commit 8c582a2053
2 changed files with 7 additions and 3 deletions

View File

@ -11,6 +11,10 @@
(WTSVirtualChannelRead): Ditto.
(WTSVirtualChannelWrite): Ditto.
* lib/wtsapi32.def (WTSVirtualChannelOpenEx@12): Add import.
* include/winbase.h (InterlockedDecrement): Modify declaration from
LONG WINAPI to LONG __cdecl to match Microsoft documentation.
(InterlockedIncrement): Ditto.
(InterlockedExchange): Ditto.
2012-07-29 Earnie Boyd <earnie@users.sourceforge.net>

View File

@ -1846,8 +1846,8 @@ LONG WINAPI InterlockedCompareExchange(LONG volatile *,LONG,LONG);
/* PVOID WINAPI InterlockedCompareExchangePointer(PVOID*,PVOID,PVOID); */
#define InterlockedCompareExchangePointer(d,e,c) \
(PVOID)InterlockedCompareExchange((LONG volatile *)(d),(LONG)(e),(LONG)(c))
LONG WINAPI InterlockedDecrement(LONG volatile *);
LONG WINAPI InterlockedExchange(LONG volatile *,LONG);
LONG __cdecl InterlockedDecrement(LONG volatile *);
LONG __cdecl InterlockedExchange(LONG volatile *,LONG);
/* PVOID WINAPI InterlockedExchangePointer(PVOID*,PVOID); */
#define InterlockedExchangePointer(t,v) \
(PVOID)InterlockedExchange((LONG volatile *)(t),(LONG)(v))
@ -1855,7 +1855,7 @@ LONG WINAPI InterlockedExchangeAdd(LONG volatile *,LONG);
#if (_WIN32_WINNT >= 0x0501)
PSLIST_ENTRY WINAPI InterlockedFlushSList(PSLIST_HEADER);
#endif
LONG WINAPI InterlockedIncrement(LONG volatile *);
LONG __cdecl InterlockedIncrement(LONG volatile *);
#if (_WIN32_WINNT >= 0x0501)
PSLIST_ENTRY WINAPI InterlockedPopEntrySList(PSLIST_HEADER);
PSLIST_ENTRY WINAPI InterlockedPushEntrySList(PSLIST_HEADER,PSLIST_ENTRY);