2002-03-10 00:29:33 +01:00
|
|
|
/*
|
|
|
|
* Copyright (C) the Wine project
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
2006-05-18 14:49:52 +02:00
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
2002-03-10 00:29:33 +01:00
|
|
|
*/
|
|
|
|
|
1996-04-14 15:21:20 +02:00
|
|
|
#ifndef __WINE_WINBASE_H
|
|
|
|
#define __WINE_WINBASE_H
|
Release 951124
Tue Nov 21 18:49:10 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
* [configure.in] [Makefile] [misc/dos_fs.c]
Got rid of autoconf.h file.
* [debugger/dbg.y]
More logical behavior upon syntax errors.
* [include/hook.h] [windows/hook.c]
Changed hook structure and rewrote most of the hook functions for
better compatibility, based on investigations by Alex Korobka.
* [include/message.h] [windows/message.c]
Added hooks to message queue structure and made the structure
layout Windows-compatible.
Added support for WH_MOUSE, WH_KEYBOARD, WH_HARDWARE and
WH_JOURNALRECORD hooks.
* [misc/main.c]
Added command-line option for changing the language at run-time
(not implemented yet), based on a suggestion from Michael Patra.
* [objects/cursoricon.c]
Fixed silly SEGPTR bug in DumpIcon().
Mon Nov 20 22:22:22 1995 Alex Korobka <alex@phm30.pharm.sunysb.edu>
* [controls/listbox.c] [controls/combo.c] [include/listbox.h]
Partial implementaion of LBS_EXTENDEDSEL style,
yet more updates for drag & drop support. Now works.
* [windows/defwnd.c]
More message handlers.
* [windows/win.c]
DragObject, DragDetect, AnyPopup functions.
* [controls/listbox.c]
More kludgy fixes (WM_...TOITEM, etc.).
* [objects/cursoricon.c] [objects/oembitmap.c]
IconToCursor skeleton, patch for OBM_LoadCursorIcon to handle new
cursor.
* [include/bitmaps/ocr*]
New OEM cursors.
Mon Nov 20 11:05:20 EST 1995 Jim Peterson <jspeter@birch.ee.vt.edu>
* [toolkit/heap.c]
Swapped flags and size arguments to LocalRealloc as per changes in
memory/local.c by William Magro in previous release.
* [include/wintypes.h]
Reinstated the #define's for 'min' and 'max', since they're part of
the Windows API. I really don't think it's a wise idea, so I put
a '#ifndef DONT_DEFINE_min_AND_max' around them. I think the actual
WINE code should never use these (it should use 'MIN' and 'MAX'
instead).
* [loader/*]
Put '#ifndef WINELIB' around many things that WINElib should not need.
* [controls/edit.c]
Took out many '#if defined(WINELIB)' sections with the associated
comment 'temporary fix, until Local memory is correctly implemented in
WINELIB', since the effective translations are now in
toolkit/miscstubs.c.
Took out the #ifndef's I put in EDIT_ClearText. Whoever modified this
file fixed (or at least postponed) the bug I had encountered.
* [loader/task.c]
Put an #ifdef in TASK_CreateTask() that hardwires the current drive to
C: This will probably cause a lot of trouble if this change is
forgotten in the future, but it will let things like the OpenFileName
dialog work for now.
* [toolkit/libres.c] [toolkit/Makefile.in] [toolkit/Makefile]
[include/libres.h]
Made new libres.c file, which will contain functions for supporting
accessing resources by name in WINElib. 'winerc' will need to be
changed.
* [toolkit/heap.c]
Refined memory routines to allow for differences between LocalAlloc
and GlobalAlloc and between LocalSize and GlobalSize.
* [windows/message.c] [include/windows.h]
Defined the GetCurrentTime routine in windows/message.c, and removed
the #define in windows.h.
Mon Nov 20 00:36:42 MET 1995 Sven Verdoolaege <skimo@dns.ufsia.ac.be>
* [*/*]
Added new debugging type DEBUG_WIN32 and DEBUG_ENV.
* [loader/module.c]
Added undocumented GetExpWinVer.
* [tools/build.c]
Previous code didn't pop possibly changed %esi, %edi and %edx
from the stack.
* [win32/advapi.c]
Added GetUserNameA.
* [win32/code_page.c]
Added stub for MultiByteToWideChar.
* [win32/console.c]
Added SetConsoleCtrlHandler stub.
* [win32/file.c]
Added ReadFile CreateFileA GetFileInformationByHandle stubs.
Added CloseHandle.
* [win32/memory.c]
Changed VirtualAlloc and VirtualFree.
* [win32/process.c]
Added ExitProcess.
Sun Nov 19 17:54:42 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
* [include/windows.h]
Fixed a few broken structure definitions.
* [loader/resource.c]
FindResource(): Need to check for '#xxx' strings here.
* [miscemu/int21.c]
FindNext(): Return MS-DOS filenames uppercase.
* [objects/cursoricon.c]
CreateIcon(), CreateCursor(): Added missing element to CURSORICONINFO
initializers.
* [misc/file.c]
_lopen(): Files opened in OF_WRITE mode are truncated.
OpenFile(): Ignore OF_READ/OF_WRITE/OF_READWRITE when files are
created; use read/write mode.
* [misc/profile.c]
load(): Rewritten.
* [misc/commdlg.c]
Fixed bad call to strncpy() that smashed the stack.
* [controls/combo.c] [windows/winpos.c] [memory/selector.c]
Operator precedence fixes. People who use gcc 2.7.1 don't need a
debugger :-)
* [if1632/gdi.spec] [objects/palette.c]
Add ResizePalette() and AnimatePalette() stubs. They don't do anything,
but sometimes that's good enough.
Fri Nov 17 09:10:35 GMT 1995 John Harvey <john@division.co.uk>
* [include/wine.h] [include/registers.h] [include/winsock.h]
Added definitions for Unixware.
* [loader/signal.c] [misc/comm.c] [misc/winsocket.c]
Misc. fixes for Unixware.
* [loader/task.c]
Made assignemts to context in InitTask for registers use the macros
from registers.h to make them more portable. (Needed for Unixware)
* [tools/build.c]
Fixed register acces routines to work on Unixware. Bit grubby but
it seems to work.
* [controls/edit.c]
EDIT_WM_NCCreate allocates local heap if hasn't been previously
allocated.
* [miscemu/int21.c]
mkdir now creates directory with permission to access it.
* [misc/dos_fs.c]
mkdir now creates directory with permission to access it.
DOS_opendir now uses linked list of dirents to avoid problems with
realloc changing address of malloced memory.
Thu Nov 16 12:47:13 1995 Michael Patra <patra@itp1.Physik.TU-Berlin.DE>
* [controls/menu.c]
MENU_CalcItemSize(): Fixed handling of empty menu items.
Sat Nov 11 21:46:54 1995 Hans de Graaff <graaff@twi72.twi.tudelft.nl>
* [misc/file.c]
In OpenFile, unlink should be done on the unix filename.
Sat Nov 11 16:43:29 1995 Cameron Heide (heide@ee.ualberta.ca)
* [include/handle32.h]
New header file containing internal Win32 kernel handle
information.
* [win32/file.c]
Added ReadFile, CreateFile, and CloseFileHandle, and did
some reorganizing to match the new handle allocation scheme.
* [win32/init.c]
Added CloseHandle and the creation of standard I/O handles.
* [win32/object_mgt.c]
New module for allocating and freeing Win32 kernel handles.
1995-11-26 14:59:11 +01:00
|
|
|
|
2003-08-28 23:43:34 +02:00
|
|
|
#include <winerror.h>
|
Release 951124
Tue Nov 21 18:49:10 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
* [configure.in] [Makefile] [misc/dos_fs.c]
Got rid of autoconf.h file.
* [debugger/dbg.y]
More logical behavior upon syntax errors.
* [include/hook.h] [windows/hook.c]
Changed hook structure and rewrote most of the hook functions for
better compatibility, based on investigations by Alex Korobka.
* [include/message.h] [windows/message.c]
Added hooks to message queue structure and made the structure
layout Windows-compatible.
Added support for WH_MOUSE, WH_KEYBOARD, WH_HARDWARE and
WH_JOURNALRECORD hooks.
* [misc/main.c]
Added command-line option for changing the language at run-time
(not implemented yet), based on a suggestion from Michael Patra.
* [objects/cursoricon.c]
Fixed silly SEGPTR bug in DumpIcon().
Mon Nov 20 22:22:22 1995 Alex Korobka <alex@phm30.pharm.sunysb.edu>
* [controls/listbox.c] [controls/combo.c] [include/listbox.h]
Partial implementaion of LBS_EXTENDEDSEL style,
yet more updates for drag & drop support. Now works.
* [windows/defwnd.c]
More message handlers.
* [windows/win.c]
DragObject, DragDetect, AnyPopup functions.
* [controls/listbox.c]
More kludgy fixes (WM_...TOITEM, etc.).
* [objects/cursoricon.c] [objects/oembitmap.c]
IconToCursor skeleton, patch for OBM_LoadCursorIcon to handle new
cursor.
* [include/bitmaps/ocr*]
New OEM cursors.
Mon Nov 20 11:05:20 EST 1995 Jim Peterson <jspeter@birch.ee.vt.edu>
* [toolkit/heap.c]
Swapped flags and size arguments to LocalRealloc as per changes in
memory/local.c by William Magro in previous release.
* [include/wintypes.h]
Reinstated the #define's for 'min' and 'max', since they're part of
the Windows API. I really don't think it's a wise idea, so I put
a '#ifndef DONT_DEFINE_min_AND_max' around them. I think the actual
WINE code should never use these (it should use 'MIN' and 'MAX'
instead).
* [loader/*]
Put '#ifndef WINELIB' around many things that WINElib should not need.
* [controls/edit.c]
Took out many '#if defined(WINELIB)' sections with the associated
comment 'temporary fix, until Local memory is correctly implemented in
WINELIB', since the effective translations are now in
toolkit/miscstubs.c.
Took out the #ifndef's I put in EDIT_ClearText. Whoever modified this
file fixed (or at least postponed) the bug I had encountered.
* [loader/task.c]
Put an #ifdef in TASK_CreateTask() that hardwires the current drive to
C: This will probably cause a lot of trouble if this change is
forgotten in the future, but it will let things like the OpenFileName
dialog work for now.
* [toolkit/libres.c] [toolkit/Makefile.in] [toolkit/Makefile]
[include/libres.h]
Made new libres.c file, which will contain functions for supporting
accessing resources by name in WINElib. 'winerc' will need to be
changed.
* [toolkit/heap.c]
Refined memory routines to allow for differences between LocalAlloc
and GlobalAlloc and between LocalSize and GlobalSize.
* [windows/message.c] [include/windows.h]
Defined the GetCurrentTime routine in windows/message.c, and removed
the #define in windows.h.
Mon Nov 20 00:36:42 MET 1995 Sven Verdoolaege <skimo@dns.ufsia.ac.be>
* [*/*]
Added new debugging type DEBUG_WIN32 and DEBUG_ENV.
* [loader/module.c]
Added undocumented GetExpWinVer.
* [tools/build.c]
Previous code didn't pop possibly changed %esi, %edi and %edx
from the stack.
* [win32/advapi.c]
Added GetUserNameA.
* [win32/code_page.c]
Added stub for MultiByteToWideChar.
* [win32/console.c]
Added SetConsoleCtrlHandler stub.
* [win32/file.c]
Added ReadFile CreateFileA GetFileInformationByHandle stubs.
Added CloseHandle.
* [win32/memory.c]
Changed VirtualAlloc and VirtualFree.
* [win32/process.c]
Added ExitProcess.
Sun Nov 19 17:54:42 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
* [include/windows.h]
Fixed a few broken structure definitions.
* [loader/resource.c]
FindResource(): Need to check for '#xxx' strings here.
* [miscemu/int21.c]
FindNext(): Return MS-DOS filenames uppercase.
* [objects/cursoricon.c]
CreateIcon(), CreateCursor(): Added missing element to CURSORICONINFO
initializers.
* [misc/file.c]
_lopen(): Files opened in OF_WRITE mode are truncated.
OpenFile(): Ignore OF_READ/OF_WRITE/OF_READWRITE when files are
created; use read/write mode.
* [misc/profile.c]
load(): Rewritten.
* [misc/commdlg.c]
Fixed bad call to strncpy() that smashed the stack.
* [controls/combo.c] [windows/winpos.c] [memory/selector.c]
Operator precedence fixes. People who use gcc 2.7.1 don't need a
debugger :-)
* [if1632/gdi.spec] [objects/palette.c]
Add ResizePalette() and AnimatePalette() stubs. They don't do anything,
but sometimes that's good enough.
Fri Nov 17 09:10:35 GMT 1995 John Harvey <john@division.co.uk>
* [include/wine.h] [include/registers.h] [include/winsock.h]
Added definitions for Unixware.
* [loader/signal.c] [misc/comm.c] [misc/winsocket.c]
Misc. fixes for Unixware.
* [loader/task.c]
Made assignemts to context in InitTask for registers use the macros
from registers.h to make them more portable. (Needed for Unixware)
* [tools/build.c]
Fixed register acces routines to work on Unixware. Bit grubby but
it seems to work.
* [controls/edit.c]
EDIT_WM_NCCreate allocates local heap if hasn't been previously
allocated.
* [miscemu/int21.c]
mkdir now creates directory with permission to access it.
* [misc/dos_fs.c]
mkdir now creates directory with permission to access it.
DOS_opendir now uses linked list of dirents to avoid problems with
realloc changing address of malloced memory.
Thu Nov 16 12:47:13 1995 Michael Patra <patra@itp1.Physik.TU-Berlin.DE>
* [controls/menu.c]
MENU_CalcItemSize(): Fixed handling of empty menu items.
Sat Nov 11 21:46:54 1995 Hans de Graaff <graaff@twi72.twi.tudelft.nl>
* [misc/file.c]
In OpenFile, unlink should be done on the unix filename.
Sat Nov 11 16:43:29 1995 Cameron Heide (heide@ee.ualberta.ca)
* [include/handle32.h]
New header file containing internal Win32 kernel handle
information.
* [win32/file.c]
Added ReadFile, CreateFile, and CloseFileHandle, and did
some reorganizing to match the new handle allocation scheme.
* [win32/init.c]
Added CloseHandle and the creation of standard I/O handles.
* [win32/object_mgt.c]
New module for allocating and freeing Win32 kernel handles.
1995-11-26 14:59:11 +01:00
|
|
|
|
1998-11-08 14:14:55 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
2007-11-07 12:27:51 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef _KERNEL32_
|
|
|
|
#define WINBASEAPI
|
|
|
|
#else
|
|
|
|
#define WINBASEAPI DECLSPEC_IMPORT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef _ADVAPI32_
|
|
|
|
#define WINADVAPI
|
|
|
|
#else
|
|
|
|
#define WINADVAPI DECLSPEC_IMPORT
|
1998-11-08 14:14:55 +01:00
|
|
|
#endif
|
|
|
|
|
1999-02-09 16:46:25 +01:00
|
|
|
/* Windows Exit Procedure flag values */
|
|
|
|
#define WEP_FREE_DLL 0
|
|
|
|
#define WEP_SYSTEM_EXIT 1
|
|
|
|
|
2002-02-01 00:22:07 +01:00
|
|
|
typedef DWORD (CALLBACK *LPTHREAD_START_ROUTINE)(LPVOID);
|
1999-02-09 16:46:25 +01:00
|
|
|
|
2002-02-01 00:22:07 +01:00
|
|
|
typedef VOID (WINAPI *PFIBER_START_ROUTINE)( LPVOID lpFiberParameter );
|
2000-09-19 04:43:00 +02:00
|
|
|
typedef PFIBER_START_ROUTINE LPFIBER_START_ROUTINE;
|
|
|
|
|
|
|
|
typedef RTL_CRITICAL_SECTION CRITICAL_SECTION;
|
|
|
|
typedef PRTL_CRITICAL_SECTION PCRITICAL_SECTION;
|
|
|
|
typedef PRTL_CRITICAL_SECTION LPCRITICAL_SECTION;
|
|
|
|
|
|
|
|
typedef RTL_CRITICAL_SECTION_DEBUG CRITICAL_SECTION_DEBUG;
|
|
|
|
typedef PRTL_CRITICAL_SECTION_DEBUG PCRITICAL_SECTION_DEBUG;
|
|
|
|
typedef PRTL_CRITICAL_SECTION_DEBUG LPCRITICAL_SECTION_DEBUG;
|
|
|
|
|
2008-06-20 09:19:09 +02:00
|
|
|
#define CRITICAL_SECTION_NO_DEBUG_INFO RTL_CRITICAL_SECTION_FLAG_NO_DEBUG_INFO
|
|
|
|
|
2002-10-07 23:46:02 +02:00
|
|
|
typedef WAITORTIMERCALLBACKFUNC WAITORTIMERCALLBACK;
|
2006-11-02 09:23:05 +01:00
|
|
|
|
1999-05-16 19:11:58 +02:00
|
|
|
#define EXCEPTION_DEBUG_EVENT 1
|
|
|
|
#define CREATE_THREAD_DEBUG_EVENT 2
|
|
|
|
#define CREATE_PROCESS_DEBUG_EVENT 3
|
|
|
|
#define EXIT_THREAD_DEBUG_EVENT 4
|
|
|
|
#define EXIT_PROCESS_DEBUG_EVENT 5
|
|
|
|
#define LOAD_DLL_DEBUG_EVENT 6
|
|
|
|
#define UNLOAD_DLL_DEBUG_EVENT 7
|
|
|
|
#define OUTPUT_DEBUG_STRING_EVENT 8
|
|
|
|
#define RIP_EVENT 9
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
typedef struct _EXCEPTION_DEBUG_INFO {
|
1999-05-16 19:11:58 +02:00
|
|
|
EXCEPTION_RECORD ExceptionRecord;
|
|
|
|
DWORD dwFirstChance;
|
1999-02-09 16:46:25 +01:00
|
|
|
} EXCEPTION_DEBUG_INFO;
|
|
|
|
|
|
|
|
typedef struct _CREATE_THREAD_DEBUG_INFO {
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE hThread;
|
1999-02-09 16:46:25 +01:00
|
|
|
LPVOID lpThreadLocalBase;
|
|
|
|
LPTHREAD_START_ROUTINE lpStartAddress;
|
|
|
|
} CREATE_THREAD_DEBUG_INFO;
|
|
|
|
|
|
|
|
typedef struct _CREATE_PROCESS_DEBUG_INFO {
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE hFile;
|
|
|
|
HANDLE hProcess;
|
|
|
|
HANDLE hThread;
|
1999-02-09 16:46:25 +01:00
|
|
|
LPVOID lpBaseOfImage;
|
|
|
|
DWORD dwDebugInfoFileOffset;
|
|
|
|
DWORD nDebugInfoSize;
|
|
|
|
LPVOID lpThreadLocalBase;
|
|
|
|
LPTHREAD_START_ROUTINE lpStartAddress;
|
|
|
|
LPVOID lpImageName;
|
|
|
|
WORD fUnicode;
|
|
|
|
} CREATE_PROCESS_DEBUG_INFO;
|
|
|
|
|
|
|
|
typedef struct _EXIT_THREAD_DEBUG_INFO {
|
|
|
|
DWORD dwExitCode;
|
|
|
|
} EXIT_THREAD_DEBUG_INFO;
|
|
|
|
|
|
|
|
typedef struct _EXIT_PROCESS_DEBUG_INFO {
|
|
|
|
DWORD dwExitCode;
|
|
|
|
} EXIT_PROCESS_DEBUG_INFO;
|
|
|
|
|
|
|
|
typedef struct _LOAD_DLL_DEBUG_INFO {
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE hFile;
|
1999-02-09 16:46:25 +01:00
|
|
|
LPVOID lpBaseOfDll;
|
|
|
|
DWORD dwDebugInfoFileOffset;
|
|
|
|
DWORD nDebugInfoSize;
|
|
|
|
LPVOID lpImageName;
|
|
|
|
WORD fUnicode;
|
|
|
|
} LOAD_DLL_DEBUG_INFO;
|
|
|
|
|
|
|
|
typedef struct _UNLOAD_DLL_DEBUG_INFO {
|
|
|
|
LPVOID lpBaseOfDll;
|
|
|
|
} UNLOAD_DLL_DEBUG_INFO;
|
|
|
|
|
|
|
|
typedef struct _OUTPUT_DEBUG_STRING_INFO {
|
|
|
|
LPSTR lpDebugStringData;
|
|
|
|
WORD fUnicode;
|
|
|
|
WORD nDebugStringLength;
|
|
|
|
} OUTPUT_DEBUG_STRING_INFO;
|
|
|
|
|
|
|
|
typedef struct _RIP_INFO {
|
|
|
|
DWORD dwError;
|
|
|
|
DWORD dwType;
|
|
|
|
} RIP_INFO;
|
|
|
|
|
|
|
|
typedef struct _DEBUG_EVENT {
|
|
|
|
DWORD dwDebugEventCode;
|
|
|
|
DWORD dwProcessId;
|
|
|
|
DWORD dwThreadId;
|
|
|
|
union {
|
|
|
|
EXCEPTION_DEBUG_INFO Exception;
|
|
|
|
CREATE_THREAD_DEBUG_INFO CreateThread;
|
|
|
|
CREATE_PROCESS_DEBUG_INFO CreateProcessInfo;
|
|
|
|
EXIT_THREAD_DEBUG_INFO ExitThread;
|
|
|
|
EXIT_PROCESS_DEBUG_INFO ExitProcess;
|
|
|
|
LOAD_DLL_DEBUG_INFO LoadDll;
|
|
|
|
UNLOAD_DLL_DEBUG_INFO UnloadDll;
|
|
|
|
OUTPUT_DEBUG_STRING_INFO DebugString;
|
|
|
|
RIP_INFO RipInfo;
|
|
|
|
} u;
|
|
|
|
} DEBUG_EVENT, *LPDEBUG_EVENT;
|
|
|
|
|
2000-11-08 06:03:45 +01:00
|
|
|
typedef PCONTEXT LPCONTEXT;
|
|
|
|
typedef PEXCEPTION_RECORD LPEXCEPTION_RECORD;
|
|
|
|
typedef PEXCEPTION_POINTERS LPEXCEPTION_POINTERS;
|
|
|
|
|
2006-09-20 11:26:59 +02:00
|
|
|
typedef LONG (CALLBACK *PTOP_LEVEL_EXCEPTION_FILTER)(PEXCEPTION_POINTERS);
|
|
|
|
typedef PTOP_LEVEL_EXCEPTION_FILTER LPTOP_LEVEL_EXCEPTION_FILTER;
|
|
|
|
|
1999-02-09 16:46:25 +01:00
|
|
|
#define OFS_MAXPATHNAME 128
|
2002-09-16 21:28:36 +02:00
|
|
|
typedef struct _OFSTRUCT
|
1999-02-09 16:46:25 +01:00
|
|
|
{
|
|
|
|
BYTE cBytes;
|
|
|
|
BYTE fFixedDisk;
|
|
|
|
WORD nErrCode;
|
2002-10-23 20:50:10 +02:00
|
|
|
WORD Reserved1;
|
|
|
|
WORD Reserved2;
|
2005-08-09 12:21:53 +02:00
|
|
|
CHAR szPathName[OFS_MAXPATHNAME];
|
2001-01-21 22:09:22 +01:00
|
|
|
} OFSTRUCT, *POFSTRUCT, *LPOFSTRUCT;
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
#define OF_READ 0x0000
|
|
|
|
#define OF_WRITE 0x0001
|
|
|
|
#define OF_READWRITE 0x0002
|
|
|
|
#define OF_SHARE_COMPAT 0x0000
|
|
|
|
#define OF_SHARE_EXCLUSIVE 0x0010
|
|
|
|
#define OF_SHARE_DENY_WRITE 0x0020
|
|
|
|
#define OF_SHARE_DENY_READ 0x0030
|
|
|
|
#define OF_SHARE_DENY_NONE 0x0040
|
|
|
|
#define OF_PARSE 0x0100
|
|
|
|
#define OF_DELETE 0x0200
|
|
|
|
#define OF_VERIFY 0x0400 /* Used with OF_REOPEN */
|
|
|
|
#define OF_SEARCH 0x0400 /* Used without OF_REOPEN */
|
|
|
|
#define OF_CANCEL 0x0800
|
|
|
|
#define OF_CREATE 0x1000
|
|
|
|
#define OF_PROMPT 0x2000
|
|
|
|
#define OF_EXIST 0x4000
|
|
|
|
#define OF_REOPEN 0x8000
|
|
|
|
|
|
|
|
/* SetErrorMode values */
|
|
|
|
#define SEM_FAILCRITICALERRORS 0x0001
|
|
|
|
#define SEM_NOGPFAULTERRORBOX 0x0002
|
|
|
|
#define SEM_NOALIGNMENTFAULTEXCEPT 0x0004
|
|
|
|
#define SEM_NOOPENFILEERRORBOX 0x8000
|
|
|
|
|
|
|
|
/* CopyFileEx flags */
|
|
|
|
#define COPY_FILE_FAIL_IF_EXISTS 0x00000001
|
|
|
|
#define COPY_FILE_RESTARTABLE 0x00000002
|
|
|
|
#define COPY_FILE_OPEN_SOURCE_FOR_WRITE 0x00000004
|
|
|
|
|
2006-05-22 23:16:05 +02:00
|
|
|
/* return values for CopyProgressRoutine */
|
|
|
|
#define PROGRESS_CONTINUE 0
|
|
|
|
#define PROGRESS_CANCEL 1
|
|
|
|
#define PROGRESS_STOP 2
|
|
|
|
#define PROGRESS_QUIET 3
|
|
|
|
|
|
|
|
/* reason codes for CopyProgressRoutine */
|
|
|
|
#define CALLBACK_CHUNK_FINISHED 0
|
|
|
|
#define CALLBACK_STREAM_SWITCH 1
|
|
|
|
|
1999-02-09 16:46:25 +01:00
|
|
|
/* GetTempFileName() Flags */
|
|
|
|
#define TF_FORCEDRIVE 0x80
|
|
|
|
|
2000-12-12 01:44:42 +01:00
|
|
|
#define DRIVE_UNKNOWN 0
|
|
|
|
#define DRIVE_NO_ROOT_DIR 1
|
1999-02-09 16:46:25 +01:00
|
|
|
#define DRIVE_REMOVABLE 2
|
|
|
|
#define DRIVE_FIXED 3
|
|
|
|
#define DRIVE_REMOTE 4
|
|
|
|
/* Win32 additions */
|
|
|
|
#define DRIVE_CDROM 5
|
|
|
|
#define DRIVE_RAMDISK 6
|
|
|
|
|
2004-10-22 22:00:13 +02:00
|
|
|
#define MAX_COMPUTERNAME_LENGTH 15
|
2002-09-11 04:35:17 +02:00
|
|
|
|
1999-02-09 16:46:25 +01:00
|
|
|
/* The security attributes structure */
|
2000-03-08 19:26:56 +01:00
|
|
|
typedef struct _SECURITY_ATTRIBUTES
|
1999-02-09 16:46:25 +01:00
|
|
|
{
|
|
|
|
DWORD nLength;
|
|
|
|
LPVOID lpSecurityDescriptor;
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL bInheritHandle;
|
1999-02-19 17:29:05 +01:00
|
|
|
} SECURITY_ATTRIBUTES, *PSECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES;
|
1999-02-09 16:46:25 +01:00
|
|
|
|
1999-02-17 18:45:54 +01:00
|
|
|
#ifndef _FILETIME_
|
|
|
|
#define _FILETIME_
|
1999-02-09 16:46:25 +01:00
|
|
|
/* 64 bit number of 100 nanoseconds intervals since January 1, 1601 */
|
2002-09-16 21:28:36 +02:00
|
|
|
typedef struct _FILETIME
|
1999-02-09 16:46:25 +01:00
|
|
|
{
|
2002-05-29 04:02:19 +02:00
|
|
|
#ifdef WORDS_BIGENDIAN
|
|
|
|
DWORD dwHighDateTime;
|
|
|
|
DWORD dwLowDateTime;
|
|
|
|
#else
|
1999-02-09 16:46:25 +01:00
|
|
|
DWORD dwLowDateTime;
|
|
|
|
DWORD dwHighDateTime;
|
2002-05-29 04:02:19 +02:00
|
|
|
#endif
|
2001-01-21 22:09:22 +01:00
|
|
|
} FILETIME, *PFILETIME, *LPFILETIME;
|
1999-02-17 18:45:54 +01:00
|
|
|
#endif /* _FILETIME_ */
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
/* Find* structures */
|
2002-09-16 21:28:36 +02:00
|
|
|
typedef struct _WIN32_FIND_DATAA
|
1999-02-09 16:46:25 +01:00
|
|
|
{
|
|
|
|
DWORD dwFileAttributes;
|
|
|
|
FILETIME ftCreationTime;
|
|
|
|
FILETIME ftLastAccessTime;
|
|
|
|
FILETIME ftLastWriteTime;
|
|
|
|
DWORD nFileSizeHigh;
|
|
|
|
DWORD nFileSizeLow;
|
|
|
|
DWORD dwReserved0;
|
|
|
|
DWORD dwReserved1;
|
|
|
|
CHAR cFileName[260];
|
|
|
|
CHAR cAlternateFileName[14];
|
2001-01-21 22:09:22 +01:00
|
|
|
} WIN32_FIND_DATAA, *PWIN32_FIND_DATAA, *LPWIN32_FIND_DATAA;
|
1999-02-09 16:46:25 +01:00
|
|
|
|
2002-09-16 21:28:36 +02:00
|
|
|
typedef struct _WIN32_FIND_DATAW
|
1999-02-09 16:46:25 +01:00
|
|
|
{
|
|
|
|
DWORD dwFileAttributes;
|
|
|
|
FILETIME ftCreationTime;
|
|
|
|
FILETIME ftLastAccessTime;
|
|
|
|
FILETIME ftLastWriteTime;
|
|
|
|
DWORD nFileSizeHigh;
|
|
|
|
DWORD nFileSizeLow;
|
|
|
|
DWORD dwReserved0;
|
|
|
|
DWORD dwReserved1;
|
|
|
|
WCHAR cFileName[260];
|
|
|
|
WCHAR cAlternateFileName[14];
|
2001-01-21 22:09:22 +01:00
|
|
|
} WIN32_FIND_DATAW, *PWIN32_FIND_DATAW, *LPWIN32_FIND_DATAW;
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
DECL_WINELIB_TYPE_AW(WIN32_FIND_DATA)
|
2001-01-21 22:09:22 +01:00
|
|
|
DECL_WINELIB_TYPE_AW(PWIN32_FIND_DATA)
|
1999-02-09 16:46:25 +01:00
|
|
|
DECL_WINELIB_TYPE_AW(LPWIN32_FIND_DATA)
|
|
|
|
|
2000-06-02 01:17:42 +02:00
|
|
|
typedef enum _FINDEX_INFO_LEVELS
|
|
|
|
{
|
|
|
|
FindExInfoStandard,
|
|
|
|
FindExInfoMaxInfoLevel
|
|
|
|
} FINDEX_INFO_LEVELS;
|
|
|
|
|
|
|
|
typedef enum _FINDEX_SEARCH_OPS
|
|
|
|
{
|
|
|
|
FindExSearchNameMatch,
|
|
|
|
FindExSearchLimitToDirectories,
|
|
|
|
FindExSearchLimitToDevices,
|
|
|
|
FindExSearchMaxSearchOp
|
|
|
|
} FINDEX_SEARCH_OPS;
|
|
|
|
|
2002-09-16 21:28:36 +02:00
|
|
|
typedef struct _PROCESS_HEAP_ENTRY
|
1999-04-25 14:31:20 +02:00
|
|
|
{
|
|
|
|
LPVOID lpData;
|
|
|
|
DWORD cbData;
|
|
|
|
BYTE cbOverhead;
|
|
|
|
BYTE iRegionIndex;
|
|
|
|
WORD wFlags;
|
|
|
|
union {
|
|
|
|
struct {
|
|
|
|
HANDLE hMem;
|
|
|
|
DWORD dwReserved[3];
|
|
|
|
} Block;
|
|
|
|
struct {
|
|
|
|
DWORD dwCommittedSize;
|
|
|
|
DWORD dwUnCommittedSize;
|
|
|
|
LPVOID lpFirstBlock;
|
|
|
|
LPVOID lpLastBlock;
|
|
|
|
} Region;
|
2000-11-10 23:34:39 +01:00
|
|
|
} DUMMYUNIONNAME;
|
2001-01-21 22:09:22 +01:00
|
|
|
} PROCESS_HEAP_ENTRY, *PPROCESS_HEAP_ENTRY, *LPPROCESS_HEAP_ENTRY;
|
1999-04-25 14:31:20 +02:00
|
|
|
|
|
|
|
#define PROCESS_HEAP_REGION 0x0001
|
|
|
|
#define PROCESS_HEAP_UNCOMMITTED_RANGE 0x0002
|
|
|
|
#define PROCESS_HEAP_ENTRY_BUSY 0x0004
|
|
|
|
#define PROCESS_HEAP_ENTRY_MOVEABLE 0x0010
|
|
|
|
#define PROCESS_HEAP_ENTRY_DDESHARE 0x0020
|
|
|
|
|
2008-12-08 15:51:22 +01:00
|
|
|
#define INVALID_HANDLE_VALUE ((HANDLE)~(ULONG_PTR)0)
|
|
|
|
#define INVALID_FILE_SIZE (~0u)
|
|
|
|
#define INVALID_SET_FILE_POINTER (~0u)
|
|
|
|
#define INVALID_FILE_ATTRIBUTES (~0u)
|
2002-08-03 21:11:33 +02:00
|
|
|
|
2003-03-18 06:04:33 +01:00
|
|
|
#define LOCKFILE_FAIL_IMMEDIATELY 1
|
|
|
|
#define LOCKFILE_EXCLUSIVE_LOCK 2
|
1999-02-09 16:46:25 +01:00
|
|
|
|
2008-12-08 15:51:22 +01:00
|
|
|
#define FLS_OUT_OF_INDEXES (~0u)
|
|
|
|
#define TLS_OUT_OF_INDEXES (~0u)
|
2000-04-11 22:01:59 +02:00
|
|
|
|
2000-08-21 22:17:56 +02:00
|
|
|
#define SHUTDOWN_NORETRY 1
|
|
|
|
|
1999-02-09 16:46:25 +01:00
|
|
|
/* comm */
|
|
|
|
|
|
|
|
#define CBR_110 0xFF10
|
|
|
|
#define CBR_300 0xFF11
|
|
|
|
#define CBR_600 0xFF12
|
|
|
|
#define CBR_1200 0xFF13
|
|
|
|
#define CBR_2400 0xFF14
|
|
|
|
#define CBR_4800 0xFF15
|
|
|
|
#define CBR_9600 0xFF16
|
|
|
|
#define CBR_14400 0xFF17
|
|
|
|
#define CBR_19200 0xFF18
|
|
|
|
#define CBR_38400 0xFF1B
|
|
|
|
#define CBR_56000 0xFF1F
|
2000-06-15 02:15:11 +02:00
|
|
|
#define CBR_57600 0xFF20
|
|
|
|
#define CBR_115200 0xFF21
|
1999-02-09 16:46:25 +01:00
|
|
|
#define CBR_128000 0xFF23
|
|
|
|
#define CBR_256000 0xFF27
|
|
|
|
|
|
|
|
#define NOPARITY 0
|
|
|
|
#define ODDPARITY 1
|
|
|
|
#define EVENPARITY 2
|
|
|
|
#define MARKPARITY 3
|
|
|
|
#define SPACEPARITY 4
|
|
|
|
#define ONESTOPBIT 0
|
|
|
|
#define ONE5STOPBITS 1
|
|
|
|
#define TWOSTOPBITS 2
|
|
|
|
|
|
|
|
#define IGNORE 0
|
1999-02-26 12:11:13 +01:00
|
|
|
#define INFINITE 0xFFFFFFFF
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
#define CE_RXOVER 0x0001
|
|
|
|
#define CE_OVERRUN 0x0002
|
|
|
|
#define CE_RXPARITY 0x0004
|
|
|
|
#define CE_FRAME 0x0008
|
|
|
|
#define CE_BREAK 0x0010
|
|
|
|
#define CE_CTSTO 0x0020
|
|
|
|
#define CE_DSRTO 0x0040
|
|
|
|
#define CE_RLSDTO 0x0080
|
|
|
|
#define CE_TXFULL 0x0100
|
|
|
|
#define CE_PTO 0x0200
|
|
|
|
#define CE_IOE 0x0400
|
|
|
|
#define CE_DNS 0x0800
|
|
|
|
#define CE_OOP 0x1000
|
|
|
|
#define CE_MODE 0x8000
|
|
|
|
|
|
|
|
#define IE_BADID -1
|
|
|
|
#define IE_OPEN -2
|
|
|
|
#define IE_NOPEN -3
|
|
|
|
#define IE_MEMORY -4
|
|
|
|
#define IE_DEFAULT -5
|
|
|
|
#define IE_HARDWARE -10
|
|
|
|
#define IE_BYTESIZE -11
|
|
|
|
#define IE_BAUDRATE -12
|
|
|
|
|
2001-10-10 01:25:20 +02:00
|
|
|
#define EV_RXCHAR 0x0001
|
|
|
|
#define EV_RXFLAG 0x0002
|
2005-05-25 19:49:37 +02:00
|
|
|
#define EV_TXEMPTY 0x0004
|
2001-10-10 01:25:20 +02:00
|
|
|
#define EV_CTS 0x0008
|
|
|
|
#define EV_DSR 0x0010
|
|
|
|
#define EV_RLSD 0x0020
|
|
|
|
#define EV_BREAK 0x0040
|
|
|
|
#define EV_ERR 0x0080
|
|
|
|
#define EV_RING 0x0100
|
|
|
|
#define EV_PERR 0x0200
|
|
|
|
#define EV_RX80FULL 0x0400
|
|
|
|
#define EV_EVENT1 0x0800
|
|
|
|
#define EV_EVENT2 0x1000
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
#define SETXOFF 1
|
|
|
|
#define SETXON 2
|
|
|
|
#define SETRTS 3
|
|
|
|
#define CLRRTS 4
|
|
|
|
#define SETDTR 5
|
|
|
|
#define CLRDTR 6
|
|
|
|
#define RESETDEV 7
|
|
|
|
#define SETBREAK 8
|
|
|
|
#define CLRBREAK 9
|
|
|
|
|
|
|
|
/* Purge functions for Comm Port */
|
2002-06-01 01:06:46 +02:00
|
|
|
#define PURGE_TXABORT 0x0001 /* Kill the pending/current writes to the
|
1999-02-09 16:46:25 +01:00
|
|
|
comm port */
|
2002-06-01 01:06:46 +02:00
|
|
|
#define PURGE_RXABORT 0x0002 /*Kill the pending/current reads to
|
1999-02-09 16:46:25 +01:00
|
|
|
the comm port */
|
|
|
|
#define PURGE_TXCLEAR 0x0004 /* Kill the transmit queue if there*/
|
|
|
|
#define PURGE_RXCLEAR 0x0008 /* Kill the typeahead buffer if there*/
|
|
|
|
|
|
|
|
|
|
|
|
/* Modem Status Flags */
|
|
|
|
#define MS_CTS_ON ((DWORD)0x0010)
|
|
|
|
#define MS_DSR_ON ((DWORD)0x0020)
|
|
|
|
#define MS_RING_ON ((DWORD)0x0040)
|
|
|
|
#define MS_RLSD_ON ((DWORD)0x0080)
|
|
|
|
|
|
|
|
#define RTS_CONTROL_DISABLE 0
|
|
|
|
#define RTS_CONTROL_ENABLE 1
|
|
|
|
#define RTS_CONTROL_HANDSHAKE 2
|
|
|
|
#define RTS_CONTROL_TOGGLE 3
|
|
|
|
|
|
|
|
#define DTR_CONTROL_DISABLE 0
|
|
|
|
#define DTR_CONTROL_ENABLE 1
|
|
|
|
#define DTR_CONTROL_HANDSHAKE 2
|
|
|
|
|
|
|
|
|
2002-06-01 01:06:46 +02:00
|
|
|
#define LMEM_FIXED 0
|
1999-02-09 16:46:25 +01:00
|
|
|
#define LMEM_MOVEABLE 0x0002
|
|
|
|
#define LMEM_NOCOMPACT 0x0010
|
|
|
|
#define LMEM_NODISCARD 0x0020
|
|
|
|
#define LMEM_ZEROINIT 0x0040
|
|
|
|
#define LMEM_MODIFY 0x0080
|
|
|
|
#define LMEM_DISCARDABLE 0x0F00
|
2006-03-16 19:52:47 +01:00
|
|
|
#define LMEM_DISCARDED 0x4000
|
|
|
|
#define LMEM_INVALID_HANDLE 0x8000
|
|
|
|
#define LMEM_LOCKCOUNT 0x00FF
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
#define LPTR (LMEM_FIXED | LMEM_ZEROINIT)
|
2000-08-25 23:32:53 +02:00
|
|
|
#define LHND (LMEM_MOVEABLE | LMEM_ZEROINIT)
|
1999-02-09 16:46:25 +01:00
|
|
|
|
2000-09-28 00:31:28 +02:00
|
|
|
#define NONZEROLHND (LMEM_MOVEABLE)
|
|
|
|
#define NONZEROLPTR (LMEM_FIXED)
|
|
|
|
|
2002-12-19 02:03:48 +01:00
|
|
|
#define LocalDiscard(h) (LocalReAlloc((h),0,LMEM_MOVEABLE))
|
|
|
|
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GMEM_FIXED 0x0000
|
|
|
|
#define GMEM_MOVEABLE 0x0002
|
|
|
|
#define GMEM_NOCOMPACT 0x0010
|
|
|
|
#define GMEM_NODISCARD 0x0020
|
|
|
|
#define GMEM_ZEROINIT 0x0040
|
|
|
|
#define GMEM_MODIFY 0x0080
|
|
|
|
#define GMEM_DISCARDABLE 0x0100
|
|
|
|
#define GMEM_NOT_BANKED 0x1000
|
|
|
|
#define GMEM_SHARE 0x2000
|
|
|
|
#define GMEM_DDESHARE 0x2000
|
|
|
|
#define GMEM_NOTIFY 0x4000
|
|
|
|
#define GMEM_LOWER GMEM_NOT_BANKED
|
|
|
|
#define GMEM_DISCARDED 0x4000
|
|
|
|
#define GMEM_LOCKCOUNT 0x00ff
|
|
|
|
#define GMEM_INVALID_HANDLE 0x8000
|
|
|
|
|
|
|
|
#define GHND (GMEM_MOVEABLE | GMEM_ZEROINIT)
|
|
|
|
#define GPTR (GMEM_FIXED | GMEM_ZEROINIT)
|
|
|
|
|
2002-12-19 02:03:48 +01:00
|
|
|
#define GlobalLRUNewest(h) ((HANDLE)(h))
|
|
|
|
#define GlobalLRUOldest(h) ((HANDLE)(h))
|
|
|
|
#define GlobalDiscard(h) (GlobalReAlloc((h),0,GMEM_MOVEABLE))
|
|
|
|
|
2001-10-15 19:49:23 +02:00
|
|
|
#define INVALID_ATOM ((ATOM)0)
|
|
|
|
#define MAXINTATOM 0xc000
|
2008-05-30 10:02:42 +02:00
|
|
|
#ifdef WINE_NO_UNICODE_MACROS /* force using a cast */
|
2006-11-08 01:19:02 +01:00
|
|
|
#define MAKEINTATOM(atom) ((ULONG_PTR)((WORD)(atom)))
|
|
|
|
#else
|
|
|
|
#define MAKEINTATOM(atom) ((LPTSTR)((ULONG_PTR)((WORD)(atom))))
|
|
|
|
#endif
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
typedef struct tagMEMORYSTATUS
|
|
|
|
{
|
|
|
|
DWORD dwLength;
|
|
|
|
DWORD dwMemoryLoad;
|
2002-09-21 03:21:00 +02:00
|
|
|
SIZE_T dwTotalPhys;
|
|
|
|
SIZE_T dwAvailPhys;
|
|
|
|
SIZE_T dwTotalPageFile;
|
|
|
|
SIZE_T dwAvailPageFile;
|
|
|
|
SIZE_T dwTotalVirtual;
|
|
|
|
SIZE_T dwAvailVirtual;
|
1999-02-09 16:46:25 +01:00
|
|
|
} MEMORYSTATUS, *LPMEMORYSTATUS;
|
|
|
|
|
2004-08-24 22:16:25 +02:00
|
|
|
#include <pshpack8.h>
|
2003-02-26 05:35:36 +01:00
|
|
|
typedef struct tagMEMORYSTATUSEX {
|
|
|
|
DWORD dwLength;
|
|
|
|
DWORD dwMemoryLoad;
|
2004-08-24 22:16:25 +02:00
|
|
|
DWORDLONG DECLSPEC_ALIGN(8) ullTotalPhys;
|
|
|
|
DWORDLONG DECLSPEC_ALIGN(8) ullAvailPhys;
|
|
|
|
DWORDLONG DECLSPEC_ALIGN(8) ullTotalPageFile;
|
|
|
|
DWORDLONG DECLSPEC_ALIGN(8) ullAvailPageFile;
|
|
|
|
DWORDLONG DECLSPEC_ALIGN(8) ullTotalVirtual;
|
|
|
|
DWORDLONG DECLSPEC_ALIGN(8) ullAvailVirtual;
|
|
|
|
DWORDLONG DECLSPEC_ALIGN(8) ullAvailExtendedVirtual;
|
2003-02-26 05:35:36 +01:00
|
|
|
} MEMORYSTATUSEX, *LPMEMORYSTATUSEX;
|
2004-08-24 22:16:25 +02:00
|
|
|
#include <poppack.h>
|
2003-02-26 05:35:36 +01:00
|
|
|
|
1999-02-09 16:46:25 +01:00
|
|
|
|
2008-07-10 21:48:08 +02:00
|
|
|
#ifndef _SYSTEMTIME_
|
|
|
|
#define _SYSTEMTIME_
|
2002-09-16 21:28:36 +02:00
|
|
|
typedef struct _SYSTEMTIME{
|
1999-02-09 16:46:25 +01:00
|
|
|
WORD wYear;
|
|
|
|
WORD wMonth;
|
|
|
|
WORD wDayOfWeek;
|
|
|
|
WORD wDay;
|
|
|
|
WORD wHour;
|
|
|
|
WORD wMinute;
|
|
|
|
WORD wSecond;
|
|
|
|
WORD wMilliseconds;
|
2001-01-21 22:09:22 +01:00
|
|
|
} SYSTEMTIME, *PSYSTEMTIME, *LPSYSTEMTIME;
|
2008-07-10 21:48:08 +02:00
|
|
|
#endif /* _SYSTEMTIME_ */
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
/* The 'overlapped' data structure used by async I/O functions.
|
|
|
|
*/
|
2002-04-25 23:34:24 +02:00
|
|
|
typedef struct _OVERLAPPED {
|
2005-03-17 20:00:08 +01:00
|
|
|
#ifdef WORDS_BIGENDIAN
|
|
|
|
ULONG_PTR InternalHigh;
|
|
|
|
ULONG_PTR Internal;
|
|
|
|
#else
|
|
|
|
ULONG_PTR Internal;
|
|
|
|
ULONG_PTR InternalHigh;
|
|
|
|
#endif
|
|
|
|
union {
|
|
|
|
struct {
|
|
|
|
#ifdef WORDS_BIGENDIAN
|
|
|
|
DWORD OffsetHigh;
|
|
|
|
DWORD Offset;
|
|
|
|
#else
|
|
|
|
DWORD Offset;
|
|
|
|
DWORD OffsetHigh;
|
|
|
|
#endif
|
|
|
|
} DUMMYSTRUCTNAME;
|
|
|
|
PVOID Pointer;
|
|
|
|
} DUMMYUNIONNAME;
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE hEvent;
|
1999-02-09 16:46:25 +01:00
|
|
|
} OVERLAPPED, *LPOVERLAPPED;
|
|
|
|
|
2004-09-14 21:31:22 +02:00
|
|
|
typedef VOID (CALLBACK *LPOVERLAPPED_COMPLETION_ROUTINE)(DWORD,DWORD,LPOVERLAPPED);
|
2000-05-24 23:03:48 +02:00
|
|
|
|
1999-02-09 16:46:25 +01:00
|
|
|
/* Process startup information.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* STARTUPINFO.dwFlags */
|
|
|
|
#define STARTF_USESHOWWINDOW 0x00000001
|
|
|
|
#define STARTF_USESIZE 0x00000002
|
|
|
|
#define STARTF_USEPOSITION 0x00000004
|
|
|
|
#define STARTF_USECOUNTCHARS 0x00000008
|
|
|
|
#define STARTF_USEFILLATTRIBUTE 0x00000010
|
|
|
|
#define STARTF_RUNFULLSCREEN 0x00000020
|
|
|
|
#define STARTF_FORCEONFEEDBACK 0x00000040
|
|
|
|
#define STARTF_FORCEOFFFEEDBACK 0x00000080
|
|
|
|
#define STARTF_USESTDHANDLES 0x00000100
|
|
|
|
#define STARTF_USEHOTKEY 0x00000200
|
|
|
|
|
2002-09-16 21:28:36 +02:00
|
|
|
typedef struct _STARTUPINFOA{
|
1999-02-09 16:46:25 +01:00
|
|
|
DWORD cb; /* 00: size of struct */
|
|
|
|
LPSTR lpReserved; /* 04: */
|
|
|
|
LPSTR lpDesktop; /* 08: */
|
|
|
|
LPSTR lpTitle; /* 0c: */
|
|
|
|
DWORD dwX; /* 10: */
|
|
|
|
DWORD dwY; /* 14: */
|
|
|
|
DWORD dwXSize; /* 18: */
|
|
|
|
DWORD dwYSize; /* 1c: */
|
|
|
|
DWORD dwXCountChars; /* 20: */
|
|
|
|
DWORD dwYCountChars; /* 24: */
|
|
|
|
DWORD dwFillAttribute; /* 28: */
|
|
|
|
DWORD dwFlags; /* 2c: */
|
|
|
|
WORD wShowWindow; /* 30: */
|
|
|
|
WORD cbReserved2; /* 32: */
|
|
|
|
BYTE *lpReserved2; /* 34: */
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE hStdInput; /* 38: */
|
|
|
|
HANDLE hStdOutput; /* 3c: */
|
|
|
|
HANDLE hStdError; /* 40: */
|
|
|
|
} STARTUPINFOA, *LPSTARTUPINFOA;
|
1999-02-09 16:46:25 +01:00
|
|
|
|
2002-09-16 21:28:36 +02:00
|
|
|
typedef struct _STARTUPINFOW{
|
1999-02-09 16:46:25 +01:00
|
|
|
DWORD cb;
|
|
|
|
LPWSTR lpReserved;
|
|
|
|
LPWSTR lpDesktop;
|
|
|
|
LPWSTR lpTitle;
|
|
|
|
DWORD dwX;
|
|
|
|
DWORD dwY;
|
|
|
|
DWORD dwXSize;
|
|
|
|
DWORD dwYSize;
|
|
|
|
DWORD dwXCountChars;
|
|
|
|
DWORD dwYCountChars;
|
|
|
|
DWORD dwFillAttribute;
|
|
|
|
DWORD dwFlags;
|
|
|
|
WORD wShowWindow;
|
|
|
|
WORD cbReserved2;
|
|
|
|
BYTE *lpReserved2;
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE hStdInput;
|
|
|
|
HANDLE hStdOutput;
|
|
|
|
HANDLE hStdError;
|
|
|
|
} STARTUPINFOW, *LPSTARTUPINFOW;
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
DECL_WINELIB_TYPE_AW(STARTUPINFO)
|
|
|
|
DECL_WINELIB_TYPE_AW(LPSTARTUPINFO)
|
|
|
|
|
2002-09-16 21:28:36 +02:00
|
|
|
typedef struct _PROCESS_INFORMATION{
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE hProcess;
|
|
|
|
HANDLE hThread;
|
1999-02-09 16:46:25 +01:00
|
|
|
DWORD dwProcessId;
|
|
|
|
DWORD dwThreadId;
|
2001-01-21 22:09:22 +01:00
|
|
|
} PROCESS_INFORMATION, *PPROCESS_INFORMATION, *LPPROCESS_INFORMATION;
|
1999-02-09 16:46:25 +01:00
|
|
|
|
2008-02-13 21:41:59 +01:00
|
|
|
typedef struct _TIME_DYNAMIC_ZONE_INFORMATION
|
|
|
|
{
|
|
|
|
LONG Bias;
|
|
|
|
WCHAR StandardName[32];
|
|
|
|
SYSTEMTIME StandardDate;
|
|
|
|
LONG StandardBias;
|
|
|
|
WCHAR DaylightName[32];
|
|
|
|
SYSTEMTIME DaylightDate;
|
|
|
|
LONG DaylightBias;
|
|
|
|
WCHAR TimeZoneKeyName[128];
|
|
|
|
BOOLEAN DynamicDaylightTimeDisabled;
|
|
|
|
} DYNAMIC_TIME_ZONE_INFORMATION, *PDYNAMIC_TIME_ZONE_INFORMATION;
|
|
|
|
|
2002-09-16 21:28:36 +02:00
|
|
|
typedef struct _TIME_ZONE_INFORMATION{
|
1999-02-09 16:46:25 +01:00
|
|
|
LONG Bias;
|
|
|
|
WCHAR StandardName[32];
|
|
|
|
SYSTEMTIME StandardDate;
|
|
|
|
LONG StandardBias;
|
|
|
|
WCHAR DaylightName[32];
|
|
|
|
SYSTEMTIME DaylightDate;
|
|
|
|
LONG DaylightBias;
|
2001-01-21 22:09:22 +01:00
|
|
|
} TIME_ZONE_INFORMATION, *PTIME_ZONE_INFORMATION, *LPTIME_ZONE_INFORMATION;
|
1999-02-09 16:46:25 +01:00
|
|
|
|
2000-09-16 22:49:19 +02:00
|
|
|
#define TIME_ZONE_ID_INVALID ((DWORD)0xFFFFFFFF)
|
1999-02-09 16:46:25 +01:00
|
|
|
#define TIME_ZONE_ID_UNKNOWN 0
|
|
|
|
#define TIME_ZONE_ID_STANDARD 1
|
|
|
|
#define TIME_ZONE_ID_DAYLIGHT 2
|
|
|
|
|
|
|
|
/* CreateProcess: dwCreationFlag values
|
|
|
|
*/
|
|
|
|
#define DEBUG_PROCESS 0x00000001
|
|
|
|
#define DEBUG_ONLY_THIS_PROCESS 0x00000002
|
|
|
|
#define CREATE_SUSPENDED 0x00000004
|
|
|
|
#define DETACHED_PROCESS 0x00000008
|
|
|
|
#define CREATE_NEW_CONSOLE 0x00000010
|
|
|
|
#define NORMAL_PRIORITY_CLASS 0x00000020
|
|
|
|
#define IDLE_PRIORITY_CLASS 0x00000040
|
|
|
|
#define HIGH_PRIORITY_CLASS 0x00000080
|
|
|
|
#define REALTIME_PRIORITY_CLASS 0x00000100
|
2005-05-11 14:00:58 +02:00
|
|
|
#define BELOW_NORMAL_PRIORITY_CLASS 0x00004000
|
|
|
|
#define ABOVE_NORMAL_PRIORITY_CLASS 0x00008000
|
1999-02-09 16:46:25 +01:00
|
|
|
#define CREATE_NEW_PROCESS_GROUP 0x00000200
|
|
|
|
#define CREATE_UNICODE_ENVIRONMENT 0x00000400
|
|
|
|
#define CREATE_SEPARATE_WOW_VDM 0x00000800
|
|
|
|
#define CREATE_SHARED_WOW_VDM 0x00001000
|
2003-10-31 01:16:20 +01:00
|
|
|
#define STACK_SIZE_PARAM_IS_A_RESERVATION 0x00010000
|
1999-02-09 16:46:25 +01:00
|
|
|
#define CREATE_DEFAULT_ERROR_MODE 0x04000000
|
|
|
|
#define CREATE_NO_WINDOW 0x08000000
|
|
|
|
#define PROFILE_USER 0x10000000
|
|
|
|
#define PROFILE_KERNEL 0x20000000
|
|
|
|
#define PROFILE_SERVER 0x40000000
|
|
|
|
|
|
|
|
|
|
|
|
/* File object type definitions
|
|
|
|
*/
|
|
|
|
#define FILE_TYPE_UNKNOWN 0
|
|
|
|
#define FILE_TYPE_DISK 1
|
|
|
|
#define FILE_TYPE_CHAR 2
|
|
|
|
#define FILE_TYPE_PIPE 3
|
|
|
|
#define FILE_TYPE_REMOTE 32768
|
|
|
|
|
2006-05-19 15:19:18 +02:00
|
|
|
/* File encryption status
|
|
|
|
*/
|
|
|
|
#define FILE_ENCRYPTABLE 0
|
|
|
|
#define FILE_IS_ENCRYPTED 1
|
|
|
|
#define FILE_SYSTEM_ATTR 2
|
|
|
|
#define FILE_ROOT_DIR 3
|
|
|
|
#define FILE_SYSTEM_DIR 4
|
|
|
|
#define FILE_UNKNOWN 5
|
|
|
|
#define FILE_SYSTEM_NOT_SUPPORT 6
|
|
|
|
#define FILE_USER_DISALLOWED 7
|
|
|
|
#define FILE_READ_ONLY 8
|
|
|
|
#define FILE_DIR_DISALOWED 9
|
|
|
|
|
1999-02-09 16:46:25 +01:00
|
|
|
/* File creation flags
|
|
|
|
*/
|
|
|
|
#define FILE_FLAG_WRITE_THROUGH 0x80000000UL
|
|
|
|
#define FILE_FLAG_OVERLAPPED 0x40000000L
|
|
|
|
#define FILE_FLAG_NO_BUFFERING 0x20000000L
|
|
|
|
#define FILE_FLAG_RANDOM_ACCESS 0x10000000L
|
|
|
|
#define FILE_FLAG_SEQUENTIAL_SCAN 0x08000000L
|
|
|
|
#define FILE_FLAG_DELETE_ON_CLOSE 0x04000000L
|
|
|
|
#define FILE_FLAG_BACKUP_SEMANTICS 0x02000000L
|
|
|
|
#define FILE_FLAG_POSIX_SEMANTICS 0x01000000L
|
2007-05-05 03:44:46 +02:00
|
|
|
#define FILE_FLAG_OPEN_REPARSE_POINT 0x00200000L
|
1999-02-09 16:46:25 +01:00
|
|
|
#define CREATE_NEW 1
|
|
|
|
#define CREATE_ALWAYS 2
|
|
|
|
#define OPEN_EXISTING 3
|
|
|
|
#define OPEN_ALWAYS 4
|
|
|
|
#define TRUNCATE_EXISTING 5
|
|
|
|
|
|
|
|
/* Standard handle identifiers
|
|
|
|
*/
|
|
|
|
#define STD_INPUT_HANDLE ((DWORD) -10)
|
|
|
|
#define STD_OUTPUT_HANDLE ((DWORD) -11)
|
|
|
|
#define STD_ERROR_HANDLE ((DWORD) -12)
|
|
|
|
|
2002-09-16 21:28:36 +02:00
|
|
|
typedef struct _BY_HANDLE_FILE_INFORMATION
|
1999-02-09 16:46:25 +01:00
|
|
|
{
|
2001-12-26 20:50:58 +01:00
|
|
|
DWORD dwFileAttributes;
|
1999-02-09 16:46:25 +01:00
|
|
|
FILETIME ftCreationTime;
|
|
|
|
FILETIME ftLastAccessTime;
|
|
|
|
FILETIME ftLastWriteTime;
|
2001-12-26 20:50:58 +01:00
|
|
|
DWORD dwVolumeSerialNumber;
|
|
|
|
DWORD nFileSizeHigh;
|
|
|
|
DWORD nFileSizeLow;
|
|
|
|
DWORD nNumberOfLinks;
|
|
|
|
DWORD nFileIndexHigh;
|
|
|
|
DWORD nFileIndexLow;
|
2001-01-21 22:09:22 +01:00
|
|
|
} BY_HANDLE_FILE_INFORMATION, *PBY_HANDLE_FILE_INFORMATION, *LPBY_HANDLE_FILE_INFORMATION ;
|
1999-02-09 16:46:25 +01:00
|
|
|
|
2001-07-10 21:16:49 +02:00
|
|
|
#define PIPE_ACCESS_INBOUND 1
|
|
|
|
#define PIPE_ACCESS_OUTBOUND 2
|
|
|
|
#define PIPE_ACCESS_DUPLEX 3
|
|
|
|
|
2006-05-26 12:10:11 +02:00
|
|
|
#define PIPE_CLIENT_END 0
|
|
|
|
#define PIPE_SERVER_END 1
|
2001-07-10 21:16:49 +02:00
|
|
|
#define PIPE_READMODE_BYTE 0
|
|
|
|
#define PIPE_READMODE_MESSAGE 2
|
2006-05-26 12:10:11 +02:00
|
|
|
#define PIPE_TYPE_BYTE 0
|
|
|
|
#define PIPE_TYPE_MESSAGE 4
|
2001-07-10 21:16:49 +02:00
|
|
|
|
|
|
|
#define PIPE_WAIT 0
|
|
|
|
#define PIPE_NOWAIT 1
|
|
|
|
|
|
|
|
#define PIPE_UNLIMITED_INSTANCES 255
|
1999-02-09 16:46:25 +01:00
|
|
|
|
2001-09-26 00:38:12 +02:00
|
|
|
#define NMPWAIT_WAIT_FOREVER 0xffffffff
|
|
|
|
#define NMPWAIT_NOWAIT 0x00000001
|
|
|
|
#define NMPWAIT_USE_DEFAULT_WAIT 0x00000000
|
|
|
|
|
2006-11-15 02:01:32 +01:00
|
|
|
/* Security flags for dwFlagsAndAttributes of CreateFile */
|
|
|
|
#define SECURITY_ANONYMOUS (SecurityAnonymous << 16)
|
|
|
|
#define SECURITY_IDENTIFICATION (SecurityIdentification << 16)
|
|
|
|
#define SECURITY_IMPERSONATION (SecurityImpersonation << 16)
|
|
|
|
#define SECURITY_DELEGATION (SecurityDelegation << 16)
|
|
|
|
|
|
|
|
#define SECURITY_CONTEXT_TRACKING 0x00040000
|
|
|
|
#define SECURITY_EFFECTIVE_ONLY 0x00080000
|
|
|
|
|
|
|
|
#define SECURITY_SQOS_PRESENT 0x00100000
|
|
|
|
#define SECURITY_VALID_SQOS_FLAGS 0x001f0000
|
|
|
|
|
1999-02-09 16:46:25 +01:00
|
|
|
typedef struct _SYSTEM_POWER_STATUS
|
|
|
|
{
|
2000-05-07 20:39:28 +02:00
|
|
|
BYTE ACLineStatus;
|
1999-02-09 16:46:25 +01:00
|
|
|
BYTE BatteryFlag;
|
|
|
|
BYTE BatteryLifePercent;
|
2002-10-23 20:50:10 +02:00
|
|
|
BYTE Reserved1;
|
1999-02-09 16:46:25 +01:00
|
|
|
DWORD BatteryLifeTime;
|
|
|
|
DWORD BatteryFullLifeTime;
|
|
|
|
} SYSTEM_POWER_STATUS, *LPSYSTEM_POWER_STATUS;
|
|
|
|
|
|
|
|
|
2004-09-20 21:13:16 +02:00
|
|
|
typedef struct _SYSTEM_INFO
|
1999-02-09 16:46:25 +01:00
|
|
|
{
|
|
|
|
union {
|
1999-09-14 09:52:16 +02:00
|
|
|
DWORD dwOemId; /* Obsolete field - do not use */
|
1999-02-09 16:46:25 +01:00
|
|
|
struct {
|
|
|
|
WORD wProcessorArchitecture;
|
|
|
|
WORD wReserved;
|
1999-09-14 09:52:16 +02:00
|
|
|
} DUMMYSTRUCTNAME;
|
|
|
|
} DUMMYUNIONNAME;
|
1999-02-09 16:46:25 +01:00
|
|
|
DWORD dwPageSize;
|
|
|
|
LPVOID lpMinimumApplicationAddress;
|
|
|
|
LPVOID lpMaximumApplicationAddress;
|
2009-01-04 14:10:20 +01:00
|
|
|
DWORD_PTR dwActiveProcessorMask;
|
1999-02-09 16:46:25 +01:00
|
|
|
DWORD dwNumberOfProcessors;
|
|
|
|
DWORD dwProcessorType;
|
|
|
|
DWORD dwAllocationGranularity;
|
|
|
|
WORD wProcessorLevel;
|
|
|
|
WORD wProcessorRevision;
|
|
|
|
} SYSTEM_INFO, *LPSYSTEM_INFO;
|
|
|
|
|
2003-05-07 05:21:26 +02:00
|
|
|
typedef BOOL (CALLBACK *ENUMRESTYPEPROCA)(HMODULE,LPSTR,LONG_PTR);
|
|
|
|
typedef BOOL (CALLBACK *ENUMRESTYPEPROCW)(HMODULE,LPWSTR,LONG_PTR);
|
|
|
|
typedef BOOL (CALLBACK *ENUMRESNAMEPROCA)(HMODULE,LPCSTR,LPSTR,LONG_PTR);
|
|
|
|
typedef BOOL (CALLBACK *ENUMRESNAMEPROCW)(HMODULE,LPCWSTR,LPWSTR,LONG_PTR);
|
|
|
|
typedef BOOL (CALLBACK *ENUMRESLANGPROCA)(HMODULE,LPCSTR,LPCSTR,WORD,LONG_PTR);
|
|
|
|
typedef BOOL (CALLBACK *ENUMRESLANGPROCW)(HMODULE,LPCWSTR,LPCWSTR,WORD,LONG_PTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
DECL_WINELIB_TYPE_AW(ENUMRESTYPEPROC)
|
|
|
|
DECL_WINELIB_TYPE_AW(ENUMRESNAMEPROC)
|
|
|
|
DECL_WINELIB_TYPE_AW(ENUMRESLANGPROC)
|
|
|
|
|
|
|
|
/* flags that can be passed to LoadLibraryEx */
|
|
|
|
#define DONT_RESOLVE_DLL_REFERENCES 0x00000001
|
|
|
|
#define LOAD_LIBRARY_AS_DATAFILE 0x00000002
|
|
|
|
#define LOAD_WITH_ALTERED_SEARCH_PATH 0x00000008
|
|
|
|
|
2006-05-27 10:57:17 +02:00
|
|
|
#define GET_MODULE_HANDLE_EX_FLAG_PIN 1
|
|
|
|
#define GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT 2
|
|
|
|
#define GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS 4
|
|
|
|
|
2004-08-23 19:49:32 +02:00
|
|
|
typedef PLDT_ENTRY LPLDT_ENTRY;
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
typedef enum _GET_FILEEX_INFO_LEVELS {
|
|
|
|
GetFileExInfoStandard
|
|
|
|
} GET_FILEEX_INFO_LEVELS;
|
|
|
|
|
|
|
|
typedef struct _WIN32_FILE_ATTRIBUTES_DATA {
|
|
|
|
DWORD dwFileAttributes;
|
|
|
|
FILETIME ftCreationTime;
|
|
|
|
FILETIME ftLastAccessTime;
|
|
|
|
FILETIME ftLastWriteTime;
|
|
|
|
DWORD nFileSizeHigh;
|
|
|
|
DWORD nFileSizeLow;
|
|
|
|
} WIN32_FILE_ATTRIBUTE_DATA, *LPWIN32_FILE_ATTRIBUTE_DATA;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This one seems to be a Win32 only definition. It also is defined with
|
|
|
|
* WINAPI instead of CALLBACK in the windows headers.
|
|
|
|
*/
|
2002-06-01 01:06:46 +02:00
|
|
|
typedef DWORD (CALLBACK *LPPROGRESS_ROUTINE)(LARGE_INTEGER, LARGE_INTEGER, LARGE_INTEGER,
|
1999-02-26 12:11:13 +01:00
|
|
|
LARGE_INTEGER, DWORD, DWORD, HANDLE,
|
|
|
|
HANDLE, LPVOID);
|
1999-02-09 16:46:25 +01:00
|
|
|
|
2008-11-11 12:17:05 +01:00
|
|
|
#define CREATE_EVENT_MANUAL_RESET 1
|
|
|
|
#define CREATE_EVENT_INITIAL_SET 2
|
|
|
|
|
|
|
|
#define CREATE_MUTEX_INITIAL_OWNER 1
|
|
|
|
|
|
|
|
#define CREATE_WAITABLE_TIMER_MANUAL_RESET 1
|
1999-02-09 16:46:25 +01:00
|
|
|
|
Release 951124
Tue Nov 21 18:49:10 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
* [configure.in] [Makefile] [misc/dos_fs.c]
Got rid of autoconf.h file.
* [debugger/dbg.y]
More logical behavior upon syntax errors.
* [include/hook.h] [windows/hook.c]
Changed hook structure and rewrote most of the hook functions for
better compatibility, based on investigations by Alex Korobka.
* [include/message.h] [windows/message.c]
Added hooks to message queue structure and made the structure
layout Windows-compatible.
Added support for WH_MOUSE, WH_KEYBOARD, WH_HARDWARE and
WH_JOURNALRECORD hooks.
* [misc/main.c]
Added command-line option for changing the language at run-time
(not implemented yet), based on a suggestion from Michael Patra.
* [objects/cursoricon.c]
Fixed silly SEGPTR bug in DumpIcon().
Mon Nov 20 22:22:22 1995 Alex Korobka <alex@phm30.pharm.sunysb.edu>
* [controls/listbox.c] [controls/combo.c] [include/listbox.h]
Partial implementaion of LBS_EXTENDEDSEL style,
yet more updates for drag & drop support. Now works.
* [windows/defwnd.c]
More message handlers.
* [windows/win.c]
DragObject, DragDetect, AnyPopup functions.
* [controls/listbox.c]
More kludgy fixes (WM_...TOITEM, etc.).
* [objects/cursoricon.c] [objects/oembitmap.c]
IconToCursor skeleton, patch for OBM_LoadCursorIcon to handle new
cursor.
* [include/bitmaps/ocr*]
New OEM cursors.
Mon Nov 20 11:05:20 EST 1995 Jim Peterson <jspeter@birch.ee.vt.edu>
* [toolkit/heap.c]
Swapped flags and size arguments to LocalRealloc as per changes in
memory/local.c by William Magro in previous release.
* [include/wintypes.h]
Reinstated the #define's for 'min' and 'max', since they're part of
the Windows API. I really don't think it's a wise idea, so I put
a '#ifndef DONT_DEFINE_min_AND_max' around them. I think the actual
WINE code should never use these (it should use 'MIN' and 'MAX'
instead).
* [loader/*]
Put '#ifndef WINELIB' around many things that WINElib should not need.
* [controls/edit.c]
Took out many '#if defined(WINELIB)' sections with the associated
comment 'temporary fix, until Local memory is correctly implemented in
WINELIB', since the effective translations are now in
toolkit/miscstubs.c.
Took out the #ifndef's I put in EDIT_ClearText. Whoever modified this
file fixed (or at least postponed) the bug I had encountered.
* [loader/task.c]
Put an #ifdef in TASK_CreateTask() that hardwires the current drive to
C: This will probably cause a lot of trouble if this change is
forgotten in the future, but it will let things like the OpenFileName
dialog work for now.
* [toolkit/libres.c] [toolkit/Makefile.in] [toolkit/Makefile]
[include/libres.h]
Made new libres.c file, which will contain functions for supporting
accessing resources by name in WINElib. 'winerc' will need to be
changed.
* [toolkit/heap.c]
Refined memory routines to allow for differences between LocalAlloc
and GlobalAlloc and between LocalSize and GlobalSize.
* [windows/message.c] [include/windows.h]
Defined the GetCurrentTime routine in windows/message.c, and removed
the #define in windows.h.
Mon Nov 20 00:36:42 MET 1995 Sven Verdoolaege <skimo@dns.ufsia.ac.be>
* [*/*]
Added new debugging type DEBUG_WIN32 and DEBUG_ENV.
* [loader/module.c]
Added undocumented GetExpWinVer.
* [tools/build.c]
Previous code didn't pop possibly changed %esi, %edi and %edx
from the stack.
* [win32/advapi.c]
Added GetUserNameA.
* [win32/code_page.c]
Added stub for MultiByteToWideChar.
* [win32/console.c]
Added SetConsoleCtrlHandler stub.
* [win32/file.c]
Added ReadFile CreateFileA GetFileInformationByHandle stubs.
Added CloseHandle.
* [win32/memory.c]
Changed VirtualAlloc and VirtualFree.
* [win32/process.c]
Added ExitProcess.
Sun Nov 19 17:54:42 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
* [include/windows.h]
Fixed a few broken structure definitions.
* [loader/resource.c]
FindResource(): Need to check for '#xxx' strings here.
* [miscemu/int21.c]
FindNext(): Return MS-DOS filenames uppercase.
* [objects/cursoricon.c]
CreateIcon(), CreateCursor(): Added missing element to CURSORICONINFO
initializers.
* [misc/file.c]
_lopen(): Files opened in OF_WRITE mode are truncated.
OpenFile(): Ignore OF_READ/OF_WRITE/OF_READWRITE when files are
created; use read/write mode.
* [misc/profile.c]
load(): Rewritten.
* [misc/commdlg.c]
Fixed bad call to strncpy() that smashed the stack.
* [controls/combo.c] [windows/winpos.c] [memory/selector.c]
Operator precedence fixes. People who use gcc 2.7.1 don't need a
debugger :-)
* [if1632/gdi.spec] [objects/palette.c]
Add ResizePalette() and AnimatePalette() stubs. They don't do anything,
but sometimes that's good enough.
Fri Nov 17 09:10:35 GMT 1995 John Harvey <john@division.co.uk>
* [include/wine.h] [include/registers.h] [include/winsock.h]
Added definitions for Unixware.
* [loader/signal.c] [misc/comm.c] [misc/winsocket.c]
Misc. fixes for Unixware.
* [loader/task.c]
Made assignemts to context in InitTask for registers use the macros
from registers.h to make them more portable. (Needed for Unixware)
* [tools/build.c]
Fixed register acces routines to work on Unixware. Bit grubby but
it seems to work.
* [controls/edit.c]
EDIT_WM_NCCreate allocates local heap if hasn't been previously
allocated.
* [miscemu/int21.c]
mkdir now creates directory with permission to access it.
* [misc/dos_fs.c]
mkdir now creates directory with permission to access it.
DOS_opendir now uses linked list of dirents to avoid problems with
realloc changing address of malloced memory.
Thu Nov 16 12:47:13 1995 Michael Patra <patra@itp1.Physik.TU-Berlin.DE>
* [controls/menu.c]
MENU_CalcItemSize(): Fixed handling of empty menu items.
Sat Nov 11 21:46:54 1995 Hans de Graaff <graaff@twi72.twi.tudelft.nl>
* [misc/file.c]
In OpenFile, unlink should be done on the unix filename.
Sat Nov 11 16:43:29 1995 Cameron Heide (heide@ee.ualberta.ca)
* [include/handle32.h]
New header file containing internal Win32 kernel handle
information.
* [win32/file.c]
Added ReadFile, CreateFile, and CloseFileHandle, and did
some reorganizing to match the new handle allocation scheme.
* [win32/init.c]
Added CloseHandle and the creation of standard I/O handles.
* [win32/object_mgt.c]
New module for allocating and freeing Win32 kernel handles.
1995-11-26 14:59:11 +01:00
|
|
|
#define WAIT_FAILED 0xffffffff
|
|
|
|
#define WAIT_OBJECT_0 0
|
|
|
|
#define WAIT_ABANDONED STATUS_ABANDONED_WAIT_0
|
|
|
|
#define WAIT_ABANDONED_0 STATUS_ABANDONED_WAIT_0
|
Release 980822
Sat Aug 22 17:46:19 1998 Ulrich Weigand <weigand@informatik.uni-erlangen.de>
* [include/dosexe.h] [include/module.h] [include/pe_image.h]
[include/process.h] [include/windows.h] [loader/dos/module.c]
[loader/module.c] [loader/ne/module.c] [loader/pe_image.c]
[scheduler/process.c] [win32/process.c]
Partially implemented CreateProcess32.
* [win32/device.c] [relay32/kernel32.spec] [scheduler/k32obj.c]
[misc/registry.c] [win32/file.c]
Partially implemented VxDCall (VMM registry services).
* [files/dos_fs.c]
DOSFS_FindNext made thread-safe.
* [include/sig_context.h] [include/syslevel.h] [loader/signal.c]
[scheduler/syslevel.c] [tools/build.c]
Replaced CALLTO16_Current_fs by SYSLEVEL_Win16CurrentTeb.
* [win32/kernel32.c]
Bugfix: QT_Thunk/FT_Thunk should return 'long' in DX:AX, not EAX.
* [if1632/relay.c] [relay32/builtin32.c] [windows/msgbox.c]
[msdos/int20.c] [msdos/int21.c]
Use ExitProcess instead of TASK_KillCurrentTask.
* [include/task.h] [include/thread.h] [loader/task.c]
[scheduler/thread.c] [include/queue.h] [windows/message.c]
[windows/queue.c] [windows/win.c]
Prevent Win32 threads from entering the TASK_Reschedule loop.
(Note: Win32 messaging still doesn't work correctly; this patch
is just preventing the system from crashing when Win32 threads
call messaging functions. Messages will probably still get lost.)
* [scheduler/critsection.c]
Deactivated the use of SEM_UNDO for the SYSTEM_LOCK semaphore;
for some reason, this leads to problems after threads terminate...
Sat Aug 22 15:00:00 1998 Jrgen Schmied <juergen.schmied@metronet.de>
* [include/authors.h]
New file, includes all names of the developer (former shell.c)
* [Makefile.in][configure][configure.in][dlls/Makefile.in]
[dlls/shell32/Makefile.in][shres.rc]
Created dlls/shell32 and moved the shell32 stuff in it.
Started to create internal resources.
* [dlls/shell32/*]
Split the shell32 implementation into smaller files.
New classes: IContextMenu, IExtractIcon, IShellView.
Implemented Shell_GetImageList().
shell32 links to comctl32 now dynamically so it can use
internal/external implementations.
* [documentation/internal-dll] [documentation/shell32]
New, could anybody do a spellcheck?
* [include/commctrl.h]
Many new LV constants, structures, functions.
* [controls/comctl32undoc.c]
Rewrote the DSA* functions.
* [windows/winpos.c]
SetShellWindow32, GetShellWindow32.
Sat Aug 22 14:02:15 1998 Alexander Lukyanov <lav@long.yar.ru>
* [loader/resource.c]
Mark last accelerator as such in LoadAccelerators32W.
* [relay32/shell32.spec] [misc/shell.c]
Add stubs for SHGetSpecialFolderPath[AW].
Sat Aug 22 02:07:42 1998 Adrian Harvey <adrian@select.com.au>
* [include/file.h] [file/file.c] [msdos/int21.c] [msdos/vxd.c]
[misc/lzexpand.c] [win32/kernel32.c] [documentation/filehandles]
Fixed file handle handling. Created universal HFILE16 to HFILE32
translation macro from msdos/int21 code by Ove Kaaven.
Used macro in all Win16 functions so that win32 handles are translated
to avoid DOS/Win16 stdxx handles.
Removed handle translation from int21.c where Win16 functions are
called. Changed remaining calls to use new macro names.
Documented filehandle handling and differences between win 16 & 32.
Fri Aug 21 20:32:49 1998 Alexandre Julliard <julliard@lrc.epfl.ch>
* [server/process.c] [server/thread.c]
Implemented object wait queues and synchronization.
Fri Aug 21 18:40:02 1998 Huw D M Davies <daviesh@abacus.physics.ox.ac.uk>
* [graphics/psdrv/*]
DEVMODE dmPaper{Width|Length} fields are in 0.1mm.
Select a 100 pixel default font in CreateDC.
Thu Aug 20 22:47:39 1998 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* [objects/bitmap.c]
Handle bits=32 in SetBitmapBits32 and GetBitmapBits32.
* [msdos/int21.c]
Add handling of Int21 0A and 37.
* [misc/commdlg.c]
Use MapHModuleLS and MapHModuleSL when translating HINSTANCE16 to
HINSTANCE32 and vice versa.
* [win32/file.c]
CreateFile32A: Abort if filename == NULL.
Thu Aug 20 12:28:31 1998 Marcus Meissner <marcus@jet.franken.de>
* [*/*]
Lots of missing prototypes added, some parameter types adapted to match
SDK.
* [debugger/stabs.c]
Don't loop forever if we don't find wine or one of the libxxx.so.
* [loader/ne/module.c]
Implemented MapHModuleLS,MapHModuleSL,MapHinstLS,MapHinstSL.
* [misc/network.c]
Implemented WNetGetUser32A.
* [misc/shellord.c]
Implemented ILRemoveLastID.
* [multimedia/dsound.c]
Fixed StarCraft memory leak.
* [graphics/ddraw.c]
Removed some unnecessary simple relaying functions, tried polishing
up the Xlib implementation (still doesn't work), temp. removed Xshm
code (to be remerged with working Xlib code).
Tue Aug 18 22:29:17 1998 Ove Kaaven <ovek@arcticnet.no>
* [multimedia/mmio.c] [multimedia/mmsystem.c]
Fixed most mmio bugs, fully implementing mmioSetBuffer
buffering, ability to read memory files, and the
sndPlaySound() SND_MEMORY flag. Most mmio-using programs
now work fine.
* [include/dosexe.h] [include/miscemu.h] [include/module.h]
[loader/module.c] [loader/task.c] [msdos/dosmem.c]
Improved DOS VM flexibility and portability somewhat. (Did
I get the #ifdefs right this time, BSD-ers?)
* [msdos/int21.c]
Made "Get Current PSP address" work as expected in a DOS VM.
* [loader/dos/*]
Began improving flexibility and portability somewhat. It
should be easier to add DPMI RMCB callbacks now. The
DOS VM no longer leaves big files lying around in /tmp
after a crash.
Tue Aug 18 12:38:31 1998 Turchanov Sergey <turchanov@usa.net>
* [relay32/winmm.spec]
This patch allows WinAmp to play WAV files (at least in PCM
format).
Sun Aug 16 05:34:13 1998 Pablo Saratxaga <srtxg@chanae.alphanet.ch>
* [windows/keyboard.c]
Corrected keyboard code to properly handle keys : ? ~ and "
on non US keyboards.
Sat Aug 15 18:47:14 1998 Brian Craft <bcboy@dorothy.wanglab.brandeis.edu>
* [windows/win.c]
Fixed severe bug in EnumChildWindwos().
Thu Aug 13 21:05:35 1998 Eric Kohl <ekohl@abo.rhein-zeitung.de>
* [controls/tooltips.c]
Fixed some bugs. Added subclassing support.
* [controls/toolbar.c]
Improved tooltip integration. Fixed some bugs.
* [controls/commctrl.c]
Changed control registration and added some documentation.
Fixed ShowHideMenuCtl.
* [controls/rebar.c][include/rebar.h][include/commctrl.h]
Improved rebar implementation (still no display).
* [controls/pager.c][include/pager.h][include/commctrl.h]
Improved pager implementation (still no display).
* [misc/imagelist.c]
Fixed a bug.
* [documentation/common_controls]
Updated.
Sun Aug 9 19:50:20 1998 James Juran <jrj120@psu.edu>
* [Makefile.in] [documentation/Makefile.in]
[programs/Makefile.in] [programs/*/Makefile.in]
Added uninstall rules, cleaned up install rules a little bit.
Sun Aug 9 13:21:35 1998 Andreas Mohr <100.30936@germany.net>
* [loader/ne/module.c] [if1632/kernel.spec]
Added the undocumented HIWORD of GetModuleHandle (hFirstModule).
* [loader/ne/segment.c]
Wine forgot to set some NE_SEGFLAGS_*.
Combined with another loader change, this fixed the
"BLINKER -- error in loading module" or ghost MessageBox problem
that about 1% of all Windows programs have.
Some BLINKER programs still don't work, though.
But I'm working on it, with great help from Blinkinc.
* [loader/task.c]
InitTask needs to decrement the SP register by two as Win95 does.
Sun Aug 9 02:41:28 1998 Ulrich Weigand <weigand@informatik.uni-erlangen.de>
* [if1632/kernel.spec] [relay32/kernel32.spec] [scheduler/syslevel.c]
[loader/main.c] [win32/ordinals.c] [include/syslevel.h]
[scheduler/Makefile.in]
Implemented Win95 'syslevel' routines (including Win16Lock).
* [if1632/relay.c] [if1632/thunk.c] [tools/build.c] [loader/task.c]
[loader/ne/segment.c] [win32/kernel32.c] [memory/selector.c]
[include/stackframe.h] [include/thread.h]
16-bit %fs handling revised. Use Win16Lock where appropriate.
* [include/thread.h] [scheduler/synchro.c] [windows/message.c]
[windows/queue.c] [win32/process.c]
Implemented MsgWaitForMultipleObjects.
* [files/change.c] [files/Makefile.in] [scheduler/k32obj.c]
[win32/newfns.c]
Implemented (dummy) file change notification objects.
* [debugger/dbg.y] [scheduler/process.c] [scheduler/thread.c]
[include/process.h] [include/thread.h]
Suspend all threads except current when hitting debugger break point.
* [objects/dib.c]
Bugfix for CreateDIBSection.
1998-08-22 21:03:56 +02:00
|
|
|
#define WAIT_IO_COMPLETION STATUS_USER_APC
|
Release 951124
Tue Nov 21 18:49:10 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
* [configure.in] [Makefile] [misc/dos_fs.c]
Got rid of autoconf.h file.
* [debugger/dbg.y]
More logical behavior upon syntax errors.
* [include/hook.h] [windows/hook.c]
Changed hook structure and rewrote most of the hook functions for
better compatibility, based on investigations by Alex Korobka.
* [include/message.h] [windows/message.c]
Added hooks to message queue structure and made the structure
layout Windows-compatible.
Added support for WH_MOUSE, WH_KEYBOARD, WH_HARDWARE and
WH_JOURNALRECORD hooks.
* [misc/main.c]
Added command-line option for changing the language at run-time
(not implemented yet), based on a suggestion from Michael Patra.
* [objects/cursoricon.c]
Fixed silly SEGPTR bug in DumpIcon().
Mon Nov 20 22:22:22 1995 Alex Korobka <alex@phm30.pharm.sunysb.edu>
* [controls/listbox.c] [controls/combo.c] [include/listbox.h]
Partial implementaion of LBS_EXTENDEDSEL style,
yet more updates for drag & drop support. Now works.
* [windows/defwnd.c]
More message handlers.
* [windows/win.c]
DragObject, DragDetect, AnyPopup functions.
* [controls/listbox.c]
More kludgy fixes (WM_...TOITEM, etc.).
* [objects/cursoricon.c] [objects/oembitmap.c]
IconToCursor skeleton, patch for OBM_LoadCursorIcon to handle new
cursor.
* [include/bitmaps/ocr*]
New OEM cursors.
Mon Nov 20 11:05:20 EST 1995 Jim Peterson <jspeter@birch.ee.vt.edu>
* [toolkit/heap.c]
Swapped flags and size arguments to LocalRealloc as per changes in
memory/local.c by William Magro in previous release.
* [include/wintypes.h]
Reinstated the #define's for 'min' and 'max', since they're part of
the Windows API. I really don't think it's a wise idea, so I put
a '#ifndef DONT_DEFINE_min_AND_max' around them. I think the actual
WINE code should never use these (it should use 'MIN' and 'MAX'
instead).
* [loader/*]
Put '#ifndef WINELIB' around many things that WINElib should not need.
* [controls/edit.c]
Took out many '#if defined(WINELIB)' sections with the associated
comment 'temporary fix, until Local memory is correctly implemented in
WINELIB', since the effective translations are now in
toolkit/miscstubs.c.
Took out the #ifndef's I put in EDIT_ClearText. Whoever modified this
file fixed (or at least postponed) the bug I had encountered.
* [loader/task.c]
Put an #ifdef in TASK_CreateTask() that hardwires the current drive to
C: This will probably cause a lot of trouble if this change is
forgotten in the future, but it will let things like the OpenFileName
dialog work for now.
* [toolkit/libres.c] [toolkit/Makefile.in] [toolkit/Makefile]
[include/libres.h]
Made new libres.c file, which will contain functions for supporting
accessing resources by name in WINElib. 'winerc' will need to be
changed.
* [toolkit/heap.c]
Refined memory routines to allow for differences between LocalAlloc
and GlobalAlloc and between LocalSize and GlobalSize.
* [windows/message.c] [include/windows.h]
Defined the GetCurrentTime routine in windows/message.c, and removed
the #define in windows.h.
Mon Nov 20 00:36:42 MET 1995 Sven Verdoolaege <skimo@dns.ufsia.ac.be>
* [*/*]
Added new debugging type DEBUG_WIN32 and DEBUG_ENV.
* [loader/module.c]
Added undocumented GetExpWinVer.
* [tools/build.c]
Previous code didn't pop possibly changed %esi, %edi and %edx
from the stack.
* [win32/advapi.c]
Added GetUserNameA.
* [win32/code_page.c]
Added stub for MultiByteToWideChar.
* [win32/console.c]
Added SetConsoleCtrlHandler stub.
* [win32/file.c]
Added ReadFile CreateFileA GetFileInformationByHandle stubs.
Added CloseHandle.
* [win32/memory.c]
Changed VirtualAlloc and VirtualFree.
* [win32/process.c]
Added ExitProcess.
Sun Nov 19 17:54:42 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
* [include/windows.h]
Fixed a few broken structure definitions.
* [loader/resource.c]
FindResource(): Need to check for '#xxx' strings here.
* [miscemu/int21.c]
FindNext(): Return MS-DOS filenames uppercase.
* [objects/cursoricon.c]
CreateIcon(), CreateCursor(): Added missing element to CURSORICONINFO
initializers.
* [misc/file.c]
_lopen(): Files opened in OF_WRITE mode are truncated.
OpenFile(): Ignore OF_READ/OF_WRITE/OF_READWRITE when files are
created; use read/write mode.
* [misc/profile.c]
load(): Rewritten.
* [misc/commdlg.c]
Fixed bad call to strncpy() that smashed the stack.
* [controls/combo.c] [windows/winpos.c] [memory/selector.c]
Operator precedence fixes. People who use gcc 2.7.1 don't need a
debugger :-)
* [if1632/gdi.spec] [objects/palette.c]
Add ResizePalette() and AnimatePalette() stubs. They don't do anything,
but sometimes that's good enough.
Fri Nov 17 09:10:35 GMT 1995 John Harvey <john@division.co.uk>
* [include/wine.h] [include/registers.h] [include/winsock.h]
Added definitions for Unixware.
* [loader/signal.c] [misc/comm.c] [misc/winsocket.c]
Misc. fixes for Unixware.
* [loader/task.c]
Made assignemts to context in InitTask for registers use the macros
from registers.h to make them more portable. (Needed for Unixware)
* [tools/build.c]
Fixed register acces routines to work on Unixware. Bit grubby but
it seems to work.
* [controls/edit.c]
EDIT_WM_NCCreate allocates local heap if hasn't been previously
allocated.
* [miscemu/int21.c]
mkdir now creates directory with permission to access it.
* [misc/dos_fs.c]
mkdir now creates directory with permission to access it.
DOS_opendir now uses linked list of dirents to avoid problems with
realloc changing address of malloced memory.
Thu Nov 16 12:47:13 1995 Michael Patra <patra@itp1.Physik.TU-Berlin.DE>
* [controls/menu.c]
MENU_CalcItemSize(): Fixed handling of empty menu items.
Sat Nov 11 21:46:54 1995 Hans de Graaff <graaff@twi72.twi.tudelft.nl>
* [misc/file.c]
In OpenFile, unlink should be done on the unix filename.
Sat Nov 11 16:43:29 1995 Cameron Heide (heide@ee.ualberta.ca)
* [include/handle32.h]
New header file containing internal Win32 kernel handle
information.
* [win32/file.c]
Added ReadFile, CreateFile, and CloseFileHandle, and did
some reorganizing to match the new handle allocation scheme.
* [win32/init.c]
Added CloseHandle and the creation of standard I/O handles.
* [win32/object_mgt.c]
New module for allocating and freeing Win32 kernel handles.
1995-11-26 14:59:11 +01:00
|
|
|
#define WAIT_TIMEOUT STATUS_TIMEOUT
|
2000-02-13 17:04:14 +01:00
|
|
|
#define STILL_ACTIVE STATUS_PENDING
|
Release 951124
Tue Nov 21 18:49:10 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
* [configure.in] [Makefile] [misc/dos_fs.c]
Got rid of autoconf.h file.
* [debugger/dbg.y]
More logical behavior upon syntax errors.
* [include/hook.h] [windows/hook.c]
Changed hook structure and rewrote most of the hook functions for
better compatibility, based on investigations by Alex Korobka.
* [include/message.h] [windows/message.c]
Added hooks to message queue structure and made the structure
layout Windows-compatible.
Added support for WH_MOUSE, WH_KEYBOARD, WH_HARDWARE and
WH_JOURNALRECORD hooks.
* [misc/main.c]
Added command-line option for changing the language at run-time
(not implemented yet), based on a suggestion from Michael Patra.
* [objects/cursoricon.c]
Fixed silly SEGPTR bug in DumpIcon().
Mon Nov 20 22:22:22 1995 Alex Korobka <alex@phm30.pharm.sunysb.edu>
* [controls/listbox.c] [controls/combo.c] [include/listbox.h]
Partial implementaion of LBS_EXTENDEDSEL style,
yet more updates for drag & drop support. Now works.
* [windows/defwnd.c]
More message handlers.
* [windows/win.c]
DragObject, DragDetect, AnyPopup functions.
* [controls/listbox.c]
More kludgy fixes (WM_...TOITEM, etc.).
* [objects/cursoricon.c] [objects/oembitmap.c]
IconToCursor skeleton, patch for OBM_LoadCursorIcon to handle new
cursor.
* [include/bitmaps/ocr*]
New OEM cursors.
Mon Nov 20 11:05:20 EST 1995 Jim Peterson <jspeter@birch.ee.vt.edu>
* [toolkit/heap.c]
Swapped flags and size arguments to LocalRealloc as per changes in
memory/local.c by William Magro in previous release.
* [include/wintypes.h]
Reinstated the #define's for 'min' and 'max', since they're part of
the Windows API. I really don't think it's a wise idea, so I put
a '#ifndef DONT_DEFINE_min_AND_max' around them. I think the actual
WINE code should never use these (it should use 'MIN' and 'MAX'
instead).
* [loader/*]
Put '#ifndef WINELIB' around many things that WINElib should not need.
* [controls/edit.c]
Took out many '#if defined(WINELIB)' sections with the associated
comment 'temporary fix, until Local memory is correctly implemented in
WINELIB', since the effective translations are now in
toolkit/miscstubs.c.
Took out the #ifndef's I put in EDIT_ClearText. Whoever modified this
file fixed (or at least postponed) the bug I had encountered.
* [loader/task.c]
Put an #ifdef in TASK_CreateTask() that hardwires the current drive to
C: This will probably cause a lot of trouble if this change is
forgotten in the future, but it will let things like the OpenFileName
dialog work for now.
* [toolkit/libres.c] [toolkit/Makefile.in] [toolkit/Makefile]
[include/libres.h]
Made new libres.c file, which will contain functions for supporting
accessing resources by name in WINElib. 'winerc' will need to be
changed.
* [toolkit/heap.c]
Refined memory routines to allow for differences between LocalAlloc
and GlobalAlloc and between LocalSize and GlobalSize.
* [windows/message.c] [include/windows.h]
Defined the GetCurrentTime routine in windows/message.c, and removed
the #define in windows.h.
Mon Nov 20 00:36:42 MET 1995 Sven Verdoolaege <skimo@dns.ufsia.ac.be>
* [*/*]
Added new debugging type DEBUG_WIN32 and DEBUG_ENV.
* [loader/module.c]
Added undocumented GetExpWinVer.
* [tools/build.c]
Previous code didn't pop possibly changed %esi, %edi and %edx
from the stack.
* [win32/advapi.c]
Added GetUserNameA.
* [win32/code_page.c]
Added stub for MultiByteToWideChar.
* [win32/console.c]
Added SetConsoleCtrlHandler stub.
* [win32/file.c]
Added ReadFile CreateFileA GetFileInformationByHandle stubs.
Added CloseHandle.
* [win32/memory.c]
Changed VirtualAlloc and VirtualFree.
* [win32/process.c]
Added ExitProcess.
Sun Nov 19 17:54:42 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
* [include/windows.h]
Fixed a few broken structure definitions.
* [loader/resource.c]
FindResource(): Need to check for '#xxx' strings here.
* [miscemu/int21.c]
FindNext(): Return MS-DOS filenames uppercase.
* [objects/cursoricon.c]
CreateIcon(), CreateCursor(): Added missing element to CURSORICONINFO
initializers.
* [misc/file.c]
_lopen(): Files opened in OF_WRITE mode are truncated.
OpenFile(): Ignore OF_READ/OF_WRITE/OF_READWRITE when files are
created; use read/write mode.
* [misc/profile.c]
load(): Rewritten.
* [misc/commdlg.c]
Fixed bad call to strncpy() that smashed the stack.
* [controls/combo.c] [windows/winpos.c] [memory/selector.c]
Operator precedence fixes. People who use gcc 2.7.1 don't need a
debugger :-)
* [if1632/gdi.spec] [objects/palette.c]
Add ResizePalette() and AnimatePalette() stubs. They don't do anything,
but sometimes that's good enough.
Fri Nov 17 09:10:35 GMT 1995 John Harvey <john@division.co.uk>
* [include/wine.h] [include/registers.h] [include/winsock.h]
Added definitions for Unixware.
* [loader/signal.c] [misc/comm.c] [misc/winsocket.c]
Misc. fixes for Unixware.
* [loader/task.c]
Made assignemts to context in InitTask for registers use the macros
from registers.h to make them more portable. (Needed for Unixware)
* [tools/build.c]
Fixed register acces routines to work on Unixware. Bit grubby but
it seems to work.
* [controls/edit.c]
EDIT_WM_NCCreate allocates local heap if hasn't been previously
allocated.
* [miscemu/int21.c]
mkdir now creates directory with permission to access it.
* [misc/dos_fs.c]
mkdir now creates directory with permission to access it.
DOS_opendir now uses linked list of dirents to avoid problems with
realloc changing address of malloced memory.
Thu Nov 16 12:47:13 1995 Michael Patra <patra@itp1.Physik.TU-Berlin.DE>
* [controls/menu.c]
MENU_CalcItemSize(): Fixed handling of empty menu items.
Sat Nov 11 21:46:54 1995 Hans de Graaff <graaff@twi72.twi.tudelft.nl>
* [misc/file.c]
In OpenFile, unlink should be done on the unix filename.
Sat Nov 11 16:43:29 1995 Cameron Heide (heide@ee.ualberta.ca)
* [include/handle32.h]
New header file containing internal Win32 kernel handle
information.
* [win32/file.c]
Added ReadFile, CreateFile, and CloseFileHandle, and did
some reorganizing to match the new handle allocation scheme.
* [win32/init.c]
Added CloseHandle and the creation of standard I/O handles.
* [win32/object_mgt.c]
New module for allocating and freeing Win32 kernel handles.
1995-11-26 14:59:11 +01:00
|
|
|
|
1997-03-05 09:22:35 +01:00
|
|
|
#define FILE_BEGIN 0
|
|
|
|
#define FILE_CURRENT 1
|
|
|
|
#define FILE_END 2
|
|
|
|
|
Release 970415
Mon Apr 14 11:22:54 1997 John Harvey <john@division.co.uk>
* [graphics/win16drv/init.c]
Minor changes to help debug problems.
* [if1632/dummy.c] [if1632/gdi.spec]
Dummy routines for StartPage, EndPage, SetAbortProc, AbortProc.
* [misc/printdrv.c] [if1632/gdi.spec] [include/windows.h]
StartDoc16, EndDoc16 new functions.
Sun Apr 13 11:18:35 1997 Alexandre Julliard <julliard@lrc.epfl.ch>
* [memory/virtual.c]
Implemented MapViewOfFile.
* [debugger/dbg.y]
Added 'info maps' command.
Fri Apr 11 16:34:08 1997 Frans van Dorsselaer <devel@rulhmpc58.LeidenUniv.nl>
* [controls/edit.c] [controls/EDIT.TODO]
Started restructuring. Performance improvements.
Fixed: wordwrap, scrollbar handling, scrolling, painting,
EditWndProc() is now reentrant, wordbreak procs,
better compliance to specs.
New: margins, format rectangle.
* [controls/widgets.c]
Changed the cursor for the edit control class to an I-beam.
* [include/callback.h]
Added 32 bit wordbreak callback.
Mon Apr 7 20:53:28 1997 Albrecht Kleine <kleine@ak.sax.de>
* [objects/metafile.c]
Added handling of some more metafile records:
META_CREATEREGION, META_INVERTREGION etc.
Sat Apr 5 09:23:02 MET DST 1997 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
* [loader/signal.c]
Define kernel sigaction ourselves instead of getting it
from the kernel source.
Wed Apr 2 21:05:00 1997 Uwe Bonnes <bon@elektron.ikp.physik.th-darmstadt.de>
* [control/menu.c]
Fix return value range for GetMenuState.
* [files/file.c]
Always fill out ofs->szPathName in FILE_DoOpenFile.
* [memory/string.c]
Add debug option string.
* [objects/cursoricon.c]
Fix return value for DestroyIcon32.
Mon Mar 31 17:16:12 1997 Alex Korobka <alex@trantor.pharm.sunysb.edu>
* [DEVELOPERS-HINTS] [misc/*] [windows/*] [graphics/*]
Added description of the source tree. Moved several
files to fit it.
* [misc/shell.c]
Use Win32 heap functions.
1997-04-15 19:19:52 +02:00
|
|
|
#define FILE_MAP_COPY 0x00000001
|
|
|
|
#define FILE_MAP_WRITE 0x00000002
|
|
|
|
#define FILE_MAP_READ 0x00000004
|
|
|
|
#define FILE_MAP_ALL_ACCESS 0x000f001f
|
2005-02-22 20:32:22 +01:00
|
|
|
#define FILE_MAP_EXECUTE 0x00000020
|
Release 970415
Mon Apr 14 11:22:54 1997 John Harvey <john@division.co.uk>
* [graphics/win16drv/init.c]
Minor changes to help debug problems.
* [if1632/dummy.c] [if1632/gdi.spec]
Dummy routines for StartPage, EndPage, SetAbortProc, AbortProc.
* [misc/printdrv.c] [if1632/gdi.spec] [include/windows.h]
StartDoc16, EndDoc16 new functions.
Sun Apr 13 11:18:35 1997 Alexandre Julliard <julliard@lrc.epfl.ch>
* [memory/virtual.c]
Implemented MapViewOfFile.
* [debugger/dbg.y]
Added 'info maps' command.
Fri Apr 11 16:34:08 1997 Frans van Dorsselaer <devel@rulhmpc58.LeidenUniv.nl>
* [controls/edit.c] [controls/EDIT.TODO]
Started restructuring. Performance improvements.
Fixed: wordwrap, scrollbar handling, scrolling, painting,
EditWndProc() is now reentrant, wordbreak procs,
better compliance to specs.
New: margins, format rectangle.
* [controls/widgets.c]
Changed the cursor for the edit control class to an I-beam.
* [include/callback.h]
Added 32 bit wordbreak callback.
Mon Apr 7 20:53:28 1997 Albrecht Kleine <kleine@ak.sax.de>
* [objects/metafile.c]
Added handling of some more metafile records:
META_CREATEREGION, META_INVERTREGION etc.
Sat Apr 5 09:23:02 MET DST 1997 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
* [loader/signal.c]
Define kernel sigaction ourselves instead of getting it
from the kernel source.
Wed Apr 2 21:05:00 1997 Uwe Bonnes <bon@elektron.ikp.physik.th-darmstadt.de>
* [control/menu.c]
Fix return value range for GetMenuState.
* [files/file.c]
Always fill out ofs->szPathName in FILE_DoOpenFile.
* [memory/string.c]
Add debug option string.
* [objects/cursoricon.c]
Fix return value for DestroyIcon32.
Mon Mar 31 17:16:12 1997 Alex Korobka <alex@trantor.pharm.sunysb.edu>
* [DEVELOPERS-HINTS] [misc/*] [windows/*] [graphics/*]
Added description of the source tree. Moved several
files to fit it.
* [misc/shell.c]
Use Win32 heap functions.
1997-04-15 19:19:52 +02:00
|
|
|
|
1997-07-20 18:23:21 +02:00
|
|
|
#define MOVEFILE_REPLACE_EXISTING 0x00000001
|
|
|
|
#define MOVEFILE_COPY_ALLOWED 0x00000002
|
|
|
|
#define MOVEFILE_DELAY_UNTIL_REBOOT 0x00000004
|
2008-03-13 23:55:46 +01:00
|
|
|
#define MOVEFILE_WRITE_THROUGH 0x00000008
|
1997-07-20 18:23:21 +02:00
|
|
|
|
2004-05-18 22:43:29 +02:00
|
|
|
#define REPLACEFILE_WRITE_THROUGH 0x00000001
|
|
|
|
#define REPLACEFILE_IGNORE_MERGE_ERRORS 0x00000002
|
|
|
|
|
1996-06-23 16:56:20 +02:00
|
|
|
#define FS_CASE_SENSITIVE FILE_CASE_SENSITIVE_SEARCH
|
|
|
|
#define FS_CASE_IS_PRESERVED FILE_CASE_PRESERVED_NAMES
|
|
|
|
#define FS_UNICODE_STORED_ON_DISK FILE_UNICODE_ON_DISK
|
2001-01-18 21:28:56 +01:00
|
|
|
#define FS_PERSISTENT_ACLS FILE_PERSISTENT_ACLS
|
|
|
|
#define FS_VOL_IS_COMPRESSED FILE_VOLUME_IS_COMPRESSED
|
|
|
|
#define FS_FILE_COMPRESSION FILE_FILE_COMPRESSION
|
1996-06-23 16:56:20 +02:00
|
|
|
|
1999-05-09 18:12:19 +02:00
|
|
|
#define EXCEPTION_ACCESS_VIOLATION STATUS_ACCESS_VIOLATION
|
|
|
|
#define EXCEPTION_DATATYPE_MISALIGNMENT STATUS_DATATYPE_MISALIGNMENT
|
|
|
|
#define EXCEPTION_BREAKPOINT STATUS_BREAKPOINT
|
|
|
|
#define EXCEPTION_SINGLE_STEP STATUS_SINGLE_STEP
|
|
|
|
#define EXCEPTION_ARRAY_BOUNDS_EXCEEDED STATUS_ARRAY_BOUNDS_EXCEEDED
|
|
|
|
#define EXCEPTION_FLT_DENORMAL_OPERAND STATUS_FLOAT_DENORMAL_OPERAND
|
|
|
|
#define EXCEPTION_FLT_DIVIDE_BY_ZERO STATUS_FLOAT_DIVIDE_BY_ZERO
|
|
|
|
#define EXCEPTION_FLT_INEXACT_RESULT STATUS_FLOAT_INEXACT_RESULT
|
|
|
|
#define EXCEPTION_FLT_INVALID_OPERATION STATUS_FLOAT_INVALID_OPERATION
|
|
|
|
#define EXCEPTION_FLT_OVERFLOW STATUS_FLOAT_OVERFLOW
|
|
|
|
#define EXCEPTION_FLT_STACK_CHECK STATUS_FLOAT_STACK_CHECK
|
|
|
|
#define EXCEPTION_FLT_UNDERFLOW STATUS_FLOAT_UNDERFLOW
|
|
|
|
#define EXCEPTION_INT_DIVIDE_BY_ZERO STATUS_INTEGER_DIVIDE_BY_ZERO
|
|
|
|
#define EXCEPTION_INT_OVERFLOW STATUS_INTEGER_OVERFLOW
|
|
|
|
#define EXCEPTION_PRIV_INSTRUCTION STATUS_PRIVILEGED_INSTRUCTION
|
|
|
|
#define EXCEPTION_IN_PAGE_ERROR STATUS_IN_PAGE_ERROR
|
|
|
|
#define EXCEPTION_ILLEGAL_INSTRUCTION STATUS_ILLEGAL_INSTRUCTION
|
|
|
|
#define EXCEPTION_NONCONTINUABLE_EXCEPTION STATUS_NONCONTINUABLE_EXCEPTION
|
|
|
|
#define EXCEPTION_STACK_OVERFLOW STATUS_STACK_OVERFLOW
|
|
|
|
#define EXCEPTION_INVALID_DISPOSITION STATUS_INVALID_DISPOSITION
|
|
|
|
#define EXCEPTION_GUARD_PAGE STATUS_GUARD_PAGE_VIOLATION
|
|
|
|
#define EXCEPTION_INVALID_HANDLE STATUS_INVALID_HANDLE
|
|
|
|
#define CONTROL_C_EXIT STATUS_CONTROL_C_EXIT
|
Release 951124
Tue Nov 21 18:49:10 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
* [configure.in] [Makefile] [misc/dos_fs.c]
Got rid of autoconf.h file.
* [debugger/dbg.y]
More logical behavior upon syntax errors.
* [include/hook.h] [windows/hook.c]
Changed hook structure and rewrote most of the hook functions for
better compatibility, based on investigations by Alex Korobka.
* [include/message.h] [windows/message.c]
Added hooks to message queue structure and made the structure
layout Windows-compatible.
Added support for WH_MOUSE, WH_KEYBOARD, WH_HARDWARE and
WH_JOURNALRECORD hooks.
* [misc/main.c]
Added command-line option for changing the language at run-time
(not implemented yet), based on a suggestion from Michael Patra.
* [objects/cursoricon.c]
Fixed silly SEGPTR bug in DumpIcon().
Mon Nov 20 22:22:22 1995 Alex Korobka <alex@phm30.pharm.sunysb.edu>
* [controls/listbox.c] [controls/combo.c] [include/listbox.h]
Partial implementaion of LBS_EXTENDEDSEL style,
yet more updates for drag & drop support. Now works.
* [windows/defwnd.c]
More message handlers.
* [windows/win.c]
DragObject, DragDetect, AnyPopup functions.
* [controls/listbox.c]
More kludgy fixes (WM_...TOITEM, etc.).
* [objects/cursoricon.c] [objects/oembitmap.c]
IconToCursor skeleton, patch for OBM_LoadCursorIcon to handle new
cursor.
* [include/bitmaps/ocr*]
New OEM cursors.
Mon Nov 20 11:05:20 EST 1995 Jim Peterson <jspeter@birch.ee.vt.edu>
* [toolkit/heap.c]
Swapped flags and size arguments to LocalRealloc as per changes in
memory/local.c by William Magro in previous release.
* [include/wintypes.h]
Reinstated the #define's for 'min' and 'max', since they're part of
the Windows API. I really don't think it's a wise idea, so I put
a '#ifndef DONT_DEFINE_min_AND_max' around them. I think the actual
WINE code should never use these (it should use 'MIN' and 'MAX'
instead).
* [loader/*]
Put '#ifndef WINELIB' around many things that WINElib should not need.
* [controls/edit.c]
Took out many '#if defined(WINELIB)' sections with the associated
comment 'temporary fix, until Local memory is correctly implemented in
WINELIB', since the effective translations are now in
toolkit/miscstubs.c.
Took out the #ifndef's I put in EDIT_ClearText. Whoever modified this
file fixed (or at least postponed) the bug I had encountered.
* [loader/task.c]
Put an #ifdef in TASK_CreateTask() that hardwires the current drive to
C: This will probably cause a lot of trouble if this change is
forgotten in the future, but it will let things like the OpenFileName
dialog work for now.
* [toolkit/libres.c] [toolkit/Makefile.in] [toolkit/Makefile]
[include/libres.h]
Made new libres.c file, which will contain functions for supporting
accessing resources by name in WINElib. 'winerc' will need to be
changed.
* [toolkit/heap.c]
Refined memory routines to allow for differences between LocalAlloc
and GlobalAlloc and between LocalSize and GlobalSize.
* [windows/message.c] [include/windows.h]
Defined the GetCurrentTime routine in windows/message.c, and removed
the #define in windows.h.
Mon Nov 20 00:36:42 MET 1995 Sven Verdoolaege <skimo@dns.ufsia.ac.be>
* [*/*]
Added new debugging type DEBUG_WIN32 and DEBUG_ENV.
* [loader/module.c]
Added undocumented GetExpWinVer.
* [tools/build.c]
Previous code didn't pop possibly changed %esi, %edi and %edx
from the stack.
* [win32/advapi.c]
Added GetUserNameA.
* [win32/code_page.c]
Added stub for MultiByteToWideChar.
* [win32/console.c]
Added SetConsoleCtrlHandler stub.
* [win32/file.c]
Added ReadFile CreateFileA GetFileInformationByHandle stubs.
Added CloseHandle.
* [win32/memory.c]
Changed VirtualAlloc and VirtualFree.
* [win32/process.c]
Added ExitProcess.
Sun Nov 19 17:54:42 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
* [include/windows.h]
Fixed a few broken structure definitions.
* [loader/resource.c]
FindResource(): Need to check for '#xxx' strings here.
* [miscemu/int21.c]
FindNext(): Return MS-DOS filenames uppercase.
* [objects/cursoricon.c]
CreateIcon(), CreateCursor(): Added missing element to CURSORICONINFO
initializers.
* [misc/file.c]
_lopen(): Files opened in OF_WRITE mode are truncated.
OpenFile(): Ignore OF_READ/OF_WRITE/OF_READWRITE when files are
created; use read/write mode.
* [misc/profile.c]
load(): Rewritten.
* [misc/commdlg.c]
Fixed bad call to strncpy() that smashed the stack.
* [controls/combo.c] [windows/winpos.c] [memory/selector.c]
Operator precedence fixes. People who use gcc 2.7.1 don't need a
debugger :-)
* [if1632/gdi.spec] [objects/palette.c]
Add ResizePalette() and AnimatePalette() stubs. They don't do anything,
but sometimes that's good enough.
Fri Nov 17 09:10:35 GMT 1995 John Harvey <john@division.co.uk>
* [include/wine.h] [include/registers.h] [include/winsock.h]
Added definitions for Unixware.
* [loader/signal.c] [misc/comm.c] [misc/winsocket.c]
Misc. fixes for Unixware.
* [loader/task.c]
Made assignemts to context in InitTask for registers use the macros
from registers.h to make them more portable. (Needed for Unixware)
* [tools/build.c]
Fixed register acces routines to work on Unixware. Bit grubby but
it seems to work.
* [controls/edit.c]
EDIT_WM_NCCreate allocates local heap if hasn't been previously
allocated.
* [miscemu/int21.c]
mkdir now creates directory with permission to access it.
* [misc/dos_fs.c]
mkdir now creates directory with permission to access it.
DOS_opendir now uses linked list of dirents to avoid problems with
realloc changing address of malloced memory.
Thu Nov 16 12:47:13 1995 Michael Patra <patra@itp1.Physik.TU-Berlin.DE>
* [controls/menu.c]
MENU_CalcItemSize(): Fixed handling of empty menu items.
Sat Nov 11 21:46:54 1995 Hans de Graaff <graaff@twi72.twi.tudelft.nl>
* [misc/file.c]
In OpenFile, unlink should be done on the unix filename.
Sat Nov 11 16:43:29 1995 Cameron Heide (heide@ee.ualberta.ca)
* [include/handle32.h]
New header file containing internal Win32 kernel handle
information.
* [win32/file.c]
Added ReadFile, CreateFile, and CloseFileHandle, and did
some reorganizing to match the new handle allocation scheme.
* [win32/init.c]
Added CloseHandle and the creation of standard I/O handles.
* [win32/object_mgt.c]
New module for allocating and freeing Win32 kernel handles.
1995-11-26 14:59:11 +01:00
|
|
|
|
1998-02-15 20:40:49 +01:00
|
|
|
#define HANDLE_FLAG_INHERIT 0x00000001
|
|
|
|
#define HANDLE_FLAG_PROTECT_FROM_CLOSE 0x00000002
|
|
|
|
|
1999-02-10 07:48:49 +01:00
|
|
|
#define HINSTANCE_ERROR 32
|
|
|
|
|
1998-04-13 14:21:30 +02:00
|
|
|
#define THREAD_PRIORITY_LOWEST THREAD_BASE_PRIORITY_MIN
|
|
|
|
#define THREAD_PRIORITY_BELOW_NORMAL (THREAD_PRIORITY_LOWEST+1)
|
|
|
|
#define THREAD_PRIORITY_NORMAL 0
|
|
|
|
#define THREAD_PRIORITY_HIGHEST THREAD_BASE_PRIORITY_MAX
|
|
|
|
#define THREAD_PRIORITY_ABOVE_NORMAL (THREAD_PRIORITY_HIGHEST-1)
|
|
|
|
#define THREAD_PRIORITY_ERROR_RETURN (0x7fffffff)
|
|
|
|
#define THREAD_PRIORITY_TIME_CRITICAL THREAD_BASE_PRIORITY_LOWRT
|
|
|
|
#define THREAD_PRIORITY_IDLE THREAD_BASE_PRIORITY_IDLE
|
|
|
|
|
2000-07-25 19:52:42 +02:00
|
|
|
/* flags to FormatMessage */
|
|
|
|
#define FORMAT_MESSAGE_ALLOCATE_BUFFER 0x00000100
|
|
|
|
#define FORMAT_MESSAGE_IGNORE_INSERTS 0x00000200
|
|
|
|
#define FORMAT_MESSAGE_FROM_STRING 0x00000400
|
|
|
|
#define FORMAT_MESSAGE_FROM_HMODULE 0x00000800
|
|
|
|
#define FORMAT_MESSAGE_FROM_SYSTEM 0x00001000
|
|
|
|
#define FORMAT_MESSAGE_ARGUMENT_ARRAY 0x00002000
|
|
|
|
#define FORMAT_MESSAGE_MAX_WIDTH_MASK 0x000000FF
|
|
|
|
|
2004-02-27 22:28:34 +01:00
|
|
|
/* flags to ACTCTX[AW] */
|
|
|
|
#define ACTCTX_FLAG_PROCESSOR_ARCHITECTURE_VALID (0x00000001)
|
|
|
|
#define ACTCTX_FLAG_LANGID_VALID (0x00000002)
|
|
|
|
#define ACTCTX_FLAG_ASSEMBLY_DIRECTORY_VALID (0x00000004)
|
|
|
|
#define ACTCTX_FLAG_RESOURCE_NAME_VALID (0x00000008)
|
|
|
|
#define ACTCTX_FLAG_SET_PROCESS_DEFAULT (0x00000010)
|
|
|
|
#define ACTCTX_FLAG_APPLICATION_NAME_VALID (0x00000020)
|
|
|
|
#define ACTCTX_FLAG_SOURCE_IS_ASSEMBLYREF (0x00000040)
|
|
|
|
#define ACTCTX_FLAG_HMODULE_VALID (0x00000080)
|
|
|
|
|
|
|
|
/* flags to DeactiveActCtx */
|
|
|
|
#define DEACTIVATE_ACTCTX_FLAG_FORCE_EARLY_DEACTIVATION (0x00000001)
|
|
|
|
|
|
|
|
/* flags to FindActCtxSection{Guid,String[AW]} */
|
|
|
|
#define FIND_ACTCTX_SECTION_KEY_RETURN_HACTCTX (0x00000001)
|
|
|
|
#define FIND_ACTCTX_SECTION_KEY_RETURN_FLAGS (0x00000002)
|
|
|
|
#define FIND_ACTCTX_SECTION_KEY_RETURN_ASSEMBLY_METADATA (0x00000004)
|
|
|
|
|
|
|
|
/* flags to QueryActCtxW */
|
|
|
|
#define QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX (0x00000004)
|
|
|
|
#define QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE (0x00000008)
|
|
|
|
#define QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS (0x00000010)
|
|
|
|
#define QUERY_ACTCTX_FLAG_NO_ADDREF (0x80000000)
|
|
|
|
|
|
|
|
typedef struct tagACTCTXA {
|
|
|
|
ULONG cbSize;
|
|
|
|
DWORD dwFlags;
|
|
|
|
LPCSTR lpSource;
|
|
|
|
USHORT wProcessorArchitecture;
|
|
|
|
LANGID wLangId;
|
|
|
|
LPCSTR lpAssemblyDirectory;
|
|
|
|
LPCSTR lpResourceName;
|
|
|
|
LPCSTR lpApplicationName;
|
|
|
|
HMODULE hModule;
|
|
|
|
} ACTCTXA, *PACTCTXA;
|
|
|
|
|
|
|
|
typedef struct tagACTCTXW {
|
|
|
|
ULONG cbSize;
|
|
|
|
DWORD dwFlags;
|
|
|
|
LPCWSTR lpSource;
|
|
|
|
USHORT wProcessorArchitecture;
|
|
|
|
LANGID wLangId;
|
|
|
|
LPCWSTR lpAssemblyDirectory;
|
|
|
|
LPCWSTR lpResourceName;
|
|
|
|
LPCWSTR lpApplicationName;
|
|
|
|
HMODULE hModule;
|
|
|
|
} ACTCTXW, *PACTCTXW;
|
|
|
|
|
|
|
|
DECL_WINELIB_TYPE_AW(ACTCTX)
|
|
|
|
DECL_WINELIB_TYPE_AW(PACTCTX)
|
|
|
|
|
|
|
|
typedef const ACTCTXA *PCACTCTXA;
|
|
|
|
typedef const ACTCTXW *PCACTCTXW;
|
|
|
|
DECL_WINELIB_TYPE_AW(PCACTCTX)
|
|
|
|
|
|
|
|
typedef struct tagACTCTX_SECTION_KEYED_DATA_2600 {
|
|
|
|
ULONG cbSize;
|
|
|
|
ULONG ulDataFormatVersion;
|
|
|
|
PVOID lpData;
|
|
|
|
ULONG ulLength;
|
|
|
|
PVOID lpSectionGlobalData;
|
|
|
|
ULONG ulSectionGlobalDataLength;
|
|
|
|
PVOID lpSectionBase;
|
|
|
|
ULONG ulSectionTotalLength;
|
|
|
|
HANDLE hActCtx;
|
|
|
|
ULONG ulAssemblyRosterIndex;
|
|
|
|
} ACTCTX_SECTION_KEYED_DATA_2600, *PACTCTX_SECTION_KEYED_DATA_2600;
|
|
|
|
typedef const ACTCTX_SECTION_KEYED_DATA_2600 *PCACTCTX_SECTION_KEYED_DATA_2600;
|
|
|
|
|
|
|
|
typedef struct tagACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA {
|
|
|
|
PVOID lpInformation;
|
|
|
|
PVOID lpSectionBase;
|
|
|
|
ULONG ulSectionLength;
|
|
|
|
PVOID lpSectionGlobalDataBase;
|
|
|
|
ULONG ulSectionGlobalDataLength;
|
|
|
|
} ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA, *PACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA;
|
|
|
|
typedef const ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA *PCACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA;
|
|
|
|
|
|
|
|
typedef struct tagACTCTX_SECTION_KEYED_DATA {
|
|
|
|
ULONG cbSize;
|
|
|
|
ULONG ulDataFormatVersion;
|
|
|
|
PVOID lpData;
|
|
|
|
ULONG ulLength;
|
|
|
|
PVOID lpSectionGlobalData;
|
|
|
|
ULONG ulSectionGlobalDataLength;
|
|
|
|
PVOID lpSectionBase;
|
|
|
|
ULONG ulSectionTotalLength;
|
|
|
|
HANDLE hActCtx;
|
|
|
|
ULONG ulAssemblyRosterIndex;
|
|
|
|
|
|
|
|
/* Non 2600 extra fields */
|
|
|
|
ULONG ulFlags;
|
|
|
|
ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA AssemblyMetadata;
|
|
|
|
} ACTCTX_SECTION_KEYED_DATA, *PACTCTX_SECTION_KEYED_DATA;
|
|
|
|
typedef const ACTCTX_SECTION_KEYED_DATA *PCACTCTX_SECTION_KEYED_DATA;
|
|
|
|
|
|
|
|
typedef struct _ACTIVATION_CONTEXT_BASIC_INFORMATION {
|
|
|
|
HANDLE hActCtx;
|
|
|
|
DWORD dwFlags;
|
|
|
|
} ACTIVATION_CONTEXT_BASIC_INFORMATION, *PACTIVATION_CONTEXT_BASIC_INFORMATION;
|
|
|
|
|
|
|
|
typedef BOOL (WINAPI *PQUERYACTCTXW_FUNC)(DWORD,HANDLE,PVOID,ULONG,PVOID,SIZE_T,SIZE_T *);
|
|
|
|
|
1999-03-14 13:25:36 +01:00
|
|
|
typedef struct tagCOMSTAT
|
|
|
|
{
|
2002-10-23 20:50:10 +02:00
|
|
|
DWORD fCtsHold : 1;
|
|
|
|
DWORD fDsrHold : 1;
|
|
|
|
DWORD fRlsdHold : 1;
|
|
|
|
DWORD fXoffHold : 1;
|
|
|
|
DWORD fXoffSent : 1;
|
|
|
|
DWORD fEof : 1;
|
|
|
|
DWORD fTxim : 1;
|
|
|
|
DWORD fReserved : 25;
|
1999-03-14 13:25:36 +01:00
|
|
|
DWORD cbInQue;
|
|
|
|
DWORD cbOutQue;
|
2002-10-23 20:50:10 +02:00
|
|
|
} COMSTAT, *LPCOMSTAT;
|
1999-01-01 19:57:33 +01:00
|
|
|
|
1999-02-26 12:11:13 +01:00
|
|
|
typedef struct tagDCB
|
1999-01-01 19:57:33 +01:00
|
|
|
{
|
|
|
|
DWORD DCBlength;
|
|
|
|
DWORD BaudRate;
|
1999-04-22 18:27:50 +02:00
|
|
|
unsigned fBinary :1;
|
|
|
|
unsigned fParity :1;
|
|
|
|
unsigned fOutxCtsFlow :1;
|
|
|
|
unsigned fOutxDsrFlow :1;
|
|
|
|
unsigned fDtrControl :2;
|
|
|
|
unsigned fDsrSensitivity :1;
|
|
|
|
unsigned fTXContinueOnXoff :1;
|
|
|
|
unsigned fOutX :1;
|
|
|
|
unsigned fInX :1;
|
|
|
|
unsigned fErrorChar :1;
|
|
|
|
unsigned fNull :1;
|
|
|
|
unsigned fRtsControl :2;
|
|
|
|
unsigned fAbortOnError :1;
|
|
|
|
unsigned fDummy2 :17;
|
1999-01-01 19:57:33 +01:00
|
|
|
WORD wReserved;
|
|
|
|
WORD XonLim;
|
|
|
|
WORD XoffLim;
|
|
|
|
BYTE ByteSize;
|
|
|
|
BYTE Parity;
|
|
|
|
BYTE StopBits;
|
|
|
|
char XonChar;
|
|
|
|
char XoffChar;
|
|
|
|
char ErrorChar;
|
|
|
|
char EofChar;
|
|
|
|
char EvtChar;
|
2003-09-12 02:26:15 +02:00
|
|
|
WORD wReserved1;
|
1999-02-26 12:11:13 +01:00
|
|
|
} DCB, *LPDCB;
|
1999-01-01 19:57:33 +01:00
|
|
|
|
2000-06-15 02:15:11 +02:00
|
|
|
typedef struct tagCOMMCONFIG {
|
|
|
|
DWORD dwSize;
|
|
|
|
WORD wVersion;
|
|
|
|
WORD wReserved;
|
|
|
|
DCB dcb;
|
|
|
|
DWORD dwProviderSubType;
|
|
|
|
DWORD dwProviderOffset;
|
|
|
|
DWORD dwProviderSize;
|
|
|
|
DWORD wcProviderData[1];
|
|
|
|
} COMMCONFIG, *LPCOMMCONFIG;
|
|
|
|
|
|
|
|
typedef struct tagCOMMPROP {
|
|
|
|
WORD wPacketLength;
|
|
|
|
WORD wPacketVersion;
|
|
|
|
DWORD dwServiceMask;
|
|
|
|
DWORD dwReserved1;
|
|
|
|
DWORD dwMaxTxQueue;
|
|
|
|
DWORD dwMaxRxQueue;
|
|
|
|
DWORD dwMaxBaud;
|
|
|
|
DWORD dwProvSubType;
|
|
|
|
DWORD dwProvCapabilities;
|
|
|
|
DWORD dwSettableParams;
|
|
|
|
DWORD dwSettableBaud;
|
|
|
|
WORD wSettableData;
|
|
|
|
WORD wSettableStopParity;
|
|
|
|
DWORD dwCurrentTxQueue;
|
|
|
|
DWORD dwCurrentRxQueue;
|
|
|
|
DWORD dwProvSpec1;
|
|
|
|
DWORD dwProvSpec2;
|
|
|
|
WCHAR wcProvChar[1];
|
|
|
|
} COMMPROP, *LPCOMMPROP;
|
|
|
|
|
|
|
|
#define SP_SERIALCOMM ((DWORD)1)
|
|
|
|
|
|
|
|
#define BAUD_075 ((DWORD)0x01)
|
|
|
|
#define BAUD_110 ((DWORD)0x02)
|
|
|
|
#define BAUD_134_5 ((DWORD)0x04)
|
|
|
|
#define BAUD_150 ((DWORD)0x08)
|
|
|
|
#define BAUD_300 ((DWORD)0x10)
|
|
|
|
#define BAUD_600 ((DWORD)0x20)
|
|
|
|
#define BAUD_1200 ((DWORD)0x40)
|
|
|
|
#define BAUD_1800 ((DWORD)0x80)
|
|
|
|
#define BAUD_2400 ((DWORD)0x100)
|
|
|
|
#define BAUD_4800 ((DWORD)0x200)
|
|
|
|
#define BAUD_7200 ((DWORD)0x400)
|
|
|
|
#define BAUD_9600 ((DWORD)0x800)
|
|
|
|
#define BAUD_14400 ((DWORD)0x1000)
|
|
|
|
#define BAUD_19200 ((DWORD)0x2000)
|
|
|
|
#define BAUD_38400 ((DWORD)0x4000)
|
|
|
|
#define BAUD_56K ((DWORD)0x8000)
|
|
|
|
#define BAUD_57600 ((DWORD)0x40000)
|
|
|
|
#define BAUD_115200 ((DWORD)0x20000)
|
|
|
|
#define BAUD_128K ((DWORD)0x10000)
|
|
|
|
#define BAUD_USER ((DWORD)0x10000000)
|
|
|
|
|
|
|
|
#define PST_FAX ((DWORD)0x21)
|
|
|
|
#define PST_LAT ((DWORD)0x101)
|
|
|
|
#define PST_MODEM ((DWORD)0x06)
|
|
|
|
#define PST_NETWORK_BRIDGE ((DWORD)0x100)
|
2007-10-26 17:18:45 +02:00
|
|
|
#define PST_PARALLELPORT ((DWORD)0x02)
|
2000-06-15 02:15:11 +02:00
|
|
|
#define PST_RS232 ((DWORD)0x01)
|
|
|
|
#define PST_RS442 ((DWORD)0x03)
|
|
|
|
#define PST_RS423 ((DWORD)0x04)
|
|
|
|
#define PST_RS449 ((DWORD)0x06)
|
|
|
|
#define PST_SCANNER ((DWORD)0x22)
|
|
|
|
#define PST_TCPIP_TELNET ((DWORD)0x102)
|
|
|
|
#define PST_UNSPECIFIED ((DWORD)0x00)
|
|
|
|
#define PST_X25 ((DWORD)0x103)
|
|
|
|
|
|
|
|
#define PCF_16BITMODE ((DWORD)0x200)
|
|
|
|
#define PCF_DTRDSR ((DWORD)0x01)
|
|
|
|
#define PCF_INTTIMEOUTS ((DWORD)0x80)
|
|
|
|
#define PCF_PARITY_CHECK ((DWORD)0x08)
|
|
|
|
#define PCF_RLSD ((DWORD)0x04)
|
|
|
|
#define PCF_RTSCTS ((DWORD)0x02)
|
|
|
|
#define PCF_SETXCHAR ((DWORD)0x20)
|
|
|
|
#define PCF_SPECIALCHARS ((DWORD)0x100)
|
|
|
|
#define PCF_TOTALTIMEOUTS ((DWORD)0x40)
|
|
|
|
#define PCF_XONXOFF ((DWORD)0x10)
|
|
|
|
|
|
|
|
#define SP_BAUD ((DWORD)0x02)
|
|
|
|
#define SP_DATABITS ((DWORD)0x04)
|
|
|
|
#define SP_HANDSHAKING ((DWORD)0x10)
|
|
|
|
#define SP_PARITY ((DWORD)0x01)
|
|
|
|
#define SP_PARITY_CHECK ((DWORD)0x20)
|
|
|
|
#define SP_RLSD ((DWORD)0x40)
|
|
|
|
#define SP_STOPBITS ((DWORD)0x08)
|
|
|
|
|
|
|
|
#define DATABITS_5 ((DWORD)0x01)
|
|
|
|
#define DATABITS_6 ((DWORD)0x02)
|
|
|
|
#define DATABITS_7 ((DWORD)0x04)
|
|
|
|
#define DATABITS_8 ((DWORD)0x08)
|
|
|
|
#define DATABITS_16 ((DWORD)0x10)
|
|
|
|
#define DATABITS_16X ((DWORD)0x20)
|
|
|
|
|
|
|
|
#define STOPBITS_10 ((DWORD)1)
|
|
|
|
#define STOPBITS_15 ((DWORD)2)
|
|
|
|
#define STOPBITS_20 ((DWORD)4)
|
|
|
|
|
|
|
|
#define PARITY_NONE ((DWORD)0x100)
|
|
|
|
#define PARITY_ODD ((DWORD)0x200)
|
|
|
|
#define PARITY_EVEN ((DWORD)0x400)
|
|
|
|
#define PARITY_MARK ((DWORD)0x800)
|
|
|
|
#define PARITY_SPACE ((DWORD)0x1000)
|
1999-01-01 19:57:33 +01:00
|
|
|
|
|
|
|
typedef struct tagCOMMTIMEOUTS {
|
|
|
|
DWORD ReadIntervalTimeout;
|
|
|
|
DWORD ReadTotalTimeoutMultiplier;
|
|
|
|
DWORD ReadTotalTimeoutConstant;
|
|
|
|
DWORD WriteTotalTimeoutMultiplier;
|
|
|
|
DWORD WriteTotalTimeoutConstant;
|
|
|
|
} COMMTIMEOUTS,*LPCOMMTIMEOUTS;
|
2000-06-15 02:15:11 +02:00
|
|
|
|
2006-01-26 13:22:24 +01:00
|
|
|
#define GET_TAPE_MEDIA_INFORMATION 0
|
|
|
|
#define GET_TAPE_DRIVE_INFORMATION 1
|
|
|
|
#define SET_TAPE_MEDIA_INFORMATION 0
|
|
|
|
#define SET_TAPE_DRIVE_INFORMATION 1
|
|
|
|
|
2009-03-29 23:36:33 +02:00
|
|
|
#define PROCESS_NAME_NATIVE 1
|
|
|
|
|
2002-02-01 00:22:07 +01:00
|
|
|
typedef void (CALLBACK *PAPCFUNC)(ULONG_PTR);
|
|
|
|
typedef void (CALLBACK *PTIMERAPCROUTINE)(LPVOID,DWORD,DWORD);
|
2002-01-29 19:15:11 +01:00
|
|
|
|
|
|
|
typedef enum _COMPUTER_NAME_FORMAT
|
|
|
|
{
|
|
|
|
ComputerNameNetBIOS,
|
|
|
|
ComputerNameDnsHostname,
|
|
|
|
ComputerNameDnsDomain,
|
|
|
|
ComputerNameDnsFullyQualified,
|
|
|
|
ComputerNamePhysicalNetBIOS,
|
|
|
|
ComputerNamePhysicalDnsHostname,
|
|
|
|
ComputerNamePhysicalDnsDomain,
|
|
|
|
ComputerNamePhysicalDnsFullyQualified,
|
|
|
|
ComputerNameMax
|
|
|
|
} COMPUTER_NAME_FORMAT;
|
|
|
|
|
2003-07-21 22:05:11 +02:00
|
|
|
#define HW_PROFILE_GUIDLEN 39
|
|
|
|
#define MAX_PROFILE_LEN 80
|
|
|
|
|
|
|
|
#define DOCKINFO_UNDOCKED 0x1
|
|
|
|
#define DOCKINFO_DOCKED 0x2
|
|
|
|
#define DOCKINFO_USER_SUPPLIED 0x4
|
|
|
|
#define DOCKINFO_USER_UNDOCKED (DOCKINFO_USER_SUPPLIED | DOCKINFO_UNDOCKED)
|
|
|
|
#define DOCKINFO_USER_DOCKED (DOCKINFO_USER_SUPPLIED | DOCKINFO_DOCKED)
|
|
|
|
|
|
|
|
typedef struct tagHW_PROFILE_INFOA {
|
|
|
|
DWORD dwDockInfo;
|
|
|
|
CHAR szHwProfileGuid[HW_PROFILE_GUIDLEN];
|
|
|
|
CHAR szHwProfileName[MAX_PROFILE_LEN];
|
|
|
|
} HW_PROFILE_INFOA, *LPHW_PROFILE_INFOA;
|
|
|
|
|
|
|
|
typedef struct tagHW_PROFILE_INFOW {
|
|
|
|
DWORD dwDockInfo;
|
|
|
|
WCHAR szHwProfileGuid[HW_PROFILE_GUIDLEN];
|
|
|
|
WCHAR szHwProfileName[MAX_PROFILE_LEN];
|
|
|
|
} HW_PROFILE_INFOW, *LPHW_PROFILE_INFOW;
|
|
|
|
|
|
|
|
DECL_WINELIB_TYPE_AW(HW_PROFILE_INFO)
|
|
|
|
DECL_WINELIB_TYPE_AW(LPHW_PROFILE_INFO)
|
|
|
|
|
|
|
|
/* Stream data structures and defines */
|
|
|
|
/*the types of backup data -- WIN32_STREAM_ID.dwStreamId below*/
|
|
|
|
#define BACKUP_INVALID 0
|
|
|
|
#define BACKUP_DATA 1
|
|
|
|
#define BACKUP_EA_DATA 2
|
|
|
|
#define BACKUP_SECURITY_DATA 3
|
|
|
|
#define BACKUP_ALTERNATE_DATA 4
|
|
|
|
#define BACKUP_LINK 5
|
|
|
|
#define BACKUP_PROPERTY_DATA 6
|
|
|
|
#define BACKUP_OBJECT_ID 7
|
|
|
|
#define BACKUP_REPARSE_DATA 8
|
|
|
|
#define BACKUP_SPARSE_BLOCK 9
|
|
|
|
|
|
|
|
/*flags for WIN32_STREAM_ID.dwStreamAttributes below*/
|
|
|
|
#define STREAM_NORMAL_ATTRIBUTE 0
|
|
|
|
#define STREAM_MODIFIED_WHEN_READ 1
|
|
|
|
#define STREAM_CONTAINS_SECURITY 2
|
|
|
|
#define STREAM_CONTAINS_PROPERTIES 4
|
|
|
|
#define STREAM_SPARSE_ATTRIBUTE 8
|
|
|
|
|
2004-08-24 22:16:25 +02:00
|
|
|
#include <pshpack8.h>
|
2003-07-21 22:05:11 +02:00
|
|
|
typedef struct _WIN32_STREAM_ID {
|
|
|
|
DWORD dwStreamId;
|
|
|
|
DWORD dwStreamAttributes;
|
2004-08-24 22:16:25 +02:00
|
|
|
LARGE_INTEGER DECLSPEC_ALIGN(8) Size;
|
2003-07-21 22:05:11 +02:00
|
|
|
DWORD dwStreamNameSize;
|
|
|
|
WCHAR cStreamName[ANYSIZE_ARRAY];
|
|
|
|
} WIN32_STREAM_ID, *LPWIN32_STREAM_ID;
|
2004-08-24 22:16:25 +02:00
|
|
|
#include <poppack.h>
|
1996-04-14 15:21:20 +02:00
|
|
|
|
1998-12-24 17:24:43 +01:00
|
|
|
|
|
|
|
/* GetBinaryType return values.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define SCS_32BIT_BINARY 0
|
|
|
|
#define SCS_DOS_BINARY 1
|
|
|
|
#define SCS_WOW_BINARY 2
|
|
|
|
#define SCS_PIF_BINARY 3
|
|
|
|
#define SCS_POSIX_BINARY 4
|
|
|
|
#define SCS_OS216_BINARY 5
|
2006-01-16 20:40:33 +01:00
|
|
|
#define SCS_64BIT_BINARY 6
|
1998-12-24 17:24:43 +01:00
|
|
|
|
2003-11-14 05:54:39 +01:00
|
|
|
/* flags for DefineDosDevice */
|
|
|
|
#define DDD_RAW_TARGET_PATH 0x00000001
|
|
|
|
#define DDD_REMOVE_DEFINITION 0x00000002
|
|
|
|
#define DDD_EXACT_MATCH_ON_REMOVE 0x00000004
|
|
|
|
#define DDD_NO_BROADCAST_SYSTEM 0x00000008
|
|
|
|
#define DDD_LUID_BROADCAST_DRIVE 0x00000010
|
|
|
|
|
2009-03-29 19:39:15 +02:00
|
|
|
#define LOGON_WITH_PROFILE 0x00000001
|
|
|
|
#define LOGON_NETCREDENTIALS_ONLY 0x00000002
|
|
|
|
#define LOGON_ZERO_PASSWORD_BUFFER 0x80000000
|
|
|
|
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI BOOL WINAPI ActivateActCtx(HANDLE,ULONG_PTR *);
|
|
|
|
WINADVAPI BOOL WINAPI AddAccessAllowedAce(PACL,DWORD,DWORD,PSID);
|
|
|
|
WINADVAPI BOOL WINAPI AddAccessAllowedAceEx(PACL,DWORD,DWORD,DWORD,PSID);
|
|
|
|
WINADVAPI BOOL WINAPI AddAccessDeniedAce(PACL,DWORD,DWORD,PSID);
|
|
|
|
WINADVAPI BOOL WINAPI AddAccessDeniedAceEx(PACL,DWORD,DWORD,DWORD,PSID);
|
|
|
|
WINADVAPI BOOL WINAPI AddAce(PACL,DWORD,DWORD,LPVOID,DWORD);
|
|
|
|
WINBASEAPI ATOM WINAPI AddAtomA(LPCSTR);
|
|
|
|
WINBASEAPI ATOM WINAPI AddAtomW(LPCWSTR);
|
|
|
|
#define AddAtom WINELIB_NAME_AW(AddAtom)
|
|
|
|
WINADVAPI BOOL WINAPI AddAuditAccessAce(PACL,DWORD,DWORD,PSID,BOOL,BOOL);
|
|
|
|
WINADVAPI BOOL WINAPI AddAuditAccessAceEx(PACL,DWORD,DWORD,DWORD,PSID,BOOL,BOOL);
|
|
|
|
WINBASEAPI VOID WINAPI AddRefActCtx(HANDLE);
|
|
|
|
WINBASEAPI PVOID WINAPI AddVectoredExceptionHandler(ULONG,PVECTORED_EXCEPTION_HANDLER);
|
|
|
|
WINADVAPI BOOL WINAPI AdjustTokenGroups(HANDLE,BOOL,PTOKEN_GROUPS,DWORD,PTOKEN_GROUPS,PDWORD);
|
|
|
|
WINADVAPI BOOL WINAPI AccessCheck(PSECURITY_DESCRIPTOR,HANDLE,DWORD,PGENERIC_MAPPING,PPRIVILEGE_SET,LPDWORD,LPDWORD,LPBOOL);
|
|
|
|
WINADVAPI BOOL WINAPI AccessCheckAndAuditAlarmA(LPCSTR,LPVOID,LPSTR,LPSTR,PSECURITY_DESCRIPTOR,DWORD,PGENERIC_MAPPING,BOOL,LPDWORD,LPBOOL,LPBOOL);
|
|
|
|
WINADVAPI BOOL WINAPI AccessCheckAndAuditAlarmW(LPCWSTR,LPVOID,LPWSTR,LPWSTR,PSECURITY_DESCRIPTOR,DWORD,PGENERIC_MAPPING,BOOL,LPDWORD,LPBOOL,LPBOOL);
|
|
|
|
#define AccessCheckAndAuditAlarm WINELIB_NAME_AW(AccessCheckAndAuditAlarm)
|
|
|
|
WINADVAPI BOOL WINAPI AccessCheckByType(PSECURITY_DESCRIPTOR,PSID,HANDLE,DWORD,POBJECT_TYPE_LIST,DWORD,PGENERIC_MAPPING,PPRIVILEGE_SET,LPDWORD,LPDWORD,LPBOOL);
|
|
|
|
WINADVAPI BOOL WINAPI AdjustTokenPrivileges(HANDLE,BOOL,PTOKEN_PRIVILEGES,DWORD,PTOKEN_PRIVILEGES,PDWORD);
|
|
|
|
WINADVAPI BOOL WINAPI AllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY,BYTE,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,PSID *);
|
|
|
|
WINADVAPI BOOL WINAPI AllocateLocallyUniqueId(PLUID);
|
|
|
|
WINADVAPI BOOL WINAPI AreAllAccessesGranted(DWORD,DWORD);
|
|
|
|
WINADVAPI BOOL WINAPI AreAnyAccessesGranted(DWORD,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI AreFileApisANSI(void);
|
|
|
|
WINBASEAPI BOOL WINAPI AssignProcessToJobObject(HANDLE,HANDLE);
|
|
|
|
WINADVAPI BOOL WINAPI BackupEventLogA(HANDLE,LPCSTR);
|
|
|
|
WINADVAPI BOOL WINAPI BackupEventLogW(HANDLE,LPCWSTR);
|
|
|
|
#define BackupEventLog WINELIB_NAME_AW(BackupEventLog)
|
|
|
|
WINBASEAPI BOOL WINAPI BackupRead(HANDLE,LPBYTE,DWORD,LPDWORD,BOOL,BOOL,LPVOID*);
|
|
|
|
WINBASEAPI BOOL WINAPI BackupSeek(HANDLE,DWORD,DWORD,LPDWORD,LPDWORD,LPVOID*);
|
|
|
|
WINBASEAPI BOOL WINAPI BackupWrite(HANDLE,LPBYTE,DWORD,LPDWORD,BOOL,BOOL,LPVOID*);
|
|
|
|
WINBASEAPI BOOL WINAPI Beep(DWORD,DWORD);
|
|
|
|
WINBASEAPI HANDLE WINAPI BeginUpdateResourceA(LPCSTR,BOOL);
|
|
|
|
WINBASEAPI HANDLE WINAPI BeginUpdateResourceW(LPCWSTR,BOOL);
|
|
|
|
#define BeginUpdateResource WINELIB_NAME_AW(BeginUpdateResource)
|
|
|
|
WINBASEAPI BOOL WINAPI BindIoCompletionCallback(HANDLE,LPOVERLAPPED_COMPLETION_ROUTINE,ULONG);
|
|
|
|
WINBASEAPI BOOL WINAPI BuildCommDCBA(LPCSTR,LPDCB);
|
|
|
|
WINBASEAPI BOOL WINAPI BuildCommDCBW(LPCWSTR,LPDCB);
|
|
|
|
#define BuildCommDCB WINELIB_NAME_AW(BuildCommDCB)
|
|
|
|
WINBASEAPI BOOL WINAPI BuildCommDCBAndTimeoutsA(LPCSTR,LPDCB,LPCOMMTIMEOUTS);
|
|
|
|
WINBASEAPI BOOL WINAPI BuildCommDCBAndTimeoutsW(LPCWSTR,LPDCB,LPCOMMTIMEOUTS);
|
|
|
|
#define BuildCommDCBAndTimeouts WINELIB_NAME_AW(BuildCommDCBAndTimeouts)
|
|
|
|
WINBASEAPI BOOL WINAPI CallNamedPipeA(LPCSTR,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI CallNamedPipeW(LPCWSTR,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,DWORD);
|
|
|
|
#define CallNamedPipe WINELIB_NAME_AW(CallNamedPipe)
|
|
|
|
WINBASEAPI BOOL WINAPI CancelIo(HANDLE);
|
|
|
|
WINBASEAPI BOOL WINAPI CancelWaitableTimer(HANDLE);
|
2008-07-22 02:42:03 +02:00
|
|
|
WINBASEAPI BOOL WINAPI ChangeTimerQueueTimer(HANDLE,HANDLE,ULONG,ULONG);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINADVAPI BOOL WINAPI CheckTokenMembership(HANDLE,PSID,PBOOL);
|
|
|
|
WINBASEAPI BOOL WINAPI ClearCommBreak(HANDLE);
|
|
|
|
WINBASEAPI BOOL WINAPI ClearCommError(HANDLE,LPDWORD,LPCOMSTAT);
|
|
|
|
WINADVAPI BOOL WINAPI ClearEventLogA(HANDLE,LPCSTR);
|
|
|
|
WINADVAPI BOOL WINAPI ClearEventLogW(HANDLE,LPCWSTR);
|
|
|
|
#define ClearEventLog WINELIB_NAME_AW(ClearEventLog)
|
|
|
|
WINADVAPI BOOL WINAPI CloseEventLog(HANDLE);
|
|
|
|
WINBASEAPI BOOL WINAPI CloseHandle(HANDLE);
|
|
|
|
WINBASEAPI BOOL WINAPI CommConfigDialogA(LPCSTR,HWND,LPCOMMCONFIG);
|
|
|
|
WINBASEAPI BOOL WINAPI CommConfigDialogW(LPCWSTR,HWND,LPCOMMCONFIG);
|
|
|
|
#define CommConfigDialog WINELIB_NAME_AW(CommConfigDialog)
|
|
|
|
WINBASEAPI BOOL WINAPI ConnectNamedPipe(HANDLE,LPOVERLAPPED);
|
|
|
|
WINBASEAPI BOOL WINAPI ContinueDebugEvent(DWORD,DWORD,DWORD);
|
|
|
|
WINBASEAPI HANDLE WINAPI ConvertToGlobalHandle(HANDLE hSrc);
|
|
|
|
WINBASEAPI BOOL WINAPI CopyFileA(LPCSTR,LPCSTR,BOOL);
|
|
|
|
WINBASEAPI BOOL WINAPI CopyFileW(LPCWSTR,LPCWSTR,BOOL);
|
|
|
|
#define CopyFile WINELIB_NAME_AW(CopyFile)
|
|
|
|
WINBASEAPI BOOL WINAPI CopyFileExA(LPCSTR, LPCSTR, LPPROGRESS_ROUTINE, LPVOID, LPBOOL, DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI CopyFileExW(LPCWSTR, LPCWSTR, LPPROGRESS_ROUTINE, LPVOID, LPBOOL, DWORD);
|
|
|
|
#define CopyFileEx WINELIB_NAME_AW(CopyFileEx)
|
|
|
|
WINADVAPI BOOL WINAPI CopySid(DWORD,PSID,PSID);
|
|
|
|
WINBASEAPI INT WINAPI CompareFileTime(const FILETIME*,const FILETIME*);
|
|
|
|
WINBASEAPI BOOL WINAPI ConvertFiberToThread(void);
|
|
|
|
WINBASEAPI LPVOID WINAPI ConvertThreadToFiber(LPVOID);
|
|
|
|
WINBASEAPI LPVOID WINAPI ConvertThreadToFiberEx(LPVOID,DWORD);
|
2008-08-27 16:40:37 +02:00
|
|
|
WINADVAPI BOOL WINAPI ConvertToAutoInheritPrivateObjectSecurity(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR*,GUID*,BOOL,PGENERIC_MAPPING);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI HANDLE WINAPI CreateActCtxA(PCACTCTXA);
|
|
|
|
WINBASEAPI HANDLE WINAPI CreateActCtxW(PCACTCTXW);
|
|
|
|
#define CreateActCtx WINELIB_NAME_AW(CreateActCtx)
|
|
|
|
WINBASEAPI BOOL WINAPI CreateDirectoryA(LPCSTR,LPSECURITY_ATTRIBUTES);
|
|
|
|
WINBASEAPI BOOL WINAPI CreateDirectoryW(LPCWSTR,LPSECURITY_ATTRIBUTES);
|
|
|
|
#define CreateDirectory WINELIB_NAME_AW(CreateDirectory)
|
|
|
|
WINBASEAPI BOOL WINAPI CreateDirectoryExA(LPCSTR,LPCSTR,LPSECURITY_ATTRIBUTES);
|
|
|
|
WINBASEAPI BOOL WINAPI CreateDirectoryExW(LPCWSTR,LPCWSTR,LPSECURITY_ATTRIBUTES);
|
|
|
|
#define CreateDirectoryEx WINELIB_NAME_AW(CreateDirectoryEx)
|
|
|
|
WINBASEAPI HANDLE WINAPI CreateEventA(LPSECURITY_ATTRIBUTES,BOOL,BOOL,LPCSTR);
|
|
|
|
WINBASEAPI HANDLE WINAPI CreateEventW(LPSECURITY_ATTRIBUTES,BOOL,BOOL,LPCWSTR);
|
|
|
|
#define CreateEvent WINELIB_NAME_AW(CreateEvent)
|
2008-11-11 12:17:05 +01:00
|
|
|
WINBASEAPI HANDLE WINAPI CreateEventExA(SECURITY_ATTRIBUTES*,LPCSTR,DWORD,DWORD);
|
|
|
|
WINBASEAPI HANDLE WINAPI CreateEventExW(SECURITY_ATTRIBUTES*,LPCWSTR,DWORD,DWORD);
|
|
|
|
#define CreateEventEx WINELIB_NAME_AW(CreateEventEx)
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI LPVOID WINAPI CreateFiber(SIZE_T,LPFIBER_START_ROUTINE,LPVOID);
|
|
|
|
WINBASEAPI LPVOID WINAPI CreateFiberEx(SIZE_T,SIZE_T,DWORD,LPFIBER_START_ROUTINE,LPVOID);
|
|
|
|
WINBASEAPI HANDLE WINAPI CreateFileA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE);
|
|
|
|
WINBASEAPI HANDLE WINAPI CreateFileW(LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE);
|
|
|
|
#define CreateFile WINELIB_NAME_AW(CreateFile)
|
|
|
|
WINBASEAPI HANDLE WINAPI CreateFileMappingA(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,DWORD,DWORD,LPCSTR);
|
|
|
|
WINBASEAPI HANDLE WINAPI CreateFileMappingW(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,DWORD,DWORD,LPCWSTR);
|
|
|
|
#define CreateFileMapping WINELIB_NAME_AW(CreateFileMapping)
|
|
|
|
WINBASEAPI HANDLE WINAPI CreateIoCompletionPort(HANDLE,HANDLE,ULONG_PTR,DWORD);
|
|
|
|
WINBASEAPI HANDLE WINAPI CreateJobObjectA(LPSECURITY_ATTRIBUTES,LPCSTR);
|
|
|
|
WINBASEAPI HANDLE WINAPI CreateJobObjectW(LPSECURITY_ATTRIBUTES,LPCWSTR);
|
|
|
|
#define CreateJobObject WINELIB_NAME_AW(CreateJobObject)
|
|
|
|
WINBASEAPI HANDLE WINAPI CreateMailslotA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
|
|
|
|
WINBASEAPI HANDLE WINAPI CreateMailslotW(LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
|
|
|
|
#define CreateMailslot WINELIB_NAME_AW(CreateMailslot)
|
|
|
|
WINBASEAPI HANDLE WINAPI CreateMutexA(LPSECURITY_ATTRIBUTES,BOOL,LPCSTR);
|
|
|
|
WINBASEAPI HANDLE WINAPI CreateMutexW(LPSECURITY_ATTRIBUTES,BOOL,LPCWSTR);
|
|
|
|
#define CreateMutex WINELIB_NAME_AW(CreateMutex)
|
2008-11-11 12:17:05 +01:00
|
|
|
WINBASEAPI HANDLE WINAPI CreateMutexExA(SECURITY_ATTRIBUTES*,LPCSTR,DWORD,DWORD);
|
|
|
|
WINBASEAPI HANDLE WINAPI CreateMutexExW(SECURITY_ATTRIBUTES*,LPCWSTR,DWORD,DWORD);
|
|
|
|
#define CreateMutexEx WINELIB_NAME_AW(CreateMutexEx)
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI HANDLE WINAPI CreateNamedPipeA(LPCSTR,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
|
|
|
|
WINBASEAPI HANDLE WINAPI CreateNamedPipeW(LPCWSTR,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
|
|
|
|
#define CreateNamedPipe WINELIB_NAME_AW(CreateNamedPipe)
|
|
|
|
WINBASEAPI BOOL WINAPI CreatePipe(PHANDLE,PHANDLE,LPSECURITY_ATTRIBUTES,DWORD);
|
|
|
|
WINADVAPI BOOL WINAPI CreatePrivateObjectSecurity(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR*,BOOL,HANDLE,PGENERIC_MAPPING);
|
|
|
|
WINBASEAPI BOOL WINAPI CreateProcessA(LPCSTR,LPSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,LPVOID,LPCSTR,LPSTARTUPINFOA,LPPROCESS_INFORMATION);
|
|
|
|
WINBASEAPI BOOL WINAPI CreateProcessW(LPCWSTR,LPWSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,LPVOID,LPCWSTR,LPSTARTUPINFOW,LPPROCESS_INFORMATION);
|
|
|
|
#define CreateProcess WINELIB_NAME_AW(CreateProcess)
|
|
|
|
WINADVAPI BOOL WINAPI CreateProcessAsUserA(HANDLE,LPCSTR,LPSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,LPVOID,LPCSTR,LPSTARTUPINFOA,LPPROCESS_INFORMATION);
|
|
|
|
WINADVAPI BOOL WINAPI CreateProcessAsUserW(HANDLE,LPCWSTR,LPWSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,LPVOID,LPCWSTR,LPSTARTUPINFOW,LPPROCESS_INFORMATION);
|
|
|
|
#define CreateProcessAsUser WINELIB_NAME_AW(CreateProcessAsUser)
|
2009-03-29 19:39:15 +02:00
|
|
|
WINADVAPI BOOL WINAPI CreateProcessWithLogonW(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,LPCWSTR,LPWSTR,DWORD,LPVOID,LPCWSTR,LPSTARTUPINFOW,LPPROCESS_INFORMATION);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI HANDLE WINAPI CreateRemoteThread(HANDLE,LPSECURITY_ATTRIBUTES,SIZE_T,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD);
|
2008-03-21 23:37:36 +01:00
|
|
|
WINADVAPI BOOL WINAPI CreateRestrictedToken(HANDLE,DWORD,DWORD,PSID_AND_ATTRIBUTES,DWORD,PLUID_AND_ATTRIBUTES,DWORD,PSID_AND_ATTRIBUTES,PHANDLE);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI HANDLE WINAPI CreateSemaphoreA(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCSTR);
|
|
|
|
WINBASEAPI HANDLE WINAPI CreateSemaphoreW(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCWSTR);
|
|
|
|
#define CreateSemaphore WINELIB_NAME_AW(CreateSemaphore)
|
2008-11-11 12:17:05 +01:00
|
|
|
WINBASEAPI HANDLE WINAPI CreateSemaphoreExA(SECURITY_ATTRIBUTES*,LONG,LONG,LPCSTR,DWORD,DWORD);
|
|
|
|
WINBASEAPI HANDLE WINAPI CreateSemaphoreExW(SECURITY_ATTRIBUTES*,LONG,LONG,LPCWSTR,DWORD,DWORD);
|
|
|
|
#define CreateSemaphoreEx WINELIB_NAME_AW(CreateSemaphoreEx)
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI DWORD WINAPI CreateTapePartition(HANDLE,DWORD,DWORD,DWORD);
|
|
|
|
WINBASEAPI HANDLE WINAPI CreateThread(LPSECURITY_ATTRIBUTES,SIZE_T,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD);
|
|
|
|
WINBASEAPI HANDLE WINAPI CreateTimerQueue(void);
|
|
|
|
WINBASEAPI BOOL WINAPI CreateTimerQueueTimer(PHANDLE,HANDLE,WAITORTIMERCALLBACK,PVOID,DWORD,DWORD,ULONG);
|
|
|
|
WINBASEAPI HANDLE WINAPI CreateWaitableTimerA(LPSECURITY_ATTRIBUTES,BOOL,LPCSTR);
|
|
|
|
WINBASEAPI HANDLE WINAPI CreateWaitableTimerW(LPSECURITY_ATTRIBUTES,BOOL,LPCWSTR);
|
|
|
|
#define CreateWaitableTimer WINELIB_NAME_AW(CreateWaitableTimer)
|
2008-11-11 12:17:05 +01:00
|
|
|
WINBASEAPI HANDLE WINAPI CreateWaitableTimerExA(SECURITY_ATTRIBUTES*,LPCSTR,DWORD,DWORD);
|
|
|
|
WINBASEAPI HANDLE WINAPI CreateWaitableTimerExW(SECURITY_ATTRIBUTES*,LPCWSTR,DWORD,DWORD);
|
|
|
|
#define CreateWaitableTimerEx WINELIB_NAME_AW(CreateWaitableTimerEx)
|
2007-11-07 12:27:51 +01:00
|
|
|
WINADVAPI BOOL WINAPI CreateWellKnownSid(WELL_KNOWN_SID_TYPE,PSID,PSID,DWORD*);
|
|
|
|
WINBASEAPI BOOL WINAPI DeactivateActCtx(DWORD,ULONG_PTR);
|
|
|
|
WINBASEAPI BOOL WINAPI DebugActiveProcess(DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI DebugActiveProcessStop(DWORD);
|
|
|
|
WINBASEAPI void WINAPI DebugBreak(void);
|
|
|
|
WINBASEAPI BOOL WINAPI DebugBreakProcess(HANDLE);
|
|
|
|
WINBASEAPI BOOL WINAPI DebugSetProcessKillOnExit(BOOL);
|
|
|
|
WINADVAPI BOOL WINAPI DecryptFileA(LPCSTR,DWORD);
|
|
|
|
WINADVAPI BOOL WINAPI DecryptFileW(LPCWSTR,DWORD);
|
|
|
|
#define DecryptFile WINELIB_NAME_AW(DecryptFile)
|
|
|
|
WINBASEAPI BOOL WINAPI DefineDosDeviceA(DWORD,LPCSTR,LPCSTR);
|
|
|
|
WINBASEAPI BOOL WINAPI DefineDosDeviceW(DWORD,LPCWSTR,LPCWSTR);
|
|
|
|
#define DefineDosDevice WINELIB_NAME_AW(DefineDosDevice)
|
|
|
|
#define DefineHandleTable(w) ((w),TRUE)
|
|
|
|
WINADVAPI BOOL WINAPI DeleteAce(PACL,DWORD);
|
|
|
|
WINBASEAPI ATOM WINAPI DeleteAtom(ATOM);
|
|
|
|
WINBASEAPI void WINAPI DeleteCriticalSection(CRITICAL_SECTION *lpCrit);
|
|
|
|
WINBASEAPI void WINAPI DeleteFiber(LPVOID);
|
|
|
|
WINBASEAPI BOOL WINAPI DeleteFileA(LPCSTR);
|
|
|
|
WINBASEAPI BOOL WINAPI DeleteFileW(LPCWSTR);
|
|
|
|
#define DeleteFile WINELIB_NAME_AW(DeleteFile)
|
|
|
|
WINBASEAPI BOOL WINAPI DeleteTimerQueueEx(HANDLE,HANDLE);
|
|
|
|
WINBASEAPI BOOL WINAPI DeleteTimerQueueTimer(HANDLE,HANDLE,HANDLE);
|
|
|
|
WINBASEAPI BOOL WINAPI DeleteVolumeMountPointA(LPCSTR);
|
|
|
|
WINBASEAPI BOOL WINAPI DeleteVolumeMountPointW(LPCWSTR);
|
|
|
|
#define DeleteVolumeMountPoint WINELIB_NAME_AW(DeleteVolumeMountPoint)
|
|
|
|
WINADVAPI BOOL WINAPI DeregisterEventSource(HANDLE);
|
|
|
|
WINADVAPI BOOL WINAPI DestroyPrivateObjectSecurity(PSECURITY_DESCRIPTOR*);
|
|
|
|
WINBASEAPI BOOL WINAPI DeviceIoControl(HANDLE,DWORD,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,LPOVERLAPPED);
|
|
|
|
WINBASEAPI BOOL WINAPI DisableThreadLibraryCalls(HMODULE);
|
|
|
|
WINBASEAPI BOOL WINAPI DisconnectNamedPipe(HANDLE);
|
|
|
|
WINBASEAPI BOOL WINAPI DnsHostnameToComputerNameA(LPCSTR,LPSTR,LPDWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI DnsHostnameToComputerNameW(LPCWSTR,LPWSTR,LPDWORD);
|
|
|
|
#define DnsHostnameToComputerName WINELIB_NAME_AW(DnsHostnameToComputerName)
|
|
|
|
WINBASEAPI BOOL WINAPI DosDateTimeToFileTime(WORD,WORD,LPFILETIME);
|
|
|
|
WINBASEAPI BOOL WINAPI DuplicateHandle(HANDLE,HANDLE,HANDLE,HANDLE*,DWORD,BOOL,DWORD);
|
|
|
|
WINADVAPI BOOL WINAPI DuplicateToken(HANDLE,SECURITY_IMPERSONATION_LEVEL,PHANDLE);
|
|
|
|
WINADVAPI BOOL WINAPI DuplicateTokenEx(HANDLE,DWORD,LPSECURITY_ATTRIBUTES,SECURITY_IMPERSONATION_LEVEL,TOKEN_TYPE,PHANDLE);
|
|
|
|
WINBASEAPI BOOL WINAPI EscapeCommFunction(HANDLE,UINT);
|
|
|
|
WINADVAPI BOOL WINAPI EncryptFileA(LPCSTR);
|
|
|
|
WINADVAPI BOOL WINAPI EncryptFileW(LPCWSTR);
|
|
|
|
#define EncryptFile WINELIB_NAME_AW(EncryptFile)
|
|
|
|
WINBASEAPI BOOL WINAPI EndUpdateResourceA(HANDLE,BOOL);
|
|
|
|
WINBASEAPI BOOL WINAPI EndUpdateResourceW(HANDLE,BOOL);
|
|
|
|
#define EndUpdateResource WINELIB_NAME_AW(EndUpdateResource)
|
|
|
|
WINBASEAPI void WINAPI EnterCriticalSection(CRITICAL_SECTION *lpCrit);
|
|
|
|
WINBASEAPI BOOL WINAPI EnumResourceLanguagesA(HMODULE,LPCSTR,LPCSTR,ENUMRESLANGPROCA,LONG_PTR);
|
|
|
|
WINBASEAPI BOOL WINAPI EnumResourceLanguagesW(HMODULE,LPCWSTR,LPCWSTR,ENUMRESLANGPROCW,LONG_PTR);
|
|
|
|
#define EnumResourceLanguages WINELIB_NAME_AW(EnumResourceLanguages)
|
|
|
|
WINBASEAPI BOOL WINAPI EnumResourceNamesA(HMODULE,LPCSTR,ENUMRESNAMEPROCA,LONG_PTR);
|
|
|
|
WINBASEAPI BOOL WINAPI EnumResourceNamesW(HMODULE,LPCWSTR,ENUMRESNAMEPROCW,LONG_PTR);
|
|
|
|
#define EnumResourceNames WINELIB_NAME_AW(EnumResourceNames)
|
|
|
|
WINBASEAPI BOOL WINAPI EnumResourceTypesA(HMODULE,ENUMRESTYPEPROCA,LONG_PTR);
|
|
|
|
WINBASEAPI BOOL WINAPI EnumResourceTypesW(HMODULE,ENUMRESTYPEPROCW,LONG_PTR);
|
|
|
|
#define EnumResourceTypes WINELIB_NAME_AW(EnumResourceTypes)
|
|
|
|
WINADVAPI BOOL WINAPI EqualSid(PSID, PSID);
|
|
|
|
WINADVAPI BOOL WINAPI EqualPrefixSid(PSID,PSID);
|
|
|
|
WINBASEAPI DWORD WINAPI EraseTape(HANDLE,DWORD,BOOL);
|
|
|
|
WINBASEAPI VOID DECLSPEC_NORETURN WINAPI ExitProcess(DWORD);
|
|
|
|
WINBASEAPI VOID DECLSPEC_NORETURN WINAPI ExitThread(DWORD);
|
|
|
|
WINBASEAPI DWORD WINAPI ExpandEnvironmentStringsA(LPCSTR,LPSTR,DWORD);
|
|
|
|
WINBASEAPI DWORD WINAPI ExpandEnvironmentStringsW(LPCWSTR,LPWSTR,DWORD);
|
|
|
|
#define ExpandEnvironmentStrings WINELIB_NAME_AW(ExpandEnvironmentStrings)
|
|
|
|
WINBASEAPI void WINAPI FatalAppExitA(UINT,LPCSTR);
|
|
|
|
WINBASEAPI void WINAPI FatalAppExitW(UINT,LPCWSTR);
|
|
|
|
WINBASEAPI void WINAPI FatalExit(int);
|
|
|
|
#define FatalAppExit WINELIB_NAME_AW(FatalAppExit)
|
|
|
|
WINADVAPI BOOL WINAPI FileEncryptionStatusA(LPCSTR,LPDWORD);
|
|
|
|
WINADVAPI BOOL WINAPI FileEncryptionStatusW(LPCWSTR,LPDWORD);
|
|
|
|
#define FileEncryptionStatus WINELIB_NAME_AW(FileEncryptionStatus)
|
|
|
|
WINBASEAPI BOOL WINAPI FileTimeToDosDateTime(const FILETIME*,LPWORD,LPWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI FileTimeToLocalFileTime(const FILETIME*,LPFILETIME);
|
|
|
|
WINBASEAPI BOOL WINAPI FileTimeToSystemTime(const FILETIME*,LPSYSTEMTIME);
|
|
|
|
WINBASEAPI BOOL WINAPI FindActCtxSectionStringA(DWORD,const GUID *,ULONG,LPCSTR,PACTCTX_SECTION_KEYED_DATA);
|
|
|
|
WINBASEAPI BOOL WINAPI FindActCtxSectionStringW(DWORD,const GUID *,ULONG,LPCWSTR,PACTCTX_SECTION_KEYED_DATA);
|
|
|
|
#define FindActCtxSectionString WINELIB_NAME_AW(FindActCtxSectionString)
|
|
|
|
WINBASEAPI BOOL WINAPI FindActCtxSectionGuid(DWORD,const GUID *,ULONG,const GUID *,PACTCTX_SECTION_KEYED_DATA);
|
|
|
|
WINBASEAPI ATOM WINAPI FindAtomA(LPCSTR);
|
|
|
|
WINBASEAPI ATOM WINAPI FindAtomW(LPCWSTR);
|
|
|
|
#define FindAtom WINELIB_NAME_AW(FindAtom)
|
|
|
|
WINBASEAPI BOOL WINAPI FindClose(HANDLE);
|
|
|
|
WINBASEAPI HANDLE WINAPI FindFirstChangeNotificationA(LPCSTR,BOOL,DWORD);
|
|
|
|
WINBASEAPI HANDLE WINAPI FindFirstChangeNotificationW(LPCWSTR,BOOL,DWORD);
|
|
|
|
#define FindFirstChangeNotification WINELIB_NAME_AW(FindFirstChangeNotification)
|
|
|
|
WINBASEAPI HANDLE WINAPI FindFirstFileA(LPCSTR,LPWIN32_FIND_DATAA);
|
|
|
|
WINBASEAPI HANDLE WINAPI FindFirstFileW(LPCWSTR,LPWIN32_FIND_DATAW);
|
|
|
|
#define FindFirstFile WINELIB_NAME_AW(FindFirstFile)
|
|
|
|
WINBASEAPI HANDLE WINAPI FindFirstFileExA(LPCSTR,FINDEX_INFO_LEVELS,LPVOID,FINDEX_SEARCH_OPS,LPVOID,DWORD);
|
|
|
|
WINBASEAPI HANDLE WINAPI FindFirstFileExW(LPCWSTR,FINDEX_INFO_LEVELS,LPVOID,FINDEX_SEARCH_OPS,LPVOID,DWORD);
|
|
|
|
#define FindFirstFileEx WINELIB_NAME_AW(FindFirstFileEx)
|
|
|
|
WINADVAPI BOOL WINAPI FindFirstFreeAce(PACL,LPVOID*);
|
|
|
|
WINBASEAPI BOOL WINAPI FindNextChangeNotification(HANDLE);
|
|
|
|
WINBASEAPI BOOL WINAPI FindNextFileA(HANDLE,LPWIN32_FIND_DATAA);
|
|
|
|
WINBASEAPI BOOL WINAPI FindNextFileW(HANDLE,LPWIN32_FIND_DATAW);
|
|
|
|
#define FindNextFile WINELIB_NAME_AW(FindNextFile)
|
|
|
|
WINBASEAPI BOOL WINAPI FindCloseChangeNotification(HANDLE);
|
|
|
|
WINBASEAPI HRSRC WINAPI FindResourceA(HMODULE,LPCSTR,LPCSTR);
|
|
|
|
WINBASEAPI HRSRC WINAPI FindResourceW(HMODULE,LPCWSTR,LPCWSTR);
|
|
|
|
#define FindResource WINELIB_NAME_AW(FindResource)
|
|
|
|
WINBASEAPI HRSRC WINAPI FindResourceExA(HMODULE,LPCSTR,LPCSTR,WORD);
|
|
|
|
WINBASEAPI HRSRC WINAPI FindResourceExW(HMODULE,LPCWSTR,LPCWSTR,WORD);
|
|
|
|
#define FindResourceEx WINELIB_NAME_AW(FindResourceEx)
|
|
|
|
WINBASEAPI HANDLE WINAPI FindFirstVolumeA(LPSTR,DWORD);
|
|
|
|
WINBASEAPI HANDLE WINAPI FindFirstVolumeW(LPWSTR,DWORD);
|
|
|
|
#define FindFirstVolume WINELIB_NAME_AW(FindFirstVolume)
|
|
|
|
WINBASEAPI HANDLE WINAPI FindFirstVolumeMountPointA(LPCSTR,LPSTR,DWORD);
|
|
|
|
WINBASEAPI HANDLE WINAPI FindFirstVolumeMountPointW(LPCWSTR,LPWSTR,DWORD);
|
|
|
|
#define FindFirstVolumeMountPoint WINELIB_NAME_AW(FindFirstVolumeMountPoint)
|
|
|
|
WINBASEAPI BOOL WINAPI FindNextVolumeA(HANDLE,LPSTR,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI FindNextVolumeW(HANDLE,LPWSTR,DWORD);
|
|
|
|
#define FindNextVolume WINELIB_NAME_AW(FindNextVolume)
|
|
|
|
WINBASEAPI BOOL WINAPI FindNextVolumeMountPointA(HANDLE,LPSTR,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI FindNextVolumeMountPointW(HANDLE,LPWSTR,DWORD);
|
|
|
|
#define FindNextVolumeMountPoint WINELIB_NAME_AW(FindNextVolumeMountPoint)
|
|
|
|
WINBASEAPI BOOL WINAPI FindVolumeClose(HANDLE);
|
|
|
|
WINBASEAPI BOOL WINAPI FindVolumeMountPointClose(HANDLE);
|
2008-02-29 10:19:43 +01:00
|
|
|
WINBASEAPI DWORD WINAPI FlsAlloc(PFLS_CALLBACK_FUNCTION);
|
|
|
|
WINBASEAPI BOOL WINAPI FlsFree(DWORD);
|
|
|
|
WINBASEAPI PVOID WINAPI FlsGetValue(DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI FlsSetValue(DWORD,PVOID);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI BOOL WINAPI FlushFileBuffers(HANDLE);
|
|
|
|
WINBASEAPI BOOL WINAPI FlushInstructionCache(HANDLE,LPCVOID,SIZE_T);
|
|
|
|
WINBASEAPI BOOL WINAPI FlushViewOfFile(LPCVOID,SIZE_T);
|
2008-12-31 20:52:42 +01:00
|
|
|
WINBASEAPI DWORD WINAPI FormatMessageA(DWORD,LPCVOID,DWORD,DWORD,LPSTR,DWORD,__ms_va_list*);
|
|
|
|
WINBASEAPI DWORD WINAPI FormatMessageW(DWORD,LPCVOID,DWORD,DWORD,LPWSTR,DWORD,__ms_va_list*);
|
2007-11-07 12:27:51 +01:00
|
|
|
#define FormatMessage WINELIB_NAME_AW(FormatMessage)
|
|
|
|
WINBASEAPI BOOL WINAPI FreeEnvironmentStringsA(LPSTR);
|
|
|
|
WINBASEAPI BOOL WINAPI FreeEnvironmentStringsW(LPWSTR);
|
|
|
|
#define FreeEnvironmentStrings WINELIB_NAME_AW(FreeEnvironmentStrings)
|
|
|
|
WINBASEAPI BOOL WINAPI FreeLibrary(HMODULE);
|
|
|
|
WINBASEAPI VOID WINAPI FreeLibraryAndExitThread(HINSTANCE,DWORD);
|
|
|
|
#define FreeModule(handle) FreeLibrary(handle)
|
|
|
|
#define FreeProcInstance(proc) /*nothing*/
|
|
|
|
WINBASEAPI BOOL WINAPI FreeResource(HGLOBAL);
|
|
|
|
WINADVAPI PVOID WINAPI FreeSid(PSID);
|
|
|
|
WINADVAPI BOOL WINAPI GetAce(PACL,DWORD,LPVOID*);
|
|
|
|
WINADVAPI BOOL WINAPI GetAclInformation(PACL,LPVOID,DWORD,ACL_INFORMATION_CLASS);
|
|
|
|
WINBASEAPI UINT WINAPI GetAtomNameA(ATOM,LPSTR,INT);
|
|
|
|
WINBASEAPI UINT WINAPI GetAtomNameW(ATOM,LPWSTR,INT);
|
|
|
|
#define GetAtomName WINELIB_NAME_AW(GetAtomName)
|
|
|
|
WINBASEAPI BOOL WINAPI GetBinaryTypeA( LPCSTR lpApplicationName, LPDWORD lpBinaryType );
|
|
|
|
WINBASEAPI BOOL WINAPI GetBinaryTypeW( LPCWSTR lpApplicationName, LPDWORD lpBinaryType );
|
|
|
|
#define GetBinaryType WINELIB_NAME_AW(GetBinaryType)
|
|
|
|
WINBASEAPI BOOL WINAPI GetCurrentActCtx(HANDLE *);
|
|
|
|
WINBASEAPI BOOL WINAPI GetCommConfig(HANDLE,LPCOMMCONFIG,LPDWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI GetCommMask(HANDLE,LPDWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI GetCommModemStatus(HANDLE,LPDWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI GetCommProperties(HANDLE,LPCOMMPROP);
|
|
|
|
WINBASEAPI BOOL WINAPI GetCommState(HANDLE,LPDCB);
|
|
|
|
WINBASEAPI BOOL WINAPI GetCommTimeouts(HANDLE,LPCOMMTIMEOUTS);
|
|
|
|
WINBASEAPI LPSTR WINAPI GetCommandLineA(void);
|
|
|
|
WINBASEAPI LPWSTR WINAPI GetCommandLineW(void);
|
|
|
|
#define GetCommandLine WINELIB_NAME_AW(GetCommandLine)
|
|
|
|
WINBASEAPI DWORD WINAPI GetCompressedFileSizeA(LPCSTR,LPDWORD);
|
|
|
|
WINBASEAPI DWORD WINAPI GetCompressedFileSizeW(LPCWSTR,LPDWORD);
|
|
|
|
#define GetCompressedFileSize WINELIB_NAME_AW(GetCompressedFileSize)
|
|
|
|
WINBASEAPI BOOL WINAPI GetComputerNameA(LPSTR,LPDWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI GetComputerNameW(LPWSTR,LPDWORD);
|
|
|
|
#define GetComputerName WINELIB_NAME_AW(GetComputerName)
|
|
|
|
WINBASEAPI BOOL WINAPI GetComputerNameExA(COMPUTER_NAME_FORMAT,LPSTR,LPDWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI GetComputerNameExW(COMPUTER_NAME_FORMAT,LPWSTR,LPDWORD);
|
|
|
|
#define GetComputerNameEx WINELIB_NAME_AW(GetComputerNameEx)
|
|
|
|
WINBASEAPI UINT WINAPI GetCurrentDirectoryA(UINT,LPSTR);
|
|
|
|
WINBASEAPI UINT WINAPI GetCurrentDirectoryW(UINT,LPWSTR);
|
|
|
|
#define GetCurrentDirectory WINELIB_NAME_AW(GetCurrentDirectory)
|
|
|
|
WINADVAPI BOOL WINAPI GetCurrentHwProfileA(LPHW_PROFILE_INFOA);
|
|
|
|
WINADVAPI BOOL WINAPI GetCurrentHwProfileW(LPHW_PROFILE_INFOW);
|
|
|
|
#define GetCurrentHwProfile WINELIB_NAME_AW(GetCurrentHwProfile)
|
|
|
|
WINBASEAPI HANDLE WINAPI GetCurrentProcess(void);
|
|
|
|
WINBASEAPI HANDLE WINAPI GetCurrentThread(void);
|
|
|
|
#define GetCurrentTime() GetTickCount()
|
|
|
|
WINBASEAPI BOOL WINAPI GetDefaultCommConfigA(LPCSTR,LPCOMMCONFIG,LPDWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI GetDefaultCommConfigW(LPCWSTR,LPCOMMCONFIG,LPDWORD);
|
|
|
|
#define GetDefaultCommConfig WINELIB_NAME_AW(GetDefaultCommConfig)
|
|
|
|
WINBASEAPI BOOL WINAPI GetDevicePowerState(HANDLE,BOOL*);
|
|
|
|
WINBASEAPI BOOL WINAPI GetDiskFreeSpaceA(LPCSTR,LPDWORD,LPDWORD,LPDWORD,LPDWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI GetDiskFreeSpaceW(LPCWSTR,LPDWORD,LPDWORD,LPDWORD,LPDWORD);
|
|
|
|
#define GetDiskFreeSpace WINELIB_NAME_AW(GetDiskFreeSpace)
|
|
|
|
WINBASEAPI BOOL WINAPI GetDiskFreeSpaceExA(LPCSTR,PULARGE_INTEGER,PULARGE_INTEGER,PULARGE_INTEGER);
|
|
|
|
WINBASEAPI BOOL WINAPI GetDiskFreeSpaceExW(LPCWSTR,PULARGE_INTEGER,PULARGE_INTEGER,PULARGE_INTEGER);
|
|
|
|
#define GetDiskFreeSpaceEx WINELIB_NAME_AW(GetDiskFreeSpaceEx)
|
|
|
|
WINBASEAPI DWORD WINAPI GetDllDirectoryA(DWORD,LPSTR);
|
|
|
|
WINBASEAPI DWORD WINAPI GetDllDirectoryW(DWORD,LPWSTR);
|
|
|
|
#define GetDllDirectory WINELIB_NAME_AW(GetDllDirectory)
|
|
|
|
WINBASEAPI UINT WINAPI GetDriveTypeA(LPCSTR);
|
|
|
|
WINBASEAPI UINT WINAPI GetDriveTypeW(LPCWSTR);
|
|
|
|
#define GetDriveType WINELIB_NAME_AW(GetDriveType)
|
2008-02-13 21:41:59 +01:00
|
|
|
WINBASEAPI DWORD WINAPI GetDynamicTimeZoneInformation(PDYNAMIC_TIME_ZONE_INFORMATION);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI LPSTR WINAPI GetEnvironmentStringsA(void);
|
|
|
|
WINBASEAPI LPWSTR WINAPI GetEnvironmentStringsW(void);
|
|
|
|
#define GetEnvironmentStrings WINELIB_NAME_AW(GetEnvironmentStrings)
|
|
|
|
WINBASEAPI DWORD WINAPI GetEnvironmentVariableA(LPCSTR,LPSTR,DWORD);
|
|
|
|
WINBASEAPI DWORD WINAPI GetEnvironmentVariableW(LPCWSTR,LPWSTR,DWORD);
|
|
|
|
#define GetEnvironmentVariable WINELIB_NAME_AW(GetEnvironmentVariable)
|
2009-01-12 21:54:12 +01:00
|
|
|
WINBASEAPI UINT WINAPI GetErrorMode(void);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI BOOL WINAPI GetExitCodeProcess(HANDLE,LPDWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI GetExitCodeThread(HANDLE,LPDWORD);
|
|
|
|
WINBASEAPI DWORD WINAPI GetFileAttributesA(LPCSTR);
|
|
|
|
WINBASEAPI DWORD WINAPI GetFileAttributesW(LPCWSTR);
|
|
|
|
#define GetFileAttributes WINELIB_NAME_AW(GetFileAttributes)
|
|
|
|
WINBASEAPI BOOL WINAPI GetFileAttributesExA(LPCSTR,GET_FILEEX_INFO_LEVELS,LPVOID);
|
|
|
|
WINBASEAPI BOOL WINAPI GetFileAttributesExW(LPCWSTR,GET_FILEEX_INFO_LEVELS,LPVOID);
|
|
|
|
#define GetFileAttributesEx WINELIB_NAME_AW(GetFileAttributesEx)
|
|
|
|
WINBASEAPI BOOL WINAPI GetFileInformationByHandle(HANDLE,BY_HANDLE_FILE_INFORMATION*);
|
|
|
|
WINADVAPI BOOL WINAPI GetFileSecurityA(LPCSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,LPDWORD);
|
|
|
|
WINADVAPI BOOL WINAPI GetFileSecurityW(LPCWSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,LPDWORD);
|
|
|
|
#define GetFileSecurity WINELIB_NAME_AW(GetFileSecurity)
|
|
|
|
WINBASEAPI DWORD WINAPI GetFileSize(HANDLE,LPDWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI GetFileSizeEx(HANDLE,PLARGE_INTEGER);
|
|
|
|
WINBASEAPI BOOL WINAPI GetFileTime(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME);
|
|
|
|
WINBASEAPI DWORD WINAPI GetFileType(HANDLE);
|
|
|
|
#define GetFreeSpace(w) (0x100000L)
|
|
|
|
WINBASEAPI DWORD WINAPI GetFullPathNameA(LPCSTR,DWORD,LPSTR,LPSTR*);
|
|
|
|
WINBASEAPI DWORD WINAPI GetFullPathNameW(LPCWSTR,DWORD,LPWSTR,LPWSTR*);
|
|
|
|
#define GetFullPathName WINELIB_NAME_AW(GetFullPathName)
|
|
|
|
WINBASEAPI BOOL WINAPI GetHandleInformation(HANDLE,LPDWORD);
|
|
|
|
WINADVAPI BOOL WINAPI GetKernelObjectSecurity(HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,LPDWORD);
|
|
|
|
WINADVAPI DWORD WINAPI GetLengthSid(PSID);
|
|
|
|
WINBASEAPI VOID WINAPI GetLocalTime(LPSYSTEMTIME);
|
|
|
|
WINBASEAPI DWORD WINAPI GetLogicalDrives(void);
|
|
|
|
WINBASEAPI UINT WINAPI GetLogicalDriveStringsA(UINT,LPSTR);
|
|
|
|
WINBASEAPI UINT WINAPI GetLogicalDriveStringsW(UINT,LPWSTR);
|
|
|
|
#define GetLogicalDriveStrings WINELIB_NAME_AW(GetLogicalDriveStrings)
|
|
|
|
WINBASEAPI DWORD WINAPI GetLongPathNameA(LPCSTR,LPSTR,DWORD);
|
|
|
|
WINBASEAPI DWORD WINAPI GetLongPathNameW(LPCWSTR,LPWSTR,DWORD);
|
|
|
|
#define GetLongPathName WINELIB_NAME_AW(GetLongPathName)
|
|
|
|
WINBASEAPI BOOL WINAPI GetMailslotInfo(HANDLE,LPDWORD,LPDWORD,LPDWORD,LPDWORD);
|
|
|
|
WINBASEAPI DWORD WINAPI GetModuleFileNameA(HMODULE,LPSTR,DWORD);
|
|
|
|
WINBASEAPI DWORD WINAPI GetModuleFileNameW(HMODULE,LPWSTR,DWORD);
|
|
|
|
#define GetModuleFileName WINELIB_NAME_AW(GetModuleFileName)
|
|
|
|
WINBASEAPI HMODULE WINAPI GetModuleHandleA(LPCSTR);
|
|
|
|
WINBASEAPI HMODULE WINAPI GetModuleHandleW(LPCWSTR);
|
|
|
|
#define GetModuleHandle WINELIB_NAME_AW(GetModuleHandle)
|
|
|
|
WINBASEAPI BOOL WINAPI GetModuleHandleExA(DWORD,LPCSTR,HMODULE*);
|
|
|
|
WINBASEAPI BOOL WINAPI GetModuleHandleExW(DWORD,LPCWSTR,HMODULE*);
|
|
|
|
#define GetModuleHandleEx WINELIB_NAME_AW(GetModuleHandleEx)
|
|
|
|
WINBASEAPI BOOL WINAPI GetNamedPipeHandleStateA(HANDLE,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPSTR,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI GetNamedPipeHandleStateW(HANDLE,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPWSTR,DWORD);
|
|
|
|
#define GetNamedPipeHandleState WINELIB_NAME_AW(GetNamedPipeHandleState)
|
|
|
|
WINBASEAPI BOOL WINAPI GetNamedPipeInfo(HANDLE,LPDWORD,LPDWORD,LPDWORD,LPDWORD);
|
|
|
|
WINBASEAPI VOID WINAPI GetNativeSystemInfo(LPSYSTEM_INFO);
|
|
|
|
WINADVAPI BOOL WINAPI GetNumberOfEventLogRecords(HANDLE,PDWORD);
|
|
|
|
WINADVAPI BOOL WINAPI GetOldestEventLogRecord(HANDLE,PDWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI GetOverlappedResult(HANDLE,LPOVERLAPPED,LPDWORD,BOOL);
|
|
|
|
WINBASEAPI DWORD WINAPI GetPriorityClass(HANDLE);
|
|
|
|
WINADVAPI BOOL WINAPI GetPrivateObjectSecurity(PSECURITY_DESCRIPTOR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD);
|
|
|
|
WINBASEAPI UINT WINAPI GetPrivateProfileIntA(LPCSTR,LPCSTR,INT,LPCSTR);
|
|
|
|
WINBASEAPI UINT WINAPI GetPrivateProfileIntW(LPCWSTR,LPCWSTR,INT,LPCWSTR);
|
|
|
|
#define GetPrivateProfileInt WINELIB_NAME_AW(GetPrivateProfileInt)
|
|
|
|
WINBASEAPI INT WINAPI GetPrivateProfileSectionA(LPCSTR,LPSTR,DWORD,LPCSTR);
|
|
|
|
WINBASEAPI INT WINAPI GetPrivateProfileSectionW(LPCWSTR,LPWSTR,DWORD,LPCWSTR);
|
|
|
|
#define GetPrivateProfileSection WINELIB_NAME_AW(GetPrivateProfileSection)
|
|
|
|
WINBASEAPI DWORD WINAPI GetPrivateProfileSectionNamesA(LPSTR,DWORD,LPCSTR);
|
|
|
|
WINBASEAPI DWORD WINAPI GetPrivateProfileSectionNamesW(LPWSTR,DWORD,LPCWSTR);
|
|
|
|
#define GetPrivateProfileSectionNames WINELIB_NAME_AW(GetPrivateProfileSectionNames)
|
|
|
|
WINBASEAPI INT WINAPI GetPrivateProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPSTR,UINT,LPCSTR);
|
|
|
|
WINBASEAPI INT WINAPI GetPrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,UINT,LPCWSTR);
|
|
|
|
#define GetPrivateProfileString WINELIB_NAME_AW(GetPrivateProfileString)
|
|
|
|
WINBASEAPI BOOL WINAPI GetPrivateProfileStructA(LPCSTR,LPCSTR,LPVOID,UINT,LPCSTR);
|
|
|
|
WINBASEAPI BOOL WINAPI GetPrivateProfileStructW(LPCWSTR,LPCWSTR,LPVOID,UINT,LPCWSTR);
|
|
|
|
#define GetPrivateProfileStruct WINELIB_NAME_AW(GetPrivateProfileStruct)
|
|
|
|
WINBASEAPI FARPROC WINAPI GetProcAddress(HMODULE,LPCSTR);
|
|
|
|
WINBASEAPI BOOL WINAPI GetProcessAffinityMask(HANDLE,PDWORD_PTR,PDWORD_PTR);
|
|
|
|
WINBASEAPI DWORD WINAPI GetProcessHeaps(DWORD,PHANDLE);
|
|
|
|
WINBASEAPI DWORD WINAPI GetProcessId(HANDLE);
|
|
|
|
WINBASEAPI BOOL WINAPI GetProcessIoCounters(HANDLE,PIO_COUNTERS);
|
|
|
|
WINBASEAPI BOOL WINAPI GetProcessPriorityBoost(HANDLE,PBOOL);
|
|
|
|
WINBASEAPI BOOL WINAPI GetProcessShutdownParameters(LPDWORD,LPDWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI GetProcessTimes(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME,LPFILETIME);
|
|
|
|
WINBASEAPI DWORD WINAPI GetProcessVersion(DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI GetProcessWorkingSetSize(HANDLE,PSIZE_T,PSIZE_T);
|
|
|
|
WINBASEAPI UINT WINAPI GetProfileIntA(LPCSTR,LPCSTR,INT);
|
|
|
|
WINBASEAPI UINT WINAPI GetProfileIntW(LPCWSTR,LPCWSTR,INT);
|
|
|
|
#define GetProfileInt WINELIB_NAME_AW(GetProfileInt)
|
|
|
|
WINBASEAPI INT WINAPI GetProfileSectionA(LPCSTR,LPSTR,DWORD);
|
|
|
|
WINBASEAPI INT WINAPI GetProfileSectionW(LPCWSTR,LPWSTR,DWORD);
|
|
|
|
#define GetProfileSection WINELIB_NAME_AW(GetProfileSection)
|
|
|
|
WINBASEAPI INT WINAPI GetProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPSTR,UINT);
|
|
|
|
WINBASEAPI INT WINAPI GetProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,UINT);
|
|
|
|
#define GetProfileString WINELIB_NAME_AW(GetProfileString)
|
|
|
|
WINBASEAPI BOOL WINAPI GetQueuedCompletionStatus(HANDLE,LPDWORD,PULONG_PTR,LPOVERLAPPED*,DWORD);
|
|
|
|
WINADVAPI BOOL WINAPI GetSecurityDescriptorControl(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR_CONTROL,LPDWORD);
|
|
|
|
WINADVAPI BOOL WINAPI GetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR,LPBOOL,PACL *,LPBOOL);
|
|
|
|
WINADVAPI BOOL WINAPI GetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR,PSID *,LPBOOL);
|
|
|
|
WINADVAPI DWORD WINAPI GetSecurityDescriptorLength(PSECURITY_DESCRIPTOR);
|
|
|
|
WINADVAPI BOOL WINAPI GetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR,PSID *,LPBOOL);
|
|
|
|
WINADVAPI BOOL WINAPI GetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR,LPBOOL,PACL *,LPBOOL);
|
|
|
|
WINADVAPI PSID_IDENTIFIER_AUTHORITY WINAPI GetSidIdentifierAuthority(PSID);
|
|
|
|
WINADVAPI DWORD WINAPI GetSidLengthRequired(BYTE);
|
|
|
|
WINADVAPI PDWORD WINAPI GetSidSubAuthority(PSID,DWORD);
|
|
|
|
WINADVAPI PUCHAR WINAPI GetSidSubAuthorityCount(PSID);
|
|
|
|
WINBASEAPI DWORD WINAPI GetShortPathNameA(LPCSTR,LPSTR,DWORD);
|
|
|
|
WINBASEAPI DWORD WINAPI GetShortPathNameW(LPCWSTR,LPWSTR,DWORD);
|
|
|
|
#define GetShortPathName WINELIB_NAME_AW(GetShortPathName)
|
|
|
|
WINBASEAPI VOID WINAPI GetStartupInfoA(LPSTARTUPINFOA);
|
|
|
|
WINBASEAPI VOID WINAPI GetStartupInfoW(LPSTARTUPINFOW);
|
|
|
|
#define GetStartupInfo WINELIB_NAME_AW(GetStartupInfo)
|
|
|
|
WINBASEAPI HANDLE WINAPI GetStdHandle(DWORD);
|
|
|
|
WINBASEAPI UINT WINAPI GetSystemDirectoryA(LPSTR,UINT);
|
|
|
|
WINBASEAPI UINT WINAPI GetSystemDirectoryW(LPWSTR,UINT);
|
|
|
|
#define GetSystemDirectory WINELIB_NAME_AW(GetSystemDirectory)
|
|
|
|
WINBASEAPI VOID WINAPI GetSystemInfo(LPSYSTEM_INFO);
|
|
|
|
WINBASEAPI BOOL WINAPI GetSystemPowerStatus(LPSYSTEM_POWER_STATUS);
|
|
|
|
WINBASEAPI VOID WINAPI GetSystemTime(LPSYSTEMTIME);
|
|
|
|
WINBASEAPI BOOL WINAPI GetSystemTimeAdjustment(PDWORD,PDWORD,PBOOL);
|
|
|
|
WINBASEAPI VOID WINAPI GetSystemTimeAsFileTime(LPFILETIME);
|
|
|
|
WINBASEAPI UINT WINAPI GetSystemWindowsDirectoryA(LPSTR,UINT);
|
|
|
|
WINBASEAPI UINT WINAPI GetSystemWindowsDirectoryW(LPWSTR,UINT);
|
|
|
|
#define GetSystemWindowsDirectory WINELIB_NAME_AW(GetSystemWindowsDirectory)
|
2009-07-07 11:42:03 +02:00
|
|
|
WINBASEAPI UINT WINAPI GetSystemWow64DirectoryA(LPSTR,UINT);
|
|
|
|
WINBASEAPI UINT WINAPI GetSystemWow64DirectoryW(LPWSTR,UINT);
|
|
|
|
#define GetSystemWow64Directory WINELIB_NAME_AW(GetSystemWow64Directory)
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI DWORD WINAPI GetTapeParameters(HANDLE,DWORD,LPDWORD,LPVOID);
|
|
|
|
WINBASEAPI DWORD WINAPI GetTapePosition(HANDLE,DWORD,LPDWORD,LPDWORD,LPDWORD);
|
|
|
|
WINBASEAPI DWORD WINAPI GetTapeStatus(HANDLE);
|
|
|
|
WINBASEAPI UINT WINAPI GetTempFileNameA(LPCSTR,LPCSTR,UINT,LPSTR);
|
|
|
|
WINBASEAPI UINT WINAPI GetTempFileNameW(LPCWSTR,LPCWSTR,UINT,LPWSTR);
|
|
|
|
#define GetTempFileName WINELIB_NAME_AW(GetTempFileName)
|
|
|
|
WINBASEAPI DWORD WINAPI GetTempPathA(DWORD,LPSTR);
|
|
|
|
WINBASEAPI DWORD WINAPI GetTempPathW(DWORD,LPWSTR);
|
|
|
|
#define GetTempPath WINELIB_NAME_AW(GetTempPath)
|
2007-11-12 21:09:40 +01:00
|
|
|
WINBASEAPI DWORD WINAPI GetThreadId(HANDLE);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI DWORD WINAPI GetTickCount(void);
|
|
|
|
WINBASEAPI ULONGLONG WINAPI GetTickCount64(void);
|
|
|
|
WINBASEAPI DWORD WINAPI GetTimeZoneInformation(LPTIME_ZONE_INFORMATION);
|
|
|
|
WINBASEAPI BOOL WINAPI GetThreadContext(HANDLE,CONTEXT *);
|
|
|
|
WINBASEAPI INT WINAPI GetThreadPriority(HANDLE);
|
|
|
|
WINBASEAPI BOOL WINAPI GetThreadPriorityBoost(HANDLE,PBOOL);
|
|
|
|
WINBASEAPI BOOL WINAPI GetThreadSelectorEntry(HANDLE,DWORD,LPLDT_ENTRY);
|
|
|
|
WINBASEAPI BOOL WINAPI GetThreadTimes(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME,LPFILETIME);
|
|
|
|
WINADVAPI BOOL WINAPI GetTokenInformation(HANDLE,TOKEN_INFORMATION_CLASS,LPVOID,DWORD,LPDWORD);
|
|
|
|
WINADVAPI BOOL WINAPI GetUserNameA(LPSTR,LPDWORD);
|
|
|
|
WINADVAPI BOOL WINAPI GetUserNameW(LPWSTR,LPDWORD);
|
|
|
|
#define GetUserName WINELIB_NAME_AW(GetUserName)
|
|
|
|
WINBASEAPI DWORD WINAPI GetVersion(void);
|
|
|
|
WINBASEAPI BOOL WINAPI GetVersionExA(OSVERSIONINFOA*);
|
|
|
|
WINBASEAPI BOOL WINAPI GetVersionExW(OSVERSIONINFOW*);
|
|
|
|
#define GetVersionEx WINELIB_NAME_AW(GetVersionEx)
|
|
|
|
WINBASEAPI BOOL WINAPI GetVolumeInformationA(LPCSTR,LPSTR,DWORD,LPDWORD,LPDWORD,LPDWORD,LPSTR,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI GetVolumeInformationW(LPCWSTR,LPWSTR,DWORD,LPDWORD,LPDWORD,LPDWORD,LPWSTR,DWORD);
|
|
|
|
#define GetVolumeInformation WINELIB_NAME_AW(GetVolumeInformation)
|
|
|
|
WINBASEAPI BOOL WINAPI GetVolumeNameForVolumeMountPointA(LPCSTR,LPSTR,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI GetVolumeNameForVolumeMountPointW(LPCWSTR,LPWSTR,DWORD);
|
|
|
|
#define GetVolumeNameForVolumeMountPoint WINELIB_NAME_AW(GetVolumeNameForVolumeMountPoint)
|
|
|
|
WINBASEAPI BOOL WINAPI GetVolumePathNameA(LPCSTR,LPSTR,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI GetVolumePathNameW(LPCWSTR,LPWSTR,DWORD);
|
|
|
|
#define GetVolumePathName WINELIB_NAME_AW(GetVolumePathName)
|
|
|
|
WINBASEAPI BOOL WINAPI GetVolumePathNamesForVolumeNameA(LPCSTR,LPSTR,DWORD,PDWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI GetVolumePathNamesForVolumeNameW(LPCWSTR,LPWSTR,DWORD,PDWORD);
|
|
|
|
#define GetVolumePathNamesForVolumeName WINELIB_NAME_AW(GetVolumePathNamesForVolumeName)
|
|
|
|
WINBASEAPI UINT WINAPI GetWindowsDirectoryA(LPSTR,UINT);
|
|
|
|
WINBASEAPI UINT WINAPI GetWindowsDirectoryW(LPWSTR,UINT);
|
|
|
|
#define GetWindowsDirectory WINELIB_NAME_AW(GetWindowsDirectory)
|
2008-11-14 10:49:45 +01:00
|
|
|
WINBASEAPI UINT WINAPI GetWriteWatch(DWORD,LPVOID,SIZE_T,LPVOID*,ULONG_PTR*,ULONG*);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI ATOM WINAPI GlobalAddAtomA(LPCSTR);
|
|
|
|
WINBASEAPI ATOM WINAPI GlobalAddAtomW(LPCWSTR);
|
|
|
|
#define GlobalAddAtom WINELIB_NAME_AW(GlobalAddAtom)
|
2008-09-04 13:39:58 +02:00
|
|
|
WINBASEAPI HGLOBAL WINAPI GlobalAlloc(UINT,SIZE_T) __WINE_ALLOC_SIZE(2);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI SIZE_T WINAPI GlobalCompact(DWORD);
|
|
|
|
WINBASEAPI ATOM WINAPI GlobalDeleteAtom(ATOM);
|
|
|
|
WINBASEAPI ATOM WINAPI GlobalFindAtomA(LPCSTR);
|
|
|
|
WINBASEAPI ATOM WINAPI GlobalFindAtomW(LPCWSTR);
|
|
|
|
#define GlobalFindAtom WINELIB_NAME_AW(GlobalFindAtom)
|
|
|
|
WINBASEAPI VOID WINAPI GlobalFix(HGLOBAL);
|
|
|
|
WINBASEAPI UINT WINAPI GlobalFlags(HGLOBAL);
|
|
|
|
WINBASEAPI HGLOBAL WINAPI GlobalFree(HGLOBAL);
|
|
|
|
WINBASEAPI UINT WINAPI GlobalGetAtomNameA(ATOM,LPSTR,INT);
|
|
|
|
WINBASEAPI UINT WINAPI GlobalGetAtomNameW(ATOM,LPWSTR,INT);
|
|
|
|
#define GlobalGetAtomName WINELIB_NAME_AW(GlobalGetAtomName)
|
|
|
|
WINBASEAPI HGLOBAL WINAPI GlobalHandle(LPCVOID);
|
|
|
|
WINBASEAPI LPVOID WINAPI GlobalLock(HGLOBAL);
|
|
|
|
WINBASEAPI VOID WINAPI GlobalMemoryStatus(LPMEMORYSTATUS);
|
|
|
|
WINBASEAPI BOOL WINAPI GlobalMemoryStatusEx(LPMEMORYSTATUSEX);
|
2008-09-04 13:39:58 +02:00
|
|
|
WINBASEAPI HGLOBAL WINAPI GlobalReAlloc(HGLOBAL,SIZE_T,UINT) __WINE_ALLOC_SIZE(3);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI SIZE_T WINAPI GlobalSize(HGLOBAL);
|
|
|
|
WINBASEAPI VOID WINAPI GlobalUnfix(HGLOBAL);
|
|
|
|
WINBASEAPI BOOL WINAPI GlobalUnlock(HGLOBAL);
|
|
|
|
WINBASEAPI BOOL WINAPI GlobalUnWire(HGLOBAL);
|
|
|
|
WINBASEAPI LPVOID WINAPI GlobalWire(HGLOBAL);
|
|
|
|
#define HasOverlappedCompleted(lpOverlapped) ((lpOverlapped)->Internal != STATUS_PENDING)
|
2008-09-04 13:39:58 +02:00
|
|
|
WINBASEAPI LPVOID WINAPI HeapAlloc(HANDLE,DWORD,SIZE_T) __WINE_ALLOC_SIZE(3);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI SIZE_T WINAPI HeapCompact(HANDLE,DWORD);
|
|
|
|
WINBASEAPI HANDLE WINAPI HeapCreate(DWORD,SIZE_T,SIZE_T);
|
|
|
|
WINBASEAPI BOOL WINAPI HeapDestroy(HANDLE);
|
|
|
|
WINBASEAPI BOOL WINAPI HeapFree(HANDLE,DWORD,LPVOID);
|
|
|
|
WINBASEAPI BOOL WINAPI HeapLock(HANDLE);
|
2008-09-04 13:39:58 +02:00
|
|
|
WINBASEAPI LPVOID WINAPI HeapReAlloc(HANDLE,DWORD,LPVOID,SIZE_T) __WINE_ALLOC_SIZE(4);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI BOOL WINAPI HeapQueryInformation(HANDLE,HEAP_INFORMATION_CLASS,PVOID,SIZE_T,PSIZE_T);
|
|
|
|
WINBASEAPI BOOL WINAPI HeapSetInformation(HANDLE,HEAP_INFORMATION_CLASS,PVOID,SIZE_T);
|
|
|
|
WINBASEAPI SIZE_T WINAPI HeapSize(HANDLE,DWORD,LPCVOID);
|
|
|
|
WINBASEAPI BOOL WINAPI HeapUnlock(HANDLE);
|
|
|
|
WINBASEAPI BOOL WINAPI HeapValidate(HANDLE,DWORD,LPCVOID);
|
|
|
|
WINBASEAPI BOOL WINAPI HeapWalk(HANDLE,LPPROCESS_HEAP_ENTRY);
|
|
|
|
WINBASEAPI BOOL WINAPI InitAtomTable(DWORD);
|
|
|
|
WINADVAPI BOOL WINAPI InitializeAcl(PACL,DWORD,DWORD);
|
|
|
|
WINBASEAPI void WINAPI InitializeCriticalSection(CRITICAL_SECTION *lpCrit);
|
|
|
|
WINBASEAPI BOOL WINAPI InitializeCriticalSectionAndSpinCount(CRITICAL_SECTION *,DWORD);
|
2008-06-20 09:19:09 +02:00
|
|
|
WINBASEAPI BOOL WINAPI InitializeCriticalSectionEx(CRITICAL_SECTION *,DWORD,DWORD);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINADVAPI BOOL WINAPI InitializeSecurityDescriptor(PSECURITY_DESCRIPTOR,DWORD);
|
|
|
|
WINADVAPI BOOL WINAPI InitializeSid(PSID,PSID_IDENTIFIER_AUTHORITY,BYTE);
|
|
|
|
WINBASEAPI VOID WINAPI InitializeSListHead(PSLIST_HEADER);
|
|
|
|
WINBASEAPI PSLIST_ENTRY WINAPI InterlockedFlushSList(PSLIST_HEADER);
|
|
|
|
WINBASEAPI PSLIST_ENTRY WINAPI InterlockedPopEntrySList(PSLIST_HEADER);
|
|
|
|
WINBASEAPI PSLIST_ENTRY WINAPI InterlockedPushEntrySList(PSLIST_HEADER, PSLIST_ENTRY);
|
|
|
|
WINBASEAPI BOOL WINAPI IsBadCodePtr(FARPROC);
|
|
|
|
WINBASEAPI BOOL WINAPI IsBadHugeReadPtr(LPCVOID,UINT);
|
|
|
|
WINBASEAPI BOOL WINAPI IsBadHugeWritePtr(LPVOID,UINT);
|
|
|
|
WINBASEAPI BOOL WINAPI IsBadReadPtr(LPCVOID,UINT);
|
|
|
|
WINBASEAPI BOOL WINAPI IsBadStringPtrA(LPCSTR,UINT);
|
|
|
|
WINBASEAPI BOOL WINAPI IsBadStringPtrW(LPCWSTR,UINT);
|
|
|
|
#define IsBadStringPtr WINELIB_NAME_AW(IsBadStringPtr)
|
|
|
|
WINBASEAPI BOOL WINAPI IsBadWritePtr(LPVOID,UINT);
|
|
|
|
WINBASEAPI BOOL WINAPI IsDebuggerPresent(void);
|
|
|
|
WINBASEAPI BOOL WINAPI IsSystemResumeAutomatic(void);
|
|
|
|
WINADVAPI BOOL WINAPI IsTextUnicode(LPCVOID,INT,LPINT);
|
|
|
|
WINADVAPI BOOL WINAPI IsTokenRestricted(HANDLE);
|
|
|
|
WINADVAPI BOOL WINAPI IsValidAcl(PACL);
|
|
|
|
WINADVAPI BOOL WINAPI IsValidSecurityDescriptor(PSECURITY_DESCRIPTOR);
|
|
|
|
WINADVAPI BOOL WINAPI IsValidSid(PSID);
|
|
|
|
WINADVAPI BOOL WINAPI IsWellKnownSid(PSID,WELL_KNOWN_SID_TYPE);
|
|
|
|
WINBASEAPI BOOL WINAPI IsWow64Process(HANDLE,PBOOL);
|
|
|
|
WINADVAPI BOOL WINAPI ImpersonateLoggedOnUser(HANDLE);
|
|
|
|
WINADVAPI BOOL WINAPI ImpersonateNamedPipeClient(HANDLE);
|
|
|
|
WINADVAPI BOOL WINAPI ImpersonateSelf(SECURITY_IMPERSONATION_LEVEL);
|
2008-09-04 22:51:02 +02:00
|
|
|
WINBASEAPI BOOL WINAPI IsProcessInJob(HANDLE,HANDLE,PBOOL);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI BOOL WINAPI IsProcessorFeaturePresent(DWORD);
|
|
|
|
WINBASEAPI void WINAPI LeaveCriticalSection(CRITICAL_SECTION *lpCrit);
|
|
|
|
WINBASEAPI HMODULE WINAPI LoadLibraryA(LPCSTR);
|
|
|
|
WINBASEAPI HMODULE WINAPI LoadLibraryW(LPCWSTR);
|
|
|
|
#define LoadLibrary WINELIB_NAME_AW(LoadLibrary)
|
|
|
|
WINBASEAPI HMODULE WINAPI LoadLibraryExA(LPCSTR,HANDLE,DWORD);
|
|
|
|
WINBASEAPI HMODULE WINAPI LoadLibraryExW(LPCWSTR,HANDLE,DWORD);
|
|
|
|
#define LoadLibraryEx WINELIB_NAME_AW(LoadLibraryEx)
|
|
|
|
WINBASEAPI HINSTANCE WINAPI LoadModule(LPCSTR,LPVOID);
|
|
|
|
WINBASEAPI HGLOBAL WINAPI LoadResource(HMODULE,HRSRC);
|
2008-09-04 13:39:58 +02:00
|
|
|
WINBASEAPI HLOCAL WINAPI LocalAlloc(UINT,SIZE_T) __WINE_ALLOC_SIZE(2);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI SIZE_T WINAPI LocalCompact(UINT);
|
|
|
|
WINBASEAPI UINT WINAPI LocalFlags(HLOCAL);
|
|
|
|
WINBASEAPI HLOCAL WINAPI LocalFree(HLOCAL);
|
|
|
|
WINBASEAPI HLOCAL WINAPI LocalHandle(LPCVOID);
|
|
|
|
WINBASEAPI LPVOID WINAPI LocalLock(HLOCAL);
|
2008-09-04 13:39:58 +02:00
|
|
|
WINBASEAPI HLOCAL WINAPI LocalReAlloc(HLOCAL,SIZE_T,UINT) __WINE_ALLOC_SIZE(3);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI SIZE_T WINAPI LocalShrink(HGLOBAL,UINT);
|
|
|
|
WINBASEAPI SIZE_T WINAPI LocalSize(HLOCAL);
|
|
|
|
WINBASEAPI BOOL WINAPI LocalUnlock(HLOCAL);
|
|
|
|
WINBASEAPI LPVOID WINAPI LockResource(HGLOBAL);
|
|
|
|
#define LockSegment(handle) GlobalFix((HANDLE)(handle))
|
|
|
|
WINADVAPI BOOL WINAPI LookupAccountNameA(LPCSTR,LPCSTR,PSID,LPDWORD,LPSTR,LPDWORD,PSID_NAME_USE);
|
|
|
|
WINADVAPI BOOL WINAPI LookupAccountNameW(LPCWSTR,LPCWSTR,PSID,LPDWORD,LPWSTR,LPDWORD,PSID_NAME_USE);
|
|
|
|
#define LookupAccountName WINELIB_NAME_AW(LookupAccountName)
|
|
|
|
WINADVAPI BOOL WINAPI LookupAccountSidA(LPCSTR,PSID,LPSTR,LPDWORD,LPSTR,LPDWORD,PSID_NAME_USE);
|
|
|
|
WINADVAPI BOOL WINAPI LookupAccountSidW(LPCWSTR,PSID,LPWSTR,LPDWORD,LPWSTR,LPDWORD,PSID_NAME_USE);
|
|
|
|
#define LookupAccountSid WINELIB_NAME_AW(LookupAccountSid)
|
|
|
|
WINBASEAPI BOOL WINAPI LocalFileTimeToFileTime(const FILETIME*,LPFILETIME);
|
|
|
|
WINBASEAPI BOOL WINAPI LockFile(HANDLE,DWORD,DWORD,DWORD,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI LockFileEx(HANDLE, DWORD, DWORD, DWORD, DWORD, LPOVERLAPPED);
|
|
|
|
WINADVAPI BOOL WINAPI LogonUserA(LPCSTR,LPCSTR,LPCSTR,DWORD,DWORD,PHANDLE);
|
|
|
|
WINADVAPI BOOL WINAPI LogonUserW(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD,PHANDLE);
|
|
|
|
#define LogonUser WINELIB_NAME_AW(LogonUser)
|
|
|
|
WINADVAPI BOOL WINAPI LookupPrivilegeDisplayNameA(LPCSTR,LPCSTR,LPSTR,LPDWORD,LPDWORD);
|
|
|
|
WINADVAPI BOOL WINAPI LookupPrivilegeDisplayNameW(LPCWSTR,LPCWSTR,LPWSTR,LPDWORD,LPDWORD);
|
|
|
|
#define LookupPrivilegeDisplayName WINELIB_NAME_AW(LookupPrivilegeDisplayName)
|
|
|
|
WINADVAPI BOOL WINAPI LookupPrivilegeNameA(LPCSTR,PLUID,LPSTR,LPDWORD);
|
|
|
|
WINADVAPI BOOL WINAPI LookupPrivilegeNameW(LPCWSTR,PLUID,LPWSTR,LPDWORD);
|
|
|
|
#define LookupPrivilegeName WINELIB_NAME_AW(LookupPrivilegeName)
|
|
|
|
WINADVAPI BOOL WINAPI LookupPrivilegeValueA(LPCSTR,LPCSTR,PLUID);
|
|
|
|
WINADVAPI BOOL WINAPI LookupPrivilegeValueW(LPCWSTR,LPCWSTR,PLUID);
|
|
|
|
#define LookupPrivilegeValue WINELIB_NAME_AW(LookupPrivilegeValue)
|
|
|
|
WINADVAPI BOOL WINAPI MakeAbsoluteSD(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,LPDWORD,PACL,LPDWORD,PACL,LPDWORD,PSID,LPDWORD,PSID,LPDWORD);
|
|
|
|
WINBASEAPI void WINAPI MakeCriticalSectionGlobal(CRITICAL_SECTION *lpCrit);
|
|
|
|
#define MakeProcInstance(proc,inst) (proc)
|
|
|
|
WINADVAPI BOOL WINAPI MakeSelfRelativeSD(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,LPDWORD);
|
|
|
|
WINADVAPI VOID WINAPI MapGenericMask(PDWORD,PGENERIC_MAPPING);
|
|
|
|
WINBASEAPI HMODULE WINAPI MapHModuleSL(WORD);
|
|
|
|
WINBASEAPI WORD WINAPI MapHModuleLS(HMODULE);
|
|
|
|
WINBASEAPI LPVOID WINAPI MapViewOfFile(HANDLE,DWORD,DWORD,DWORD,SIZE_T);
|
|
|
|
WINBASEAPI LPVOID WINAPI MapViewOfFileEx(HANDLE,DWORD,DWORD,DWORD,SIZE_T,LPVOID);
|
|
|
|
WINBASEAPI BOOL WINAPI MoveFileA(LPCSTR,LPCSTR);
|
|
|
|
WINBASEAPI BOOL WINAPI MoveFileW(LPCWSTR,LPCWSTR);
|
|
|
|
#define MoveFile WINELIB_NAME_AW(MoveFile)
|
|
|
|
WINBASEAPI BOOL WINAPI MoveFileExA(LPCSTR,LPCSTR,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI MoveFileExW(LPCWSTR,LPCWSTR,DWORD);
|
|
|
|
#define MoveFileEx WINELIB_NAME_AW(MoveFileEx)
|
|
|
|
WINBASEAPI BOOL WINAPI MoveFileWithProgressA(LPCSTR,LPCSTR,LPPROGRESS_ROUTINE,LPVOID,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI MoveFileWithProgressW(LPCWSTR,LPCWSTR,LPPROGRESS_ROUTINE,LPVOID,DWORD);
|
|
|
|
#define MoveFileWithProgress WINELIB_NAME_AW(MoveFileWithProgress)
|
|
|
|
WINBASEAPI INT WINAPI MulDiv(INT,INT,INT);
|
|
|
|
WINBASEAPI BOOL WINAPI NeedCurrentDirectoryForExePathA(LPCSTR);
|
|
|
|
WINBASEAPI BOOL WINAPI NeedCurrentDirectoryForExePathW(LPCWSTR);
|
|
|
|
#define NeedCurrentDirectoryForExePath WINELIB_NAME_AW(NeedCurrentDirectoryForExePath)
|
|
|
|
WINADVAPI BOOL WINAPI NotifyChangeEventLog(HANDLE,HANDLE);
|
|
|
|
WINADVAPI BOOL WINAPI ObjectCloseAuditAlarmA(LPCSTR,LPVOID,BOOL);
|
|
|
|
WINADVAPI BOOL WINAPI ObjectCloseAuditAlarmW(LPCWSTR,LPVOID,BOOL);
|
|
|
|
#define ObjectCloseAuditAlarm WINELIB_NAME_AW(ObjectCloseAuditAlarm)
|
|
|
|
WINADVAPI BOOL WINAPI ObjectDeleteAuditAlarmA(LPCSTR,LPVOID,BOOL);
|
|
|
|
WINADVAPI BOOL WINAPI ObjectDeleteAuditAlarmW(LPCWSTR,LPVOID,BOOL);
|
|
|
|
#define ObjectDeleteAuditAlarm WINELIB_NAME_AW(ObjectDeleteAuditAlarm)
|
|
|
|
WINADVAPI BOOL WINAPI ObjectOpenAuditAlarmA(LPCSTR,LPVOID,LPSTR,LPSTR,PSECURITY_DESCRIPTOR,HANDLE,DWORD,DWORD,PPRIVILEGE_SET,BOOL,BOOL,LPBOOL);
|
|
|
|
WINADVAPI BOOL WINAPI ObjectOpenAuditAlarmW(LPCWSTR,LPVOID,LPWSTR,LPWSTR,PSECURITY_DESCRIPTOR,HANDLE,DWORD,DWORD,PPRIVILEGE_SET,BOOL,BOOL,LPBOOL);
|
|
|
|
#define ObjectOpenAuditAlarm WINELIB_NAME_AW(ObjectOpenAuditAlarm)
|
|
|
|
WINADVAPI BOOL WINAPI ObjectPrivilegeAuditAlarmA(LPCSTR,LPVOID,HANDLE,DWORD,PPRIVILEGE_SET,BOOL);
|
|
|
|
WINADVAPI BOOL WINAPI ObjectPrivilegeAuditAlarmW(LPCWSTR,LPVOID,HANDLE,DWORD,PPRIVILEGE_SET,BOOL);
|
|
|
|
#define ObjectPrivilegeAuditAlarm WINELIB_NAME_AW(ObjectPrivilegeAuditAlarm)
|
|
|
|
WINADVAPI HANDLE WINAPI OpenBackupEventLogA(LPCSTR,LPCSTR);
|
|
|
|
WINADVAPI HANDLE WINAPI OpenBackupEventLogW(LPCWSTR,LPCWSTR);
|
|
|
|
#define OpenBackupEventLog WINELIB_NAME_AW(OpenBackupEventLog)
|
|
|
|
WINBASEAPI HANDLE WINAPI OpenEventA(DWORD,BOOL,LPCSTR);
|
|
|
|
WINBASEAPI HANDLE WINAPI OpenEventW(DWORD,BOOL,LPCWSTR);
|
|
|
|
#define OpenEvent WINELIB_NAME_AW(OpenEvent)
|
|
|
|
WINADVAPI HANDLE WINAPI OpenEventLogA(LPCSTR,LPCSTR);
|
|
|
|
WINADVAPI HANDLE WINAPI OpenEventLogW(LPCWSTR,LPCWSTR);
|
|
|
|
#define OpenEventLog WINELIB_NAME_AW(OpenEventLog)
|
|
|
|
WINBASEAPI HFILE WINAPI OpenFile(LPCSTR,OFSTRUCT*,UINT);
|
|
|
|
WINBASEAPI HANDLE WINAPI OpenFileMappingA(DWORD,BOOL,LPCSTR);
|
|
|
|
WINBASEAPI HANDLE WINAPI OpenFileMappingW(DWORD,BOOL,LPCWSTR);
|
|
|
|
#define OpenFileMapping WINELIB_NAME_AW(OpenFileMapping)
|
2008-09-04 22:51:02 +02:00
|
|
|
WINBASEAPI HANDLE WINAPI OpenJobObjectA(DWORD,BOOL,LPCSTR);
|
|
|
|
WINBASEAPI HANDLE WINAPI OpenJobObjectW(DWORD,BOOL,LPCWSTR);
|
|
|
|
#define OpenJobObject WINELIB_NAME_AW(OpenJobObject)
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI HANDLE WINAPI OpenMutexA(DWORD,BOOL,LPCSTR);
|
|
|
|
WINBASEAPI HANDLE WINAPI OpenMutexW(DWORD,BOOL,LPCWSTR);
|
|
|
|
#define OpenMutex WINELIB_NAME_AW(OpenMutex)
|
|
|
|
WINBASEAPI HANDLE WINAPI OpenProcess(DWORD,BOOL,DWORD);
|
|
|
|
WINADVAPI BOOL WINAPI OpenProcessToken(HANDLE,DWORD,PHANDLE);
|
|
|
|
WINBASEAPI HANDLE WINAPI OpenSemaphoreA(DWORD,BOOL,LPCSTR);
|
|
|
|
WINBASEAPI HANDLE WINAPI OpenSemaphoreW(DWORD,BOOL,LPCWSTR);
|
|
|
|
#define OpenSemaphore WINELIB_NAME_AW(OpenSemaphore)
|
|
|
|
WINBASEAPI HANDLE WINAPI OpenThread(DWORD,BOOL,DWORD);
|
|
|
|
WINADVAPI BOOL WINAPI OpenThreadToken(HANDLE,DWORD,BOOL,PHANDLE);
|
|
|
|
WINBASEAPI HANDLE WINAPI OpenWaitableTimerA(DWORD,BOOL,LPCSTR);
|
|
|
|
WINBASEAPI HANDLE WINAPI OpenWaitableTimerW(DWORD,BOOL,LPCWSTR);
|
|
|
|
#define OpenWaitableTimer WINELIB_NAME_AW(OpenWaitableTimer)
|
|
|
|
WINBASEAPI VOID WINAPI OutputDebugStringA(LPCSTR);
|
|
|
|
WINBASEAPI VOID WINAPI OutputDebugStringW(LPCWSTR);
|
|
|
|
#define OutputDebugString WINELIB_NAME_AW(OutputDebugString)
|
|
|
|
WINBASEAPI BOOL WINAPI PeekNamedPipe(HANDLE,PVOID,DWORD,PDWORD,PDWORD,PDWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI PostQueuedCompletionStatus(HANDLE,DWORD,ULONG_PTR,LPOVERLAPPED);
|
|
|
|
WINBASEAPI DWORD WINAPI PrepareTape(HANDLE,DWORD,BOOL);
|
|
|
|
WINBASEAPI BOOL WINAPI ProcessIdToSessionId(DWORD,DWORD*);
|
|
|
|
WINADVAPI BOOL WINAPI PrivilegeCheck(HANDLE,PPRIVILEGE_SET,LPBOOL);
|
|
|
|
WINADVAPI BOOL WINAPI PrivilegedServiceAuditAlarmA(LPCSTR,LPCSTR,HANDLE,PPRIVILEGE_SET,BOOL);
|
|
|
|
WINADVAPI BOOL WINAPI PrivilegedServiceAuditAlarmW(LPCWSTR,LPCWSTR,HANDLE,PPRIVILEGE_SET,BOOL);
|
|
|
|
#define PrivilegedServiceAuditAlarm WINELIB_NAME_AW(PrivilegedServiceAuditAlarm)
|
|
|
|
WINBASEAPI BOOL WINAPI PulseEvent(HANDLE);
|
|
|
|
WINBASEAPI BOOL WINAPI PurgeComm(HANDLE,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI QueryActCtxW(DWORD,HANDLE,PVOID,ULONG,PVOID,SIZE_T,SIZE_T *);
|
|
|
|
WINBASEAPI USHORT WINAPI QueryDepthSList(PSLIST_HEADER);
|
|
|
|
WINBASEAPI DWORD WINAPI QueryDosDeviceA(LPCSTR,LPSTR,DWORD);
|
|
|
|
WINBASEAPI DWORD WINAPI QueryDosDeviceW(LPCWSTR,LPWSTR,DWORD);
|
|
|
|
#define QueryDosDevice WINELIB_NAME_AW(QueryDosDevice)
|
2009-03-29 23:36:33 +02:00
|
|
|
WINBASEAPI BOOL WINAPI QueryFullProcessImageNameA(HANDLE,DWORD,LPSTR,PDWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI QueryFullProcessImageNameW(HANDLE,DWORD,LPWSTR,PDWORD);
|
|
|
|
#define QueryFullProcessImageName WINELIB_NAME_AW(QueryFullProcessImageName)
|
2008-09-04 22:51:02 +02:00
|
|
|
WINBASEAPI BOOL WINAPI QueryInformationJobObject(HANDLE,JOBOBJECTINFOCLASS,LPVOID,DWORD,DWORD*);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI BOOL WINAPI QueryPerformanceCounter(LARGE_INTEGER*);
|
|
|
|
WINBASEAPI BOOL WINAPI QueryPerformanceFrequency(LARGE_INTEGER*);
|
|
|
|
WINBASEAPI DWORD WINAPI QueueUserAPC(PAPCFUNC,HANDLE,ULONG_PTR);
|
|
|
|
WINBASEAPI BOOL WINAPI QueueUserWorkItem(LPTHREAD_START_ROUTINE,PVOID,ULONG);
|
|
|
|
WINBASEAPI void WINAPI RaiseException(DWORD,DWORD,DWORD,const ULONG_PTR *);
|
|
|
|
WINADVAPI BOOL WINAPI ReadEventLogA(HANDLE,DWORD,DWORD,LPVOID,DWORD,DWORD *,DWORD *);
|
|
|
|
WINADVAPI BOOL WINAPI ReadEventLogW(HANDLE,DWORD,DWORD,LPVOID,DWORD,DWORD *,DWORD *);
|
|
|
|
#define ReadEventLog WINELIB_NAME_AW(ReadEventLog)
|
|
|
|
WINBASEAPI BOOL WINAPI ReadDirectoryChangesW(HANDLE,LPVOID,DWORD,BOOL,DWORD,LPDWORD,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE);
|
|
|
|
WINBASEAPI BOOL WINAPI ReadFile(HANDLE,LPVOID,DWORD,LPDWORD,LPOVERLAPPED);
|
|
|
|
WINBASEAPI BOOL WINAPI ReadFileEx(HANDLE,LPVOID,DWORD,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE);
|
2008-03-14 20:32:53 +01:00
|
|
|
WINBASEAPI BOOL WINAPI ReadFileScatter(HANDLE,FILE_SEGMENT_ELEMENT*,DWORD,LPDWORD,LPOVERLAPPED);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI BOOL WINAPI ReadProcessMemory(HANDLE,LPCVOID,LPVOID,SIZE_T,SIZE_T*);
|
|
|
|
WINADVAPI HANDLE WINAPI RegisterEventSourceA(LPCSTR,LPCSTR);
|
|
|
|
WINADVAPI HANDLE WINAPI RegisterEventSourceW(LPCWSTR,LPCWSTR);
|
|
|
|
#define RegisterEventSource WINELIB_NAME_AW(RegisterEventSource)
|
|
|
|
WINBASEAPI BOOL WINAPI RegisterWaitForSingleObject(PHANDLE,HANDLE,WAITORTIMERCALLBACK,PVOID,ULONG,ULONG);
|
|
|
|
WINBASEAPI HANDLE WINAPI RegisterWaitForSingleObjectEx(HANDLE,WAITORTIMERCALLBACK,PVOID,ULONG,ULONG);
|
|
|
|
WINBASEAPI VOID WINAPI ReleaseActCtx(HANDLE);
|
|
|
|
WINBASEAPI BOOL WINAPI ReleaseMutex(HANDLE);
|
|
|
|
WINBASEAPI BOOL WINAPI ReleaseSemaphore(HANDLE,LONG,LPLONG);
|
|
|
|
WINBASEAPI ULONG WINAPI RemoveVectoredExceptionHandler(PVOID);
|
|
|
|
WINBASEAPI BOOL WINAPI ReplaceFileA(LPCSTR,LPCSTR,LPCSTR,DWORD,LPVOID,LPVOID);
|
|
|
|
WINBASEAPI BOOL WINAPI ReplaceFileW(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,LPVOID,LPVOID);
|
|
|
|
#define ReplaceFile WINELIB_NAME_AW(ReplaceFile)
|
|
|
|
WINBASEAPI BOOL WINAPI RemoveDirectoryA(LPCSTR);
|
|
|
|
WINBASEAPI BOOL WINAPI RemoveDirectoryW(LPCWSTR);
|
|
|
|
#define RemoveDirectory WINELIB_NAME_AW(RemoveDirectory)
|
|
|
|
WINADVAPI BOOL WINAPI ReportEventA(HANDLE,WORD,WORD,DWORD,PSID,WORD,DWORD,LPCSTR *,LPVOID);
|
|
|
|
WINADVAPI BOOL WINAPI ReportEventW(HANDLE,WORD,WORD,DWORD,PSID,WORD,DWORD,LPCWSTR *,LPVOID);
|
|
|
|
WINBASEAPI BOOL WINAPI RequestWakeupLatency(LATENCY_TIME latency);
|
|
|
|
#define ReportEvent WINELIB_NAME_AW(ReportEvent)
|
|
|
|
WINBASEAPI BOOL WINAPI ResetEvent(HANDLE);
|
2008-11-14 10:49:45 +01:00
|
|
|
WINBASEAPI UINT WINAPI ResetWriteWatch(LPVOID,SIZE_T);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI DWORD WINAPI ResumeThread(HANDLE);
|
|
|
|
WINADVAPI BOOL WINAPI RevertToSelf(void);
|
|
|
|
WINBASEAPI DWORD WINAPI SearchPathA(LPCSTR,LPCSTR,LPCSTR,DWORD,LPSTR,LPSTR*);
|
|
|
|
WINBASEAPI DWORD WINAPI SearchPathW(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,LPWSTR,LPWSTR*);
|
|
|
|
#define SearchPath WINELIB_NAME_AW(SearchPath)
|
|
|
|
WINADVAPI BOOL WINAPI SetAclInformation(PACL,LPVOID,DWORD,ACL_INFORMATION_CLASS);
|
|
|
|
WINBASEAPI BOOL WINAPI SetCommConfig(HANDLE,LPCOMMCONFIG,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI SetCommBreak(HANDLE);
|
|
|
|
WINBASEAPI BOOL WINAPI SetCommMask(HANDLE,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI SetCommState(HANDLE,LPDCB);
|
|
|
|
WINBASEAPI BOOL WINAPI SetCommTimeouts(HANDLE,LPCOMMTIMEOUTS);
|
|
|
|
WINBASEAPI BOOL WINAPI SetComputerNameA(LPCSTR);
|
|
|
|
WINBASEAPI BOOL WINAPI SetComputerNameW(LPCWSTR);
|
|
|
|
#define SetComputerName WINELIB_NAME_AW(SetComputerName)
|
|
|
|
WINBASEAPI BOOL WINAPI SetComputerNameExA(COMPUTER_NAME_FORMAT,LPCSTR);
|
|
|
|
WINBASEAPI BOOL WINAPI SetComputerNameExW(COMPUTER_NAME_FORMAT,LPCWSTR);
|
|
|
|
#define SetComputerNameEx WINELIB_NAME_AW(SetComputerNameEx)
|
|
|
|
WINBASEAPI DWORD WINAPI SetCriticalSectionSpinCount(LPCRITICAL_SECTION,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI SetCurrentDirectoryA(LPCSTR);
|
|
|
|
WINBASEAPI BOOL WINAPI SetCurrentDirectoryW(LPCWSTR);
|
|
|
|
#define SetCurrentDirectory WINELIB_NAME_AW(SetCurrentDirectory)
|
|
|
|
WINBASEAPI BOOL WINAPI SetDefaultCommConfigA(LPCSTR,LPCOMMCONFIG,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI SetDefaultCommConfigW(LPCWSTR,LPCOMMCONFIG,DWORD);
|
|
|
|
#define SetDefaultCommConfig WINELIB_NAME_AW(SetDefaultCommConfig)
|
|
|
|
WINBASEAPI BOOL WINAPI SetDllDirectoryA(LPCSTR);
|
|
|
|
WINBASEAPI BOOL WINAPI SetDllDirectoryW(LPCWSTR);
|
|
|
|
#define SetDllDirectory WINELIB_NAME_AW(SetDllDirectory)
|
2008-02-13 21:41:59 +01:00
|
|
|
WINBASEAPI BOOL WINAPI SetDynamicTimeZoneInformation(CONST DYNAMIC_TIME_ZONE_INFORMATION*);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI BOOL WINAPI SetEndOfFile(HANDLE);
|
|
|
|
WINBASEAPI BOOL WINAPI SetEnvironmentVariableA(LPCSTR,LPCSTR);
|
|
|
|
WINBASEAPI BOOL WINAPI SetEnvironmentVariableW(LPCWSTR,LPCWSTR);
|
|
|
|
#define SetEnvironmentVariable WINELIB_NAME_AW(SetEnvironmentVariable)
|
|
|
|
WINBASEAPI UINT WINAPI SetErrorMode(UINT);
|
|
|
|
WINBASEAPI BOOL WINAPI SetEvent(HANDLE);
|
|
|
|
WINBASEAPI VOID WINAPI SetFileApisToANSI(void);
|
|
|
|
WINBASEAPI VOID WINAPI SetFileApisToOEM(void);
|
|
|
|
WINBASEAPI BOOL WINAPI SetFileAttributesA(LPCSTR,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI SetFileAttributesW(LPCWSTR,DWORD);
|
|
|
|
#define SetFileAttributes WINELIB_NAME_AW(SetFileAttributes)
|
|
|
|
WINBASEAPI DWORD WINAPI SetFilePointer(HANDLE,LONG,LPLONG,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI SetFilePointerEx(HANDLE,LARGE_INTEGER,LARGE_INTEGER*,DWORD);
|
|
|
|
WINADVAPI BOOL WINAPI SetFileSecurityA(LPCSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR);
|
|
|
|
WINADVAPI BOOL WINAPI SetFileSecurityW(LPCWSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR);
|
|
|
|
#define SetFileSecurity WINELIB_NAME_AW(SetFileSecurity)
|
|
|
|
WINBASEAPI BOOL WINAPI SetFileTime(HANDLE,const FILETIME*,const FILETIME*,const FILETIME*);
|
|
|
|
WINBASEAPI UINT WINAPI SetHandleCount(UINT);
|
|
|
|
WINBASEAPI BOOL WINAPI SetHandleInformation(HANDLE,DWORD,DWORD);
|
2008-09-04 22:51:02 +02:00
|
|
|
WINBASEAPI BOOL WINAPI SetInformationJobObject(HANDLE,JOBOBJECTINFOCLASS,LPVOID,DWORD);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINADVAPI BOOL WINAPI SetKernelObjectSecurity(HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR);
|
|
|
|
WINBASEAPI BOOL WINAPI SetLocalTime(const SYSTEMTIME*);
|
|
|
|
WINBASEAPI BOOL WINAPI SetMailslotInfo(HANDLE,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI SetNamedPipeHandleState(HANDLE,LPDWORD,LPDWORD,LPDWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI SetPriorityClass(HANDLE,DWORD);
|
|
|
|
WINADVAPI BOOL WINAPI SetPrivateObjectSecurity(SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR*,PGENERIC_MAPPING,HANDLE);
|
|
|
|
WINBASEAPI BOOL WINAPI SetProcessAffinityMask(HANDLE,DWORD_PTR);
|
|
|
|
WINBASEAPI BOOL WINAPI SetProcessPriorityBoost(HANDLE,BOOL);
|
|
|
|
WINBASEAPI BOOL WINAPI SetProcessShutdownParameters(DWORD,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI SetProcessWorkingSetSize(HANDLE,SIZE_T,SIZE_T);
|
|
|
|
WINADVAPI BOOL WINAPI SetSecurityDescriptorControl(PSECURITY_DESCRIPTOR,SECURITY_DESCRIPTOR_CONTROL,SECURITY_DESCRIPTOR_CONTROL);
|
|
|
|
WINADVAPI BOOL WINAPI SetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR,BOOL,PACL,BOOL);
|
|
|
|
WINADVAPI BOOL WINAPI SetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR,PSID,BOOL);
|
|
|
|
WINADVAPI BOOL WINAPI SetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR,PSID,BOOL);
|
|
|
|
WINADVAPI BOOL WINAPI SetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR,BOOL,PACL,BOOL);
|
|
|
|
WINBASEAPI BOOL WINAPI SetStdHandle(DWORD,HANDLE);
|
|
|
|
#define SetSwapAreaSize(w) (w)
|
|
|
|
WINBASEAPI BOOL WINAPI SetSystemPowerState(BOOL,BOOL);
|
|
|
|
WINBASEAPI BOOL WINAPI SetSystemTime(const SYSTEMTIME*);
|
|
|
|
WINBASEAPI BOOL WINAPI SetSystemTimeAdjustment(DWORD,BOOL);
|
|
|
|
WINBASEAPI DWORD WINAPI SetTapeParameters(HANDLE,DWORD,LPVOID);
|
|
|
|
WINBASEAPI DWORD WINAPI SetTapePosition(HANDLE,DWORD,DWORD,DWORD,DWORD,BOOL);
|
|
|
|
WINBASEAPI DWORD_PTR WINAPI SetThreadAffinityMask(HANDLE,DWORD_PTR);
|
|
|
|
WINBASEAPI BOOL WINAPI SetThreadContext(HANDLE,const CONTEXT *);
|
|
|
|
WINBASEAPI DWORD WINAPI SetThreadExecutionState(EXECUTION_STATE);
|
|
|
|
WINBASEAPI DWORD WINAPI SetThreadIdealProcessor(HANDLE,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI SetThreadPriority(HANDLE,INT);
|
|
|
|
WINBASEAPI BOOL WINAPI SetThreadPriorityBoost(HANDLE,BOOL);
|
|
|
|
WINADVAPI BOOL WINAPI SetThreadToken(PHANDLE,HANDLE);
|
|
|
|
WINBASEAPI BOOL WINAPI SetTimeZoneInformation(const TIME_ZONE_INFORMATION *);
|
|
|
|
WINADVAPI BOOL WINAPI SetTokenInformation(HANDLE,TOKEN_INFORMATION_CLASS,LPVOID,DWORD);
|
|
|
|
WINBASEAPI LPTOP_LEVEL_EXCEPTION_FILTER WINAPI SetUnhandledExceptionFilter(LPTOP_LEVEL_EXCEPTION_FILTER);
|
|
|
|
WINBASEAPI BOOL WINAPI SetVolumeLabelA(LPCSTR,LPCSTR);
|
|
|
|
WINBASEAPI BOOL WINAPI SetVolumeLabelW(LPCWSTR,LPCWSTR);
|
|
|
|
#define SetVolumeLabel WINELIB_NAME_AW(SetVolumeLabel)
|
|
|
|
WINBASEAPI BOOL WINAPI SetVolumeMountPointA(LPCSTR,LPCSTR);
|
|
|
|
WINBASEAPI BOOL WINAPI SetVolumeMountPointW(LPCSTR,LPCSTR);
|
|
|
|
#define SetVolumeMountPoint WINELIB_NAME_AW(SetVolumeMountPoint)
|
|
|
|
WINBASEAPI BOOL WINAPI SetWaitableTimer(HANDLE,const LARGE_INTEGER*,LONG,PTIMERAPCROUTINE,LPVOID,BOOL);
|
|
|
|
WINBASEAPI BOOL WINAPI SetupComm(HANDLE,DWORD,DWORD);
|
|
|
|
WINBASEAPI DWORD WINAPI SignalObjectAndWait(HANDLE,HANDLE,DWORD,BOOL);
|
|
|
|
WINBASEAPI DWORD WINAPI SizeofResource(HMODULE,HRSRC);
|
|
|
|
WINBASEAPI VOID WINAPI Sleep(DWORD);
|
|
|
|
WINBASEAPI DWORD WINAPI SleepEx(DWORD,BOOL);
|
|
|
|
WINBASEAPI DWORD WINAPI SuspendThread(HANDLE);
|
|
|
|
WINBASEAPI void WINAPI SwitchToFiber(LPVOID);
|
|
|
|
WINBASEAPI BOOL WINAPI SwitchToThread(void);
|
|
|
|
WINBASEAPI BOOL WINAPI SystemTimeToFileTime(const SYSTEMTIME*,LPFILETIME);
|
2009-05-04 10:52:14 +02:00
|
|
|
WINBASEAPI BOOL WINAPI SystemTimeToTzSpecificLocalTime(const TIME_ZONE_INFORMATION*,const SYSTEMTIME*,LPSYSTEMTIME);
|
2008-09-04 22:51:02 +02:00
|
|
|
WINBASEAPI BOOL WINAPI TerminateJobObject(HANDLE,UINT);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI BOOL WINAPI TerminateProcess(HANDLE,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI TerminateThread(HANDLE,DWORD);
|
|
|
|
WINBASEAPI DWORD WINAPI TlsAlloc(void);
|
|
|
|
WINBASEAPI BOOL WINAPI TlsFree(DWORD);
|
|
|
|
WINBASEAPI LPVOID WINAPI TlsGetValue(DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI TlsSetValue(DWORD,LPVOID);
|
|
|
|
WINBASEAPI BOOL WINAPI TransactNamedPipe(HANDLE,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,LPOVERLAPPED);
|
|
|
|
WINBASEAPI BOOL WINAPI TransmitCommChar(HANDLE,CHAR);
|
|
|
|
WINBASEAPI BOOL WINAPI TryEnterCriticalSection(CRITICAL_SECTION *lpCrit);
|
2009-05-04 10:52:14 +02:00
|
|
|
WINBASEAPI BOOL WINAPI TzSpecificLocalTimeToSystemTime(const TIME_ZONE_INFORMATION*,const SYSTEMTIME*,LPSYSTEMTIME);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI LONG WINAPI UnhandledExceptionFilter(PEXCEPTION_POINTERS);
|
|
|
|
WINBASEAPI BOOL WINAPI UnlockFile(HANDLE,DWORD,DWORD,DWORD,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI UnlockFileEx(HANDLE,DWORD,DWORD,DWORD,LPOVERLAPPED);
|
|
|
|
#define UnlockSegment(handle) GlobalUnfix((HANDLE)(handle))
|
|
|
|
WINBASEAPI BOOL WINAPI UnmapViewOfFile(LPCVOID);
|
|
|
|
WINBASEAPI BOOL WINAPI UnregisterWait(HANDLE);
|
|
|
|
WINBASEAPI BOOL WINAPI UnregisterWaitEx(HANDLE,HANDLE);
|
|
|
|
WINBASEAPI BOOL WINAPI UpdateResourceA(HANDLE,LPCSTR,LPCSTR,WORD,LPVOID,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI UpdateResourceW(HANDLE,LPCWSTR,LPCWSTR,WORD,LPVOID,DWORD);
|
|
|
|
#define UpdateResource WINELIB_NAME_AW(UpdateResource)
|
|
|
|
WINBASEAPI BOOL WINAPI VerifyVersionInfoA(LPOSVERSIONINFOEXA,DWORD,DWORDLONG);
|
|
|
|
WINBASEAPI BOOL WINAPI VerifyVersionInfoW(LPOSVERSIONINFOEXW,DWORD,DWORDLONG);
|
|
|
|
#define VerifyVersionInfo WINELIB_NAME_AW(VerifyVersionInfo)
|
|
|
|
WINBASEAPI LPVOID WINAPI VirtualAlloc(LPVOID,SIZE_T,DWORD,DWORD);
|
|
|
|
WINBASEAPI LPVOID WINAPI VirtualAllocEx(HANDLE,LPVOID,SIZE_T,DWORD,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI VirtualFree(LPVOID,SIZE_T,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI VirtualFreeEx(HANDLE,LPVOID,SIZE_T,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI VirtualLock(LPVOID,SIZE_T);
|
|
|
|
WINBASEAPI BOOL WINAPI VirtualProtect(LPVOID,SIZE_T,DWORD,LPDWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI VirtualProtectEx(HANDLE,LPVOID,SIZE_T,DWORD,LPDWORD);
|
|
|
|
WINBASEAPI SIZE_T WINAPI VirtualQuery(LPCVOID,PMEMORY_BASIC_INFORMATION,SIZE_T);
|
|
|
|
WINBASEAPI SIZE_T WINAPI VirtualQueryEx(HANDLE,LPCVOID,PMEMORY_BASIC_INFORMATION,SIZE_T);
|
|
|
|
WINBASEAPI BOOL WINAPI VirtualUnlock(LPVOID,SIZE_T);
|
2009-07-16 05:00:13 +02:00
|
|
|
WINBASEAPI DWORD WINAPI WTSGetActiveConsoleSessionId(void);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI BOOL WINAPI WaitCommEvent(HANDLE,LPDWORD,LPOVERLAPPED);
|
|
|
|
WINBASEAPI BOOL WINAPI WaitForDebugEvent(LPDEBUG_EVENT,DWORD);
|
|
|
|
WINBASEAPI DWORD WINAPI WaitForMultipleObjects(DWORD,const HANDLE*,BOOL,DWORD);
|
|
|
|
WINBASEAPI DWORD WINAPI WaitForMultipleObjectsEx(DWORD,const HANDLE*,BOOL,DWORD,BOOL);
|
|
|
|
WINBASEAPI DWORD WINAPI WaitForSingleObject(HANDLE,DWORD);
|
|
|
|
WINBASEAPI DWORD WINAPI WaitForSingleObjectEx(HANDLE,DWORD,BOOL);
|
|
|
|
WINBASEAPI BOOL WINAPI WaitNamedPipeA(LPCSTR,DWORD);
|
|
|
|
WINBASEAPI BOOL WINAPI WaitNamedPipeW(LPCWSTR,DWORD);
|
|
|
|
#define WaitNamedPipe WINELIB_NAME_AW(WaitNamedPipe)
|
|
|
|
WINBASEAPI UINT WINAPI WinExec(LPCSTR,UINT);
|
2009-07-06 15:09:29 +02:00
|
|
|
WINBASEAPI BOOL WINAPI Wow64DisableWow64FsRedirection(PVOID*);
|
|
|
|
WINBASEAPI BOOLEAN WINAPI Wow64EnableWow64FsRedirection(BOOLEAN);
|
|
|
|
WINBASEAPI BOOL WINAPI Wow64RevertWow64FsRedirection(PVOID);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI BOOL WINAPI WriteFile(HANDLE,LPCVOID,DWORD,LPDWORD,LPOVERLAPPED);
|
|
|
|
WINBASEAPI BOOL WINAPI WriteFileEx(HANDLE,LPCVOID,DWORD,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE);
|
2008-03-14 20:32:53 +01:00
|
|
|
WINBASEAPI BOOL WINAPI WriteFileGather(HANDLE,FILE_SEGMENT_ELEMENT*,DWORD,LPDWORD,LPOVERLAPPED);
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI BOOL WINAPI WritePrivateProfileSectionA(LPCSTR,LPCSTR,LPCSTR);
|
|
|
|
WINBASEAPI BOOL WINAPI WritePrivateProfileSectionW(LPCWSTR,LPCWSTR,LPCWSTR);
|
|
|
|
#define WritePrivateProfileSection WINELIB_NAME_AW(WritePrivateProfileSection)
|
|
|
|
WINBASEAPI BOOL WINAPI WritePrivateProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPCSTR);
|
|
|
|
WINBASEAPI BOOL WINAPI WritePrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR);
|
|
|
|
#define WritePrivateProfileString WINELIB_NAME_AW(WritePrivateProfileString)
|
|
|
|
WINBASEAPI BOOL WINAPI WritePrivateProfileStructA(LPCSTR,LPCSTR,LPVOID,UINT,LPCSTR);
|
|
|
|
WINBASEAPI BOOL WINAPI WritePrivateProfileStructW(LPCWSTR,LPCWSTR,LPVOID,UINT,LPCWSTR);
|
|
|
|
#define WritePrivateProfileStruct WINELIB_NAME_AW(WritePrivateProfileStruct)
|
|
|
|
WINBASEAPI BOOL WINAPI WriteProcessMemory(HANDLE,LPVOID,LPCVOID,SIZE_T,SIZE_T*);
|
|
|
|
WINBASEAPI BOOL WINAPI WriteProfileSectionA(LPCSTR,LPCSTR);
|
|
|
|
WINBASEAPI BOOL WINAPI WriteProfileSectionW(LPCWSTR,LPCWSTR);
|
|
|
|
#define WritePrivateProfileSection WINELIB_NAME_AW(WritePrivateProfileSection)
|
|
|
|
WINBASEAPI BOOL WINAPI WriteProfileStringA(LPCSTR,LPCSTR,LPCSTR);
|
|
|
|
WINBASEAPI BOOL WINAPI WriteProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR);
|
|
|
|
#define WriteProfileString WINELIB_NAME_AW(WriteProfileString)
|
|
|
|
WINBASEAPI DWORD WINAPI WriteTapemark(HANDLE,DWORD,DWORD,BOOL);
|
|
|
|
#define Yield()
|
|
|
|
WINBASEAPI BOOL WINAPI ZombifyActCtx(HANDLE);
|
|
|
|
|
|
|
|
WINBASEAPI LPSTR WINAPI lstrcatA(LPSTR,LPCSTR);
|
|
|
|
WINBASEAPI LPWSTR WINAPI lstrcatW(LPWSTR,LPCWSTR);
|
|
|
|
WINBASEAPI INT WINAPI lstrcmpA(LPCSTR,LPCSTR);
|
|
|
|
WINBASEAPI INT WINAPI lstrcmpW(LPCWSTR,LPCWSTR);
|
|
|
|
WINBASEAPI INT WINAPI lstrcmpiA(LPCSTR,LPCSTR);
|
|
|
|
WINBASEAPI INT WINAPI lstrcmpiW(LPCWSTR,LPCWSTR);
|
|
|
|
WINBASEAPI LPSTR WINAPI lstrcpyA(LPSTR,LPCSTR);
|
|
|
|
WINBASEAPI LPWSTR WINAPI lstrcpyW(LPWSTR,LPCWSTR);
|
|
|
|
WINBASEAPI LPSTR WINAPI lstrcpynA(LPSTR,LPCSTR,INT);
|
|
|
|
WINBASEAPI LPWSTR WINAPI lstrcpynW(LPWSTR,LPCWSTR,INT);
|
|
|
|
WINBASEAPI INT WINAPI lstrlenA(LPCSTR);
|
|
|
|
WINBASEAPI INT WINAPI lstrlenW(LPCWSTR);
|
2005-02-22 16:50:13 +01:00
|
|
|
|
2005-05-29 22:03:30 +02:00
|
|
|
#if !defined(WINE_NO_INLINE_STRING) && defined(__WINESRC__)
|
2005-02-22 16:50:13 +01:00
|
|
|
|
|
|
|
/* string functions without the exception handler */
|
|
|
|
|
2005-03-17 14:56:53 +01:00
|
|
|
extern inline LPWSTR WINAPI lstrcpynW( LPWSTR dst, LPCWSTR src, INT n )
|
2005-02-22 16:50:13 +01:00
|
|
|
{
|
|
|
|
LPWSTR d = dst;
|
|
|
|
LPCWSTR s = src;
|
|
|
|
UINT count = n;
|
|
|
|
|
|
|
|
while ((count > 1) && *s)
|
|
|
|
{
|
|
|
|
count--;
|
|
|
|
*d++ = *s++;
|
|
|
|
}
|
|
|
|
if (count) *d = 0;
|
|
|
|
return dst;
|
|
|
|
}
|
|
|
|
|
2005-03-17 14:56:53 +01:00
|
|
|
extern inline LPSTR WINAPI lstrcpynA( LPSTR dst, LPCSTR src, INT n )
|
2005-02-22 16:50:13 +01:00
|
|
|
{
|
|
|
|
LPSTR d = dst;
|
|
|
|
LPCSTR s = src;
|
|
|
|
UINT count = n;
|
|
|
|
|
|
|
|
while ((count > 1) && *s)
|
|
|
|
{
|
|
|
|
count--;
|
|
|
|
*d++ = *s++;
|
|
|
|
}
|
|
|
|
if (count) *d = 0;
|
|
|
|
return dst;
|
|
|
|
}
|
|
|
|
|
2005-03-17 14:56:53 +01:00
|
|
|
extern inline INT WINAPI lstrlenW( LPCWSTR str )
|
2005-02-22 16:50:13 +01:00
|
|
|
{
|
|
|
|
const WCHAR *s = str;
|
|
|
|
while (*s) s++;
|
|
|
|
return s - str;
|
|
|
|
}
|
|
|
|
|
2005-03-17 14:56:53 +01:00
|
|
|
extern inline INT WINAPI lstrlenA( LPCSTR str )
|
2005-02-22 16:50:13 +01:00
|
|
|
{
|
|
|
|
return strlen( str );
|
|
|
|
}
|
|
|
|
|
2005-03-17 14:56:53 +01:00
|
|
|
extern inline LPWSTR WINAPI lstrcpyW( LPWSTR dst, LPCWSTR src )
|
2005-02-22 16:50:13 +01:00
|
|
|
{
|
|
|
|
WCHAR *p = dst;
|
|
|
|
while ((*p++ = *src++));
|
|
|
|
return dst;
|
|
|
|
}
|
|
|
|
|
2005-03-17 14:56:53 +01:00
|
|
|
extern inline LPSTR WINAPI lstrcpyA( LPSTR dst, LPCSTR src )
|
2005-02-22 16:50:13 +01:00
|
|
|
{
|
|
|
|
return strcpy( dst, src );
|
|
|
|
}
|
|
|
|
|
2005-03-17 14:56:53 +01:00
|
|
|
extern inline LPWSTR WINAPI lstrcatW( LPWSTR dst, LPCWSTR src )
|
2005-02-22 16:50:13 +01:00
|
|
|
{
|
|
|
|
WCHAR *p = dst;
|
|
|
|
while (*p) p++;
|
|
|
|
while ((*p++ = *src++));
|
|
|
|
return dst;
|
|
|
|
}
|
|
|
|
|
2005-03-17 14:56:53 +01:00
|
|
|
extern inline LPSTR WINAPI lstrcatA( LPSTR dst, LPCSTR src )
|
2005-02-22 16:50:13 +01:00
|
|
|
{
|
|
|
|
return strcat( dst, src );
|
|
|
|
}
|
|
|
|
|
2005-04-25 18:23:32 +02:00
|
|
|
/* strncpy doesn't do what you think, don't use it */
|
|
|
|
#undef strncpy
|
|
|
|
#define strncpy(d,s,n) error do_not_use_strncpy_use_lstrcpynA_or_memcpy_instead
|
|
|
|
|
2005-02-22 16:50:13 +01:00
|
|
|
#endif /* !defined(WINE_NO_INLINE_STRING) && defined(__WINESRC__) */
|
|
|
|
|
|
|
|
#define lstrcat WINELIB_NAME_AW(lstrcat)
|
2007-01-20 08:44:02 +01:00
|
|
|
#define lstrcmp WINELIB_NAME_AW(lstrcmp)
|
|
|
|
#define lstrcmpi WINELIB_NAME_AW(lstrcmpi)
|
2005-02-22 16:50:13 +01:00
|
|
|
#define lstrcpy WINELIB_NAME_AW(lstrcpy)
|
|
|
|
#define lstrcpyn WINELIB_NAME_AW(lstrcpyn)
|
1999-02-09 16:46:25 +01:00
|
|
|
#define lstrlen WINELIB_NAME_AW(lstrlen)
|
2005-02-22 16:50:13 +01:00
|
|
|
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI LONG WINAPI _hread(HFILE,LPVOID,LONG);
|
|
|
|
WINBASEAPI LONG WINAPI _hwrite(HFILE,LPCSTR,LONG);
|
|
|
|
WINBASEAPI HFILE WINAPI _lcreat(LPCSTR,INT);
|
|
|
|
WINBASEAPI HFILE WINAPI _lclose(HFILE);
|
|
|
|
WINBASEAPI LONG WINAPI _llseek(HFILE,LONG,INT);
|
|
|
|
WINBASEAPI HFILE WINAPI _lopen(LPCSTR,INT);
|
|
|
|
WINBASEAPI UINT WINAPI _lread(HFILE,LPVOID,UINT);
|
|
|
|
WINBASEAPI UINT WINAPI _lwrite(HFILE,LPCSTR,UINT);
|
1998-12-24 17:24:43 +01:00
|
|
|
|
2000-02-26 20:35:50 +01:00
|
|
|
/* compatibility macros */
|
|
|
|
#define FillMemory RtlFillMemory
|
|
|
|
#define MoveMemory RtlMoveMemory
|
|
|
|
#define ZeroMemory RtlZeroMemory
|
|
|
|
#define CopyMemory RtlCopyMemory
|
1999-11-10 20:51:01 +01:00
|
|
|
|
2000-11-16 00:41:46 +01:00
|
|
|
/* undocumented functions */
|
|
|
|
|
|
|
|
typedef struct tagSYSLEVEL
|
|
|
|
{
|
|
|
|
CRITICAL_SECTION crst;
|
|
|
|
INT level;
|
|
|
|
} SYSLEVEL;
|
|
|
|
|
2000-12-11 04:48:15 +01:00
|
|
|
/* [GS]etProcessDword offsets */
|
|
|
|
#define GPD_APP_COMPAT_FLAGS (-56)
|
|
|
|
#define GPD_LOAD_DONE_EVENT (-52)
|
|
|
|
#define GPD_HINSTANCE16 (-48)
|
|
|
|
#define GPD_WINDOWS_VERSION (-44)
|
|
|
|
#define GPD_THDB (-40)
|
|
|
|
#define GPD_PDB (-36)
|
|
|
|
#define GPD_STARTF_SHELLDATA (-32)
|
|
|
|
#define GPD_STARTF_HOTKEY (-28)
|
|
|
|
#define GPD_STARTF_SHOWWINDOW (-24)
|
|
|
|
#define GPD_STARTF_SIZE (-20)
|
|
|
|
#define GPD_STARTF_POSITION (-16)
|
|
|
|
#define GPD_STARTF_FLAGS (-12)
|
|
|
|
#define GPD_PARENT (- 8)
|
|
|
|
#define GPD_FLAGS (- 4)
|
|
|
|
#define GPD_USERDATA ( 0)
|
|
|
|
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI void WINAPI DisposeLZ32Handle(HANDLE);
|
|
|
|
WINBASEAPI HANDLE WINAPI DosFileHandleToWin32Handle(HFILE);
|
|
|
|
WINBASEAPI DWORD WINAPI GetProcessDword(DWORD,INT);
|
|
|
|
WINBASEAPI VOID WINAPI GetpWin16Lock(SYSLEVEL**);
|
|
|
|
WINBASEAPI DWORD WINAPI MapLS(LPCVOID);
|
|
|
|
WINBASEAPI LPVOID WINAPI MapSL(DWORD);
|
|
|
|
WINBASEAPI VOID WINAPI ReleaseThunkLock(DWORD*);
|
|
|
|
WINBASEAPI VOID WINAPI RestoreThunkLock(DWORD);
|
|
|
|
WINBASEAPI VOID WINAPI UnMapLS(DWORD);
|
|
|
|
WINBASEAPI HFILE WINAPI Win32HandleToDosFileHandle(HANDLE);
|
|
|
|
WINBASEAPI VOID WINAPI _CheckNotSysLevel(SYSLEVEL *lock);
|
|
|
|
WINBASEAPI DWORD WINAPI _ConfirmWin16Lock(void);
|
|
|
|
WINBASEAPI DWORD WINAPI _ConfirmSysLevel(SYSLEVEL*);
|
|
|
|
WINBASEAPI VOID WINAPI _EnterSysLevel(SYSLEVEL*);
|
|
|
|
WINBASEAPI VOID WINAPI _LeaveSysLevel(SYSLEVEL*);
|
2000-11-16 00:41:46 +01:00
|
|
|
|
2000-12-01 21:48:41 +01:00
|
|
|
|
|
|
|
/* Wine internal functions */
|
|
|
|
|
2009-02-06 13:56:09 +01:00
|
|
|
extern char * CDECL wine_get_unix_file_name( LPCWSTR dos );
|
|
|
|
extern WCHAR * CDECL wine_get_dos_file_name( LPCSTR str );
|
2000-12-01 21:48:41 +01:00
|
|
|
|
|
|
|
|
2008-12-08 19:25:25 +01:00
|
|
|
/* Interlocked functions */
|
2000-03-07 14:14:27 +01:00
|
|
|
|
2008-12-08 19:25:25 +01:00
|
|
|
#ifdef __i386__
|
|
|
|
# if defined(__GNUC__) && !defined(_NTSYSTEM_)
|
2000-03-07 14:14:27 +01:00
|
|
|
|
2005-08-18 12:50:38 +02:00
|
|
|
extern inline LONG WINAPI InterlockedCompareExchange( LONG volatile *dest, LONG xchg, LONG compare );
|
|
|
|
extern inline LONG WINAPI InterlockedCompareExchange( LONG volatile *dest, LONG xchg, LONG compare )
|
2000-03-07 14:14:27 +01:00
|
|
|
{
|
2001-08-09 23:21:13 +02:00
|
|
|
LONG ret;
|
2000-03-07 14:14:27 +01:00
|
|
|
__asm__ __volatile__( "lock; cmpxchgl %2,(%1)"
|
|
|
|
: "=a" (ret) : "r" (dest), "r" (xchg), "0" (compare) : "memory" );
|
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
|
2005-08-18 12:50:38 +02:00
|
|
|
extern inline LONG WINAPI InterlockedExchange( LONG volatile *dest, LONG val );
|
|
|
|
extern inline LONG WINAPI InterlockedExchange( LONG volatile *dest, LONG val )
|
2000-03-07 14:14:27 +01:00
|
|
|
{
|
|
|
|
LONG ret;
|
|
|
|
__asm__ __volatile__( "lock; xchgl %0,(%1)"
|
|
|
|
: "=r" (ret) :"r" (dest), "0" (val) : "memory" );
|
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
|
2005-08-18 12:50:38 +02:00
|
|
|
extern inline LONG WINAPI InterlockedExchangeAdd( LONG volatile *dest, LONG incr );
|
|
|
|
extern inline LONG WINAPI InterlockedExchangeAdd( LONG volatile *dest, LONG incr )
|
2000-03-07 14:14:27 +01:00
|
|
|
{
|
|
|
|
LONG ret;
|
|
|
|
__asm__ __volatile__( "lock; xaddl %0,(%1)"
|
|
|
|
: "=r" (ret) : "r" (dest), "0" (incr) : "memory" );
|
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
|
2005-08-18 12:50:38 +02:00
|
|
|
extern inline LONG WINAPI InterlockedIncrement( LONG volatile *dest );
|
|
|
|
extern inline LONG WINAPI InterlockedIncrement( LONG volatile *dest )
|
2000-03-07 14:14:27 +01:00
|
|
|
{
|
|
|
|
return InterlockedExchangeAdd( dest, 1 ) + 1;
|
|
|
|
}
|
|
|
|
|
2005-08-18 12:50:38 +02:00
|
|
|
extern inline LONG WINAPI InterlockedDecrement( LONG volatile *dest );
|
|
|
|
extern inline LONG WINAPI InterlockedDecrement( LONG volatile *dest )
|
2000-03-07 14:14:27 +01:00
|
|
|
{
|
|
|
|
return InterlockedExchangeAdd( dest, -1 ) - 1;
|
|
|
|
}
|
|
|
|
|
2008-12-08 19:25:25 +01:00
|
|
|
# else /* __GNUC__ */
|
|
|
|
|
|
|
|
WINBASEAPI LONG WINAPI InterlockedCompareExchange(LONG volatile*,LONG,LONG);
|
|
|
|
WINBASEAPI LONG WINAPI InterlockedDecrement(LONG volatile*);
|
|
|
|
WINBASEAPI LONG WINAPI InterlockedExchange(LONG volatile*,LONG);
|
|
|
|
WINBASEAPI LONG WINAPI InterlockedExchangeAdd(LONG volatile*,LONG);
|
|
|
|
WINBASEAPI LONG WINAPI InterlockedIncrement(LONG volatile*);
|
|
|
|
|
|
|
|
# endif /* __GNUC__ */
|
|
|
|
|
|
|
|
static inline PVOID WINAPI InterlockedCompareExchangePointer( PVOID volatile *dest, PVOID xchg, PVOID compare )
|
|
|
|
{
|
|
|
|
return (PVOID)InterlockedCompareExchange( (LONG volatile*)dest, (LONG)xchg, (LONG)compare );
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline PVOID WINAPI InterlockedExchangePointer( PVOID volatile *dest, PVOID val )
|
|
|
|
{
|
|
|
|
return (PVOID)InterlockedExchange( (LONG volatile*)dest, (LONG)val );
|
|
|
|
}
|
|
|
|
|
|
|
|
#else /* __i386__ */
|
|
|
|
|
|
|
|
static inline LONG WINAPI InterlockedCompareExchange( LONG volatile *dest, LONG xchg, LONG compare )
|
|
|
|
{
|
|
|
|
#if defined(__x86_64__) && defined(__GNUC__)
|
|
|
|
LONG ret;
|
|
|
|
__asm__ __volatile__( "lock; cmpxchgl %2,(%1)"
|
|
|
|
: "=a" (ret) : "r" (dest), "r" (xchg), "0" (compare) : "memory" );
|
|
|
|
return ret;
|
|
|
|
#else
|
|
|
|
extern int interlocked_cmpxchg( int *dest, int xchg, int compare );
|
|
|
|
return interlocked_cmpxchg( (int *)dest, xchg, compare );
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline PVOID WINAPI InterlockedCompareExchangePointer( PVOID volatile *dest, PVOID xchg, PVOID compare )
|
|
|
|
{
|
|
|
|
#if defined(__x86_64__) && defined(__GNUC__)
|
|
|
|
PVOID ret;
|
|
|
|
__asm__ __volatile__( "lock; cmpxchgq %2,(%1)"
|
|
|
|
: "=a" (ret) : "r" (dest), "r" (xchg), "0" (compare) : "memory" );
|
|
|
|
return ret;
|
|
|
|
#else
|
|
|
|
extern void *interlocked_cmpxchg_ptr( void **dest, void *xchg, void *compare );
|
|
|
|
return interlocked_cmpxchg_ptr( (void **)dest, xchg, compare );
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline LONG WINAPI InterlockedExchange( LONG volatile *dest, LONG val )
|
|
|
|
{
|
|
|
|
#if defined(__x86_64__) && defined(__GNUC__)
|
|
|
|
LONG ret;
|
|
|
|
__asm__ __volatile__( "lock; xchgl %0,(%1)"
|
|
|
|
: "=r" (ret) :"r" (dest), "0" (val) : "memory" );
|
|
|
|
return ret;
|
|
|
|
#else
|
|
|
|
extern int interlocked_xchg( int *dest, int val );
|
|
|
|
return interlocked_xchg( (int *)dest, val );
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline PVOID WINAPI InterlockedExchangePointer( PVOID volatile *dest, PVOID val )
|
|
|
|
{
|
|
|
|
#if defined(__x86_64__) && defined(__GNUC__)
|
|
|
|
PVOID ret;
|
|
|
|
__asm__ __volatile__( "lock; xchgq %0,(%1)"
|
|
|
|
: "=r" (ret) :"r" (dest), "0" (val) : "memory" );
|
|
|
|
return ret;
|
|
|
|
#else
|
|
|
|
extern void *interlocked_xchg_ptr( void **dest, void *val );
|
|
|
|
return interlocked_xchg_ptr( (void **)dest, val );
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline LONG WINAPI InterlockedExchangeAdd( LONG volatile *dest, LONG incr )
|
|
|
|
{
|
|
|
|
#if defined(__x86_64__) && defined(__GNUC__)
|
|
|
|
LONG ret;
|
|
|
|
__asm__ __volatile__( "lock; xaddl %0,(%1)"
|
|
|
|
: "=r" (ret) : "r" (dest), "0" (incr) : "memory" );
|
|
|
|
return ret;
|
|
|
|
#else
|
|
|
|
extern int interlocked_xchg_add( int *dest, int incr );
|
|
|
|
return interlocked_xchg_add( (int *)dest, incr );
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline LONG WINAPI InterlockedIncrement( LONG volatile *dest )
|
|
|
|
{
|
|
|
|
return InterlockedExchangeAdd( dest, 1 ) + 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline LONG WINAPI InterlockedDecrement( LONG volatile *dest )
|
|
|
|
{
|
|
|
|
return InterlockedExchangeAdd( dest, -1 ) - 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* __i386__ */
|
|
|
|
|
|
|
|
/* A few optimizations for gcc */
|
|
|
|
|
2008-12-09 17:10:20 +01:00
|
|
|
#if defined(__GNUC__) && !defined(__MINGW32__) && (defined(__i386__) || defined(__x86_64__))
|
2008-12-08 19:25:25 +01:00
|
|
|
|
2000-03-08 19:26:56 +01:00
|
|
|
extern inline DWORD WINAPI GetLastError(void);
|
|
|
|
extern inline DWORD WINAPI GetLastError(void)
|
2000-03-07 14:14:27 +01:00
|
|
|
{
|
|
|
|
DWORD ret;
|
2008-12-08 19:25:25 +01:00
|
|
|
#ifdef __x86_64__
|
|
|
|
__asm__ __volatile__( ".byte 0x65\n\tmovl 0x68,%0" : "=r" (ret) );
|
|
|
|
#else
|
2003-11-25 02:53:23 +01:00
|
|
|
__asm__ __volatile__( ".byte 0x64\n\tmovl 0x34,%0" : "=r" (ret) );
|
2008-12-08 19:25:25 +01:00
|
|
|
#endif
|
2000-03-07 14:14:27 +01:00
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
|
2000-04-11 22:01:59 +02:00
|
|
|
extern inline DWORD WINAPI GetCurrentProcessId(void);
|
|
|
|
extern inline DWORD WINAPI GetCurrentProcessId(void)
|
|
|
|
{
|
|
|
|
DWORD ret;
|
2008-12-08 19:25:25 +01:00
|
|
|
#ifdef __x86_64__
|
|
|
|
__asm__ __volatile__( ".byte 0x65\n\tmovl 0x40,%0" : "=r" (ret) );
|
|
|
|
#else
|
2000-04-11 22:01:59 +02:00
|
|
|
__asm__ __volatile__( ".byte 0x64\n\tmovl 0x20,%0" : "=r" (ret) );
|
2008-12-08 19:25:25 +01:00
|
|
|
#endif
|
2000-04-11 22:01:59 +02:00
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
|
2000-03-08 19:26:56 +01:00
|
|
|
extern inline DWORD WINAPI GetCurrentThreadId(void);
|
|
|
|
extern inline DWORD WINAPI GetCurrentThreadId(void)
|
2000-03-07 14:14:27 +01:00
|
|
|
{
|
|
|
|
DWORD ret;
|
2008-12-08 19:25:25 +01:00
|
|
|
#ifdef __x86_64__
|
|
|
|
__asm__ __volatile__( ".byte 0x65\n\tmovl 0x48,%0" : "=r" (ret) );
|
|
|
|
#else
|
2000-03-07 14:14:27 +01:00
|
|
|
__asm__ __volatile__( ".byte 0x64\n\tmovl 0x24,%0" : "=r" (ret) );
|
2008-12-08 19:25:25 +01:00
|
|
|
#endif
|
2000-03-07 14:14:27 +01:00
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
|
2000-03-08 19:26:56 +01:00
|
|
|
extern inline void WINAPI SetLastError( DWORD err );
|
|
|
|
extern inline void WINAPI SetLastError( DWORD err )
|
2000-03-07 14:14:27 +01:00
|
|
|
{
|
2008-12-08 19:25:25 +01:00
|
|
|
#ifdef __x86_64__
|
|
|
|
__asm__ __volatile__( ".byte 0x65\n\tmovl %0,0x68" : : "r" (err) : "memory" );
|
|
|
|
#else
|
2003-11-25 02:53:23 +01:00
|
|
|
__asm__ __volatile__( ".byte 0x64\n\tmovl %0,0x34" : : "r" (err) : "memory" );
|
2008-12-08 19:25:25 +01:00
|
|
|
#endif
|
2000-03-07 14:14:27 +01:00
|
|
|
}
|
|
|
|
|
2000-04-11 22:01:59 +02:00
|
|
|
extern inline HANDLE WINAPI GetProcessHeap(void);
|
|
|
|
extern inline HANDLE WINAPI GetProcessHeap(void)
|
|
|
|
{
|
2000-04-23 21:54:42 +02:00
|
|
|
HANDLE *pdb;
|
2008-12-08 19:25:25 +01:00
|
|
|
#ifdef __x86_64__
|
2008-12-11 20:37:42 +01:00
|
|
|
__asm__ __volatile__( ".byte 0x65\n\tmovq 0x60,%0" : "=r" (pdb) );
|
2008-12-08 19:25:25 +01:00
|
|
|
return pdb[0x30 / sizeof(HANDLE)]; /* get dword at offset 0x30 in pdb */
|
|
|
|
#else
|
2000-04-11 22:01:59 +02:00
|
|
|
__asm__ __volatile__( ".byte 0x64\n\tmovl 0x30,%0" : "=r" (pdb) );
|
2000-04-23 21:54:42 +02:00
|
|
|
return pdb[0x18 / sizeof(HANDLE)]; /* get dword at offset 0x18 in pdb */
|
2008-12-08 19:25:25 +01:00
|
|
|
#endif
|
2000-04-11 22:01:59 +02:00
|
|
|
}
|
|
|
|
|
2008-12-08 19:25:25 +01:00
|
|
|
#else /* __GNUC__ */
|
2003-07-10 00:06:59 +02:00
|
|
|
|
2007-11-07 12:27:51 +01:00
|
|
|
WINBASEAPI DWORD WINAPI GetCurrentProcessId(void);
|
|
|
|
WINBASEAPI DWORD WINAPI GetCurrentThreadId(void);
|
|
|
|
WINBASEAPI DWORD WINAPI GetLastError(void);
|
|
|
|
WINBASEAPI HANDLE WINAPI GetProcessHeap(void);
|
|
|
|
WINBASEAPI VOID WINAPI SetLastError(DWORD);
|
2003-07-10 00:06:59 +02:00
|
|
|
|
2008-12-08 19:25:25 +01:00
|
|
|
#endif /* __GNUC__ */
|
2001-08-17 02:08:20 +02:00
|
|
|
|
2003-01-04 01:52:18 +01:00
|
|
|
#ifdef __WINESRC__
|
2008-12-08 15:51:22 +01:00
|
|
|
#define GetCurrentProcess() ((HANDLE)~(ULONG_PTR)0)
|
|
|
|
#define GetCurrentThread() ((HANDLE)~(ULONG_PTR)1)
|
2000-04-11 22:01:59 +02:00
|
|
|
#endif
|
1998-12-24 17:24:43 +01:00
|
|
|
|
2000-06-24 15:37:05 +02:00
|
|
|
/* WinMain(entry point) must be declared in winbase.h. */
|
|
|
|
/* If this is not declared, we cannot compile many sources written with C++. */
|
|
|
|
int WINAPI WinMain(HINSTANCE,HINSTANCE,LPSTR,int);
|
|
|
|
|
2006-06-12 16:18:17 +02:00
|
|
|
#ifdef __WINESRC__
|
|
|
|
/* shouldn't be here, but is nice for type checking */
|
|
|
|
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) DECLSPEC_HIDDEN;
|
|
|
|
#endif
|
|
|
|
|
1998-11-08 14:14:55 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
1996-04-14 15:21:20 +02:00
|
|
|
#endif /* __WINE_WINBASE_H */
|