Commit Graph

114 Commits

Author SHA1 Message Date
Corinna Vinschen 2922c6c4aa * include/winbase.h (STACK_SIZE_PARAM_IS_A_RESERVATION): Define. 2011-05-15 16:40:48 +00:00
Chris Sutcliffe 6777e53972 2011-03-07 Chris Sutcliffe <ir0nh34d@users.sf.net>
* include/winbase.h (PSAPI_WORKING_SET_BLOCK,
        PSAPI_WORKING_SET_INFORMATION): Move from here...
        * include/psapi.h (PSAPI_WORKING_SET_BLOCK,
        PSAPI_WORKING_SET_INFORMATION): ... to here.
2011-03-08 01:57:46 +00:00
Chris Sutcliffe 174cb44b90 2011-03-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/winbase.h (PSAPI_WORKING_SET_BLOCK,
        PSAPI_WORKING_SET_INFORMATION): Define.
2011-03-05 20:29:08 +00:00
Chris Sutcliffe ad41401c69 2011-03-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/winbase.h (__GNUC_EXTENSION): Define, replacing __MINGW_EXTENSION.
2011-03-05 19:36:28 +00:00
Chris Sutcliffe 213bc4f215 2011-03-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/winbase.h (FILE_ENCRYPTABLE, FILE_IS_ENCRYPTED, FILE_READ_ONLY,
        FILE_ROOT_DIR, FILE_SYSTEM_ATTR, FILE_SYSTEM_DIR, FILE_SYSTEM_NOT_SUPPORT,
        FILE_UNKNOWN, FILE_USER_DISALLOWED): Define.
2011-03-05 05:05:20 +00:00
Chris Sutcliffe 2af4c4de09 2011-03-04 Seth Jackson <sethj@users.sourceforge.net>
* include/winnt.h (PAGE_WRITECOMBINE): Define.
        * include/winbase.h (THREAD_MODE_BACKGROUND_BEGIN, THREAD_MODE_BACKGROUND_END): Define.
2011-03-05 04:39:15 +00:00
Chris Sutcliffe a4c7da048d 2011-03-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/winbase.h (__MINGW_EXTENSION): Define.
        (OVERLAPPED): Add __MINGW_EXTENSION around nameless union /
        struct to correct issue with -std=c99.
2011-03-05 04:31:24 +00:00
Chris Sutcliffe 48defac76a 2010-12-27 Seth Jackson <sethj@users.sourceforge.net>
* include/winbase.h (GetComputerNameEx): Define.
2010-12-27 21:12:35 +00:00
Chris Sutcliffe c65bfdfadc 2010-09-22 Ryan Lortie <desrt@desrt.ca>
* include/winbase.h (TzSpecificLocalTimeToSystemTime): Define.
2010-12-27 21:07:20 +00:00
Chris Sutcliffe 036f657a2b 2010-12-27 Johann Hanne <jonnyh33@users.sourceforge.net>
* include/oaidl.h (GetTypeComp, GetTypeComp, IsMatchingType): Fix defintion.
        * include/objidl.h (AddConnection, ReleaseConnection): Ditto.
        * include/winbase.h (EnumResourceLanguagesA, EnumResourceLanguagesW,
        EnumResourceNamesA, EnumResourceNamesW, EnumResourceTypesA,
        EnumResourceTypesW): Ditto.
        * include/winnt.h (_SYSTEM_POWER_CAPABILITIES): Ditto.
2010-12-27 20:20:15 +00:00
Chris Sutcliffe b898a48b69 2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/winbase.h (COPY_FILE_OPEN_SOURCE_FOR_WRITE,
        COPY_FILE_ALLOW_DECRYPTED_DESTINATION, COPY_FILE_COPY_SYMLINK,
        COPY_FILE_NO_BUFFERING): Define.

        Thank you to Roland Schwingel for reporting the issue.
2010-08-26 01:57:46 +00:00
Chris Sutcliffe 0fc2536a69 2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/winbase.h (GetEnvironmentStrings, GetEnvironmentStringsA): Per
        MSDN, change return type to LPCH.
        (GetEnvironmentStringsW): Per MSDN, change return type to LPWCH.
2010-08-25 23:33:14 +00:00
Chris Sutcliffe 6d480dc617 2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/winbase.h (MoveFileWithProcessA, MoveFileWithProgressW): Define.
2010-08-24 22:35:39 +00:00
Chris Sutcliffe c7a5ff6c03 2010-08-24 Vinky <rabbit_vinky@users.sourceforge.net>
* include/winbase.h (OVERLAPPED): Correct definition.
2010-08-24 22:25:44 +00:00
Chris Sutcliffe bfb9c22649 2010-08-23 LRN <lrn1986@gmail.com>
* include/winbase.h (SYMBOLIC_LINK_FLAG_DIRECTORY, FILE_NAME_NORMALIZED,
        FILE_NAME_OPENED, VOLUME_NAME_DOS, VOLUME_NAME_GUID, VOLUME_NAME_NONE,
        VOLUME_NAME_NT, FILE_BASIC_INFO, FILE_STANDARD_INFO, FILE_NAME_INFO,
        FILE_STREAM_INFO, FILE_COMPRESSION_INFO, FILE_ATTRIBUTE_TAG_INFO,
        FILE_ID_BOTH_DIR_INFO, FILE_REMOTE_PROTOCOL_INFO, FILE_INFO_BY_HANDLE_CLASS,
        GetFileInformationByHandleEx, GetFinalPathNameByHandleA,
        GetFinalPathNameByHandleW): Define.
2010-08-24 00:15:51 +00:00
Chris Sutcliffe 1087b2462f 2010-08-18 Ladislav Michl <ladis@users.sourceforge.net>
* include/winbase.h (SYMBOLIC_LINK_FLAG_DIRECTORY, CreateSymbolicLinkW,
        CreateSymbolicLinkA, CreateSymbolicLink): Define
2010-08-18 23:34:08 +00:00
Chris Sutcliffe 67779b719c 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/winbase.h (UnmapViewOfFile): Correct definition.

        Thanks to Dimitry Sibiryakov for the report.
2009-11-21 00:38:55 +00:00
Corinna Vinschen ef35acca22 * include/winbase.h (CreateRestrictedToken): Declare for >= Win 2000.
_WIN32_WINNT >= 0x0500.
	(DISABLE_MAX_PRIVILEGE, SANDBOX_INERT, LUA_TOKEN,
	WRITE_RESTRICTED): Define.
	(IsTokenRestricted): Declare for >= Win 2000.
2009-10-04 12:28:08 +00:00
Corinna Vinschen ddc0c0d3f5 * include/winbase.h (enum _DEP_SYSTEM_POLICY_TYPE): Fix version guard. 2009-01-19 15:36:14 +00:00
Corinna Vinschen 49a0cd95c0 * include/winbase.h (SCS_64BIT_BINARY): Define. 2009-01-07 14:11:57 +00:00
Corinna Vinschen bef8896587 * include/winbase.h (PROCESS_DEP_ENABLE,
PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION): Define for >= Vista SP1.
	(enum _DEP_SYSTEM_POLICY_TYPE): Ditto.
	(GetProcessDEPPolicy, GetSystemDEPPolicy, SetProcessDEPPolicy): Ditto.
2008-11-11 14:44:54 +00:00
Brandon Sneed 8b79fb163b 2008-06-25 Brandon Sneed <nivenh@sourceware.org>
* include/winbase.h (GetProcessHandleCount, GetSystemRegistryQuota,
	GetThreadIOPendingFlag): Modified to rely on _WIN32_WINNT 0x0501 instead
	of 0x0502.
	Bug reported by Thomas Denk.
2008-06-25 21:21:08 +00:00
Brandon Sneed 854c27dd8d 2008-06-25 Brandon Sneed <nivenh@sourceware.org>
* include/winbase.h (InterlockedIncrement, InterlockedDecrement,
	InterlockedCompareExchange, InterlockedExchange,
	InterlockedCompareExchangePointer, InterlockedExchangeAdd,
	InterlockedExchangePointer): Modified from PLONG to LONG volatile *.
2008-06-25 20:53:31 +00:00
Chris Sutcliffe 5f96f813d6 2007-11-21 Brian Dessent <dessent@users.sourceforge.net>
* include/winbase.h (CheckTokenMembership): define.
2007-11-22 02:38:17 +00:00
Corinna Vinschen f86258b5c1 * include/winbase.h (ReOpenFile): Add prototype.
* lib/kernel32.def (ReOpenFile@16): Add export.
2007-08-02 07:22:46 +00:00
Chris Sutcliffe 2351dd18b4 2007-04-15 Piotr Wyderski <piotr.wyderski@wp.pl>
* include/winbase.h (SetInformationJobObject, QueryInformationJobObject):
        Define.
2007-04-15 17:26:46 +00:00
Danny Smith 8212f7686e Oops. The actual change for this entry wasn't committed.
2007-01-11  Gisle Vanem  <giva@users.sourceforge.net>

	* include/winbase.h (struct _OVERLAPPED): Change type of
	Internal, InternalHigh members to ULONG_PTR.
	(PAPCFUNC): Change DWORD parameter to ULONG_PTR.
	(CreateIoCompletionPort): Likewise.
	(PostQueuedCompletionStatus): Likewise.
	(QueueUserAPC): Likewise.
	(GetQueuedCompletionStatus): Change PDWORD parm to PULONG_PTR.
2007-01-19 08:53:00 +00:00
Danny Smith 1202770601 * include/winbase.h: Add comment about 'missing' SEM flag. 2006-09-01 01:28:30 +00:00
Dimitri Papadopoulos 5dcc8b249a * include/winbase.h (ENUMRES*PROC{AW}): ANSI and Unicode versions.
Thanks to:    Oliver Stoeneberg <kidkat at sf dot net>
2006-04-28 17:34:02 +00:00
Dimitri Papadopoulos 7eaa966b8f * include/ipifcons.h (MIN_IF_TYPE,IF_TYPE_*,MAX_IF_TYPE,IF_ACCESS_*,
IF_CHECK_*,IF_CONNECTION_*,IF_ADMIN_*,IF_OPER_*): Define.
	* include/winbase.h (CancelWaitableTimer,UnregisterWait):
	Add function declaration.
	* include/mgm.h: New file.
	* lib/rtm.def: New file.
	Thanks to:    Bruce M Simpson <bms_spc at sf dot net>
2006-04-28 10:31:20 +00:00
Danny Smith 5c96db5d4f 2006-04-18 Eric House <ehouse@eehouse.org>
PocketPC support.
	* include/aygshell.h: New file [_WIN32_WCE]. Declare most common
	functions for using aygshell on PocketPC:
	SHCreateMenuBar, SHFindMenuBar, SHCreateNewItem, SHFullScreen,
	SHSipInfo, SHHandleWMActivate, SHHandleWMSettingChange

	* include/commctrl.h [_WIN32_WCE] Add function prototypes for
	command bar API on PocketPC:
	CommandBar_Create, CommandBar_Show, CommandBar_AddBitmap,
	CommandBar_InsertComboBox, CommandBar_InsertMenubar,
	CommandBar_InsertMenubarEx, CommandBar_DrawMenuBar,
	CommandBar_GetMenu, CommandBar_AddAdornments, CommandBar_Height,
	CommandBar_InsertButton, CommandBar_Destroy.

	* include/winbase.h [_WIN32_WCE] (WIN32_FIND_DATA{A|W}): Remove
	 fields not present on PocketPC.
	(GetCurrentThreadId): Conditionally declare as extern function
	without dllimport attribute on PocketPC.
 	(ResetEvent): Likwise.
	(SetEvent): Likewise.

	* include/wingdi.h [_WIN32_WCE]  (GetTextExtentPoint32{A|W}):
	Conditionally declare as extern function without dllimport
	 attribute on PocketPC.
	* winuser.h  [_WIN32_WCE] (DialogBoxParam{A|W}): Conditionally
	declare as extern function without dllimport attribute on PocketPC.
2006-04-18 09:35:29 +00:00
Chris Sutcliffe 9f8b325c45 2006-04-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/winbase.h (GET_MODULE_HANDLE_EX_FLAG_*): Define.
        Thanks to:      Brandon Sneed <brandon at redf dot net>
2006-04-14 00:14:19 +00:00
Dimitri Papadopoulos 1d509e2a22 * include/winbase.h (LOGON32_PROVIDER_WINNT40,
LOGON32_PROVIDER_WINNT50, LOGON32_LOGON_NETWORK,
	LOGON32_LOGON_UNLOCK, LOGON32_LOGON_NETWORK_CLEARTEXT,
	LOGON32_LOGON_NEW_CREDENTIALS): Define.
	Thanks to:    Oliver Stoeneberg <kidkat at users dot sf dot net>
2006-04-05 13:53:14 +00:00
Chris Sutcliffe 8d6d480774 2006-03-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/winbase.h (SetProcessWorkingSetSize): Corrected define.
2006-03-26 01:24:03 +00:00
Christopher Faylor c94cc0f583 * include/winbase.h (STATUS_DLL_INIT_FAILED): New define.
(STATUS_DLL_INIT_FAILED_LOGOFF): Ditto.
2006-03-16 03:05:39 +00:00
Danny Smith 4b2985b50b 2006-01-05 Michael Gerdau <mgd@technosis.de>
* include/winbase.h (WINADVAPI): Define.
2006-01-04 20:59:28 +00:00
Danny Smith 14d2d90cff * include/winbase.h (GetDevicePowerState): Add prototype.
* lib/kernel32.def (GetDevicePowerState): Correct suffix.
2005-12-07 20:27:09 +00:00
Danny Smith c3a1f48c42 * include/winbase.h (GetProcessId): Remove duplicate declaration.
Use _WIN32_WINNT >= 0x0501 guard.
2005-10-12 09:40:29 +00:00
Christopher Faylor 677f3499b3 Add ChangeLog: * include/winbase.h (GetProcessId): Declare.
Revert erroneous include/winsock.h checkin.
2005-10-11 18:43:54 +00:00
Christopher Faylor a5ac89cbbd * Makefile.common (CFLAGS_COMMON): Add -Wstrict-aliasing. 2005-10-11 18:17:59 +00:00
Chris Sutcliffe 574c2ba2a3 2005-09-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/winbase.h (RegisterWaitForSingleObject,
	RegisterWaitForSingleObjectEx): Define.
	* lib/kernel32.def (RegisterWaitForSingleObjectEx@20): Define.
	(RegisterWaitForSingleObject@16): Changed to
	RegisterWaitForSingleObject@24.
	Thanks to: Brandon Sneed <nivenh at users dot sourceforge dot net>
2005-09-21 19:20:46 +00:00
Earnie Boyd 9d3e15bef5 2005-07-17 Benoit Blanchon <bblanchon@users.sourceforge.net>
* include/winbase.h (QueueUserWorkItem): Add prototype.
2005-07-17 18:58:12 +00:00
Danny Smith 00110273cc * include/winbase.h (GolbalDiscard): Define as macro.
Thanks to: David Golub  <david_golub  at users dot sf dot net>
2005-06-18 07:36:02 +00:00
Danny Smith 8cc85fff15 2005-01-27 Oliver Stoeneberg <oliverst@online.de>
* include/winbase.h (PWIN32_FIND_DATA): Add typedef.
2005-01-27 21:04:18 +00:00
Danny Smith 225699ae46 * include/winbase.h (PPROCESS_INFORMATION): Add typedef.
(CreateProcessWithLogonW): Declare.
	(LOGON_WITH_PROFILE, LOGON_NETCREDENTIALS_ONLY): Add defines.
	Thanks to: "jkmaki" <jkmaki@users.sourceforge.net>

	Correct some ChangeLog typos.
2004-11-20 00:03:08 +00:00
Danny Smith 12a638f990 2004-10-15 Robert Wruck <wruck@tweerlei.de>
Danny Smith  <dannysmith@users.sourceforge.net>

	= include/winbase.h (InitializeSListHead, Interlocked*):
	Guard with !__USE_NTOSKRNL__.

	* include/ddk/ntddk.h (__USE_NTOSKRNL__): Define.
	* include/ddk/winddk.h (InitializeSListHead, Interlocked*):
	Guard with  __USE_NTOSKRNL__.
	(ExInterlockedPopEntrySList, ExInterlockedPushEntrySList):
	Add prototypes.  Guard macro definition with __USE_NTOSKRNL__
	&& _WIN32_WINNT >= 0x0501
	(ExAllocateFromNPagedLookasideList, ExAllocateFromPagedLookasideList,
	ExFreeToNPagedLookasideList, ExFreeToPagedLookasideList):
	Replace calts to InterlockedPopEntrySList, InterlockedPushEntrySList
	with ExInterlockedPopEntrySList, ExInterlockedPushEntrySList.

	* lib/ddk/ntosknl.def (ExInterlockedPopEntrySList,
	ExInterlockedPushEntrySList)  Add stubs with fastcall decoration.
	(ExDesktopObjectType, ExEventObjectType, ExSemaphoreObjectType,
	ExWindowStationObjectType, IoAdapterObjectType,
	IoDeviceHandlerObjectSize, IoDeviceHandlerObjectType,
	IoDeviceObjectType, IoDriverObjectType, IoFileObjectType,
	LpcPortObjectType, MmSectionObjectType, SeTokenObjectType):
	Uncomment stubs.
2004-10-15 01:18:11 +00:00
Danny Smith f49a3937c8 * include/winbase.h (WINBASEAPI): Define as DECLSPEC_IMPORT only
if __W32API_USE_DLLIMPORT__ is defined.
	* include/winuser.h (WINUSERAPI): Likewise.
2004-09-30 09:08:17 +00:00
Danny Smith 72fdc157bf * include/winbase.h (WINBASEAPI): Guard with __INSIDE_CYGWIN__. 2004-08-24 23:20:42 +00:00
Danny Smith 4cb4a4710a 2004-08-24 Sam Robb <samrobb@users.sourceforge.net>
* include/winbase.h (GetFileSizeEx): Add _WIN32_WINNT >= 0x0500
	guard.
2004-08-23 22:01:57 +00:00
Danny Smith ace32bda79 * include/winbase.h: Add WINBASEAPI token to prototypes, throughout. 2004-08-23 21:56:11 +00:00