summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/lib/kernel32.def
Commit message (Collapse)AuthorAgeFilesLines
* * mingw: Delete obsolete directory.Christopher Faylor2012-11-071-1316/+0
| | | | * w32api: Ditto.
* Even though MSDN documents these as __cdecl the kernel32.dll libraryEarnie Boyd2012-08-101-3/+3
| | | | | | | | | | | | 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.
* * lib/kernel32.def (InterlockedDecrement): Remove the @BYTE count sinceEarnie Boyd2012-08-081-3/+3
| | | | | | we now declare it as __cdecl. (InterlockedIncrement): Ditto. (InterlockedExchange): Ditto.
* 2011-03-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2011-03-051-1/+1
| | | | * lib/kernel32.def (FreeLibraryAndExitThread): Fix definition.
* 2010-08-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2010-08-221-48/+0
| | | | | | | | | | | | | | | | | | | * lib/kernel32.def (CopyLZFile, GetExpandedNameA, GetExpandedNameW, LZClose, LZCopy, LZInit, LZOpenFileA, LZOpenFileW, LZRead, LZSeek, OpenProcessToken, OpenThreadToken, RegCloseKey, RegCreateKeyExA, RegCreateKeyExW, RegDeleteKeyExA, RegDeleteKeyExW, RegDeleteValueA, RegDeleteValueW, RegEnumKeyExA, RegEnumKeyExW, RegEnumValueA, RegEnumValueW, RegFlushKey, RegGetKeySecurity, RegLoadKeyA, RegLoadKeyW, RegNotifyChangeKeyValue, RegOpenCurrentUser, RegOpenKeyExA, RegOpenKeyExW, RegOpenUserClassesRoot, RegQueryInfoKeyA, RegQueryInfoKeyW, RegQueryValueExA, RegQueryValueExW, RegRestoreKeyA, RegRestoreKeyW, RegSetKeySecurity, RegSetValueExA, RegSetValueW, RegUnLoadKeyA, RegUnLoadKeyW, RtlCaptureStackBackTrace, RtlFillMemory, RtlMoveMemory, RtlZeroMemory, SetThreadToken): Remove conflicting definition. * lib/th32.def: Remove. * lib/ntdll.def (RtlUnwind): Remove conflicting definition. * lib/version.def (VerLanguageNameA, VerLanguageNameW): Remove conflicting definition.
* 2010-08-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2010-08-211-1/+0
| | | | * lib/kernel32.def (CreateProcessAsUserW): Remove definition.
* 2010-08-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2010-08-201-961/+1365
| | | | * lib/kernel32.def: Regenerate using gendef on a Win7 machine.
* 2010-07-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2010-07-241-1/+1
| | | | * lib/kernel32.def(FatalExit): Correct definiton.
* 2010-07-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2010-07-221-874/+961
| | | | * lib/kernel32.def: Regenerate using gendef.
* * include/winbase.h (ReOpenFile): Add prototype.Corinna Vinschen2007-08-021-0/+1
| | | | * lib/kernel32.def (ReOpenFile@16): Add export.
* [mingw-Bugs-1749305]Danny Smith2007-07-091-0/+1
| | | | * lib/kernel32.def (GetConsoleProcessList@8): Add export.
* 2007-03-30 Brian Dessent <brian@dessent.net>Chris Sutcliffe2007-04-011-0/+1
| | | | * lib/kernel32.def (CreateMemoryResourceNotification@4): Define.
* * lib/wtsapi32.def (WTSGetActiveConsoleSessionId). Move from here...Danny Smith2006-08-101-0/+2
| | | | * lib/kernel32.def (WTSGetActiveConsoleSessionId). ...to here.
* * lib/kernel32.def (CreateFiberEx): Correct suffix.Danny Smith2005-12-091-1/+1
|
* * include/winbase.h (GetDevicePowerState): Add prototype.Danny Smith2005-12-071-1/+1
| | | | * lib/kernel32.def (GetDevicePowerState): Correct suffix.
* 2005-09-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2005-09-211-1/+2
| | | | | | | | | * 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>
* * lib/kernel32.def (GetUserGeoID): Correct suffix.Danny Smith2005-07-181-1/+1
| | | | Thanks to: "bernd23" <bernd23 at users dot sourceforge dot net>
* * include/winnt.h (VerSetConditionMask): Correct typo in _WIN32_WINNTDanny Smith2004-11-211-1/+1
| | | | | | | guard. * lib/kernel32.def (VerSetConditionMask): Correct stdcall suffix. * lib/ddk/ntoskrnl.def (VerSetConditionMask): Likewise.
* * include/winbase.h [_WIN32_WINNT >= 0x0500] (SetComputerNameEx[AW],Dimitri Papadopoulos2003-10-071-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UnregisterWaitEx): Add functions. * include/winbase.h [_WIN32_WINNT >= 0x0500] (AddVectoredExceptionHandler, RemoveVectoredExceptionHandler): Add or guard function. The MSDN says it is available on Windows XP and better, and then it says it is declared for _WIN32_WINNT >= 0x0500. Huh? * include/winbase.h [_WIN32_WINNT >= 0x0501] (AddRefActCtx, CreateActCtx[AW], SetFileShortName[AW], SetFileValidData, ZombifyActCtx, QueryActCtxW): Add functions. * include/winbase.h [_WIN32_WINNT >= 0x0501] (QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX, QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE, QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS): Add constants. * include/winbase.h [_WIN32_WINNT >= 0x0502] (SetDllDirectory[AW], SetFirmwareEnvironmentVariable[AW]): Add functions. * include/winnt.h [_WIN32_WINNT >= 0x0500] (VER_BUILDNUMBER, VER_MAJORVERSION, VER_MINORVERSION, VER_PLATFORMID, VER_SERVICEPACKMAJOR, VER_SERVICEPACKMINOR, VER_SUITENAME, VER_PRODUCT_TYPE, VER_EQUAL, VER_GREATER, VER_GREATER_EQUAL, VER_LESS, VER_LESS_EQUAL, VER_AND, VER_OR): Add constants. * include/winnt.h [_WIN32_WINNT >= 0x0501] (PVECTORED_EXCEPTION_HANDLER): Add callback. * include/winnt.h [_WIN32_WINNT >= 0x0501] (ACTIVATION_CONTEXT_INFO_CLASS, ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION, ACTIVATION_CONTEXT_DETAILED_INFORMATION, ACTIVATION_CONTEXT_QUERY_INDEX, ASSEMBLY_FILE_DETAILED_INFORMATION): Add structures. * lib/user32.def (AddRefActCtx, AddVectoredExceptionHandler, CreateActCtx[AW], SetComputerNameEx[AW], SetDllDirectory[AW], SetFileShortName[AW], SetFileValidData, SetFirmwareEnvironmentVariable[AW], UnregisterWaitEx, VerSetConditionMask, ZombifyActCtx, QueryActCtxW): Add functions.
* * include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,Dimitri Papadopoulos2003-10-071-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ResetWriteWatch): Add function. * include/winbase.h [_WIN32_WINNT >= 0x0500] (GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]): Add functions. * include/winbase.h [_WIN32_WINNT >= 0x0501] (GetSystemWow64Directory[AW], HeapQueryInformation, HeapSetInformation, InitializeSListHead, InterlockedFlushSList, InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob, IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx, RemoveVectoredExceptionHandler): Add functions. * include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS): Add enumeration. * include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag): Add function. * include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError): Add function. The MSDN Magazine of June 2003 reads: RestoreLastError is an enigma. It's code is identical to SetLastError. It's unclear to me why it was made into a separate API. * lib/user32.def (GetSystemWindowsDirectory[AW], GetSystemWow64Directory[AW], GetThreadIOPendingFlag, HeapQueryInformation, HeapSetInformation, InitializeSListHead, InterlockedFlushSList, InterlockedPopEntrySList, InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process, ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx, RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch, RestoreLastError): Add functions.
* * include/winbase.h [_WIN32_WINNT >= 0x0500] (GetComputerNameEx[AW],Dimitri Papadopoulos2003-10-071-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GetProcessIoCounters): Add functions. * include/winbase.h [_WIN32_WINNT >= 0x0500] (COMPUTER_NAME_FORMAT): Move around, needed by GetComputerNameEx. * include/winbase.h [_WIN32_WINNT >= 0x0501] (FindActCtxSectionGuid, FindActCtxSectionString[AW], GetCurrentActCtx, GetNativeSystemInfo): Add functions. * include/winbase.h [_WIN32_WINNT >= 0x0501] (ACTCTX_SECTION_KEYED_DATA): Add structure. * include/winbase.h [_WIN32_WINNT >= 0x0502] (GetDllDirectory[AW], GetFirmwareEnvironmentVariable[AW], GetProcessHandleCount, GetProcessId, GetSystemRegistryQuota): Add functions, available on Windows XP SP1 and better. * include/winnt.h [_WIN32_WINNT >= 0x0501] (ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION, ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION, ACTIVATION_CONTEXT_SECTION_WINDOW_CLASS_REDIRECTION, ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION, ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION, ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION, ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION, ACTIVATION_CONTEXT_SECTION_CLR_SURROGATES): Add constants. * lib/user32.def (FindActCtxSectionGuid, FindActCtxSectionString[AW], GetComputerNameEx[AW], GetCurrentActCtx, GetDllDirectory[AW], GetFirmwareEnvironmentVariable[AW], GetModuleHandleEx[AW], GetNativeSystemInfo, GetProcessHandleCount, GetProcessIoCounters): Add functions.
* * include/winbase.h [_WIN32_WINNT >= 0x0501]Dimitri Papadopoulos2003-10-071-0/+8
| | | | | | | | | | | | | (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.
* * include/winbase.h (CancelDeviceWakeupRequest): Add function.Dimitri Papadopoulos2003-10-061-0/+3
| | | | | | | | | | | | | | | | | | | | * 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.
* * include/winbase.h [_WIN32_WINNT >= 0x0400] (ConvertFiberToThread):Dimitri Papadopoulos2003-10-061-0/+2
| | | | | | | | | | | | | 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.
* * include/winbase.h [_WIN32_WINNT >= 0x0501] (ACTCTX_FLAG_*):Dimitri Papadopoulos2003-10-061-0/+6
| | | | | | | | | | | | | | | | | | | | 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.
* * include/winnls.h (CTRY_KYRGYZSTAN, CTRY_MALDIVES, CTRY_MONGOLIA):Dimitri Papadopoulos2003-10-061-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | 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-04-26 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith2003-04-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-03-13 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith2003-03-141-0/+10
| | | | | | | | | | | | * 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-06 Christopher January <chris@atomice.net>Danny Smith2003-03-071-0/+1
| | | | | | | | | | | | * 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.
* * include/winbase.h (MEMORYSTATUSEX): Add structure.Danny Smith2003-02-221-0/+1
| | | | | (GlobalMemoryStatusEx): Add prototype. * lib/kernel32.def (GlobalMemoryStatusEx): Add stub.
* * include/winnt.h (VerSetConditionMask): Add prototype.Danny Smith2002-11-041-0/+2
| | | | * lib/kernel32.def (VerifyVersionInfo[AW]): Add stubs.
* 2002-09-04 Kevin Chase <kevincha99@hotmail.com>Danny Smith2002-09-041-0/+4
| | | | | | | * include/winbase.h (AllocateUserPhysicalPages, MapUserPhysicalPages, MapUserPhysicalPagesScatter, FreeUserPhysicalPages): Add prototypes. * lib/kernel32.def: Add function stubs for above.
* Merge changes from MinGWEarnie Boyd2002-07-091-0/+1
|
* * lib/thunk32.def (LIBRARY): Change to KERNEL32.dll.Danny Smith2002-06-021-0/+1
| | | | * lib/kernel32.def (ConvertToGlobalHandle): Add stub.
* * lib/kernel32.def: Add LanguageGroup and UILanguage symbols.Earnie Boyd2001-06-191-0/+9
| | | | Thanks to Kevin Chase <kevincha99@hotmail.com>.
* import winsup-2000-02-17 snapshotChristopher Faylor2000-02-171-0/+758