2000-02-18 03:38:33 +08:00
|
|
|
#ifndef _WINBASE_H
|
|
|
|
#define _WINBASE_H
|
2003-05-18 Manu B <manubee@users.sourceforge.net>
* include/commctrl.h (TVSORTCB): Rename old TV_SORTCB structure.
2003-05-18 Bang Jun-Young <junyoung@netbsd.org>
* include/winbase.h (CREATE_DEFAULT_ERROR_MODE,
DEBUG_PROCESS, DEBUG_ONLY_THIS_PROCESS, CREATE_SUSPENDED,
DETACHED_PROCESS, CREATE_NEW_CONSOLE, NORMAL_PRIORITY_CLASS,
IDLE_PRIORITY_CLASS, HIGH_PRIORITY_CLASS, REALTIME_PRIORITY_CLASS,
CREATE_NEW_PROCESS_GROUP, CREATE_UNICODE_ENVIRONMENT,
CREATE_SEPARATE_WOW_VDM, CREATE_SHARED_WOW_VDM, CREATE_FORCEDOS,
CREATE_NO_WINDOW): Convert to hexadecimal form for better
readability.
(BELOW_NORMAL_PRIORITY_CLASS, ABOVE_NORMAL_PRIORITY_CLASS,
CREATE_BREAKAWAY_FROM_JOB, CREATE_WITH_USERPROFILE): Add.
2003-05-18 18:20:47 +08:00
|
|
|
#if __GNUC__ >= 3
|
* include/accctrl.h, aclapi.h, basetsd.h, basetyps.h, cderr.h,
cguid.h, commctrl.h, commdlg.h, cpl.h, cplext.h, custcntl.h,
dbt.h, dde.h, ddeml.h, dlgs.h, excpt.h, httpext.h, imagehlp.h,
imm.h, initguid.h, intshcut.h, ipexport.h, iphlpapi.h,
ipifcons.h, iprtrmib.h, iptypes.h, isguids.h, largeint.h, lm.h,
lmaccess.h, lmalert.h, lmapibuf.h, lmat.h, lmaudit.h,
lmbrowsr.h, lmchdev.h, lmconfig.h, lmcons.h, lmerr.h,
lmerrlog.h, lmmsg.h, lmremutl.h, lmrepl.h, lmserver.h,
lmshare.h, lmsname.h, lmstats.h, lmsvc.h, lmuse.h, lmuseflg.h,
lmwksta.h, lzexpand.h, mapi.h, mciavi.h, mcx.h, mmsystem.h,
mswsock.h, nb30.h, nddeapi.h, nspapi.h, ntdef.h, ntsecapi.h,
ntsecpkg.h, oaidl.h, objbase.h, objfwd.h, objidl.h, odbcinst.h,
ole.h, ole2.h, ole2ver.h, oleauto.h, olectl.h, olectlid.h,
oledlg.h, oleidl.h, pbt.h, prsht.h, psapi.h, rapi.h, ras.h,
raserror.h, rassapi.h, regstr.h, richedit.h, richole.h, rpc.h,
rpcdce.h, rpcdce2.h, rpcdcep.h, rpcndr.h, rpcnsi.h, rpcnsip.h,
rpcnterr.h, rpcproxy.h, schannel.h, schnlsp.h, scrnsave.h,
security.h, setupapi.h, shellapi.h, shlguid.h, shlobj.h, sql.h,
sqlext.h, sqltypes.h, sqlucode.h, sspi.h, subauth.h,
tlhelp32.h, unknwn.h, userenv.h, w32api.h, winbase.h, wincon.h,
wincrypt.h, windef.h, windows.h, windowsx.h, winerror.h,
wingdi.h, wininet.h, winioctl.h, winnetwk.h, winnls.h, winnt.h,
winperf.h, winreg.h, winresrc.h, winsock.h, winsock2.h,
winspool.h, winsvc.h, winuser.h, winver.h, ws2tcpip.h,
wsnetbs.h, wtypes.h, zmouse.h: Add #pragma GCC system_header
if __GNUC__ >= 3.
* include/mapi.h: Change header guard name to _MAPI_H for
consistency.
2002-03-09 17:04:10 +08:00
|
|
|
#pragma GCC system_header
|
|
|
|
#endif
|
|
|
|
|
2002-06-26 05:05:19 +08:00
|
|
|
#ifndef WINBASEAPI
|
2000-02-18 03:38:33 +08:00
|
|
|
#define WINBASEAPI DECLSPEC_IMPORT
|
2002-06-26 05:05:19 +08:00
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define SP_SERIALCOMM 1
|
|
|
|
#define PST_UNSPECIFIED 0
|
|
|
|
#define PST_RS232 1
|
|
|
|
#define PST_PARALLELPORT 2
|
|
|
|
#define PST_RS422 3
|
|
|
|
#define PST_RS423 4
|
|
|
|
#define PST_RS449 5
|
|
|
|
#define PST_MODEM 6
|
|
|
|
#define PST_FAX 0x21
|
|
|
|
#define PST_SCANNER 0x22
|
|
|
|
#define PST_NETWORK_BRIDGE 0x100
|
|
|
|
#define PST_LAT 0x101
|
|
|
|
#define PST_TCPIP_TELNET 0x102
|
|
|
|
#define PST_X25 0x103
|
|
|
|
#define BAUD_075 1
|
|
|
|
#define BAUD_110 2
|
|
|
|
#define BAUD_134_5 4
|
|
|
|
#define BAUD_150 8
|
|
|
|
#define BAUD_300 16
|
|
|
|
#define BAUD_600 32
|
|
|
|
#define BAUD_1200 64
|
|
|
|
#define BAUD_1800 128
|
|
|
|
#define BAUD_2400 256
|
|
|
|
#define BAUD_4800 512
|
|
|
|
#define BAUD_7200 1024
|
|
|
|
#define BAUD_9600 2048
|
|
|
|
#define BAUD_14400 4096
|
|
|
|
#define BAUD_19200 8192
|
|
|
|
#define BAUD_38400 16384
|
|
|
|
#define BAUD_56K 32768
|
|
|
|
#define BAUD_128K 65536
|
|
|
|
#define BAUD_115200 131072
|
|
|
|
#define BAUD_57600 262144
|
|
|
|
#define BAUD_USER 0x10000000
|
|
|
|
#define PCF_DTRDSR 1
|
|
|
|
#define PCF_RTSCTS 2
|
|
|
|
#define PCF_RLSD 4
|
|
|
|
#define PCF_PARITY_CHECK 8
|
|
|
|
#define PCF_XONXOFF 16
|
|
|
|
#define PCF_SETXCHAR 32
|
|
|
|
#define PCF_TOTALTIMEOUTS 64
|
|
|
|
#define PCF_INTTIMEOUTS 128
|
|
|
|
#define PCF_SPECIALCHARS 256
|
|
|
|
#define PCF_16BITMODE 512
|
|
|
|
#define SP_PARITY 1
|
|
|
|
#define SP_BAUD 2
|
|
|
|
#define SP_DATABITS 4
|
|
|
|
#define SP_STOPBITS 8
|
|
|
|
#define SP_HANDSHAKING 16
|
|
|
|
#define SP_PARITY_CHECK 32
|
|
|
|
#define SP_RLSD 64
|
|
|
|
#define DATABITS_5 1
|
|
|
|
#define DATABITS_6 2
|
|
|
|
#define DATABITS_7 4
|
|
|
|
#define DATABITS_8 8
|
|
|
|
#define DATABITS_16 16
|
|
|
|
#define DATABITS_16X 32
|
|
|
|
#define STOPBITS_10 1
|
|
|
|
#define STOPBITS_15 2
|
|
|
|
#define STOPBITS_20 4
|
|
|
|
#define PARITY_NONE 256
|
|
|
|
#define PARITY_ODD 512
|
|
|
|
#define PARITY_EVEN 1024
|
|
|
|
#define PARITY_MARK 2048
|
|
|
|
#define PARITY_SPACE 4096
|
|
|
|
#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
|
|
|
|
#define HFILE_ERROR ((HFILE)-1)
|
|
|
|
#define FILE_BEGIN 0
|
|
|
|
#define FILE_CURRENT 1
|
|
|
|
#define FILE_END 2
|
2000-12-05 16:53:45 +08:00
|
|
|
#define INVALID_SET_FILE_POINTER ((DWORD)-1)
|
2000-02-18 03:38:33 +08:00
|
|
|
#define OF_READ 0
|
|
|
|
#define OF_READWRITE 2
|
|
|
|
#define OF_WRITE 1
|
|
|
|
#define OF_SHARE_COMPAT 0
|
|
|
|
#define OF_SHARE_DENY_NONE 64
|
|
|
|
#define OF_SHARE_DENY_READ 48
|
|
|
|
#define OF_SHARE_DENY_WRITE 32
|
|
|
|
#define OF_SHARE_EXCLUSIVE 16
|
|
|
|
#define OF_CANCEL 2048
|
|
|
|
#define OF_CREATE 4096
|
|
|
|
#define OF_DELETE 512
|
|
|
|
#define OF_EXIST 16384
|
|
|
|
#define OF_PARSE 256
|
|
|
|
#define OF_PROMPT 8192
|
|
|
|
#define OF_REOPEN 32768
|
|
|
|
#define OF_VERIFY 1024
|
|
|
|
#define NMPWAIT_NOWAIT 1
|
2002-12-30 16:48:23 +08:00
|
|
|
#define NMPWAIT_WAIT_FOREVER ((DWORD)-1)
|
2000-02-18 03:38:33 +08:00
|
|
|
#define NMPWAIT_USE_DEFAULT_WAIT 0
|
|
|
|
#define CE_BREAK 16
|
|
|
|
#define CE_DNS 2048
|
|
|
|
#define CE_FRAME 8
|
|
|
|
#define CE_IOE 1024
|
|
|
|
#define CE_MODE 32768
|
|
|
|
#define CE_OOP 4096
|
|
|
|
#define CE_OVERRUN 2
|
|
|
|
#define CE_PTO 512
|
|
|
|
#define CE_RXOVER 1
|
|
|
|
#define CE_RXPARITY 4
|
|
|
|
#define CE_TXFULL 256
|
|
|
|
#define PROGRESS_CONTINUE 0
|
|
|
|
#define PROGRESS_CANCEL 1
|
|
|
|
#define PROGRESS_STOP 2
|
|
|
|
#define PROGRESS_QUIET 3
|
|
|
|
#define CALLBACK_CHUNK_FINISHED 0
|
|
|
|
#define CALLBACK_STREAM_SWITCH 1
|
|
|
|
#define COPY_FILE_FAIL_IF_EXISTS 1
|
|
|
|
#define COPY_FILE_RESTARTABLE 2
|
|
|
|
#define OFS_MAXPATHNAME 128
|
|
|
|
#define FILE_MAP_ALL_ACCESS 0xf001f
|
|
|
|
#define FILE_MAP_READ 4
|
|
|
|
#define FILE_MAP_WRITE 2
|
|
|
|
#define FILE_MAP_COPY 1
|
|
|
|
#define MUTEX_ALL_ACCESS 0x1f0001
|
|
|
|
#define MUTEX_MODIFY_STATE 1
|
|
|
|
#define SEMAPHORE_ALL_ACCESS 0x1f0003
|
|
|
|
#define SEMAPHORE_MODIFY_STATE 2
|
|
|
|
#define EVENT_ALL_ACCESS 0x1f0003
|
|
|
|
#define EVENT_MODIFY_STATE 2
|
|
|
|
#define PIPE_ACCESS_DUPLEX 3
|
|
|
|
#define PIPE_ACCESS_INBOUND 1
|
|
|
|
#define PIPE_ACCESS_OUTBOUND 2
|
|
|
|
#define PIPE_TYPE_BYTE 0
|
|
|
|
#define PIPE_TYPE_MESSAGE 4
|
|
|
|
#define PIPE_READMODE_BYTE 0
|
|
|
|
#define PIPE_READMODE_MESSAGE 2
|
|
|
|
#define PIPE_WAIT 0
|
|
|
|
#define PIPE_NOWAIT 1
|
|
|
|
#define PIPE_CLIENT_END 0
|
|
|
|
#define PIPE_SERVER_END 1
|
|
|
|
#define PIPE_UNLIMITED_INSTANCES 255
|
2003-05-18 Manu B <manubee@users.sourceforge.net>
* include/commctrl.h (TVSORTCB): Rename old TV_SORTCB structure.
2003-05-18 Bang Jun-Young <junyoung@netbsd.org>
* include/winbase.h (CREATE_DEFAULT_ERROR_MODE,
DEBUG_PROCESS, DEBUG_ONLY_THIS_PROCESS, CREATE_SUSPENDED,
DETACHED_PROCESS, CREATE_NEW_CONSOLE, NORMAL_PRIORITY_CLASS,
IDLE_PRIORITY_CLASS, HIGH_PRIORITY_CLASS, REALTIME_PRIORITY_CLASS,
CREATE_NEW_PROCESS_GROUP, CREATE_UNICODE_ENVIRONMENT,
CREATE_SEPARATE_WOW_VDM, CREATE_SHARED_WOW_VDM, CREATE_FORCEDOS,
CREATE_NO_WINDOW): Convert to hexadecimal form for better
readability.
(BELOW_NORMAL_PRIORITY_CLASS, ABOVE_NORMAL_PRIORITY_CLASS,
CREATE_BREAKAWAY_FROM_JOB, CREATE_WITH_USERPROFILE): Add.
2003-05-18 18:20:47 +08:00
|
|
|
#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
|
|
|
|
#define CREATE_NEW_PROCESS_GROUP 0x00000200
|
|
|
|
#define CREATE_UNICODE_ENVIRONMENT 0x00000400
|
|
|
|
#define CREATE_SEPARATE_WOW_VDM 0x00000800
|
|
|
|
#define CREATE_SHARED_WOW_VDM 0x00001000
|
|
|
|
#define CREATE_FORCEDOS 0x00002000
|
|
|
|
#define BELOW_NORMAL_PRIORITY_CLASS 0x00004000
|
|
|
|
#define ABOVE_NORMAL_PRIORITY_CLASS 0x00008000
|
|
|
|
#define CREATE_BREAKAWAY_FROM_JOB 0x01000000
|
|
|
|
#define CREATE_WITH_USERPROFILE 0x02000000
|
|
|
|
#define CREATE_DEFAULT_ERROR_MODE 0x04000000
|
|
|
|
#define CREATE_NO_WINDOW 0x08000000
|
|
|
|
#define PROFILE_USER 0x10000000
|
|
|
|
#define PROFILE_KERNEL 0x20000000
|
|
|
|
#define PROFILE_SERVER 0x40000000
|
2000-02-18 03:38:33 +08:00
|
|
|
#define CONSOLE_TEXTMODE_BUFFER 1
|
|
|
|
#define CREATE_NEW 1
|
|
|
|
#define CREATE_ALWAYS 2
|
|
|
|
#define OPEN_EXISTING 3
|
|
|
|
#define OPEN_ALWAYS 4
|
|
|
|
#define TRUNCATE_EXISTING 5
|
|
|
|
#define FILE_FLAG_WRITE_THROUGH 0x80000000
|
|
|
|
#define FILE_FLAG_OVERLAPPED 1073741824
|
|
|
|
#define FILE_FLAG_NO_BUFFERING 536870912
|
|
|
|
#define FILE_FLAG_RANDOM_ACCESS 268435456
|
|
|
|
#define FILE_FLAG_SEQUENTIAL_SCAN 134217728
|
|
|
|
#define FILE_FLAG_DELETE_ON_CLOSE 67108864
|
|
|
|
#define FILE_FLAG_BACKUP_SEMANTICS 33554432
|
|
|
|
#define FILE_FLAG_POSIX_SEMANTICS 16777216
|
2000-06-28 02:21:31 +08:00
|
|
|
#define FILE_FLAG_OPEN_REPARSE_POINT 2097152
|
|
|
|
#define FILE_FLAG_OPEN_NO_RECALL 1048576
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
2002-06-26 05:16:46 +08:00
|
|
|
#define FILE_FLAG_FIRST_PIPE_INSTANCE 524288
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define CLRDTR 6
|
|
|
|
#define CLRRTS 4
|
|
|
|
#define SETDTR 5
|
|
|
|
#define SETRTS 3
|
|
|
|
#define SETXOFF 1
|
|
|
|
#define SETXON 2
|
|
|
|
#define SETBREAK 8
|
|
|
|
#define CLRBREAK 9
|
|
|
|
#define STILL_ACTIVE 0x103
|
|
|
|
#define FIND_FIRST_EX_CASE_SENSITIVE 1
|
|
|
|
#define SCS_32BIT_BINARY 0
|
|
|
|
#define SCS_DOS_BINARY 1
|
|
|
|
#define SCS_OS216_BINARY 5
|
|
|
|
#define SCS_PIF_BINARY 3
|
|
|
|
#define SCS_POSIX_BINARY 4
|
|
|
|
#define SCS_WOW_BINARY 2
|
|
|
|
#define MAX_COMPUTERNAME_LENGTH 15
|
|
|
|
#define HW_PROFILE_GUIDLEN 39
|
|
|
|
#define MAX_PROFILE_LEN 80
|
|
|
|
#define DOCKINFO_UNDOCKED 1
|
|
|
|
#define DOCKINFO_DOCKED 2
|
|
|
|
#define DOCKINFO_USER_SUPPLIED 4
|
|
|
|
#define DOCKINFO_USER_UNDOCKED (DOCKINFO_USER_SUPPLIED|DOCKINFO_UNDOCKED)
|
|
|
|
#define DOCKINFO_USER_DOCKED (DOCKINFO_USER_SUPPLIED|DOCKINFO_DOCKED)
|
|
|
|
#define DRIVE_REMOVABLE 2
|
|
|
|
#define DRIVE_FIXED 3
|
|
|
|
#define DRIVE_REMOTE 4
|
|
|
|
#define DRIVE_CDROM 5
|
|
|
|
#define DRIVE_RAMDISK 6
|
|
|
|
#define DRIVE_UNKNOWN 0
|
|
|
|
#define DRIVE_NO_ROOT_DIR 1
|
|
|
|
#define FILE_TYPE_UNKNOWN 0
|
|
|
|
#define FILE_TYPE_DISK 1
|
|
|
|
#define FILE_TYPE_CHAR 2
|
|
|
|
#define FILE_TYPE_PIPE 3
|
|
|
|
#define FILE_TYPE_REMOTE 0x8000
|
2003-07-23 06:21:27 +08:00
|
|
|
/* also in ddk/ntapi.h */
|
|
|
|
#define HANDLE_FLAG_INHERIT 0x01
|
|
|
|
#define HANDLE_FLAG_PROTECT_FROM_CLOSE 0x02
|
|
|
|
/* end ntapi.h */
|
2000-02-18 03:38:33 +08:00
|
|
|
#define STD_INPUT_HANDLE (DWORD)(0xfffffff6)
|
|
|
|
#define STD_OUTPUT_HANDLE (DWORD)(0xfffffff5)
|
|
|
|
#define STD_ERROR_HANDLE (DWORD)(0xfffffff4)
|
|
|
|
#define INVALID_HANDLE_VALUE (HANDLE)(-1)
|
|
|
|
#define GET_TAPE_MEDIA_INFORMATION 0
|
|
|
|
#define GET_TAPE_DRIVE_INFORMATION 1
|
|
|
|
#define SET_TAPE_MEDIA_INFORMATION 0
|
|
|
|
#define SET_TAPE_DRIVE_INFORMATION 1
|
|
|
|
#define THREAD_PRIORITY_ABOVE_NORMAL 1
|
|
|
|
#define THREAD_PRIORITY_BELOW_NORMAL (-1)
|
|
|
|
#define THREAD_PRIORITY_HIGHEST 2
|
|
|
|
#define THREAD_PRIORITY_IDLE (-15)
|
|
|
|
#define THREAD_PRIORITY_LOWEST (-2)
|
|
|
|
#define THREAD_PRIORITY_NORMAL 0
|
|
|
|
#define THREAD_PRIORITY_TIME_CRITICAL 15
|
|
|
|
#define THREAD_PRIORITY_ERROR_RETURN 2147483647
|
|
|
|
#define TIME_ZONE_ID_UNKNOWN 0
|
|
|
|
#define TIME_ZONE_ID_STANDARD 1
|
|
|
|
#define TIME_ZONE_ID_DAYLIGHT 2
|
|
|
|
#define TIME_ZONE_ID_INVALID 0xFFFFFFFF
|
|
|
|
#define FS_CASE_IS_PRESERVED 2
|
|
|
|
#define FS_CASE_SENSITIVE 1
|
|
|
|
#define FS_UNICODE_STORED_ON_DISK 4
|
|
|
|
#define FS_PERSISTENT_ACLS 8
|
|
|
|
#define FS_FILE_COMPRESSION 16
|
|
|
|
#define FS_VOL_IS_COMPRESSED 32768
|
|
|
|
#define GMEM_FIXED 0
|
|
|
|
#define GMEM_MOVEABLE 2
|
|
|
|
#define GMEM_MODIFY 128
|
|
|
|
#define GPTR 64
|
|
|
|
#define GHND 66
|
|
|
|
#define GMEM_DDESHARE 8192
|
|
|
|
#define GMEM_DISCARDABLE 256
|
|
|
|
#define GMEM_LOWER 4096
|
|
|
|
#define GMEM_NOCOMPACT 16
|
|
|
|
#define GMEM_NODISCARD 32
|
|
|
|
#define GMEM_NOT_BANKED 4096
|
|
|
|
#define GMEM_NOTIFY 16384
|
|
|
|
#define GMEM_SHARE 8192
|
|
|
|
#define GMEM_ZEROINIT 64
|
|
|
|
#define GMEM_DISCARDED 16384
|
|
|
|
#define GMEM_INVALID_HANDLE 32768
|
|
|
|
#define GMEM_LOCKCOUNT 255
|
2003-05-15 08:10:33 +08:00
|
|
|
#define GMEM_VALID_FLAGS 32626
|
2000-02-18 03:38:33 +08:00
|
|
|
#define STATUS_WAIT_0 0
|
|
|
|
#define STATUS_ABANDONED_WAIT_0 0x80
|
|
|
|
#define STATUS_USER_APC 0xC0
|
|
|
|
#define STATUS_TIMEOUT 0x102
|
|
|
|
#define STATUS_PENDING 0x103
|
|
|
|
#define STATUS_SEGMENT_NOTIFICATION 0x40000005
|
|
|
|
#define STATUS_GUARD_PAGE_VIOLATION 0x80000001
|
|
|
|
#define STATUS_DATATYPE_MISALIGNMENT 0x80000002
|
|
|
|
#define STATUS_BREAKPOINT 0x80000003
|
|
|
|
#define STATUS_SINGLE_STEP 0x80000004
|
|
|
|
#define STATUS_ACCESS_VIOLATION 0xC0000005
|
|
|
|
#define STATUS_IN_PAGE_ERROR 0xC0000006
|
|
|
|
#define STATUS_INVALID_HANDLE 0xC0000008L
|
|
|
|
#define STATUS_NO_MEMORY 0xC0000017
|
|
|
|
#define STATUS_ILLEGAL_INSTRUCTION 0xC000001D
|
|
|
|
#define STATUS_NONCONTINUABLE_EXCEPTION 0xC0000025
|
|
|
|
#define STATUS_INVALID_DISPOSITION 0xC0000026
|
|
|
|
#define STATUS_ARRAY_BOUNDS_EXCEEDED 0xC000008C
|
|
|
|
#define STATUS_FLOAT_DENORMAL_OPERAND 0xC000008D
|
|
|
|
#define STATUS_FLOAT_DIVIDE_BY_ZERO 0xC000008E
|
|
|
|
#define STATUS_FLOAT_INEXACT_RESULT 0xC000008F
|
|
|
|
#define STATUS_FLOAT_INVALID_OPERATION 0xC0000090
|
|
|
|
#define STATUS_FLOAT_OVERFLOW 0xC0000091
|
|
|
|
#define STATUS_FLOAT_STACK_CHECK 0xC0000092
|
|
|
|
#define STATUS_FLOAT_UNDERFLOW 0xC0000093
|
|
|
|
#define STATUS_INTEGER_DIVIDE_BY_ZERO 0xC0000094
|
|
|
|
#define STATUS_INTEGER_OVERFLOW 0xC0000095
|
|
|
|
#define STATUS_PRIVILEGED_INSTRUCTION 0xC0000096
|
|
|
|
#define STATUS_STACK_OVERFLOW 0xC00000FD
|
|
|
|
#define STATUS_CONTROL_C_EXIT 0xC000013A
|
|
|
|
#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
|
|
|
|
#define PROCESS_HEAP_REGION 1
|
|
|
|
#define PROCESS_HEAP_UNCOMMITTED_RANGE 2
|
|
|
|
#define PROCESS_HEAP_ENTRY_BUSY 4
|
|
|
|
#define PROCESS_HEAP_ENTRY_MOVEABLE 16
|
|
|
|
#define PROCESS_HEAP_ENTRY_DDESHARE 32
|
|
|
|
#define DONT_RESOLVE_DLL_REFERENCES 1
|
|
|
|
#define LOAD_LIBRARY_AS_DATAFILE 2
|
|
|
|
#define LOAD_WITH_ALTERED_SEARCH_PATH 8
|
|
|
|
#define LMEM_FIXED 0
|
|
|
|
#define LMEM_MOVEABLE 2
|
|
|
|
#define LMEM_NONZEROLHND 2
|
|
|
|
#define LMEM_NONZEROLPTR 0
|
|
|
|
#define LMEM_DISCARDABLE 3840
|
|
|
|
#define LMEM_NOCOMPACT 16
|
|
|
|
#define LMEM_NODISCARD 32
|
|
|
|
#define LMEM_ZEROINIT 64
|
|
|
|
#define LMEM_DISCARDED 16384
|
|
|
|
#define LMEM_MODIFY 128
|
|
|
|
#define LMEM_INVALID_HANDLE 32768
|
|
|
|
#define LMEM_LOCKCOUNT 255
|
|
|
|
#define LPTR 64
|
|
|
|
#define LHND 66
|
|
|
|
#define NONZEROLHND 2
|
|
|
|
#define NONZEROLPTR 0
|
|
|
|
#define LOCKFILE_FAIL_IMMEDIATELY 1
|
|
|
|
#define LOCKFILE_EXCLUSIVE_LOCK 2
|
|
|
|
#define LOGON32_PROVIDER_DEFAULT 0
|
|
|
|
#define LOGON32_PROVIDER_WINNT35 1
|
|
|
|
#define LOGON32_LOGON_INTERACTIVE 2
|
|
|
|
#define LOGON32_LOGON_BATCH 4
|
|
|
|
#define LOGON32_LOGON_SERVICE 5
|
|
|
|
#define MOVEFILE_REPLACE_EXISTING 1
|
|
|
|
#define MOVEFILE_COPY_ALLOWED 2
|
|
|
|
#define MOVEFILE_DELAY_UNTIL_REBOOT 4
|
|
|
|
#define MOVEFILE_WRITE_THROUGH 8
|
|
|
|
#define MAXIMUM_WAIT_OBJECTS 64
|
|
|
|
#define MAXIMUM_SUSPEND_COUNT 0x7F
|
|
|
|
#define WAIT_OBJECT_0 0
|
|
|
|
#define WAIT_ABANDONED_0 128
|
2003-01-27 15:15:17 +08:00
|
|
|
#ifndef WAIT_TIMEOUT /* also in winerror.h */
|
|
|
|
#define WAIT_TIMEOUT 258
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define WAIT_IO_COMPLETION 0xC0
|
|
|
|
#define WAIT_ABANDONED 128
|
2003-01-27 15:15:17 +08:00
|
|
|
#define WAIT_FAILED ((DWORD)0xFFFFFFFF)
|
2000-02-18 03:38:33 +08:00
|
|
|
#define PURGE_TXABORT 1
|
|
|
|
#define PURGE_RXABORT 2
|
|
|
|
#define PURGE_TXCLEAR 4
|
|
|
|
#define PURGE_RXCLEAR 8
|
2003-02-23 16:31:37 +08:00
|
|
|
#define EVENTLOG_SUCCESS 0
|
2000-02-18 03:38:33 +08:00
|
|
|
#define EVENTLOG_FORWARDS_READ 4
|
|
|
|
#define EVENTLOG_BACKWARDS_READ 8
|
|
|
|
#define EVENTLOG_SEEK_READ 2
|
|
|
|
#define EVENTLOG_SEQUENTIAL_READ 1
|
|
|
|
#define EVENTLOG_ERROR_TYPE 1
|
|
|
|
#define EVENTLOG_WARNING_TYPE 2
|
|
|
|
#define EVENTLOG_INFORMATION_TYPE 4
|
|
|
|
#define EVENTLOG_AUDIT_SUCCESS 8
|
|
|
|
#define EVENTLOG_AUDIT_FAILURE 16
|
|
|
|
#define FORMAT_MESSAGE_ALLOCATE_BUFFER 256
|
|
|
|
#define FORMAT_MESSAGE_IGNORE_INSERTS 512
|
|
|
|
#define FORMAT_MESSAGE_FROM_STRING 1024
|
|
|
|
#define FORMAT_MESSAGE_FROM_HMODULE 2048
|
|
|
|
#define FORMAT_MESSAGE_FROM_SYSTEM 4096
|
|
|
|
#define FORMAT_MESSAGE_ARGUMENT_ARRAY 8192
|
|
|
|
#define FORMAT_MESSAGE_MAX_WIDTH_MASK 255
|
|
|
|
#define EV_BREAK 64
|
|
|
|
#define EV_CTS 8
|
|
|
|
#define EV_DSR 16
|
|
|
|
#define EV_ERR 128
|
|
|
|
#define EV_EVENT1 2048
|
|
|
|
#define EV_EVENT2 4096
|
|
|
|
#define EV_PERR 512
|
|
|
|
#define EV_RING 256
|
|
|
|
#define EV_RLSD 32
|
|
|
|
#define EV_RX80FULL 1024
|
|
|
|
#define EV_RXCHAR 1
|
|
|
|
#define EV_RXFLAG 2
|
|
|
|
#define EV_TXEMPTY 4
|
2003-07-23 06:21:27 +08:00
|
|
|
/* also in ddk/ntapi.h */
|
|
|
|
#define SEM_FAILCRITICALERRORS 0x0001
|
|
|
|
#define SEM_NOGPFAULTERRORBOX 0x0002
|
|
|
|
#define SEM_NOALIGNMENTFAULTEXCEPT 0x0004
|
|
|
|
#define SEM_NOOPENFILEERRORBOX 0x8000
|
|
|
|
/* end ntapi.h */
|
2000-02-18 03:38:33 +08:00
|
|
|
#define SLE_ERROR 1
|
|
|
|
#define SLE_MINORERROR 2
|
|
|
|
#define SLE_WARNING 3
|
|
|
|
#define SHUTDOWN_NORETRY 1
|
|
|
|
#define EXCEPTION_EXECUTE_HANDLER 1
|
|
|
|
#define EXCEPTION_CONTINUE_EXECUTION (-1)
|
|
|
|
#define EXCEPTION_CONTINUE_SEARCH 0
|
|
|
|
#define MAXINTATOM 0xC000
|
|
|
|
#define INVALID_ATOM ((ATOM)0)
|
|
|
|
#define IGNORE 0
|
|
|
|
#define INFINITE 0xFFFFFFFF
|
|
|
|
#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 CBR_110 110
|
|
|
|
#define CBR_300 300
|
|
|
|
#define CBR_600 600
|
|
|
|
#define CBR_1200 1200
|
|
|
|
#define CBR_2400 2400
|
|
|
|
#define CBR_4800 4800
|
|
|
|
#define CBR_9600 9600
|
|
|
|
#define CBR_14400 14400
|
|
|
|
#define CBR_19200 19200
|
|
|
|
#define CBR_38400 38400
|
|
|
|
#define CBR_56000 56000
|
|
|
|
#define CBR_57600 57600
|
|
|
|
#define CBR_115200 115200
|
|
|
|
#define CBR_128000 128000
|
|
|
|
#define CBR_256000 256000
|
|
|
|
#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
|
2000-06-28 02:21:31 +08:00
|
|
|
#define BACKUP_OBJECT_ID 7
|
|
|
|
#define BACKUP_REPARSE_DATA 8
|
|
|
|
#define BACKUP_SPARSE_BLOCK 9
|
2000-02-18 03:38:33 +08:00
|
|
|
#define STREAM_NORMAL_ATTRIBUTE 0
|
|
|
|
#define STREAM_MODIFIED_WHEN_READ 1
|
|
|
|
#define STREAM_CONTAINS_SECURITY 2
|
|
|
|
#define STREAM_CONTAINS_PROPERTIES 4
|
|
|
|
#define STARTF_USESHOWWINDOW 1
|
|
|
|
#define STARTF_USESIZE 2
|
|
|
|
#define STARTF_USEPOSITION 4
|
|
|
|
#define STARTF_USECOUNTCHARS 8
|
|
|
|
#define STARTF_USEFILLATTRIBUTE 16
|
|
|
|
#define STARTF_RUNFULLSCREEN 32
|
|
|
|
#define STARTF_FORCEONFEEDBACK 64
|
|
|
|
#define STARTF_FORCEOFFFEEDBACK 128
|
|
|
|
#define STARTF_USESTDHANDLES 256
|
|
|
|
#define STARTF_USEHOTKEY 512
|
|
|
|
#define TC_NORMAL 0
|
|
|
|
#define TC_HARDERR 1
|
|
|
|
#define TC_GP_TRAP 2
|
|
|
|
#define TC_SIGNAL 3
|
|
|
|
#define AC_LINE_OFFLINE 0
|
|
|
|
#define AC_LINE_ONLINE 1
|
|
|
|
#define AC_LINE_BACKUP_POWER 2
|
|
|
|
#define AC_LINE_UNKNOWN 255
|
|
|
|
#define BATTERY_FLAG_HIGH 1
|
|
|
|
#define BATTERY_FLAG_LOW 2
|
|
|
|
#define BATTERY_FLAG_CRITICAL 4
|
|
|
|
#define BATTERY_FLAG_CHARGING 8
|
|
|
|
#define BATTERY_FLAG_NO_BATTERY 128
|
|
|
|
#define BATTERY_FLAG_UNKNOWN 255
|
|
|
|
#define BATTERY_PERCENTAGE_UNKNOWN 255
|
|
|
|
#define BATTERY_LIFE_UNKNOWN 0xFFFFFFFF
|
|
|
|
#define DDD_RAW_TARGET_PATH 1
|
|
|
|
#define DDD_REMOVE_DEFINITION 2
|
|
|
|
#define DDD_EXACT_MATCH_ON_REMOVE 4
|
|
|
|
#define HINSTANCE_ERROR 32
|
|
|
|
#define MS_CTS_ON 16
|
|
|
|
#define MS_DSR_ON 32
|
|
|
|
#define MS_RING_ON 64
|
|
|
|
#define MS_RLSD_ON 128
|
|
|
|
#define DTR_CONTROL_DISABLE 0
|
|
|
|
#define DTR_CONTROL_ENABLE 1
|
|
|
|
#define DTR_CONTROL_HANDSHAKE 2
|
|
|
|
#define RTS_CONTROL_DISABLE 0
|
|
|
|
#define RTS_CONTROL_ENABLE 1
|
|
|
|
#define RTS_CONTROL_HANDSHAKE 2
|
|
|
|
#define RTS_CONTROL_TOGGLE 3
|
|
|
|
#define SECURITY_ANONYMOUS (SecurityAnonymous<<16)
|
|
|
|
#define SECURITY_IDENTIFICATION (SecurityIdentification<<16)
|
|
|
|
#define SECURITY_IMPERSONATION (SecurityImpersonation<<16)
|
|
|
|
#define SECURITY_DELEGATION (SecurityDelegation<<16)
|
|
|
|
#define SECURITY_CONTEXT_TRACKING 0x40000
|
|
|
|
#define SECURITY_EFFECTIVE_ONLY 0x80000
|
|
|
|
#define SECURITY_SQOS_PRESENT 0x100000
|
|
|
|
#define SECURITY_VALID_SQOS_FLAGS 0x1F0000
|
|
|
|
#define INVALID_FILE_SIZE 0xFFFFFFFF
|
|
|
|
#define TLS_OUT_OF_INDEXES (DWORD)0xFFFFFFFF
|
2003-10-06 17:45:59 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
#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_HMODULE_VALID 0x00000080
|
2003-10-06 20:33:32 +08:00
|
|
|
#define DEACTIVATE_ACTCTX_FLAG_FORCE_EARLY_DEACTIVATION 0x00000001
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (GetComputerNameEx[AW],
GetProcessIoCounters): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (COMPUTER_NAME_FORMAT):
Move around, needed by GetComputerNameEx.
* include/winbase.h [_WIN32_WINNT >= 0x0501] (FindActCtxSectionGuid,
FindActCtxSectionString[AW], GetCurrentActCtx, GetNativeSystemInfo):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(ACTCTX_SECTION_KEYED_DATA): Add structure.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetProcessHandleCount,
GetProcessId, GetSystemRegistryQuota): Add functions, available on
Windows XP SP1 and better.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION,
ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_WINDOW_CLASS_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_CLR_SURROGATES): Add constants.
* lib/user32.def (FindActCtxSectionGuid, FindActCtxSectionString[AW],
GetComputerNameEx[AW], GetCurrentActCtx, GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetModuleHandleEx[AW],
GetNativeSystemInfo, GetProcessHandleCount, GetProcessIoCounters):
Add functions.
2003-10-07 16:47:06 +08:00
|
|
|
#define FIND_ACTCTX_SECTION_KEY_RETURN_HACTCTX 0x00000001
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (SetComputerNameEx[AW],
UnregisterWaitEx): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(AddVectoredExceptionHandler, RemoveVectoredExceptionHandler): Add
or guard function. The MSDN says it is available on Windows XP and
better, and then it says it is declared for _WIN32_WINNT >= 0x0500.
Huh?
* include/winbase.h [_WIN32_WINNT >= 0x0501] (AddRefActCtx,
CreateActCtx[AW], SetFileShortName[AW], SetFileValidData,
ZombifyActCtx, QueryActCtxW): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX,
QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE,
QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS): Add constants.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (SetDllDirectory[AW],
SetFirmwareEnvironmentVariable[AW]): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0500] (VER_BUILDNUMBER,
VER_MAJORVERSION, VER_MINORVERSION, VER_PLATFORMID,
VER_SERVICEPACKMAJOR, VER_SERVICEPACKMINOR, VER_SUITENAME,
VER_PRODUCT_TYPE, VER_EQUAL, VER_GREATER, VER_GREATER_EQUAL,
VER_LESS, VER_LESS_EQUAL, VER_AND, VER_OR): Add constants.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(PVECTORED_EXCEPTION_HANDLER): Add callback.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_INFO_CLASS,
ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_QUERY_INDEX, ASSEMBLY_FILE_DETAILED_INFORMATION):
Add structures.
* lib/user32.def (AddRefActCtx, AddVectoredExceptionHandler,
CreateActCtx[AW], SetComputerNameEx[AW], SetDllDirectory[AW],
SetFileShortName[AW], SetFileValidData,
SetFirmwareEnvironmentVariable[AW], UnregisterWaitEx,
VerSetConditionMask, ZombifyActCtx, QueryActCtxW): Add functions.
2003-10-07 20:55:00 +08:00
|
|
|
#define QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX 0x00000004
|
|
|
|
#define QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE 0x00000008
|
|
|
|
#define QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS 0x00000010
|
|
|
|
#endif /* (_WIN32_WINNT >= 0x0501) */
|
* include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,
ResetWriteWatch): Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(GetSystemWow64Directory[AW], HeapQueryInformation,
HeapSetInformation, InitializeSListHead, InterlockedFlushSList,
InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob,
IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS):
Add enumeration.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag):
Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError):
Add function. The MSDN Magazine of June 2003 reads:
RestoreLastError is an enigma. It's code is identical to
SetLastError. It's unclear to me why it was made into a
separate API.
* lib/user32.def (GetSystemWindowsDirectory[AW],
GetSystemWow64Directory[AW], GetThreadIOPendingFlag,
HeapQueryInformation, HeapSetInformation, InitializeSListHead,
InterlockedFlushSList, InterlockedPopEntrySList,
InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process,
ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch,
RestoreLastError): Add functions.
2003-10-07 18:14:31 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
|
|
|
#define REPLACEFILE_WRITE_THROUGH 0x00000001
|
|
|
|
#define REPLACEFILE_IGNORE_MERGE_ERRORS 0x00000002
|
|
|
|
#endif /* (_WIN32_WINNT >= 0x0500) */
|
2000-02-18 03:38:33 +08:00
|
|
|
|
|
|
|
#ifndef RC_INVOKED
|
|
|
|
typedef struct _FILETIME {
|
|
|
|
DWORD dwLowDateTime;
|
|
|
|
DWORD dwHighDateTime;
|
|
|
|
} FILETIME,*PFILETIME,*LPFILETIME;
|
|
|
|
typedef struct _BY_HANDLE_FILE_INFORMATION {
|
|
|
|
DWORD dwFileAttributes;
|
|
|
|
FILETIME ftCreationTime;
|
|
|
|
FILETIME ftLastAccessTime;
|
|
|
|
FILETIME ftLastWriteTime;
|
|
|
|
DWORD dwVolumeSerialNumber;
|
|
|
|
DWORD nFileSizeHigh;
|
|
|
|
DWORD nFileSizeLow;
|
|
|
|
DWORD nNumberOfLinks;
|
|
|
|
DWORD nFileIndexHigh;
|
|
|
|
DWORD nFileIndexLow;
|
|
|
|
} BY_HANDLE_FILE_INFORMATION,*LPBY_HANDLE_FILE_INFORMATION;
|
|
|
|
typedef struct _DCB {
|
|
|
|
DWORD DCBlength;
|
|
|
|
DWORD BaudRate;
|
|
|
|
DWORD fBinary:1;
|
|
|
|
DWORD fParity:1;
|
|
|
|
DWORD fOutxCtsFlow:1;
|
|
|
|
DWORD fOutxDsrFlow:1;
|
|
|
|
DWORD fDtrControl:2;
|
|
|
|
DWORD fDsrSensitivity:1;
|
|
|
|
DWORD fTXContinueOnXoff:1;
|
|
|
|
DWORD fOutX:1;
|
|
|
|
DWORD fInX:1;
|
|
|
|
DWORD fErrorChar:1;
|
|
|
|
DWORD fNull:1;
|
|
|
|
DWORD fRtsControl:2;
|
|
|
|
DWORD fAbortOnError:1;
|
|
|
|
DWORD fDummy2:17;
|
|
|
|
WORD wReserved;
|
|
|
|
WORD XonLim;
|
|
|
|
WORD XoffLim;
|
|
|
|
BYTE ByteSize;
|
|
|
|
BYTE Parity;
|
|
|
|
BYTE StopBits;
|
|
|
|
char XonChar;
|
|
|
|
char XoffChar;
|
|
|
|
char ErrorChar;
|
|
|
|
char EofChar;
|
|
|
|
char EvtChar;
|
|
|
|
WORD wReserved1;
|
|
|
|
} DCB,*LPDCB;
|
|
|
|
typedef struct _COMM_CONFIG {
|
|
|
|
DWORD dwSize;
|
|
|
|
WORD wVersion;
|
|
|
|
WORD wReserved;
|
|
|
|
DCB dcb;
|
|
|
|
DWORD dwProviderSubType;
|
|
|
|
DWORD dwProviderOffset;
|
|
|
|
DWORD dwProviderSize;
|
|
|
|
WCHAR wcProviderData[1];
|
|
|
|
} COMMCONFIG,*LPCOMMCONFIG;
|
|
|
|
typedef struct _COMMPROP {
|
|
|
|
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;
|
|
|
|
typedef struct _COMMTIMEOUTS {
|
|
|
|
DWORD ReadIntervalTimeout;
|
|
|
|
DWORD ReadTotalTimeoutMultiplier;
|
|
|
|
DWORD ReadTotalTimeoutConstant;
|
|
|
|
DWORD WriteTotalTimeoutMultiplier;
|
|
|
|
DWORD WriteTotalTimeoutConstant;
|
|
|
|
} COMMTIMEOUTS,*LPCOMMTIMEOUTS;
|
|
|
|
typedef struct _COMSTAT {
|
|
|
|
DWORD fCtsHold:1;
|
|
|
|
DWORD fDsrHold:1;
|
|
|
|
DWORD fRlsdHold:1;
|
|
|
|
DWORD fXoffHold:1;
|
|
|
|
DWORD fXoffSent:1;
|
|
|
|
DWORD fEof:1;
|
|
|
|
DWORD fTxim:1;
|
|
|
|
DWORD fReserved:25;
|
|
|
|
DWORD cbInQue;
|
|
|
|
DWORD cbOutQue;
|
|
|
|
} COMSTAT,*LPCOMSTAT;
|
|
|
|
typedef DWORD (WINAPI *LPTHREAD_START_ROUTINE)(LPVOID);
|
|
|
|
typedef struct _CREATE_PROCESS_DEBUG_INFO {
|
|
|
|
HANDLE hFile;
|
|
|
|
HANDLE hProcess;
|
|
|
|
HANDLE hThread;
|
|
|
|
LPVOID lpBaseOfImage;
|
|
|
|
DWORD dwDebugInfoFileOffset;
|
|
|
|
DWORD nDebugInfoSize;
|
|
|
|
LPVOID lpThreadLocalBase;
|
|
|
|
LPTHREAD_START_ROUTINE lpStartAddress;
|
|
|
|
LPVOID lpImageName;
|
|
|
|
WORD fUnicode;
|
|
|
|
} CREATE_PROCESS_DEBUG_INFO,*LPCREATE_PROCESS_DEBUG_INFO;
|
|
|
|
typedef struct _CREATE_THREAD_DEBUG_INFO {
|
|
|
|
HANDLE hThread;
|
|
|
|
LPVOID lpThreadLocalBase;
|
|
|
|
LPTHREAD_START_ROUTINE lpStartAddress;
|
|
|
|
} CREATE_THREAD_DEBUG_INFO,*LPCREATE_THREAD_DEBUG_INFO;
|
|
|
|
typedef struct _EXCEPTION_DEBUG_INFO {
|
|
|
|
EXCEPTION_RECORD ExceptionRecord;
|
|
|
|
DWORD dwFirstChance;
|
|
|
|
} EXCEPTION_DEBUG_INFO,*LPEXCEPTION_DEBUG_INFO;
|
|
|
|
typedef struct _EXIT_THREAD_DEBUG_INFO {
|
|
|
|
DWORD dwExitCode;
|
|
|
|
} EXIT_THREAD_DEBUG_INFO,*LPEXIT_THREAD_DEBUG_INFO;
|
|
|
|
typedef struct _EXIT_PROCESS_DEBUG_INFO {
|
|
|
|
DWORD dwExitCode;
|
|
|
|
} EXIT_PROCESS_DEBUG_INFO,*LPEXIT_PROCESS_DEBUG_INFO;
|
|
|
|
typedef struct _LOAD_DLL_DEBUG_INFO {
|
|
|
|
HANDLE hFile;
|
|
|
|
LPVOID lpBaseOfDll;
|
|
|
|
DWORD dwDebugInfoFileOffset;
|
|
|
|
DWORD nDebugInfoSize;
|
|
|
|
LPVOID lpImageName;
|
|
|
|
WORD fUnicode;
|
|
|
|
} LOAD_DLL_DEBUG_INFO,*LPLOAD_DLL_DEBUG_INFO;
|
|
|
|
typedef struct _UNLOAD_DLL_DEBUG_INFO {
|
|
|
|
LPVOID lpBaseOfDll;
|
|
|
|
} UNLOAD_DLL_DEBUG_INFO,*LPUNLOAD_DLL_DEBUG_INFO;
|
|
|
|
typedef struct _OUTPUT_DEBUG_STRING_INFO {
|
|
|
|
LPSTR lpDebugStringData;
|
|
|
|
WORD fUnicode;
|
|
|
|
WORD nDebugStringLength;
|
|
|
|
} OUTPUT_DEBUG_STRING_INFO,*LPOUTPUT_DEBUG_STRING_INFO;
|
|
|
|
typedef struct _RIP_INFO {
|
|
|
|
DWORD dwError;
|
|
|
|
DWORD dwType;
|
|
|
|
} RIP_INFO,*LPRIP_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;
|
|
|
|
typedef struct _OVERLAPPED {
|
|
|
|
DWORD Internal;
|
|
|
|
DWORD InternalHigh;
|
|
|
|
DWORD Offset;
|
|
|
|
DWORD OffsetHigh;
|
|
|
|
HANDLE hEvent;
|
|
|
|
} OVERLAPPED,*POVERLAPPED,*LPOVERLAPPED;
|
|
|
|
typedef struct _STARTUPINFOA {
|
|
|
|
DWORD cb;
|
|
|
|
LPSTR lpReserved;
|
|
|
|
LPSTR lpDesktop;
|
|
|
|
LPSTR lpTitle;
|
|
|
|
DWORD dwX;
|
|
|
|
DWORD dwY;
|
|
|
|
DWORD dwXSize;
|
|
|
|
DWORD dwYSize;
|
|
|
|
DWORD dwXCountChars;
|
|
|
|
DWORD dwYCountChars;
|
|
|
|
DWORD dwFillAttribute;
|
|
|
|
DWORD dwFlags;
|
|
|
|
WORD wShowWindow;
|
|
|
|
WORD cbReserved2;
|
|
|
|
PBYTE lpReserved2;
|
|
|
|
HANDLE hStdInput;
|
|
|
|
HANDLE hStdOutput;
|
|
|
|
HANDLE hStdError;
|
|
|
|
} STARTUPINFOA,*LPSTARTUPINFOA;
|
|
|
|
typedef struct _STARTUPINFOW {
|
|
|
|
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;
|
|
|
|
PBYTE lpReserved2;
|
|
|
|
HANDLE hStdInput;
|
|
|
|
HANDLE hStdOutput;
|
|
|
|
HANDLE hStdError;
|
|
|
|
} STARTUPINFOW,*LPSTARTUPINFOW;
|
|
|
|
typedef struct _PROCESS_INFORMATION {
|
|
|
|
HANDLE hProcess;
|
|
|
|
HANDLE hThread;
|
|
|
|
DWORD dwProcessId;
|
|
|
|
DWORD dwThreadId;
|
|
|
|
} PROCESS_INFORMATION,*LPPROCESS_INFORMATION;
|
|
|
|
typedef struct _CRITICAL_SECTION_DEBUG {
|
|
|
|
WORD Type;
|
|
|
|
WORD CreatorBackTraceIndex;
|
|
|
|
struct _CRITICAL_SECTION *CriticalSection;
|
|
|
|
LIST_ENTRY ProcessLocksList;
|
|
|
|
DWORD EntryCount;
|
|
|
|
DWORD ContentionCount;
|
|
|
|
DWORD Spare [2];
|
|
|
|
} CRITICAL_SECTION_DEBUG,*PCRITICAL_SECTION_DEBUG;
|
|
|
|
typedef struct _CRITICAL_SECTION {
|
|
|
|
PCRITICAL_SECTION_DEBUG DebugInfo;
|
|
|
|
LONG LockCount;
|
|
|
|
LONG RecursionCount;
|
|
|
|
HANDLE OwningThread;
|
|
|
|
HANDLE LockSemaphore;
|
|
|
|
DWORD SpinCount;
|
|
|
|
} CRITICAL_SECTION,*PCRITICAL_SECTION,*LPCRITICAL_SECTION;
|
|
|
|
typedef struct _SYSTEMTIME {
|
|
|
|
WORD wYear;
|
|
|
|
WORD wMonth;
|
|
|
|
WORD wDayOfWeek;
|
|
|
|
WORD wDay;
|
|
|
|
WORD wHour;
|
|
|
|
WORD wMinute;
|
|
|
|
WORD wSecond;
|
|
|
|
WORD wMilliseconds;
|
|
|
|
} SYSTEMTIME,*LPSYSTEMTIME;
|
|
|
|
typedef struct _WIN32_FILE_ATTRIBUTE_DATA {
|
|
|
|
DWORD dwFileAttributes;
|
|
|
|
FILETIME ftCreationTime;
|
|
|
|
FILETIME ftLastAccessTime;
|
|
|
|
FILETIME ftLastWriteTime;
|
|
|
|
DWORD nFileSizeHigh;
|
|
|
|
DWORD nFileSizeLow;
|
|
|
|
} WIN32_FILE_ATTRIBUTE_DATA,*LPWIN32_FILE_ATTRIBUTE_DATA;
|
|
|
|
typedef struct _WIN32_FIND_DATAA {
|
|
|
|
DWORD dwFileAttributes;
|
|
|
|
FILETIME ftCreationTime;
|
|
|
|
FILETIME ftLastAccessTime;
|
|
|
|
FILETIME ftLastWriteTime;
|
|
|
|
DWORD nFileSizeHigh;
|
|
|
|
DWORD nFileSizeLow;
|
|
|
|
DWORD dwReserved0;
|
|
|
|
DWORD dwReserved1;
|
|
|
|
CHAR cFileName[MAX_PATH];
|
|
|
|
CHAR cAlternateFileName[14];
|
2003-01-31 16:28:44 +08:00
|
|
|
} WIN32_FIND_DATAA,*PWIN32_FIND_DATAA,*LPWIN32_FIND_DATAA;
|
2000-02-18 03:38:33 +08:00
|
|
|
typedef struct _WIN32_FIND_DATAW {
|
|
|
|
DWORD dwFileAttributes;
|
|
|
|
FILETIME ftCreationTime;
|
|
|
|
FILETIME ftLastAccessTime;
|
|
|
|
FILETIME ftLastWriteTime;
|
|
|
|
DWORD nFileSizeHigh;
|
|
|
|
DWORD nFileSizeLow;
|
|
|
|
DWORD dwReserved0;
|
|
|
|
DWORD dwReserved1;
|
|
|
|
WCHAR cFileName[MAX_PATH];
|
|
|
|
WCHAR cAlternateFileName[14];
|
2003-01-31 16:28:44 +08:00
|
|
|
} WIN32_FIND_DATAW,*PWIN32_FIND_DATAW,*LPWIN32_FIND_DATAW;
|
2000-02-18 03:38:33 +08:00
|
|
|
typedef struct _WIN32_STREAM_ID {
|
|
|
|
DWORD dwStreamId;
|
|
|
|
DWORD dwStreamAttributes;
|
|
|
|
LARGE_INTEGER Size;
|
|
|
|
DWORD dwStreamNameSize;
|
|
|
|
WCHAR cStreamName[ANYSIZE_ARRAY];
|
2003-11-13 Martin Fuchs <martin-fuchs@gmx.net>
* include/shlobj.h (ILAppendID, ILClone, ILCloneFirst, ILCombine,
ILFindChild, ILFindLastID, ILFree, ILGetNext, ILGetSize, ILIsEqual,
ILIsParent, ILLoadFromStream, ILRemoveLastID, ILSaveToStream):
Add prototypes.
* lib/shell32.def: Add stubs.
* include/commctrl.h (ListView_FindItem): Add type cast to avoid
compiler warnings.
2003-11-13 Hans Leidekker <hans@it.vu.nl>
* include/winbase.h (WIN32_STREAM_ID): Correct typedef.
2003-11-13 17:43:08 +08:00
|
|
|
} WIN32_STREAM_ID, *LPWIN32_STREAM_ID;
|
2000-02-18 03:38:33 +08:00
|
|
|
typedef enum _FINDEX_INFO_LEVELS {
|
|
|
|
FindExInfoStandard,
|
|
|
|
FindExInfoMaxInfoLevel
|
|
|
|
} FINDEX_INFO_LEVELS;
|
|
|
|
typedef enum _FINDEX_SEARCH_OPS {
|
|
|
|
FindExSearchNameMatch,
|
|
|
|
FindExSearchLimitToDirectories,
|
|
|
|
FindExSearchLimitToDevices,
|
|
|
|
FindExSearchMaxSearchOp
|
|
|
|
} FINDEX_SEARCH_OPS;
|
|
|
|
typedef enum _ACL_INFORMATION_CLASS {
|
|
|
|
AclRevisionInformation=1,
|
|
|
|
AclSizeInformation
|
|
|
|
} ACL_INFORMATION_CLASS;
|
|
|
|
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;
|
|
|
|
typedef enum _GET_FILEEX_INFO_LEVELS {
|
|
|
|
GetFileExInfoStandard,
|
|
|
|
GetFileExMaxInfoLevel
|
|
|
|
} GET_FILEEX_INFO_LEVELS;
|
|
|
|
typedef struct _SYSTEM_INFO {
|
2001-04-17 20:58:06 +08:00
|
|
|
_ANONYMOUS_UNION union {
|
2000-02-18 03:38:33 +08:00
|
|
|
DWORD dwOemId;
|
2001-04-17 20:58:06 +08:00
|
|
|
_ANONYMOUS_STRUCT struct {
|
2000-02-18 03:38:33 +08:00
|
|
|
WORD wProcessorArchitecture;
|
|
|
|
WORD wReserved;
|
|
|
|
} DUMMYSTRUCTNAME;
|
|
|
|
} DUMMYUNIONNAME;
|
|
|
|
DWORD dwPageSize;
|
|
|
|
PVOID lpMinimumApplicationAddress;
|
|
|
|
PVOID lpMaximumApplicationAddress;
|
|
|
|
DWORD dwActiveProcessorMask;
|
|
|
|
DWORD dwNumberOfProcessors;
|
|
|
|
DWORD dwProcessorType;
|
|
|
|
DWORD dwAllocationGranularity;
|
|
|
|
WORD wProcessorLevel;
|
|
|
|
WORD wProcessorRevision;
|
|
|
|
} SYSTEM_INFO,*LPSYSTEM_INFO;
|
|
|
|
typedef struct _SYSTEM_POWER_STATUS {
|
|
|
|
BYTE ACLineStatus;
|
|
|
|
BYTE BatteryFlag;
|
|
|
|
BYTE BatteryLifePercent;
|
|
|
|
BYTE Reserved1;
|
|
|
|
DWORD BatteryLifeTime;
|
|
|
|
DWORD BatteryFullLifeTime;
|
|
|
|
} SYSTEM_POWER_STATUS,*LPSYSTEM_POWER_STATUS;
|
|
|
|
typedef struct _TIME_ZONE_INFORMATION {
|
|
|
|
LONG Bias;
|
|
|
|
WCHAR StandardName[32];
|
|
|
|
SYSTEMTIME StandardDate;
|
|
|
|
LONG StandardBias;
|
|
|
|
WCHAR DaylightName[32];
|
|
|
|
SYSTEMTIME DaylightDate;
|
|
|
|
LONG DaylightBias;
|
|
|
|
} TIME_ZONE_INFORMATION,*LPTIME_ZONE_INFORMATION;
|
|
|
|
typedef struct _MEMORYSTATUS {
|
|
|
|
DWORD dwLength;
|
|
|
|
DWORD dwMemoryLoad;
|
|
|
|
DWORD dwTotalPhys;
|
|
|
|
DWORD dwAvailPhys;
|
|
|
|
DWORD dwTotalPageFile;
|
|
|
|
DWORD dwAvailPageFile;
|
|
|
|
DWORD dwTotalVirtual;
|
|
|
|
DWORD dwAvailVirtual;
|
|
|
|
} MEMORYSTATUS,*LPMEMORYSTATUS;
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
2003-02-22 18:16:22 +08:00
|
|
|
typedef struct _MEMORYSTATUSEX {
|
|
|
|
DWORD dwLength;
|
|
|
|
DWORD dwMemoryLoad;
|
|
|
|
DWORDLONG ullTotalPhys;
|
|
|
|
DWORDLONG ullAvailPhys;
|
|
|
|
DWORDLONG ullTotalPageFile;
|
|
|
|
DWORDLONG ullAvailPageFile;
|
|
|
|
DWORDLONG ullTotalVirtual;
|
|
|
|
DWORDLONG ullAvailVirtual;
|
|
|
|
DWORDLONG ullAvailExtendedVirtual;
|
|
|
|
} MEMORYSTATUSEX, *LPMEMORYSTATUSEX;
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
typedef struct _LDT_ENTRY {
|
|
|
|
WORD LimitLow;
|
|
|
|
WORD BaseLow;
|
|
|
|
union {
|
|
|
|
struct {
|
|
|
|
BYTE BaseMid;
|
|
|
|
BYTE Flags1;
|
|
|
|
BYTE Flags2;
|
|
|
|
BYTE BaseHi;
|
|
|
|
} Bytes;
|
|
|
|
struct {
|
|
|
|
DWORD BaseMid:8;
|
|
|
|
DWORD Type:5;
|
|
|
|
DWORD Dpl:2;
|
|
|
|
DWORD Pres:1;
|
|
|
|
DWORD LimitHi:4;
|
|
|
|
DWORD Sys:1;
|
|
|
|
DWORD Reserved_0:1;
|
|
|
|
DWORD Default_Big:1;
|
|
|
|
DWORD Granularity:1;
|
|
|
|
DWORD BaseHi:8;
|
|
|
|
} Bits;
|
|
|
|
} HighWord;
|
|
|
|
} LDT_ENTRY,*PLDT_ENTRY,*LPLDT_ENTRY;
|
|
|
|
typedef struct _PROCESS_HEAP_ENTRY {
|
|
|
|
PVOID lpData;
|
|
|
|
DWORD cbData;
|
|
|
|
BYTE cbOverhead;
|
|
|
|
BYTE iRegionIndex;
|
|
|
|
WORD wFlags;
|
2001-04-17 20:58:06 +08:00
|
|
|
_ANONYMOUS_UNION union {
|
2000-02-18 03:38:33 +08:00
|
|
|
struct {
|
|
|
|
HANDLE hMem;
|
|
|
|
DWORD dwReserved[3];
|
|
|
|
} Block;
|
|
|
|
struct {
|
|
|
|
DWORD dwCommittedSize;
|
|
|
|
DWORD dwUnCommittedSize;
|
|
|
|
LPVOID lpFirstBlock;
|
|
|
|
LPVOID lpLastBlock;
|
|
|
|
} Region;
|
|
|
|
} DUMMYUNIONNAME;
|
|
|
|
} PROCESS_HEAP_ENTRY,*LPPROCESS_HEAP_ENTRY;
|
|
|
|
typedef struct _OFSTRUCT {
|
|
|
|
BYTE cBytes;
|
|
|
|
BYTE fFixedDisk;
|
|
|
|
WORD nErrCode;
|
|
|
|
WORD Reserved1;
|
|
|
|
WORD Reserved2;
|
|
|
|
CHAR szPathName[OFS_MAXPATHNAME];
|
|
|
|
} OFSTRUCT,*LPOFSTRUCT,*POFSTRUCT;
|
|
|
|
typedef struct _WIN_CERTIFICATE {
|
|
|
|
DWORD dwLength;
|
|
|
|
WORD wRevision;
|
|
|
|
WORD wCertificateType;
|
|
|
|
BYTE bCertificate[1];
|
|
|
|
} WIN_CERTIFICATE, *LPWIN_CERTIFICATE;
|
2003-10-06 17:45:59 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
typedef struct tagACTCTXA {
|
|
|
|
ULONG cbSize;
|
|
|
|
DWORD dwFlags;
|
|
|
|
LPCSTR lpSource;
|
|
|
|
USHORT wProcessorArchitecture;
|
|
|
|
LANGID wLangId;
|
|
|
|
LPCSTR lpAssemblyDirectory;
|
|
|
|
LPCSTR lpResourceName;
|
|
|
|
LPCSTR lpApplicationName;
|
|
|
|
HMODULE hModule;
|
|
|
|
} ACTCTXA,*PACTCTXA;
|
|
|
|
typedef const ACTCTXA *PCACTCTXA;
|
|
|
|
typedef struct tagACTCTXW {
|
|
|
|
ULONG cbSize;
|
|
|
|
DWORD dwFlags;
|
|
|
|
LPCWSTR lpSource;
|
|
|
|
USHORT wProcessorArchitecture;
|
|
|
|
LANGID wLangId;
|
|
|
|
LPCWSTR lpAssemblyDirectory;
|
|
|
|
LPCWSTR lpResourceName;
|
|
|
|
LPCWSTR lpApplicationName;
|
|
|
|
HMODULE hModule;
|
|
|
|
} ACTCTXW,*PACTCTXW;
|
|
|
|
typedef const ACTCTXW *PCACTCTXW;
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (GetComputerNameEx[AW],
GetProcessIoCounters): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (COMPUTER_NAME_FORMAT):
Move around, needed by GetComputerNameEx.
* include/winbase.h [_WIN32_WINNT >= 0x0501] (FindActCtxSectionGuid,
FindActCtxSectionString[AW], GetCurrentActCtx, GetNativeSystemInfo):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(ACTCTX_SECTION_KEYED_DATA): Add structure.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetProcessHandleCount,
GetProcessId, GetSystemRegistryQuota): Add functions, available on
Windows XP SP1 and better.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION,
ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_WINDOW_CLASS_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_CLR_SURROGATES): Add constants.
* lib/user32.def (FindActCtxSectionGuid, FindActCtxSectionString[AW],
GetComputerNameEx[AW], GetCurrentActCtx, GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetModuleHandleEx[AW],
GetNativeSystemInfo, GetProcessHandleCount, GetProcessIoCounters):
Add functions.
2003-10-07 16:47:06 +08:00
|
|
|
typedef struct tagACTCTX_SECTION_KEYED_DATA {
|
|
|
|
ULONG cbSize;
|
|
|
|
ULONG ulDataFormatVersion;
|
|
|
|
PVOID lpData;
|
|
|
|
ULONG ulLength;
|
|
|
|
PVOID lpSectionGlobalData;
|
|
|
|
ULONG ulSectionGlobalDataLength;
|
|
|
|
PVOID lpSectionBase;
|
|
|
|
ULONG ulSectionTotalLength;
|
|
|
|
HANDLE hActCtx;
|
|
|
|
HANDLE ulAssemblyRosterIndex;
|
|
|
|
} ACTCTX_SECTION_KEYED_DATA,*PACTCTX_SECTION_KEYED_DATA;
|
|
|
|
typedef const ACTCTX_SECTION_KEYED_DATA *PCACTCTX_SECTION_KEYED_DATA;
|
2003-10-06 20:33:32 +08:00
|
|
|
typedef enum {
|
|
|
|
LowMemoryResourceNotification ,
|
|
|
|
HighMemoryResourceNotification
|
|
|
|
} MEMORY_RESOURCE_NOTIFICATION_TYPE;
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (SetComputerNameEx[AW],
UnregisterWaitEx): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(AddVectoredExceptionHandler, RemoveVectoredExceptionHandler): Add
or guard function. The MSDN says it is available on Windows XP and
better, and then it says it is declared for _WIN32_WINNT >= 0x0500.
Huh?
* include/winbase.h [_WIN32_WINNT >= 0x0501] (AddRefActCtx,
CreateActCtx[AW], SetFileShortName[AW], SetFileValidData,
ZombifyActCtx, QueryActCtxW): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX,
QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE,
QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS): Add constants.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (SetDllDirectory[AW],
SetFirmwareEnvironmentVariable[AW]): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0500] (VER_BUILDNUMBER,
VER_MAJORVERSION, VER_MINORVERSION, VER_PLATFORMID,
VER_SERVICEPACKMAJOR, VER_SERVICEPACKMINOR, VER_SUITENAME,
VER_PRODUCT_TYPE, VER_EQUAL, VER_GREATER, VER_GREATER_EQUAL,
VER_LESS, VER_LESS_EQUAL, VER_AND, VER_OR): Add constants.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(PVECTORED_EXCEPTION_HANDLER): Add callback.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_INFO_CLASS,
ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_QUERY_INDEX, ASSEMBLY_FILE_DETAILED_INFORMATION):
Add structures.
* lib/user32.def (AddRefActCtx, AddVectoredExceptionHandler,
CreateActCtx[AW], SetComputerNameEx[AW], SetDllDirectory[AW],
SetFileShortName[AW], SetFileValidData,
SetFirmwareEnvironmentVariable[AW], UnregisterWaitEx,
VerSetConditionMask, ZombifyActCtx, QueryActCtxW): Add functions.
2003-10-07 20:55:00 +08:00
|
|
|
#endif /* (_WIN32_WINNT >= 0x0501) */
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (GetComputerNameEx[AW],
GetProcessIoCounters): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (COMPUTER_NAME_FORMAT):
Move around, needed by GetComputerNameEx.
* include/winbase.h [_WIN32_WINNT >= 0x0501] (FindActCtxSectionGuid,
FindActCtxSectionString[AW], GetCurrentActCtx, GetNativeSystemInfo):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(ACTCTX_SECTION_KEYED_DATA): Add structure.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetProcessHandleCount,
GetProcessId, GetSystemRegistryQuota): Add functions, available on
Windows XP SP1 and better.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION,
ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_WINDOW_CLASS_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_CLR_SURROGATES): Add constants.
* lib/user32.def (FindActCtxSectionGuid, FindActCtxSectionString[AW],
GetComputerNameEx[AW], GetCurrentActCtx, GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetModuleHandleEx[AW],
GetNativeSystemInfo, GetProcessHandleCount, GetProcessIoCounters):
Add functions.
2003-10-07 16:47:06 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
|
|
|
typedef enum _COMPUTER_NAME_FORMAT {
|
|
|
|
ComputerNameNetBIOS,
|
|
|
|
ComputerNameDnsHostname,
|
|
|
|
ComputerNameDnsDomain,
|
|
|
|
ComputerNameDnsFullyQualified,
|
|
|
|
ComputerNamePhysicalNetBIOS,
|
|
|
|
ComputerNamePhysicalDnsHostname,
|
|
|
|
ComputerNamePhysicalDnsDomain,
|
|
|
|
ComputerNamePhysicalDnsFullyQualified,
|
|
|
|
ComputerNameMax
|
|
|
|
} COMPUTER_NAME_FORMAT;
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (SetComputerNameEx[AW],
UnregisterWaitEx): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(AddVectoredExceptionHandler, RemoveVectoredExceptionHandler): Add
or guard function. The MSDN says it is available on Windows XP and
better, and then it says it is declared for _WIN32_WINNT >= 0x0500.
Huh?
* include/winbase.h [_WIN32_WINNT >= 0x0501] (AddRefActCtx,
CreateActCtx[AW], SetFileShortName[AW], SetFileValidData,
ZombifyActCtx, QueryActCtxW): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX,
QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE,
QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS): Add constants.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (SetDllDirectory[AW],
SetFirmwareEnvironmentVariable[AW]): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0500] (VER_BUILDNUMBER,
VER_MAJORVERSION, VER_MINORVERSION, VER_PLATFORMID,
VER_SERVICEPACKMAJOR, VER_SERVICEPACKMINOR, VER_SUITENAME,
VER_PRODUCT_TYPE, VER_EQUAL, VER_GREATER, VER_GREATER_EQUAL,
VER_LESS, VER_LESS_EQUAL, VER_AND, VER_OR): Add constants.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(PVECTORED_EXCEPTION_HANDLER): Add callback.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_INFO_CLASS,
ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_QUERY_INDEX, ASSEMBLY_FILE_DETAILED_INFORMATION):
Add structures.
* lib/user32.def (AddRefActCtx, AddVectoredExceptionHandler,
CreateActCtx[AW], SetComputerNameEx[AW], SetDllDirectory[AW],
SetFileShortName[AW], SetFileValidData,
SetFirmwareEnvironmentVariable[AW], UnregisterWaitEx,
VerSetConditionMask, ZombifyActCtx, QueryActCtxW): Add functions.
2003-10-07 20:55:00 +08:00
|
|
|
#endif /* (_WIN32_WINNT >= 0x0500) */
|
2004-04-28 22:18:13 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
|
|
|
|
typedef DWORD EXECUTION_STATE;
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
|
|
|
|
typedef DWORD(WINAPI *LPPROGRESS_ROUTINE)(LARGE_INTEGER,LARGE_INTEGER,LARGE_INTEGER,LARGE_INTEGER,DWORD,DWORD,HANDLE,HANDLE,LPVOID);
|
|
|
|
typedef void(WINAPI *LPFIBER_START_ROUTINE)(PVOID);
|
2000-04-11 20:51:58 +08:00
|
|
|
typedef BOOL(CALLBACK *ENUMRESLANGPROC)(HMODULE,LPCTSTR,LPCTSTR,WORD,LONG);
|
|
|
|
typedef BOOL(CALLBACK *ENUMRESNAMEPROC)(HMODULE,LPCTSTR,LPTSTR,LONG);
|
|
|
|
typedef BOOL(CALLBACK *ENUMRESTYPEPROC)(HMODULE,LPTSTR,LONG);
|
2000-02-18 03:38:33 +08:00
|
|
|
typedef void(CALLBACK *LPOVERLAPPED_COMPLETION_ROUTINE)(DWORD,DWORD,LPOVERLAPPED);
|
|
|
|
typedef LONG(CALLBACK *PTOP_LEVEL_EXCEPTION_FILTER)(LPEXCEPTION_POINTERS);
|
|
|
|
typedef PTOP_LEVEL_EXCEPTION_FILTER LPTOP_LEVEL_EXCEPTION_FILTER;
|
|
|
|
typedef void(APIENTRY *PAPCFUNC)(DWORD);
|
|
|
|
typedef void(CALLBACK *PTIMERAPCROUTINE)(PVOID,DWORD,DWORD);
|
2003-10-06 20:33:32 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
|
|
|
typedef void(CALLBACK *WAITORTIMERCALLBACK)(PVOID,BOOLEAN);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define MAKEINTATOM(i) (LPTSTR)((DWORD)((WORD)(i)))
|
|
|
|
/* Functions */
|
|
|
|
#ifndef UNDER_CE
|
|
|
|
int APIENTRY WinMain(HINSTANCE,HINSTANCE,LPSTR,int);
|
|
|
|
#else
|
|
|
|
int APIENTRY WinMain(HINSTANCE,HINSTANCE,LPWSTR,int);
|
|
|
|
#endif
|
|
|
|
int APIENTRY wWinMain(HINSTANCE,HINSTANCE,LPWSTR,int);
|
|
|
|
long WINAPI _hread(HFILE,LPVOID,long);
|
|
|
|
long WINAPI _hwrite(HFILE,LPCSTR,long);
|
|
|
|
HFILE WINAPI _lclose(HFILE);
|
|
|
|
HFILE WINAPI _lcreat(LPCSTR,int);
|
|
|
|
LONG WINAPI _llseek(HFILE,LONG,int);
|
|
|
|
HFILE WINAPI _lopen(LPCSTR,int);
|
|
|
|
UINT WINAPI _lread(HFILE,LPVOID,UINT);
|
|
|
|
UINT WINAPI _lwrite(HFILE,LPCSTR,UINT);
|
|
|
|
#define AbnormalTermination() FALSE
|
|
|
|
BOOL WINAPI AccessCheck(PSECURITY_DESCRIPTOR,HANDLE,DWORD,PGENERIC_MAPPING,PPRIVILEGE_SET,PDWORD,PDWORD,PBOOL);
|
|
|
|
BOOL WINAPI AccessCheckAndAuditAlarmA(LPCSTR,LPVOID,LPSTR,LPSTR,PSECURITY_DESCRIPTOR,DWORD,PGENERIC_MAPPING,BOOL,PDWORD,PBOOL,PBOOL);
|
|
|
|
BOOL WINAPI AccessCheckAndAuditAlarmW(LPCWSTR,LPVOID,LPWSTR,LPWSTR,PSECURITY_DESCRIPTOR,DWORD,PGENERIC_MAPPING,BOOL,PDWORD,PBOOL,PBOOL);
|
2003-10-06 17:45:59 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
BOOL WINAPI ActivateActCtx(HANDLE,ULONG_PTR*);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI AddAccessAllowedAce(PACL,DWORD,DWORD,PSID);
|
|
|
|
BOOL WINAPI AddAccessDeniedAce(PACL,DWORD,DWORD,PSID);
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
2002-08-04 06:51:15 +08:00
|
|
|
BOOL WINAPI AddAccessAllowedAceEx(PACL,DWORD,DWORD,DWORD,PSID);
|
|
|
|
BOOL WINAPI AddAccessDeniedAceEx(PACL,DWORD,DWORD,DWORD,PSID);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI AddAce(PACL,DWORD,DWORD,PVOID,DWORD);
|
|
|
|
ATOM WINAPI AddAtomA(LPCSTR);
|
|
|
|
ATOM WINAPI AddAtomW(LPCWSTR);
|
|
|
|
BOOL WINAPI AddAuditAccessAce(PACL,DWORD,DWORD,PSID,BOOL,BOOL);
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (SetComputerNameEx[AW],
UnregisterWaitEx): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(AddVectoredExceptionHandler, RemoveVectoredExceptionHandler): Add
or guard function. The MSDN says it is available on Windows XP and
better, and then it says it is declared for _WIN32_WINNT >= 0x0500.
Huh?
* include/winbase.h [_WIN32_WINNT >= 0x0501] (AddRefActCtx,
CreateActCtx[AW], SetFileShortName[AW], SetFileValidData,
ZombifyActCtx, QueryActCtxW): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX,
QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE,
QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS): Add constants.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (SetDllDirectory[AW],
SetFirmwareEnvironmentVariable[AW]): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0500] (VER_BUILDNUMBER,
VER_MAJORVERSION, VER_MINORVERSION, VER_PLATFORMID,
VER_SERVICEPACKMAJOR, VER_SERVICEPACKMINOR, VER_SUITENAME,
VER_PRODUCT_TYPE, VER_EQUAL, VER_GREATER, VER_GREATER_EQUAL,
VER_LESS, VER_LESS_EQUAL, VER_AND, VER_OR): Add constants.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(PVECTORED_EXCEPTION_HANDLER): Add callback.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_INFO_CLASS,
ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_QUERY_INDEX, ASSEMBLY_FILE_DETAILED_INFORMATION):
Add structures.
* lib/user32.def (AddRefActCtx, AddVectoredExceptionHandler,
CreateActCtx[AW], SetComputerNameEx[AW], SetDllDirectory[AW],
SetFileShortName[AW], SetFileValidData,
SetFirmwareEnvironmentVariable[AW], UnregisterWaitEx,
VerSetConditionMask, ZombifyActCtx, QueryActCtxW): Add functions.
2003-10-07 20:55:00 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
void WINAPI AddRefActCtx(HANDLE);
|
|
|
|
#endif
|
2003-10-09 13:28:25 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (SetComputerNameEx[AW],
UnregisterWaitEx): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(AddVectoredExceptionHandler, RemoveVectoredExceptionHandler): Add
or guard function. The MSDN says it is available on Windows XP and
better, and then it says it is declared for _WIN32_WINNT >= 0x0500.
Huh?
* include/winbase.h [_WIN32_WINNT >= 0x0501] (AddRefActCtx,
CreateActCtx[AW], SetFileShortName[AW], SetFileValidData,
ZombifyActCtx, QueryActCtxW): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX,
QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE,
QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS): Add constants.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (SetDllDirectory[AW],
SetFirmwareEnvironmentVariable[AW]): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0500] (VER_BUILDNUMBER,
VER_MAJORVERSION, VER_MINORVERSION, VER_PLATFORMID,
VER_SERVICEPACKMAJOR, VER_SERVICEPACKMINOR, VER_SUITENAME,
VER_PRODUCT_TYPE, VER_EQUAL, VER_GREATER, VER_GREATER_EQUAL,
VER_LESS, VER_LESS_EQUAL, VER_AND, VER_OR): Add constants.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(PVECTORED_EXCEPTION_HANDLER): Add callback.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_INFO_CLASS,
ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_QUERY_INDEX, ASSEMBLY_FILE_DETAILED_INFORMATION):
Add structures.
* lib/user32.def (AddRefActCtx, AddVectoredExceptionHandler,
CreateActCtx[AW], SetComputerNameEx[AW], SetDllDirectory[AW],
SetFileShortName[AW], SetFileValidData,
SetFirmwareEnvironmentVariable[AW], UnregisterWaitEx,
VerSetConditionMask, ZombifyActCtx, QueryActCtxW): Add functions.
2003-10-07 20:55:00 +08:00
|
|
|
PVOID WINAPI AddVectoredExceptionHandler(ULONG,PVECTORED_EXCEPTION_HANDLER);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI AdjustTokenGroups(HANDLE,BOOL,PTOKEN_GROUPS,DWORD,PTOKEN_GROUPS,PDWORD);
|
|
|
|
BOOL WINAPI AdjustTokenPrivileges(HANDLE,BOOL,PTOKEN_PRIVILEGES,DWORD,PTOKEN_PRIVILEGES,PDWORD);
|
|
|
|
BOOL WINAPI AllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY,BYTE,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,PSID*);
|
|
|
|
BOOL WINAPI AllocateLocallyUniqueId(PLUID);
|
|
|
|
BOOL WINAPI AreAllAccessesGranted(DWORD,DWORD);
|
|
|
|
BOOL WINAPI AreAnyAccessesGranted(DWORD,DWORD);
|
|
|
|
BOOL WINAPI AreFileApisANSI(void);
|
|
|
|
BOOL WINAPI BackupEventLogA(HANDLE,LPCSTR);
|
|
|
|
BOOL WINAPI BackupEventLogW(HANDLE,LPCWSTR);
|
2002-06-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/ddeml.h (DdeCreateStringHandle{AW]:Correct
prototypes.
* include/winsvc.h (StartServiceW): Correct prototype.
* include/winbase.h (BackupRead,BackupSeek,BackupWrite,
FileTimeToLocalFileTime, GetAce,GetPrivateProfileStruct[AW],
GetTickCount,InterlockedExchangeAdd,
WritePrivateProfileStruct[AW]: Correct prototypes.
(GetEnvironmentStrings): Correct mapping to
GetEnvironmentStringsA.
* include/winver.h (VerQueryValueA,VerQueryValueW):
Correct prototypes.
* include/wincon.h (CreateConsoleScreenBuffer): Correct
prototype.
* include/winreg.h (RegQueryMultipleValues[AW],
RegQueryValueEx[AW]):Correct prototypes.
* include/wingdi.h (PXFORM, PLOGBRUSH, PLOGPEN, PPOLYTEXTA,
PPOLYTEXTW): Add typedefs.
(_DESIGNVECTOR,COLOR16, _TRIVERTEX, _DISPLAY_DEVICE): Add
structures and typedefs.
(MM_MAX_NUMAXES): Add define.
(EnumFontsW,GetEnhMetaFilePixelFormat,wglGetLayerPaletteEntries):
Correct prototypes.
* include/winerror.h (RPC_X_INVALID_PIPE_OBJECT,
RPC_X_WRONG_PIPE_ORDER,RPC_X_WRONG_PIPE_VERSION,
RPC_S_SEND_INCOMPLETE): Add defines.
2002-06-19 09:15:45 +08:00
|
|
|
BOOL WINAPI BackupRead(HANDLE,LPBYTE,DWORD,LPDWORD,BOOL,BOOL,LPVOID*);
|
|
|
|
BOOL WINAPI BackupSeek(HANDLE,DWORD,DWORD,LPDWORD,LPDWORD,LPVOID*);
|
|
|
|
BOOL WINAPI BackupWrite(HANDLE,LPBYTE,DWORD,LPDWORD,BOOL,BOOL,LPVOID*);
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI Beep(DWORD,DWORD);
|
|
|
|
HANDLE WINAPI BeginUpdateResourceA(LPCSTR,BOOL);
|
|
|
|
HANDLE WINAPI BeginUpdateResourceW(LPCWSTR,BOOL);
|
|
|
|
BOOL WINAPI BuildCommDCBA(LPCSTR,LPDCB);
|
|
|
|
BOOL WINAPI BuildCommDCBW(LPCWSTR,LPDCB);
|
|
|
|
BOOL WINAPI BuildCommDCBAndTimeoutsA(LPCSTR,LPDCB,LPCOMMTIMEOUTS);
|
|
|
|
BOOL WINAPI BuildCommDCBAndTimeoutsW(LPCWSTR,LPDCB,LPCOMMTIMEOUTS);
|
|
|
|
BOOL WINAPI CallNamedPipeA(LPCSTR,PVOID,DWORD,PVOID,DWORD,PDWORD,DWORD);
|
|
|
|
BOOL WINAPI CallNamedPipeW(LPCWSTR,PVOID,DWORD,PVOID,DWORD,PDWORD,DWORD);
|
2003-10-06 20:33:32 +08:00
|
|
|
BOOL WINAPI CancelDeviceWakeupRequest(HANDLE);
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI CancelIo(HANDLE);
|
|
|
|
BOOL WINAPI CancelWaitableTimer(HANDLE);
|
2003-10-06 17:45:59 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
BOOL WINAPI CheckNameLegalDOS8Dot3A(LPCSTR,LPSTR,DWORD,PBOOL,PBOOL);
|
|
|
|
BOOL WINAPI CheckNameLegalDOS8Dot3W(LPCWSTR,LPSTR,DWORD,PBOOL,PBOOL);
|
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(CheckRemoteDebuggerPresent, DebugActiveProcessStop, DebugBreakProcess,
DebugSetProcessKillOnExit): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (DeleteTimerQueue,
DeleteTimerQueueEx, DeleteTimerQueueTimer,
DnsHostnameToComputerName[AW]): Add functions.
* lib/user32.def (CheckRemoteDebuggerPresent, DebugActiveProcessStop,
DebugBreakProcess, DebugSetProcessKillOnExit, DeleteTimerQueueEx,
DeleteTimerQueueTimer, DnsHostnameToComputerName[AW]): Add functions.
2003-10-07 15:14:53 +08:00
|
|
|
BOOL WINAPI CheckRemoteDebuggerPresent(HANDLE,PBOOL);
|
2003-10-06 17:45:59 +08:00
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI ClearCommBreak(HANDLE);
|
|
|
|
BOOL WINAPI ClearCommError(HANDLE,PDWORD,LPCOMSTAT);
|
|
|
|
BOOL WINAPI ClearEventLogA(HANDLE,LPCSTR);
|
|
|
|
BOOL WINAPI ClearEventLogW(HANDLE,LPCWSTR);
|
|
|
|
BOOL WINAPI CloseEventLog(HANDLE);
|
|
|
|
BOOL WINAPI CloseHandle(HANDLE);
|
2000-11-01 08:37:23 +08:00
|
|
|
BOOL WINAPI CommConfigDialogA(LPCSTR,HWND,LPCOMMCONFIG);
|
|
|
|
BOOL WINAPI CommConfigDialogW(LPCWSTR,HWND,LPCOMMCONFIG);
|
2000-02-18 03:38:33 +08:00
|
|
|
LONG WINAPI CompareFileTime(CONST FILETIME*,CONST FILETIME*);
|
|
|
|
BOOL WINAPI ConnectNamedPipe(HANDLE,LPOVERLAPPED);
|
|
|
|
BOOL WINAPI ContinueDebugEvent(DWORD,DWORD,DWORD);
|
2003-10-06 18:00:31 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0400)
|
|
|
|
BOOL WINAPI ConvertFiberToThread(void);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
PVOID WINAPI ConvertThreadToFiber(PVOID);
|
|
|
|
BOOL WINAPI CopyFileA(LPCSTR,LPCSTR,BOOL);
|
|
|
|
BOOL WINAPI CopyFileW(LPCWSTR,LPCWSTR,BOOL);
|
|
|
|
BOOL WINAPI CopyFileExA(LPCSTR,LPCSTR,LPPROGRESS_ROUTINE,LPVOID,LPBOOL,DWORD);
|
|
|
|
BOOL WINAPI CopyFileExW(LPCWSTR,LPCWSTR,LPPROGRESS_ROUTINE,LPVOID,LPBOOL,DWORD);
|
|
|
|
#define RtlMoveMemory memmove
|
|
|
|
#define RtlCopyMemory memcpy
|
|
|
|
#define RtlFillMemory(d,l,f) memset((d), (f), (l))
|
|
|
|
#define RtlZeroMemory(d,l) RtlFillMemory((d),(l),0)
|
|
|
|
#define MoveMemory RtlMoveMemory
|
|
|
|
#define CopyMemory RtlCopyMemory
|
|
|
|
#define FillMemory RtlFillMemory
|
|
|
|
#define ZeroMemory RtlZeroMemory
|
|
|
|
BOOL WINAPI CopySid(DWORD,PSID,PSID);
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (SetComputerNameEx[AW],
UnregisterWaitEx): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(AddVectoredExceptionHandler, RemoveVectoredExceptionHandler): Add
or guard function. The MSDN says it is available on Windows XP and
better, and then it says it is declared for _WIN32_WINNT >= 0x0500.
Huh?
* include/winbase.h [_WIN32_WINNT >= 0x0501] (AddRefActCtx,
CreateActCtx[AW], SetFileShortName[AW], SetFileValidData,
ZombifyActCtx, QueryActCtxW): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX,
QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE,
QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS): Add constants.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (SetDllDirectory[AW],
SetFirmwareEnvironmentVariable[AW]): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0500] (VER_BUILDNUMBER,
VER_MAJORVERSION, VER_MINORVERSION, VER_PLATFORMID,
VER_SERVICEPACKMAJOR, VER_SERVICEPACKMINOR, VER_SUITENAME,
VER_PRODUCT_TYPE, VER_EQUAL, VER_GREATER, VER_GREATER_EQUAL,
VER_LESS, VER_LESS_EQUAL, VER_AND, VER_OR): Add constants.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(PVECTORED_EXCEPTION_HANDLER): Add callback.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_INFO_CLASS,
ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_QUERY_INDEX, ASSEMBLY_FILE_DETAILED_INFORMATION):
Add structures.
* lib/user32.def (AddRefActCtx, AddVectoredExceptionHandler,
CreateActCtx[AW], SetComputerNameEx[AW], SetDllDirectory[AW],
SetFileShortName[AW], SetFileValidData,
SetFirmwareEnvironmentVariable[AW], UnregisterWaitEx,
VerSetConditionMask, ZombifyActCtx, QueryActCtxW): Add functions.
2003-10-07 20:55:00 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
HANDLE WINAPI CreateActCtxA(PCACTCTXA);
|
|
|
|
HANDLE WINAPI CreateActCtxW(PCACTCTXW);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI CreateDirectoryA(LPCSTR,LPSECURITY_ATTRIBUTES);
|
|
|
|
BOOL WINAPI CreateDirectoryW(LPCWSTR,LPSECURITY_ATTRIBUTES);
|
|
|
|
BOOL WINAPI CreateDirectoryExA(LPCSTR,LPCSTR,LPSECURITY_ATTRIBUTES);
|
|
|
|
BOOL WINAPI CreateDirectoryExW(LPCWSTR,LPCWSTR,LPSECURITY_ATTRIBUTES);
|
|
|
|
HANDLE WINAPI CreateEventA(LPSECURITY_ATTRIBUTES,BOOL,BOOL,LPCSTR);
|
|
|
|
HANDLE WINAPI CreateEventW(LPSECURITY_ATTRIBUTES,BOOL,BOOL,LPCWSTR);
|
2003-01-31 16:28:44 +08:00
|
|
|
LPVOID WINAPI CreateFiber(SIZE_T,LPFIBER_START_ROUTINE,LPVOID);
|
2003-10-06 18:00:31 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0400)
|
2003-01-31 16:28:44 +08:00
|
|
|
LPVOID WINAPI CreateFiberEx(SIZE_T,SIZE_T,DWORD,LPFIBER_START_ROUTINE,LPVOID);
|
2003-10-06 18:00:31 +08:00
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
HANDLE WINAPI CreateFileA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE);
|
|
|
|
HANDLE WINAPI CreateFileW(LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE);
|
|
|
|
HANDLE WINAPI CreateFileMappingA(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,DWORD,DWORD,LPCSTR);
|
|
|
|
HANDLE WINAPI CreateFileMappingW(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,DWORD,DWORD,LPCWSTR);
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
2003-01-31 16:28:44 +08:00
|
|
|
BOOL WINAPI CreateHardLinkA(LPCSTR,LPCSTR,LPSECURITY_ATTRIBUTES);
|
|
|
|
BOOL WINAPI CreateHardLinkW(LPCWSTR,LPCWSTR,LPSECURITY_ATTRIBUTES);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
HANDLE WINAPI CreateIoCompletionPort(HANDLE,HANDLE,DWORD,DWORD);
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
2003-01-31 16:28:44 +08:00
|
|
|
HANDLE WINAPI CreateJobObjectA(LPSECURITY_ATTRIBUTES,LPCSTR);
|
|
|
|
HANDLE WINAPI CreateJobObjectW(LPSECURITY_ATTRIBUTES,LPCWSTR);
|
2003-05-12 18:35:35 +08:00
|
|
|
BOOL WINAPI TerminateJobObject(HANDLE,UINT);
|
|
|
|
BOOL WINAPI AssignProcessToJobObject(HANDLE,HANDLE);
|
2003-01-31 16:28:44 +08:00
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
HANDLE WINAPI CreateMailslotA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
|
|
|
|
HANDLE WINAPI CreateMailslotW(LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
|
2003-10-06 20:33:32 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
HANDLE WINAPI CreateMemoryResourceNotification(MEMORY_RESOURCE_NOTIFICATION_TYPE);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
HANDLE WINAPI CreateMutexA(LPSECURITY_ATTRIBUTES,BOOL,LPCSTR);
|
|
|
|
HANDLE WINAPI CreateMutexW(LPSECURITY_ATTRIBUTES,BOOL,LPCWSTR);
|
|
|
|
HANDLE WINAPI CreateNamedPipeA(LPCSTR,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
|
|
|
|
HANDLE WINAPI CreateNamedPipeW(LPCWSTR,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
|
|
|
|
BOOL WINAPI CreatePipe(PHANDLE,PHANDLE,LPSECURITY_ATTRIBUTES,DWORD);
|
|
|
|
BOOL WINAPI CreatePrivateObjectSecurity(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR*,BOOL,HANDLE,PGENERIC_MAPPING);
|
|
|
|
BOOL WINAPI CreateProcessA(LPCSTR,LPSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,PVOID,LPCSTR,LPSTARTUPINFOA,LPPROCESS_INFORMATION);
|
|
|
|
BOOL WINAPI CreateProcessW(LPCWSTR,LPWSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,PVOID,LPCWSTR,LPSTARTUPINFOW,LPPROCESS_INFORMATION);
|
|
|
|
BOOL WINAPI CreateProcessAsUserA(HANDLE,LPCSTR,LPSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,PVOID,LPCSTR,LPSTARTUPINFOA,LPPROCESS_INFORMATION);
|
|
|
|
BOOL WINAPI CreateProcessAsUserW(HANDLE,LPCWSTR,LPWSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,PVOID,LPCWSTR,LPSTARTUPINFOW,LPPROCESS_INFORMATION);
|
|
|
|
HANDLE WINAPI CreateRemoteThread(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD);
|
|
|
|
HANDLE WINAPI CreateSemaphoreA(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCSTR);
|
|
|
|
HANDLE WINAPI CreateSemaphoreW(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCWSTR);
|
|
|
|
DWORD WINAPI CreateTapePartition(HANDLE,DWORD,DWORD,DWORD);
|
2003-10-06 20:33:32 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
|
|
|
HANDLE WINAPI CreateTimerQueue(void);
|
|
|
|
BOOL WINAPI CreateTimerQueueTimer(PHANDLE,HANDLE,WAITORTIMERCALLBACK,PVOID,DWORD,DWORD,ULONG);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
HANDLE WINAPI CreateThread(LPSECURITY_ATTRIBUTES,DWORD,LPTHREAD_START_ROUTINE,PVOID,DWORD,PDWORD);
|
|
|
|
HANDLE WINAPI CreateWaitableTimerA(LPSECURITY_ATTRIBUTES,BOOL,LPCSTR);
|
|
|
|
HANDLE WINAPI CreateWaitableTimerW(LPSECURITY_ATTRIBUTES,BOOL,LPCWSTR);
|
2003-10-06 20:33:32 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
BOOL WINAPI DeactivateActCtx(DWORD,ULONG_PTR);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI DebugActiveProcess(DWORD);
|
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(CheckRemoteDebuggerPresent, DebugActiveProcessStop, DebugBreakProcess,
DebugSetProcessKillOnExit): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (DeleteTimerQueue,
DeleteTimerQueueEx, DeleteTimerQueueTimer,
DnsHostnameToComputerName[AW]): Add functions.
* lib/user32.def (CheckRemoteDebuggerPresent, DebugActiveProcessStop,
DebugBreakProcess, DebugSetProcessKillOnExit, DeleteTimerQueueEx,
DeleteTimerQueueTimer, DnsHostnameToComputerName[AW]): Add functions.
2003-10-07 15:14:53 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
BOOL WINAPI DebugActiveProcessStop(DWORD);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
void WINAPI DebugBreak(void);
|
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(CheckRemoteDebuggerPresent, DebugActiveProcessStop, DebugBreakProcess,
DebugSetProcessKillOnExit): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (DeleteTimerQueue,
DeleteTimerQueueEx, DeleteTimerQueueTimer,
DnsHostnameToComputerName[AW]): Add functions.
* lib/user32.def (CheckRemoteDebuggerPresent, DebugActiveProcessStop,
DebugBreakProcess, DebugSetProcessKillOnExit, DeleteTimerQueueEx,
DeleteTimerQueueTimer, DnsHostnameToComputerName[AW]): Add functions.
2003-10-07 15:14:53 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
BOOL WINAPI DebugBreakProcess(HANDLE);
|
|
|
|
BOOL WINAPI DebugSetProcessKillOnExit(BOOL);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI DefineDosDeviceA(DWORD,LPCSTR,LPCSTR);
|
|
|
|
BOOL WINAPI DefineDosDeviceW(DWORD,LPCWSTR,LPCWSTR);
|
|
|
|
#define DefineHandleTable(w) ((w),TRUE)
|
|
|
|
BOOL WINAPI DeleteAce(PACL,DWORD);
|
|
|
|
ATOM WINAPI DeleteAtom(ATOM);
|
|
|
|
void WINAPI DeleteCriticalSection(PCRITICAL_SECTION);
|
|
|
|
void WINAPI DeleteFiber(PVOID);
|
|
|
|
BOOL WINAPI DeleteFileA(LPCSTR);
|
|
|
|
BOOL WINAPI DeleteFileW(LPCWSTR);
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(CheckRemoteDebuggerPresent, DebugActiveProcessStop, DebugBreakProcess,
DebugSetProcessKillOnExit): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (DeleteTimerQueue,
DeleteTimerQueueEx, DeleteTimerQueueTimer,
DnsHostnameToComputerName[AW]): Add functions.
* lib/user32.def (CheckRemoteDebuggerPresent, DebugActiveProcessStop,
DebugBreakProcess, DebugSetProcessKillOnExit, DeleteTimerQueueEx,
DeleteTimerQueueTimer, DnsHostnameToComputerName[AW]): Add functions.
2003-10-07 15:14:53 +08:00
|
|
|
BOOL WINAPI DeleteTimerQueue(HANDLE);
|
|
|
|
BOOL WINAPI DeleteTimerQueueEx(HANDLE,HANDLE);
|
|
|
|
BOOL WINAPI DeleteTimerQueueTimer(HANDLE,HANDLE,HANDLE);
|
2003-04-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/winioctl.h: Clean up formatting.
(RETRIEVAL_POINTERS_BUFFER): Add fields to Extents[1] struct.
(CREATE_DISK): Add _ANONYMOUS_UNION macro.
(DISK_CACHE_INFORMATION): Likewise.
(DISK_DETECTION_INFO): Likewise.
(DISK_PARTITION_INFO): Likewise.
(PARTITION_INFORMATION_EX): Likewise.
(DRIVE_LAYOUT_INFORMATION_EX): Likewise.
2003-04-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/winbase.h (DeleteVolumeMountPoint[AW],
FindFirstVolumeMountPoint[AW], FindNextVolumeMountPoint[AW],
FindVolumeMountPointClose, GetVolumeNameForVolumeMountPoint[AW],
GetVolumePathName[AW], GetVolumePathNamesForVolumeName[AW],
SetVolumeMountPoint[AW]): Add prototypes.
* include/winioctl.h (IOCTL_DISK_GET_PARTITION_INFO_EX,
IOCTL_DISK_SET_PARTITION_INFO_EX,
IOCTL_DISK_GET_DRIVE_LAYOUT_EX,
IOCTL_DISK_SET_DRIVE_LAYOUT_EX, IOCTL_DISK_CREATE_DISK,
IOCTL_DISK_GET_LENGTH_INFO, IOCTL_DISK_PERFORMANCE_OFF,
IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, IOCTL_DISK_GROW_PARTITION,
IOCTL_DISK_GET_CACHE_INFORMATION,
IOCTL_DISK_SET_CACHE_INFORMATION,
IOCTL_DISK_DELETE_DRIVE_LAYOUT, IOCTL_DISK_UPDATE_PROPERTIES,
FSCTL_GET_VOLUME_BITMAP, FSCTL_GET_RETRIEVAL_POINTERS,
FSCTL_MOVE_FILE): Define.
(CREATE_DISK_GPT, CREATE_DISK_MBR, CREATE_DISK,
DISK_CACHE_INFORMATION,
DETECTION_TYPE, DISK_INT13_INFO, DISK_EX_INT13_INFO,
DISK_DETECTION_INFO, DISK_GEOMETRY_EX, DISK_GROW_PARTITION,
DISK_PARTITION_INFO, DISKQUOTA_USER_INFORMATION,
GET_LENGTH_INFORMATION, DISK_EXTENT, VOLUME_DISK_EXTENTS,
DRIVE_LAYOUT_INFORMATION_GPT, DRIVE_LAYOUT_INFORMATION_MBR,
PARTITION_INFORMATION_MBR, PARTITION_INFORMATION_GPT,
PARTITION_INFORMATION_EX, DRIVE_LAYOUT_INFORMATION_EX,
MOVE_FILE_DATA,
RETRIEVAL_POINTERS_BUFFER, STARTING_LCN_INPUT_BUFFER,
STARTING_VCN_INPUT_BUFFER, VOLUME_BITMAP_BUFFER): Add structs
(PARTITION_STYLE, DISK_CACHE_RETENTION_PRIORITY): Add enums.
(MEDIA_TYPE): Add F3_120M_512, F3_640_512, F5_640_512,
F5_720_512,
F3_1Pt2_512, F3_1Pt23_1024, F5_1Pt23_1024, F3_128Mb_512,
F3_230Mb_512,
F8_256_128, F3_200Mb_512, F3_240M_512, and F3_32M_512.
* lib/kernel32.def (GetVolumePathNamesForVolumeName[AW]): Add
stubs.
2003-04-26 16:31:29 +08:00
|
|
|
BOOL WINAPI DeleteVolumeMountPointA(LPCSTR);
|
|
|
|
BOOL WINAPI DeleteVolumeMountPointW(LPCWSTR);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI DeregisterEventSource(HANDLE);
|
|
|
|
BOOL WINAPI DestroyPrivateObjectSecurity(PSECURITY_DESCRIPTOR*);
|
|
|
|
BOOL WINAPI DeviceIoControl(HANDLE,DWORD,PVOID,DWORD,PVOID,DWORD,PDWORD,POVERLAPPED);
|
|
|
|
BOOL WINAPI DisableThreadLibraryCalls(HMODULE);
|
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(CheckRemoteDebuggerPresent, DebugActiveProcessStop, DebugBreakProcess,
DebugSetProcessKillOnExit): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (DeleteTimerQueue,
DeleteTimerQueueEx, DeleteTimerQueueTimer,
DnsHostnameToComputerName[AW]): Add functions.
* lib/user32.def (CheckRemoteDebuggerPresent, DebugActiveProcessStop,
DebugBreakProcess, DebugSetProcessKillOnExit, DeleteTimerQueueEx,
DeleteTimerQueueTimer, DnsHostnameToComputerName[AW]): Add functions.
2003-10-07 15:14:53 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
|
|
|
BOOL WINAPI DnsHostnameToComputerNameA(LPCSTR,LPSTR,LPDWORD);
|
|
|
|
BOOL WINAPI DnsHostnameToComputerNameW(LPCWSTR,LPWSTR,LPDWORD);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI DisconnectNamedPipe(HANDLE);
|
|
|
|
BOOL WINAPI DosDateTimeToFileTime(WORD,WORD,LPFILETIME);
|
|
|
|
BOOL WINAPI DuplicateHandle(HANDLE,HANDLE,HANDLE,PHANDLE,DWORD,BOOL,DWORD);
|
|
|
|
BOOL WINAPI DuplicateToken(HANDLE,SECURITY_IMPERSONATION_LEVEL,PHANDLE);
|
|
|
|
BOOL WINAPI DuplicateTokenEx(HANDLE,DWORD,LPSECURITY_ATTRIBUTES,SECURITY_IMPERSONATION_LEVEL,TOKEN_TYPE,PHANDLE);
|
2002-08-04 06:51:15 +08:00
|
|
|
BOOL WINAPI EncryptFileA(LPCSTR);
|
|
|
|
BOOL WINAPI EncryptFileW(LPCWSTR);
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI EndUpdateResourceA(HANDLE,BOOL);
|
|
|
|
BOOL WINAPI EndUpdateResourceW(HANDLE,BOOL);
|
|
|
|
void WINAPI EnterCriticalSection(LPCRITICAL_SECTION);
|
2003-03-17 18:01:07 +08:00
|
|
|
BOOL WINAPI EnumResourceLanguagesA(HMODULE,LPCSTR,LPCSTR,ENUMRESLANGPROC,LONG_PTR);
|
|
|
|
BOOL WINAPI EnumResourceLanguagesW(HMODULE,LPCWSTR,LPCWSTR,ENUMRESLANGPROC,LONG_PTR);
|
|
|
|
BOOL WINAPI EnumResourceNamesA(HMODULE,LPCSTR,ENUMRESNAMEPROC,LONG_PTR);
|
|
|
|
BOOL WINAPI EnumResourceNamesW(HMODULE,LPCWSTR,ENUMRESNAMEPROC,LONG_PTR);
|
|
|
|
BOOL WINAPI EnumResourceTypesA(HMODULE,ENUMRESTYPEPROC,LONG_PTR);
|
|
|
|
BOOL WINAPI EnumResourceTypesW(HMODULE,ENUMRESTYPEPROC,LONG_PTR);
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI EqualPrefixSid(PSID,PSID);
|
|
|
|
BOOL WINAPI EqualSid(PSID,PSID);
|
|
|
|
DWORD WINAPI EraseTape(HANDLE,DWORD,BOOL);
|
|
|
|
BOOL WINAPI EscapeCommFunction(HANDLE,DWORD);
|
|
|
|
DECLSPEC_NORETURN void WINAPI ExitProcess(UINT);
|
|
|
|
DECLSPEC_NORETURN void WINAPI ExitThread(DWORD);
|
|
|
|
DWORD WINAPI ExpandEnvironmentStringsA(LPCSTR,LPSTR,DWORD);
|
|
|
|
DWORD WINAPI ExpandEnvironmentStringsW(LPCWSTR,LPWSTR,DWORD);
|
|
|
|
void WINAPI FatalAppExitA(UINT,LPCSTR);
|
|
|
|
void WINAPI FatalAppExitW(UINT,LPCWSTR);
|
|
|
|
void WINAPI FatalExit(int);
|
2002-08-04 06:51:15 +08:00
|
|
|
BOOL WINAPI FileEncryptionStatusA(LPCSTR,LPDWORD);
|
|
|
|
BOOL WINAPI FileEncryptionStatusW(LPCWSTR,LPDWORD);
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI FileTimeToDosDateTime(CONST FILETIME *,LPWORD,LPWORD);
|
2002-06-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/ddeml.h (DdeCreateStringHandle{AW]:Correct
prototypes.
* include/winsvc.h (StartServiceW): Correct prototype.
* include/winbase.h (BackupRead,BackupSeek,BackupWrite,
FileTimeToLocalFileTime, GetAce,GetPrivateProfileStruct[AW],
GetTickCount,InterlockedExchangeAdd,
WritePrivateProfileStruct[AW]: Correct prototypes.
(GetEnvironmentStrings): Correct mapping to
GetEnvironmentStringsA.
* include/winver.h (VerQueryValueA,VerQueryValueW):
Correct prototypes.
* include/wincon.h (CreateConsoleScreenBuffer): Correct
prototype.
* include/winreg.h (RegQueryMultipleValues[AW],
RegQueryValueEx[AW]):Correct prototypes.
* include/wingdi.h (PXFORM, PLOGBRUSH, PLOGPEN, PPOLYTEXTA,
PPOLYTEXTW): Add typedefs.
(_DESIGNVECTOR,COLOR16, _TRIVERTEX, _DISPLAY_DEVICE): Add
structures and typedefs.
(MM_MAX_NUMAXES): Add define.
(EnumFontsW,GetEnhMetaFilePixelFormat,wglGetLayerPaletteEntries):
Correct prototypes.
* include/winerror.h (RPC_X_INVALID_PIPE_OBJECT,
RPC_X_WRONG_PIPE_ORDER,RPC_X_WRONG_PIPE_VERSION,
RPC_S_SEND_INCOMPLETE): Add defines.
2002-06-19 09:15:45 +08:00
|
|
|
BOOL WINAPI FileTimeToLocalFileTime(CONST FILETIME *,LPFILETIME);
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI FileTimeToSystemTime(CONST FILETIME *,LPSYSTEMTIME);
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (GetComputerNameEx[AW],
GetProcessIoCounters): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (COMPUTER_NAME_FORMAT):
Move around, needed by GetComputerNameEx.
* include/winbase.h [_WIN32_WINNT >= 0x0501] (FindActCtxSectionGuid,
FindActCtxSectionString[AW], GetCurrentActCtx, GetNativeSystemInfo):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(ACTCTX_SECTION_KEYED_DATA): Add structure.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetProcessHandleCount,
GetProcessId, GetSystemRegistryQuota): Add functions, available on
Windows XP SP1 and better.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION,
ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_WINDOW_CLASS_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_CLR_SURROGATES): Add constants.
* lib/user32.def (FindActCtxSectionGuid, FindActCtxSectionString[AW],
GetComputerNameEx[AW], GetCurrentActCtx, GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetModuleHandleEx[AW],
GetNativeSystemInfo, GetProcessHandleCount, GetProcessIoCounters):
Add functions.
2003-10-07 16:47:06 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
BOOL WINAPI FindActCtxSectionGuid(DWORD,const GUID*,ULONG,const GUID*,PACTCTX_SECTION_KEYED_DATA);
|
|
|
|
BOOL WINAPI FindActCtxSectionStringA(DWORD,const GUID*,ULONG,LPCSTR,PACTCTX_SECTION_KEYED_DATA);
|
|
|
|
BOOL WINAPI FindActCtxSectionStringW(DWORD,const GUID*,ULONG,LPCWSTR,PACTCTX_SECTION_KEYED_DATA);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
ATOM WINAPI FindAtomA(LPCSTR);
|
|
|
|
ATOM WINAPI FindAtomW(LPCWSTR);
|
|
|
|
BOOL WINAPI FindClose(HANDLE);
|
|
|
|
BOOL WINAPI FindCloseChangeNotification(HANDLE);
|
|
|
|
HANDLE WINAPI FindFirstChangeNotificationA(LPCSTR,BOOL,DWORD);
|
|
|
|
HANDLE WINAPI FindFirstChangeNotificationW(LPCWSTR,BOOL,DWORD);
|
|
|
|
HANDLE WINAPI FindFirstFileA(LPCSTR,LPWIN32_FIND_DATAA);
|
|
|
|
HANDLE WINAPI FindFirstFileW(LPCWSTR,LPWIN32_FIND_DATAW);
|
|
|
|
HANDLE WINAPI FindFirstFileExA(LPCSTR,FINDEX_INFO_LEVELS,PVOID,FINDEX_SEARCH_OPS,PVOID,DWORD);
|
|
|
|
HANDLE WINAPI FindFirstFileExW(LPCWSTR,FINDEX_INFO_LEVELS,PVOID,FINDEX_SEARCH_OPS,PVOID,DWORD);
|
|
|
|
BOOL WINAPI FindFirstFreeAce(PACL,PVOID*);
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
2003-03-07 08:51:19 +08:00
|
|
|
HANDLE WINAPI FindFirstVolumeA(LPCSTR,DWORD);
|
|
|
|
HANDLE WINAPI FindFirstVolumeW(LPCWSTR,DWORD);
|
2003-04-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/winioctl.h: Clean up formatting.
(RETRIEVAL_POINTERS_BUFFER): Add fields to Extents[1] struct.
(CREATE_DISK): Add _ANONYMOUS_UNION macro.
(DISK_CACHE_INFORMATION): Likewise.
(DISK_DETECTION_INFO): Likewise.
(DISK_PARTITION_INFO): Likewise.
(PARTITION_INFORMATION_EX): Likewise.
(DRIVE_LAYOUT_INFORMATION_EX): Likewise.
2003-04-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/winbase.h (DeleteVolumeMountPoint[AW],
FindFirstVolumeMountPoint[AW], FindNextVolumeMountPoint[AW],
FindVolumeMountPointClose, GetVolumeNameForVolumeMountPoint[AW],
GetVolumePathName[AW], GetVolumePathNamesForVolumeName[AW],
SetVolumeMountPoint[AW]): Add prototypes.
* include/winioctl.h (IOCTL_DISK_GET_PARTITION_INFO_EX,
IOCTL_DISK_SET_PARTITION_INFO_EX,
IOCTL_DISK_GET_DRIVE_LAYOUT_EX,
IOCTL_DISK_SET_DRIVE_LAYOUT_EX, IOCTL_DISK_CREATE_DISK,
IOCTL_DISK_GET_LENGTH_INFO, IOCTL_DISK_PERFORMANCE_OFF,
IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, IOCTL_DISK_GROW_PARTITION,
IOCTL_DISK_GET_CACHE_INFORMATION,
IOCTL_DISK_SET_CACHE_INFORMATION,
IOCTL_DISK_DELETE_DRIVE_LAYOUT, IOCTL_DISK_UPDATE_PROPERTIES,
FSCTL_GET_VOLUME_BITMAP, FSCTL_GET_RETRIEVAL_POINTERS,
FSCTL_MOVE_FILE): Define.
(CREATE_DISK_GPT, CREATE_DISK_MBR, CREATE_DISK,
DISK_CACHE_INFORMATION,
DETECTION_TYPE, DISK_INT13_INFO, DISK_EX_INT13_INFO,
DISK_DETECTION_INFO, DISK_GEOMETRY_EX, DISK_GROW_PARTITION,
DISK_PARTITION_INFO, DISKQUOTA_USER_INFORMATION,
GET_LENGTH_INFORMATION, DISK_EXTENT, VOLUME_DISK_EXTENTS,
DRIVE_LAYOUT_INFORMATION_GPT, DRIVE_LAYOUT_INFORMATION_MBR,
PARTITION_INFORMATION_MBR, PARTITION_INFORMATION_GPT,
PARTITION_INFORMATION_EX, DRIVE_LAYOUT_INFORMATION_EX,
MOVE_FILE_DATA,
RETRIEVAL_POINTERS_BUFFER, STARTING_LCN_INPUT_BUFFER,
STARTING_VCN_INPUT_BUFFER, VOLUME_BITMAP_BUFFER): Add structs
(PARTITION_STYLE, DISK_CACHE_RETENTION_PRIORITY): Add enums.
(MEDIA_TYPE): Add F3_120M_512, F3_640_512, F5_640_512,
F5_720_512,
F3_1Pt2_512, F3_1Pt23_1024, F5_1Pt23_1024, F3_128Mb_512,
F3_230Mb_512,
F8_256_128, F3_200Mb_512, F3_240M_512, and F3_32M_512.
* lib/kernel32.def (GetVolumePathNamesForVolumeName[AW]): Add
stubs.
2003-04-26 16:31:29 +08:00
|
|
|
HANDLE WINAPI FindFirstVolumeMountPointA(LPSTR,LPSTR,DWORD);
|
|
|
|
HANDLE WINAPI FindFirstVolumeMountPointW(LPWSTR,LPWSTR,DWORD);
|
2003-03-07 08:51:19 +08:00
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI FindNextChangeNotification(HANDLE);
|
|
|
|
BOOL WINAPI FindNextFileA(HANDLE,LPWIN32_FIND_DATAA);
|
|
|
|
BOOL WINAPI FindNextFileW(HANDLE,LPWIN32_FIND_DATAW);
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
2003-03-07 08:51:19 +08:00
|
|
|
BOOL WINAPI FindNextVolumeA(HANDLE,LPCSTR,DWORD);
|
|
|
|
BOOL WINAPI FindNextVolumeW(HANDLE,LPWSTR,DWORD);
|
2003-04-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/winioctl.h: Clean up formatting.
(RETRIEVAL_POINTERS_BUFFER): Add fields to Extents[1] struct.
(CREATE_DISK): Add _ANONYMOUS_UNION macro.
(DISK_CACHE_INFORMATION): Likewise.
(DISK_DETECTION_INFO): Likewise.
(DISK_PARTITION_INFO): Likewise.
(PARTITION_INFORMATION_EX): Likewise.
(DRIVE_LAYOUT_INFORMATION_EX): Likewise.
2003-04-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/winbase.h (DeleteVolumeMountPoint[AW],
FindFirstVolumeMountPoint[AW], FindNextVolumeMountPoint[AW],
FindVolumeMountPointClose, GetVolumeNameForVolumeMountPoint[AW],
GetVolumePathName[AW], GetVolumePathNamesForVolumeName[AW],
SetVolumeMountPoint[AW]): Add prototypes.
* include/winioctl.h (IOCTL_DISK_GET_PARTITION_INFO_EX,
IOCTL_DISK_SET_PARTITION_INFO_EX,
IOCTL_DISK_GET_DRIVE_LAYOUT_EX,
IOCTL_DISK_SET_DRIVE_LAYOUT_EX, IOCTL_DISK_CREATE_DISK,
IOCTL_DISK_GET_LENGTH_INFO, IOCTL_DISK_PERFORMANCE_OFF,
IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, IOCTL_DISK_GROW_PARTITION,
IOCTL_DISK_GET_CACHE_INFORMATION,
IOCTL_DISK_SET_CACHE_INFORMATION,
IOCTL_DISK_DELETE_DRIVE_LAYOUT, IOCTL_DISK_UPDATE_PROPERTIES,
FSCTL_GET_VOLUME_BITMAP, FSCTL_GET_RETRIEVAL_POINTERS,
FSCTL_MOVE_FILE): Define.
(CREATE_DISK_GPT, CREATE_DISK_MBR, CREATE_DISK,
DISK_CACHE_INFORMATION,
DETECTION_TYPE, DISK_INT13_INFO, DISK_EX_INT13_INFO,
DISK_DETECTION_INFO, DISK_GEOMETRY_EX, DISK_GROW_PARTITION,
DISK_PARTITION_INFO, DISKQUOTA_USER_INFORMATION,
GET_LENGTH_INFORMATION, DISK_EXTENT, VOLUME_DISK_EXTENTS,
DRIVE_LAYOUT_INFORMATION_GPT, DRIVE_LAYOUT_INFORMATION_MBR,
PARTITION_INFORMATION_MBR, PARTITION_INFORMATION_GPT,
PARTITION_INFORMATION_EX, DRIVE_LAYOUT_INFORMATION_EX,
MOVE_FILE_DATA,
RETRIEVAL_POINTERS_BUFFER, STARTING_LCN_INPUT_BUFFER,
STARTING_VCN_INPUT_BUFFER, VOLUME_BITMAP_BUFFER): Add structs
(PARTITION_STYLE, DISK_CACHE_RETENTION_PRIORITY): Add enums.
(MEDIA_TYPE): Add F3_120M_512, F3_640_512, F5_640_512,
F5_720_512,
F3_1Pt2_512, F3_1Pt23_1024, F5_1Pt23_1024, F3_128Mb_512,
F3_230Mb_512,
F8_256_128, F3_200Mb_512, F3_240M_512, and F3_32M_512.
* lib/kernel32.def (GetVolumePathNamesForVolumeName[AW]): Add
stubs.
2003-04-26 16:31:29 +08:00
|
|
|
BOOL WINAPI FindNextVolumeMountPointA(HANDLE,LPSTR,DWORD);
|
|
|
|
BOOL WINAPI FindNextVolumeMountPointW(HANDLE,LPWSTR,DWORD);
|
2003-03-07 08:51:19 +08:00
|
|
|
BOOL WINAPI FindVolumeClose(HANDLE);
|
2003-04-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/winioctl.h: Clean up formatting.
(RETRIEVAL_POINTERS_BUFFER): Add fields to Extents[1] struct.
(CREATE_DISK): Add _ANONYMOUS_UNION macro.
(DISK_CACHE_INFORMATION): Likewise.
(DISK_DETECTION_INFO): Likewise.
(DISK_PARTITION_INFO): Likewise.
(PARTITION_INFORMATION_EX): Likewise.
(DRIVE_LAYOUT_INFORMATION_EX): Likewise.
2003-04-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/winbase.h (DeleteVolumeMountPoint[AW],
FindFirstVolumeMountPoint[AW], FindNextVolumeMountPoint[AW],
FindVolumeMountPointClose, GetVolumeNameForVolumeMountPoint[AW],
GetVolumePathName[AW], GetVolumePathNamesForVolumeName[AW],
SetVolumeMountPoint[AW]): Add prototypes.
* include/winioctl.h (IOCTL_DISK_GET_PARTITION_INFO_EX,
IOCTL_DISK_SET_PARTITION_INFO_EX,
IOCTL_DISK_GET_DRIVE_LAYOUT_EX,
IOCTL_DISK_SET_DRIVE_LAYOUT_EX, IOCTL_DISK_CREATE_DISK,
IOCTL_DISK_GET_LENGTH_INFO, IOCTL_DISK_PERFORMANCE_OFF,
IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, IOCTL_DISK_GROW_PARTITION,
IOCTL_DISK_GET_CACHE_INFORMATION,
IOCTL_DISK_SET_CACHE_INFORMATION,
IOCTL_DISK_DELETE_DRIVE_LAYOUT, IOCTL_DISK_UPDATE_PROPERTIES,
FSCTL_GET_VOLUME_BITMAP, FSCTL_GET_RETRIEVAL_POINTERS,
FSCTL_MOVE_FILE): Define.
(CREATE_DISK_GPT, CREATE_DISK_MBR, CREATE_DISK,
DISK_CACHE_INFORMATION,
DETECTION_TYPE, DISK_INT13_INFO, DISK_EX_INT13_INFO,
DISK_DETECTION_INFO, DISK_GEOMETRY_EX, DISK_GROW_PARTITION,
DISK_PARTITION_INFO, DISKQUOTA_USER_INFORMATION,
GET_LENGTH_INFORMATION, DISK_EXTENT, VOLUME_DISK_EXTENTS,
DRIVE_LAYOUT_INFORMATION_GPT, DRIVE_LAYOUT_INFORMATION_MBR,
PARTITION_INFORMATION_MBR, PARTITION_INFORMATION_GPT,
PARTITION_INFORMATION_EX, DRIVE_LAYOUT_INFORMATION_EX,
MOVE_FILE_DATA,
RETRIEVAL_POINTERS_BUFFER, STARTING_LCN_INPUT_BUFFER,
STARTING_VCN_INPUT_BUFFER, VOLUME_BITMAP_BUFFER): Add structs
(PARTITION_STYLE, DISK_CACHE_RETENTION_PRIORITY): Add enums.
(MEDIA_TYPE): Add F3_120M_512, F3_640_512, F5_640_512,
F5_720_512,
F3_1Pt2_512, F3_1Pt23_1024, F5_1Pt23_1024, F3_128Mb_512,
F3_230Mb_512,
F8_256_128, F3_200Mb_512, F3_240M_512, and F3_32M_512.
* lib/kernel32.def (GetVolumePathNamesForVolumeName[AW]): Add
stubs.
2003-04-26 16:31:29 +08:00
|
|
|
BOOL WINAPI FindVolumeMountPointClose(HANDLE);
|
2003-03-07 08:51:19 +08:00
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
HRSRC WINAPI FindResourceA(HMODULE,LPCSTR,LPCSTR);
|
|
|
|
HRSRC WINAPI FindResourceW(HINSTANCE,LPCWSTR,LPCWSTR);
|
|
|
|
HRSRC WINAPI FindResourceExA(HINSTANCE,LPCSTR,LPCSTR,WORD);
|
|
|
|
HRSRC WINAPI FindResourceExW(HINSTANCE,LPCWSTR,LPCWSTR,WORD);
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (GetComputerNameEx[AW],
GetProcessIoCounters): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (COMPUTER_NAME_FORMAT):
Move around, needed by GetComputerNameEx.
* include/winbase.h [_WIN32_WINNT >= 0x0501] (FindActCtxSectionGuid,
FindActCtxSectionString[AW], GetCurrentActCtx, GetNativeSystemInfo):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(ACTCTX_SECTION_KEYED_DATA): Add structure.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetProcessHandleCount,
GetProcessId, GetSystemRegistryQuota): Add functions, available on
Windows XP SP1 and better.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION,
ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_WINDOW_CLASS_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_CLR_SURROGATES): Add constants.
* lib/user32.def (FindActCtxSectionGuid, FindActCtxSectionString[AW],
GetComputerNameEx[AW], GetCurrentActCtx, GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetModuleHandleEx[AW],
GetNativeSystemInfo, GetProcessHandleCount, GetProcessIoCounters):
Add functions.
2003-10-07 16:47:06 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0502)
|
|
|
|
DWORD WINAPI GetFirmwareEnvironmentVariableA(LPCSTR,LPCSTR,PVOID,DWORD);
|
|
|
|
DWORD WINAPI GetFirmwareEnvironmentVariableW(LPCWSTR,LPCWSTR,PVOID,DWORD);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI FlushFileBuffers(HANDLE);
|
|
|
|
BOOL WINAPI FlushInstructionCache(HANDLE,PCVOID,DWORD);
|
|
|
|
BOOL WINAPI FlushViewOfFile(PCVOID,DWORD);
|
|
|
|
DWORD WINAPI FormatMessageA(DWORD,PCVOID,DWORD,DWORD,LPSTR,DWORD,va_list*);
|
|
|
|
DWORD WINAPI FormatMessageW(DWORD,PCVOID,DWORD,DWORD,LPWSTR,DWORD,va_list*);
|
|
|
|
BOOL WINAPI FreeEnvironmentStringsA(LPSTR);
|
|
|
|
BOOL WINAPI FreeEnvironmentStringsW(LPWSTR);
|
|
|
|
BOOL WINAPI FreeLibrary(HMODULE);
|
2001-01-27 05:05:20 +08:00
|
|
|
DECLSPEC_NORETURN void WINAPI FreeLibraryAndExitThread(HMODULE,DWORD);
|
2000-02-18 03:38:33 +08:00
|
|
|
#define FreeModule(m) FreeLibrary(m)
|
|
|
|
#define FreeProcInstance(p) (void)(p)
|
2001-03-30 21:22:17 +08:00
|
|
|
#ifndef XFree86Server
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI FreeResource(HGLOBAL);
|
2001-03-30 21:22:17 +08:00
|
|
|
#endif /* ndef XFree86Server */
|
2000-02-18 03:38:33 +08:00
|
|
|
PVOID WINAPI FreeSid(PSID);
|
2002-06-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/ddeml.h (DdeCreateStringHandle{AW]:Correct
prototypes.
* include/winsvc.h (StartServiceW): Correct prototype.
* include/winbase.h (BackupRead,BackupSeek,BackupWrite,
FileTimeToLocalFileTime, GetAce,GetPrivateProfileStruct[AW],
GetTickCount,InterlockedExchangeAdd,
WritePrivateProfileStruct[AW]: Correct prototypes.
(GetEnvironmentStrings): Correct mapping to
GetEnvironmentStringsA.
* include/winver.h (VerQueryValueA,VerQueryValueW):
Correct prototypes.
* include/wincon.h (CreateConsoleScreenBuffer): Correct
prototype.
* include/winreg.h (RegQueryMultipleValues[AW],
RegQueryValueEx[AW]):Correct prototypes.
* include/wingdi.h (PXFORM, PLOGBRUSH, PLOGPEN, PPOLYTEXTA,
PPOLYTEXTW): Add typedefs.
(_DESIGNVECTOR,COLOR16, _TRIVERTEX, _DISPLAY_DEVICE): Add
structures and typedefs.
(MM_MAX_NUMAXES): Add define.
(EnumFontsW,GetEnhMetaFilePixelFormat,wglGetLayerPaletteEntries):
Correct prototypes.
* include/winerror.h (RPC_X_INVALID_PIPE_OBJECT,
RPC_X_WRONG_PIPE_ORDER,RPC_X_WRONG_PIPE_VERSION,
RPC_S_SEND_INCOMPLETE): Add defines.
2002-06-19 09:15:45 +08:00
|
|
|
BOOL WINAPI GetAce(PACL,DWORD,LPVOID*);
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI GetAclInformation(PACL,PVOID,DWORD,ACL_INFORMATION_CLASS);
|
|
|
|
UINT WINAPI GetAtomNameA(ATOM,LPSTR,int);
|
|
|
|
UINT WINAPI GetAtomNameW(ATOM,LPWSTR,int);
|
|
|
|
BOOL WINAPI GetBinaryTypeA(LPCSTR,PDWORD);
|
|
|
|
BOOL WINAPI GetBinaryTypeW(LPCWSTR,PDWORD);
|
|
|
|
LPSTR WINAPI GetCommandLineA(VOID);
|
|
|
|
LPWSTR WINAPI GetCommandLineW(VOID);
|
|
|
|
BOOL WINAPI GetCommConfig(HANDLE,LPCOMMCONFIG,PDWORD);
|
|
|
|
BOOL WINAPI GetCommMask(HANDLE,PDWORD);
|
|
|
|
BOOL WINAPI GetCommModemStatus(HANDLE,PDWORD);
|
|
|
|
BOOL WINAPI GetCommProperties(HANDLE,LPCOMMPROP);
|
|
|
|
BOOL WINAPI GetCommState(HANDLE,LPDCB);
|
|
|
|
BOOL WINAPI GetCommTimeouts(HANDLE,LPCOMMTIMEOUTS);
|
|
|
|
DWORD WINAPI GetCompressedFileSizeA(LPCSTR,PDWORD);
|
|
|
|
DWORD WINAPI GetCompressedFileSizeW(LPCWSTR,PDWORD);
|
|
|
|
BOOL WINAPI GetComputerNameA(LPSTR,PDWORD);
|
|
|
|
BOOL WINAPI GetComputerNameW(LPWSTR,PDWORD);
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (GetComputerNameEx[AW],
GetProcessIoCounters): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (COMPUTER_NAME_FORMAT):
Move around, needed by GetComputerNameEx.
* include/winbase.h [_WIN32_WINNT >= 0x0501] (FindActCtxSectionGuid,
FindActCtxSectionString[AW], GetCurrentActCtx, GetNativeSystemInfo):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(ACTCTX_SECTION_KEYED_DATA): Add structure.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetProcessHandleCount,
GetProcessId, GetSystemRegistryQuota): Add functions, available on
Windows XP SP1 and better.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION,
ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_WINDOW_CLASS_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_CLR_SURROGATES): Add constants.
* lib/user32.def (FindActCtxSectionGuid, FindActCtxSectionString[AW],
GetComputerNameEx[AW], GetCurrentActCtx, GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetModuleHandleEx[AW],
GetNativeSystemInfo, GetProcessHandleCount, GetProcessIoCounters):
Add functions.
2003-10-07 16:47:06 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
|
|
|
BOOL WINAPI GetComputerNameExA(COMPUTER_NAME_FORMAT,LPSTR,LPDWORD);
|
|
|
|
BOOL WINAPI GetComputerNameExW(COMPUTER_NAME_FORMAT,LPWSTR,LPDWORD);
|
|
|
|
#endif
|
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
BOOL WINAPI GetCurrentActCtx(HANDLE*);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
DWORD WINAPI GetCurrentDirectoryA(DWORD,LPSTR);
|
|
|
|
DWORD WINAPI GetCurrentDirectoryW(DWORD,LPWSTR);
|
|
|
|
BOOL WINAPI GetCurrentHwProfileA(LPHW_PROFILE_INFOA);
|
|
|
|
BOOL WINAPI GetCurrentHwProfileW(LPHW_PROFILE_INFOW);
|
|
|
|
HANDLE WINAPI GetCurrentProcess(void);
|
|
|
|
DWORD WINAPI GetCurrentProcessId(void);
|
|
|
|
HANDLE WINAPI GetCurrentThread(void);
|
|
|
|
DWORD WINAPI GetCurrentThreadId(void);
|
|
|
|
#define GetCurrentTime GetTickCount
|
|
|
|
BOOL WINAPI GetDefaultCommConfigA(LPCSTR,LPCOMMCONFIG,PDWORD);
|
|
|
|
BOOL WINAPI GetDefaultCommConfigW(LPCWSTR,LPCOMMCONFIG,PDWORD);
|
|
|
|
BOOL WINAPI GetDiskFreeSpaceA(LPCSTR,PDWORD,PDWORD,PDWORD,PDWORD);
|
|
|
|
BOOL WINAPI GetDiskFreeSpaceW(LPCWSTR,PDWORD,PDWORD,PDWORD,PDWORD);
|
|
|
|
BOOL WINAPI GetDiskFreeSpaceExA(LPCSTR,PULARGE_INTEGER,PULARGE_INTEGER,PULARGE_INTEGER);
|
|
|
|
BOOL WINAPI GetDiskFreeSpaceExW(LPCWSTR,PULARGE_INTEGER,PULARGE_INTEGER,PULARGE_INTEGER);
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (GetComputerNameEx[AW],
GetProcessIoCounters): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (COMPUTER_NAME_FORMAT):
Move around, needed by GetComputerNameEx.
* include/winbase.h [_WIN32_WINNT >= 0x0501] (FindActCtxSectionGuid,
FindActCtxSectionString[AW], GetCurrentActCtx, GetNativeSystemInfo):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(ACTCTX_SECTION_KEYED_DATA): Add structure.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetProcessHandleCount,
GetProcessId, GetSystemRegistryQuota): Add functions, available on
Windows XP SP1 and better.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION,
ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_WINDOW_CLASS_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_CLR_SURROGATES): Add constants.
* lib/user32.def (FindActCtxSectionGuid, FindActCtxSectionString[AW],
GetComputerNameEx[AW], GetCurrentActCtx, GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetModuleHandleEx[AW],
GetNativeSystemInfo, GetProcessHandleCount, GetProcessIoCounters):
Add functions.
2003-10-07 16:47:06 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0502)
|
|
|
|
DWORD WINAPI GetDllDirectoryA(DWORD,LPSTR);
|
|
|
|
DWORD WINAPI GetDllDirectoryW(DWORD,LPWSTR);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
UINT WINAPI GetDriveTypeA(LPCSTR);
|
|
|
|
UINT WINAPI GetDriveTypeW(LPCWSTR);
|
|
|
|
LPSTR WINAPI GetEnvironmentStrings(void);
|
|
|
|
LPSTR WINAPI GetEnvironmentStringsA(void);
|
|
|
|
LPWSTR WINAPI GetEnvironmentStringsW(void);
|
|
|
|
DWORD WINAPI GetEnvironmentVariableA(LPCSTR,LPSTR,DWORD);
|
|
|
|
DWORD WINAPI GetEnvironmentVariableW(LPCWSTR,LPWSTR,DWORD);
|
|
|
|
BOOL WINAPI GetExitCodeProcess(HANDLE,PDWORD);
|
|
|
|
BOOL WINAPI GetExitCodeThread(HANDLE,PDWORD);
|
|
|
|
DWORD WINAPI GetFileAttributesA(LPCSTR);
|
|
|
|
DWORD WINAPI GetFileAttributesW(LPCWSTR);
|
|
|
|
BOOL WINAPI GetFileAttributesExA(LPCSTR,GET_FILEEX_INFO_LEVELS,PVOID);
|
2001-04-09 00:53:56 +08:00
|
|
|
BOOL WINAPI GetFileAttributesExW(LPCWSTR,GET_FILEEX_INFO_LEVELS,PVOID);
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI GetFileInformationByHandle(HANDLE,LPBY_HANDLE_FILE_INFORMATION);
|
|
|
|
BOOL WINAPI GetFileSecurityA(LPCSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD);
|
|
|
|
BOOL WINAPI GetFileSecurityW(LPCWSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD);
|
|
|
|
DWORD WINAPI GetFileSize(HANDLE,PDWORD);
|
2002-08-04 06:51:15 +08:00
|
|
|
BOOL WINAPI GetFileSizeEx(HANDLE,PLARGE_INTEGER);
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI GetFileTime(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME);
|
|
|
|
DWORD WINAPI GetFileType(HANDLE);
|
|
|
|
#define GetFreeSpace(w) (0x100000L)
|
|
|
|
DWORD WINAPI GetFullPathNameA(LPCSTR,DWORD,LPSTR,LPSTR*);
|
|
|
|
DWORD WINAPI GetFullPathNameW(LPCWSTR,DWORD,LPWSTR,LPWSTR*);
|
|
|
|
BOOL WINAPI GetHandleInformation(HANDLE,PDWORD);
|
|
|
|
BOOL WINAPI GetKernelObjectSecurity(HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD);
|
2004-04-18 15:07:57 +08:00
|
|
|
DWORD WINAPI GetLastError(void);
|
2000-02-18 03:38:33 +08:00
|
|
|
DWORD WINAPI GetLengthSid(PSID);
|
|
|
|
void WINAPI GetLocalTime(LPSYSTEMTIME);
|
|
|
|
DWORD WINAPI GetLogicalDrives(void);
|
|
|
|
DWORD WINAPI GetLogicalDriveStringsA(DWORD,LPSTR);
|
|
|
|
DWORD WINAPI GetLogicalDriveStringsW(DWORD,LPWSTR);
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
|
2000-02-18 03:38:33 +08:00
|
|
|
DWORD WINAPI GetLongPathNameA(LPCSTR,LPSTR,DWORD);
|
|
|
|
DWORD WINAPI GetLongPathNameW(LPCWSTR,LPWSTR,DWORD);
|
* include/w32api.h (_NT4, _W98, _WME, _NT5, _W2000, _WXP, _W2003,
_IE3, _IE4, _IE5, _IE6): Add definitions.
* include/winbase.h (GetLongPathName[AW]): Add guard for OS >= NT5 or
>= Win98.
Change existing guards to use the above macro names as appropriate.
2003-07-01 20:01:05 +08:00
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI GetMailslotInfo(HANDLE,PDWORD,PDWORD,PDWORD,PDWORD);
|
|
|
|
DWORD WINAPI GetModuleFileNameA(HINSTANCE,LPSTR,DWORD);
|
|
|
|
DWORD WINAPI GetModuleFileNameW(HINSTANCE,LPWSTR,DWORD);
|
|
|
|
HMODULE WINAPI GetModuleHandleA(LPCSTR);
|
|
|
|
HMODULE WINAPI GetModuleHandleW(LPCWSTR);
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (GetComputerNameEx[AW],
GetProcessIoCounters): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (COMPUTER_NAME_FORMAT):
Move around, needed by GetComputerNameEx.
* include/winbase.h [_WIN32_WINNT >= 0x0501] (FindActCtxSectionGuid,
FindActCtxSectionString[AW], GetCurrentActCtx, GetNativeSystemInfo):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(ACTCTX_SECTION_KEYED_DATA): Add structure.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetProcessHandleCount,
GetProcessId, GetSystemRegistryQuota): Add functions, available on
Windows XP SP1 and better.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION,
ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_WINDOW_CLASS_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_CLR_SURROGATES): Add constants.
* lib/user32.def (FindActCtxSectionGuid, FindActCtxSectionString[AW],
GetComputerNameEx[AW], GetCurrentActCtx, GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetModuleHandleEx[AW],
GetNativeSystemInfo, GetProcessHandleCount, GetProcessIoCounters):
Add functions.
2003-10-07 16:47:06 +08:00
|
|
|
BOOL WINAPI GetModuleHandleExA(DWORD,LPCSTR,HMODULE*);
|
|
|
|
BOOL WINAPI GetModuleHandleExW(DWORD,LPCWSTR,HMODULE*);
|
2003-07-23 06:36:03 +08:00
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI GetNamedPipeHandleStateA(HANDLE,PDWORD,PDWORD,PDWORD,PDWORD,LPSTR,DWORD);
|
|
|
|
BOOL WINAPI GetNamedPipeHandleStateW(HANDLE,PDWORD,PDWORD,PDWORD,PDWORD,LPWSTR,DWORD);
|
|
|
|
BOOL WINAPI GetNamedPipeInfo(HANDLE,PDWORD,PDWORD,PDWORD,PDWORD);
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (GetComputerNameEx[AW],
GetProcessIoCounters): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (COMPUTER_NAME_FORMAT):
Move around, needed by GetComputerNameEx.
* include/winbase.h [_WIN32_WINNT >= 0x0501] (FindActCtxSectionGuid,
FindActCtxSectionString[AW], GetCurrentActCtx, GetNativeSystemInfo):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(ACTCTX_SECTION_KEYED_DATA): Add structure.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetProcessHandleCount,
GetProcessId, GetSystemRegistryQuota): Add functions, available on
Windows XP SP1 and better.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION,
ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_WINDOW_CLASS_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_CLR_SURROGATES): Add constants.
* lib/user32.def (FindActCtxSectionGuid, FindActCtxSectionString[AW],
GetComputerNameEx[AW], GetCurrentActCtx, GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetModuleHandleEx[AW],
GetNativeSystemInfo, GetProcessHandleCount, GetProcessIoCounters):
Add functions.
2003-10-07 16:47:06 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
VOID WINAPI GetNativeSystemInfo(LPSYSTEM_INFO);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI GetNumberOfEventLogRecords(HANDLE,PDWORD);
|
|
|
|
BOOL WINAPI GetOldestEventLogRecord(HANDLE,PDWORD);
|
|
|
|
BOOL WINAPI GetOverlappedResult(HANDLE,LPOVERLAPPED,PDWORD,BOOL);
|
|
|
|
DWORD WINAPI GetPriorityClass(HANDLE);
|
|
|
|
BOOL WINAPI GetPrivateObjectSecurity(PSECURITY_DESCRIPTOR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD);
|
|
|
|
UINT WINAPI GetPrivateProfileIntA(LPCSTR,LPCSTR,INT,LPCSTR);
|
|
|
|
UINT WINAPI GetPrivateProfileIntW(LPCWSTR,LPCWSTR,INT,LPCWSTR);
|
|
|
|
DWORD WINAPI GetPrivateProfileSectionA(LPCSTR,LPSTR,DWORD,LPCSTR);
|
|
|
|
DWORD WINAPI GetPrivateProfileSectionW(LPCWSTR,LPWSTR,DWORD,LPCWSTR);
|
|
|
|
DWORD WINAPI GetPrivateProfileSectionNamesA(LPSTR,DWORD,LPCSTR);
|
|
|
|
DWORD WINAPI GetPrivateProfileSectionNamesW(LPWSTR,DWORD,LPCWSTR);
|
|
|
|
DWORD WINAPI GetPrivateProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPSTR,DWORD,LPCSTR);
|
|
|
|
DWORD WINAPI GetPrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,DWORD,LPCWSTR);
|
2002-06-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/ddeml.h (DdeCreateStringHandle{AW]:Correct
prototypes.
* include/winsvc.h (StartServiceW): Correct prototype.
* include/winbase.h (BackupRead,BackupSeek,BackupWrite,
FileTimeToLocalFileTime, GetAce,GetPrivateProfileStruct[AW],
GetTickCount,InterlockedExchangeAdd,
WritePrivateProfileStruct[AW]: Correct prototypes.
(GetEnvironmentStrings): Correct mapping to
GetEnvironmentStringsA.
* include/winver.h (VerQueryValueA,VerQueryValueW):
Correct prototypes.
* include/wincon.h (CreateConsoleScreenBuffer): Correct
prototype.
* include/winreg.h (RegQueryMultipleValues[AW],
RegQueryValueEx[AW]):Correct prototypes.
* include/wingdi.h (PXFORM, PLOGBRUSH, PLOGPEN, PPOLYTEXTA,
PPOLYTEXTW): Add typedefs.
(_DESIGNVECTOR,COLOR16, _TRIVERTEX, _DISPLAY_DEVICE): Add
structures and typedefs.
(MM_MAX_NUMAXES): Add define.
(EnumFontsW,GetEnhMetaFilePixelFormat,wglGetLayerPaletteEntries):
Correct prototypes.
* include/winerror.h (RPC_X_INVALID_PIPE_OBJECT,
RPC_X_WRONG_PIPE_ORDER,RPC_X_WRONG_PIPE_VERSION,
RPC_S_SEND_INCOMPLETE): Add defines.
2002-06-19 09:15:45 +08:00
|
|
|
BOOL WINAPI GetPrivateProfileStructA(LPCSTR,LPCSTR,LPVOID,UINT,LPCSTR);
|
|
|
|
BOOL WINAPI GetPrivateProfileStructW(LPCWSTR,LPCWSTR,LPVOID,UINT,LPCWSTR);
|
2000-02-18 03:38:33 +08:00
|
|
|
FARPROC WINAPI GetProcAddress(HINSTANCE,LPCSTR);
|
|
|
|
BOOL WINAPI GetProcessAffinityMask(HANDLE,PDWORD,PDWORD);
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (GetComputerNameEx[AW],
GetProcessIoCounters): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (COMPUTER_NAME_FORMAT):
Move around, needed by GetComputerNameEx.
* include/winbase.h [_WIN32_WINNT >= 0x0501] (FindActCtxSectionGuid,
FindActCtxSectionString[AW], GetCurrentActCtx, GetNativeSystemInfo):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(ACTCTX_SECTION_KEYED_DATA): Add structure.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetProcessHandleCount,
GetProcessId, GetSystemRegistryQuota): Add functions, available on
Windows XP SP1 and better.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION,
ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_WINDOW_CLASS_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_CLR_SURROGATES): Add constants.
* lib/user32.def (FindActCtxSectionGuid, FindActCtxSectionString[AW],
GetComputerNameEx[AW], GetCurrentActCtx, GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetModuleHandleEx[AW],
GetNativeSystemInfo, GetProcessHandleCount, GetProcessIoCounters):
Add functions.
2003-10-07 16:47:06 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0502)
|
|
|
|
BOOL WINAPI GetProcessHandleCount(HANDLE,PDWORD);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
HANDLE WINAPI GetProcessHeap(VOID);
|
|
|
|
DWORD WINAPI GetProcessHeaps(DWORD,PHANDLE);
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (GetComputerNameEx[AW],
GetProcessIoCounters): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (COMPUTER_NAME_FORMAT):
Move around, needed by GetComputerNameEx.
* include/winbase.h [_WIN32_WINNT >= 0x0501] (FindActCtxSectionGuid,
FindActCtxSectionString[AW], GetCurrentActCtx, GetNativeSystemInfo):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(ACTCTX_SECTION_KEYED_DATA): Add structure.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetProcessHandleCount,
GetProcessId, GetSystemRegistryQuota): Add functions, available on
Windows XP SP1 and better.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION,
ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_WINDOW_CLASS_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_CLR_SURROGATES): Add constants.
* lib/user32.def (FindActCtxSectionGuid, FindActCtxSectionString[AW],
GetComputerNameEx[AW], GetCurrentActCtx, GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetModuleHandleEx[AW],
GetNativeSystemInfo, GetProcessHandleCount, GetProcessIoCounters):
Add functions.
2003-10-07 16:47:06 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0502)
|
|
|
|
DWORD WINAPI GetProcessId(HANDLE);
|
|
|
|
#endif
|
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
|
|
|
BOOL WINAPI GetProcessIoCounters(HANDLE,PIO_COUNTERS);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI GetProcessPriorityBoost(HANDLE,PBOOL);
|
|
|
|
BOOL WINAPI GetProcessShutdownParameters(PDWORD,PDWORD);
|
|
|
|
BOOL WINAPI GetProcessTimes(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME,LPFILETIME);
|
|
|
|
DWORD WINAPI GetProcessVersion(DWORD);
|
|
|
|
HWINSTA WINAPI GetProcessWindowStation(void);
|
2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/shellapi.h (SHQUERYRBINFO): Add structure,
(SHQueryRecycleBin[AW]. SHEmptyRecycleBin[AW]):Add prototypes.
(SHERB_NOCONFIRMATION, SHERB_NOPROGRESSUI, SHERB_NOSOUND):
Add defines. Thanks to Brett Hart <brett at ncubedtech dot com>
2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (GlobalCompact, GlobalFix, GlobalFlags,
GlobalUnfix, GlobalUnWire, GlobalWire, LocalCompact,
LocalFlags, LocalShrink, LockSegment, UnlockSegment): Add comment
that these are obsolete no-ops.
2003-06-17 Bang Jun-Young <junyoung@netbsd.org>
* include/winbase.h (GetProcessWorkingSetSize,
GlobalCompact, LocalAlloc, LocalCompact, LocalReAlloc,
LocalShrink, SignalObjectAndWait, WriteProcessMemory):
Correct prototypes.
2003-06-18 18:04:09 +08:00
|
|
|
BOOL WINAPI GetProcessWorkingSetSize(HANDLE,PSIZE_T,PSIZE_T);
|
2000-02-18 03:38:33 +08:00
|
|
|
UINT WINAPI GetProfileIntA(LPCSTR,LPCSTR,INT);
|
|
|
|
UINT WINAPI GetProfileIntW(LPCWSTR,LPCWSTR,INT);
|
|
|
|
DWORD WINAPI GetProfileSectionA(LPCSTR,LPSTR,DWORD);
|
|
|
|
DWORD WINAPI GetProfileSectionW(LPCWSTR,LPWSTR,DWORD);
|
|
|
|
DWORD WINAPI GetProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPSTR,DWORD);
|
|
|
|
DWORD WINAPI GetProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,DWORD);
|
|
|
|
BOOL WINAPI GetQueuedCompletionStatus(HANDLE,PDWORD,PDWORD,LPOVERLAPPED*,DWORD);
|
|
|
|
BOOL WINAPI GetSecurityDescriptorControl(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR_CONTROL,PDWORD);
|
|
|
|
BOOL WINAPI GetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR,LPBOOL,PACL*,LPBOOL);
|
|
|
|
BOOL WINAPI GetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR,PSID*,LPBOOL);
|
|
|
|
DWORD WINAPI GetSecurityDescriptorLength(PSECURITY_DESCRIPTOR);
|
|
|
|
BOOL WINAPI GetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR,PSID*,LPBOOL);
|
|
|
|
BOOL WINAPI GetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR,LPBOOL,PACL*,LPBOOL);
|
|
|
|
DWORD WINAPI GetShortPathNameA(LPCSTR,LPSTR,DWORD);
|
|
|
|
DWORD WINAPI GetShortPathNameW(LPCWSTR,LPWSTR,DWORD);
|
|
|
|
PSID_IDENTIFIER_AUTHORITY WINAPI GetSidIdentifierAuthority(PSID);
|
|
|
|
DWORD WINAPI GetSidLengthRequired(UCHAR);
|
|
|
|
PDWORD WINAPI GetSidSubAuthority(PSID,DWORD);
|
|
|
|
PUCHAR WINAPI GetSidSubAuthorityCount(PSID);
|
|
|
|
VOID WINAPI GetStartupInfoA(LPSTARTUPINFOA);
|
|
|
|
VOID WINAPI GetStartupInfoW(LPSTARTUPINFOW);
|
|
|
|
HANDLE WINAPI GetStdHandle(DWORD);
|
|
|
|
UINT WINAPI GetSystemDirectoryA(LPSTR,UINT);
|
|
|
|
UINT WINAPI GetSystemDirectoryW(LPWSTR,UINT);
|
|
|
|
VOID WINAPI GetSystemInfo(LPSYSTEM_INFO);
|
|
|
|
BOOL WINAPI GetSystemPowerStatus(LPSYSTEM_POWER_STATUS);
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (GetComputerNameEx[AW],
GetProcessIoCounters): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (COMPUTER_NAME_FORMAT):
Move around, needed by GetComputerNameEx.
* include/winbase.h [_WIN32_WINNT >= 0x0501] (FindActCtxSectionGuid,
FindActCtxSectionString[AW], GetCurrentActCtx, GetNativeSystemInfo):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(ACTCTX_SECTION_KEYED_DATA): Add structure.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetProcessHandleCount,
GetProcessId, GetSystemRegistryQuota): Add functions, available on
Windows XP SP1 and better.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION,
ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_WINDOW_CLASS_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_CLR_SURROGATES): Add constants.
* lib/user32.def (FindActCtxSectionGuid, FindActCtxSectionString[AW],
GetComputerNameEx[AW], GetCurrentActCtx, GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetModuleHandleEx[AW],
GetNativeSystemInfo, GetProcessHandleCount, GetProcessIoCounters):
Add functions.
2003-10-07 16:47:06 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0502)
|
|
|
|
BOOL WINAPI GetSystemRegistryQuota(PDWORD,PDWORD);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
VOID WINAPI GetSystemTime(LPSYSTEMTIME);
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
2003-03-07 08:51:19 +08:00
|
|
|
BOOL WINAPI GetSystemTimes(LPFILETIME,LPFILETIME,LPFILETIME);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI GetSystemTimeAdjustment(PDWORD,PDWORD,PBOOL);
|
|
|
|
void WINAPI GetSystemTimeAsFileTime(LPFILETIME);
|
* include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,
ResetWriteWatch): Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(GetSystemWow64Directory[AW], HeapQueryInformation,
HeapSetInformation, InitializeSListHead, InterlockedFlushSList,
InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob,
IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS):
Add enumeration.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag):
Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError):
Add function. The MSDN Magazine of June 2003 reads:
RestoreLastError is an enigma. It's code is identical to
SetLastError. It's unclear to me why it was made into a
separate API.
* lib/user32.def (GetSystemWindowsDirectory[AW],
GetSystemWow64Directory[AW], GetThreadIOPendingFlag,
HeapQueryInformation, HeapSetInformation, InitializeSListHead,
InterlockedFlushSList, InterlockedPopEntrySList,
InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process,
ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch,
RestoreLastError): Add functions.
2003-10-07 18:14:31 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
|
|
|
UINT WINAPI GetSystemWindowsDirectoryA(LPSTR,UINT);
|
|
|
|
UINT WINAPI GetSystemWindowsDirectoryW(LPWSTR,UINT);
|
|
|
|
#endif
|
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
UINT WINAPI GetSystemWow64DirectoryA(LPSTR,UINT);
|
|
|
|
UINT WINAPI GetSystemWow64DirectoryW(LPWSTR,UINT);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
DWORD WINAPI GetTapeParameters(HANDLE,DWORD,PDWORD,PVOID);
|
|
|
|
DWORD WINAPI GetTapePosition(HANDLE,DWORD,PDWORD,PDWORD,PDWORD);
|
|
|
|
DWORD WINAPI GetTapeStatus(HANDLE);
|
|
|
|
UINT WINAPI GetTempFileNameA(LPCSTR,LPCSTR,UINT,LPSTR);
|
|
|
|
UINT WINAPI GetTempFileNameW(LPCWSTR,LPCWSTR,UINT,LPWSTR);
|
|
|
|
DWORD WINAPI GetTempPathA(DWORD,LPSTR);
|
|
|
|
DWORD WINAPI GetTempPathW(DWORD,LPWSTR);
|
|
|
|
BOOL WINAPI GetThreadContext(HANDLE,LPCONTEXT);
|
* include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,
ResetWriteWatch): Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(GetSystemWow64Directory[AW], HeapQueryInformation,
HeapSetInformation, InitializeSListHead, InterlockedFlushSList,
InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob,
IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS):
Add enumeration.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag):
Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError):
Add function. The MSDN Magazine of June 2003 reads:
RestoreLastError is an enigma. It's code is identical to
SetLastError. It's unclear to me why it was made into a
separate API.
* lib/user32.def (GetSystemWindowsDirectory[AW],
GetSystemWow64Directory[AW], GetThreadIOPendingFlag,
HeapQueryInformation, HeapSetInformation, InitializeSListHead,
InterlockedFlushSList, InterlockedPopEntrySList,
InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process,
ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch,
RestoreLastError): Add functions.
2003-10-07 18:14:31 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0502)
|
|
|
|
BOOL WINAPI GetThreadIOPendingFlag(HANDLE,PBOOL);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
int WINAPI GetThreadPriority(HANDLE);
|
|
|
|
BOOL WINAPI GetThreadPriorityBoost(HANDLE,PBOOL);
|
|
|
|
BOOL WINAPI GetThreadSelectorEntry(HANDLE,DWORD,LPLDT_ENTRY);
|
|
|
|
BOOL WINAPI GetThreadTimes(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME,LPFILETIME);
|
2002-06-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/ddeml.h (DdeCreateStringHandle{AW]:Correct
prototypes.
* include/winsvc.h (StartServiceW): Correct prototype.
* include/winbase.h (BackupRead,BackupSeek,BackupWrite,
FileTimeToLocalFileTime, GetAce,GetPrivateProfileStruct[AW],
GetTickCount,InterlockedExchangeAdd,
WritePrivateProfileStruct[AW]: Correct prototypes.
(GetEnvironmentStrings): Correct mapping to
GetEnvironmentStringsA.
* include/winver.h (VerQueryValueA,VerQueryValueW):
Correct prototypes.
* include/wincon.h (CreateConsoleScreenBuffer): Correct
prototype.
* include/winreg.h (RegQueryMultipleValues[AW],
RegQueryValueEx[AW]):Correct prototypes.
* include/wingdi.h (PXFORM, PLOGBRUSH, PLOGPEN, PPOLYTEXTA,
PPOLYTEXTW): Add typedefs.
(_DESIGNVECTOR,COLOR16, _TRIVERTEX, _DISPLAY_DEVICE): Add
structures and typedefs.
(MM_MAX_NUMAXES): Add define.
(EnumFontsW,GetEnhMetaFilePixelFormat,wglGetLayerPaletteEntries):
Correct prototypes.
* include/winerror.h (RPC_X_INVALID_PIPE_OBJECT,
RPC_X_WRONG_PIPE_ORDER,RPC_X_WRONG_PIPE_VERSION,
RPC_S_SEND_INCOMPLETE): Add defines.
2002-06-19 09:15:45 +08:00
|
|
|
DWORD WINAPI GetTickCount(VOID);
|
2000-02-18 03:38:33 +08:00
|
|
|
DWORD WINAPI GetTimeZoneInformation(LPTIME_ZONE_INFORMATION);
|
|
|
|
BOOL WINAPI GetTokenInformation(HANDLE,TOKEN_INFORMATION_CLASS,PVOID,DWORD,PDWORD);
|
|
|
|
BOOL WINAPI GetUserNameA (LPSTR,PDWORD);
|
|
|
|
BOOL WINAPI GetUserNameW(LPWSTR,PDWORD);
|
|
|
|
DWORD WINAPI GetVersion(void);
|
|
|
|
BOOL WINAPI GetVersionExA(LPOSVERSIONINFOA);
|
|
|
|
BOOL WINAPI GetVersionExW(LPOSVERSIONINFOW);
|
|
|
|
BOOL WINAPI GetVolumeInformationA(LPCSTR,LPSTR,DWORD,PDWORD,PDWORD,PDWORD,LPSTR,DWORD);
|
|
|
|
BOOL WINAPI GetVolumeInformationW(LPCWSTR,LPWSTR,DWORD,PDWORD,PDWORD,PDWORD,LPWSTR,DWORD);
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
2003-04-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/winioctl.h: Clean up formatting.
(RETRIEVAL_POINTERS_BUFFER): Add fields to Extents[1] struct.
(CREATE_DISK): Add _ANONYMOUS_UNION macro.
(DISK_CACHE_INFORMATION): Likewise.
(DISK_DETECTION_INFO): Likewise.
(DISK_PARTITION_INFO): Likewise.
(PARTITION_INFORMATION_EX): Likewise.
(DRIVE_LAYOUT_INFORMATION_EX): Likewise.
2003-04-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/winbase.h (DeleteVolumeMountPoint[AW],
FindFirstVolumeMountPoint[AW], FindNextVolumeMountPoint[AW],
FindVolumeMountPointClose, GetVolumeNameForVolumeMountPoint[AW],
GetVolumePathName[AW], GetVolumePathNamesForVolumeName[AW],
SetVolumeMountPoint[AW]): Add prototypes.
* include/winioctl.h (IOCTL_DISK_GET_PARTITION_INFO_EX,
IOCTL_DISK_SET_PARTITION_INFO_EX,
IOCTL_DISK_GET_DRIVE_LAYOUT_EX,
IOCTL_DISK_SET_DRIVE_LAYOUT_EX, IOCTL_DISK_CREATE_DISK,
IOCTL_DISK_GET_LENGTH_INFO, IOCTL_DISK_PERFORMANCE_OFF,
IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, IOCTL_DISK_GROW_PARTITION,
IOCTL_DISK_GET_CACHE_INFORMATION,
IOCTL_DISK_SET_CACHE_INFORMATION,
IOCTL_DISK_DELETE_DRIVE_LAYOUT, IOCTL_DISK_UPDATE_PROPERTIES,
FSCTL_GET_VOLUME_BITMAP, FSCTL_GET_RETRIEVAL_POINTERS,
FSCTL_MOVE_FILE): Define.
(CREATE_DISK_GPT, CREATE_DISK_MBR, CREATE_DISK,
DISK_CACHE_INFORMATION,
DETECTION_TYPE, DISK_INT13_INFO, DISK_EX_INT13_INFO,
DISK_DETECTION_INFO, DISK_GEOMETRY_EX, DISK_GROW_PARTITION,
DISK_PARTITION_INFO, DISKQUOTA_USER_INFORMATION,
GET_LENGTH_INFORMATION, DISK_EXTENT, VOLUME_DISK_EXTENTS,
DRIVE_LAYOUT_INFORMATION_GPT, DRIVE_LAYOUT_INFORMATION_MBR,
PARTITION_INFORMATION_MBR, PARTITION_INFORMATION_GPT,
PARTITION_INFORMATION_EX, DRIVE_LAYOUT_INFORMATION_EX,
MOVE_FILE_DATA,
RETRIEVAL_POINTERS_BUFFER, STARTING_LCN_INPUT_BUFFER,
STARTING_VCN_INPUT_BUFFER, VOLUME_BITMAP_BUFFER): Add structs
(PARTITION_STYLE, DISK_CACHE_RETENTION_PRIORITY): Add enums.
(MEDIA_TYPE): Add F3_120M_512, F3_640_512, F5_640_512,
F5_720_512,
F3_1Pt2_512, F3_1Pt23_1024, F5_1Pt23_1024, F3_128Mb_512,
F3_230Mb_512,
F8_256_128, F3_200Mb_512, F3_240M_512, and F3_32M_512.
* lib/kernel32.def (GetVolumePathNamesForVolumeName[AW]): Add
stubs.
2003-04-26 16:31:29 +08:00
|
|
|
BOOL WINAPI GetVolumeNameForVolumeMountPointA(LPCSTR,LPSTR,DWORD);
|
|
|
|
BOOL WINAPI GetVolumeNameForVolumeMountPointW(LPCWSTR,LPWSTR,DWORD);
|
|
|
|
BOOL WINAPI GetVolumePathNameA(LPCSTR,LPSTR,DWORD);
|
|
|
|
BOOL WINAPI GetVolumePathNameW(LPCWSTR,LPWSTR,DWORD);
|
2003-10-07 13:54:53 +08:00
|
|
|
#endif
|
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
2003-04-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/winioctl.h: Clean up formatting.
(RETRIEVAL_POINTERS_BUFFER): Add fields to Extents[1] struct.
(CREATE_DISK): Add _ANONYMOUS_UNION macro.
(DISK_CACHE_INFORMATION): Likewise.
(DISK_DETECTION_INFO): Likewise.
(DISK_PARTITION_INFO): Likewise.
(PARTITION_INFORMATION_EX): Likewise.
(DRIVE_LAYOUT_INFORMATION_EX): Likewise.
2003-04-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/winbase.h (DeleteVolumeMountPoint[AW],
FindFirstVolumeMountPoint[AW], FindNextVolumeMountPoint[AW],
FindVolumeMountPointClose, GetVolumeNameForVolumeMountPoint[AW],
GetVolumePathName[AW], GetVolumePathNamesForVolumeName[AW],
SetVolumeMountPoint[AW]): Add prototypes.
* include/winioctl.h (IOCTL_DISK_GET_PARTITION_INFO_EX,
IOCTL_DISK_SET_PARTITION_INFO_EX,
IOCTL_DISK_GET_DRIVE_LAYOUT_EX,
IOCTL_DISK_SET_DRIVE_LAYOUT_EX, IOCTL_DISK_CREATE_DISK,
IOCTL_DISK_GET_LENGTH_INFO, IOCTL_DISK_PERFORMANCE_OFF,
IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, IOCTL_DISK_GROW_PARTITION,
IOCTL_DISK_GET_CACHE_INFORMATION,
IOCTL_DISK_SET_CACHE_INFORMATION,
IOCTL_DISK_DELETE_DRIVE_LAYOUT, IOCTL_DISK_UPDATE_PROPERTIES,
FSCTL_GET_VOLUME_BITMAP, FSCTL_GET_RETRIEVAL_POINTERS,
FSCTL_MOVE_FILE): Define.
(CREATE_DISK_GPT, CREATE_DISK_MBR, CREATE_DISK,
DISK_CACHE_INFORMATION,
DETECTION_TYPE, DISK_INT13_INFO, DISK_EX_INT13_INFO,
DISK_DETECTION_INFO, DISK_GEOMETRY_EX, DISK_GROW_PARTITION,
DISK_PARTITION_INFO, DISKQUOTA_USER_INFORMATION,
GET_LENGTH_INFORMATION, DISK_EXTENT, VOLUME_DISK_EXTENTS,
DRIVE_LAYOUT_INFORMATION_GPT, DRIVE_LAYOUT_INFORMATION_MBR,
PARTITION_INFORMATION_MBR, PARTITION_INFORMATION_GPT,
PARTITION_INFORMATION_EX, DRIVE_LAYOUT_INFORMATION_EX,
MOVE_FILE_DATA,
RETRIEVAL_POINTERS_BUFFER, STARTING_LCN_INPUT_BUFFER,
STARTING_VCN_INPUT_BUFFER, VOLUME_BITMAP_BUFFER): Add structs
(PARTITION_STYLE, DISK_CACHE_RETENTION_PRIORITY): Add enums.
(MEDIA_TYPE): Add F3_120M_512, F3_640_512, F5_640_512,
F5_720_512,
F3_1Pt2_512, F3_1Pt23_1024, F5_1Pt23_1024, F3_128Mb_512,
F3_230Mb_512,
F8_256_128, F3_200Mb_512, F3_240M_512, and F3_32M_512.
* lib/kernel32.def (GetVolumePathNamesForVolumeName[AW]): Add
stubs.
2003-04-26 16:31:29 +08:00
|
|
|
BOOL WINAPI GetVolumePathNamesForVolumeNameA(LPCSTR,LPSTR,DWORD,PDWORD);
|
|
|
|
BOOL WINAPI GetVolumePathNamesForVolumeNameW(LPCWSTR,LPWSTR,DWORD,PDWORD);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
UINT WINAPI GetWindowsDirectoryA(LPSTR,UINT);
|
|
|
|
UINT WINAPI GetWindowsDirectoryW(LPWSTR,UINT);
|
|
|
|
DWORD WINAPI GetWindowThreadProcessId(HWND,PDWORD);
|
* include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,
ResetWriteWatch): Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(GetSystemWow64Directory[AW], HeapQueryInformation,
HeapSetInformation, InitializeSListHead, InterlockedFlushSList,
InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob,
IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS):
Add enumeration.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag):
Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError):
Add function. The MSDN Magazine of June 2003 reads:
RestoreLastError is an enigma. It's code is identical to
SetLastError. It's unclear to me why it was made into a
separate API.
* lib/user32.def (GetSystemWindowsDirectory[AW],
GetSystemWow64Directory[AW], GetThreadIOPendingFlag,
HeapQueryInformation, HeapSetInformation, InitializeSListHead,
InterlockedFlushSList, InterlockedPopEntrySList,
InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process,
ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch,
RestoreLastError): Add functions.
2003-10-07 18:14:31 +08:00
|
|
|
UINT GetWriteWatch(DWORD,PVOID,SIZE_T,PVOID*,PULONG_PTR,PULONG);
|
2000-02-18 03:38:33 +08:00
|
|
|
ATOM WINAPI GlobalAddAtomA(LPCSTR);
|
|
|
|
ATOM WINAPI GlobalAddAtomW( LPCWSTR);
|
|
|
|
HGLOBAL WINAPI GlobalAlloc(UINT,DWORD);
|
2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/shellapi.h (SHQUERYRBINFO): Add structure,
(SHQueryRecycleBin[AW]. SHEmptyRecycleBin[AW]):Add prototypes.
(SHERB_NOCONFIRMATION, SHERB_NOPROGRESSUI, SHERB_NOSOUND):
Add defines. Thanks to Brett Hart <brett at ncubedtech dot com>
2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (GlobalCompact, GlobalFix, GlobalFlags,
GlobalUnfix, GlobalUnWire, GlobalWire, LocalCompact,
LocalFlags, LocalShrink, LockSegment, UnlockSegment): Add comment
that these are obsolete no-ops.
2003-06-17 Bang Jun-Young <junyoung@netbsd.org>
* include/winbase.h (GetProcessWorkingSetSize,
GlobalCompact, LocalAlloc, LocalCompact, LocalReAlloc,
LocalShrink, SignalObjectAndWait, WriteProcessMemory):
Correct prototypes.
2003-06-18 18:04:09 +08:00
|
|
|
SIZE_T WINAPI GlobalCompact(DWORD); /* Obsolete: Has no effect. */
|
2000-02-18 03:38:33 +08:00
|
|
|
ATOM WINAPI GlobalDeleteAtom(ATOM);
|
|
|
|
HGLOBAL GlobalDiscard(HGLOBAL);
|
|
|
|
ATOM WINAPI GlobalFindAtomA(LPCSTR);
|
|
|
|
ATOM WINAPI GlobalFindAtomW(LPCWSTR);
|
2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/shellapi.h (SHQUERYRBINFO): Add structure,
(SHQueryRecycleBin[AW]. SHEmptyRecycleBin[AW]):Add prototypes.
(SHERB_NOCONFIRMATION, SHERB_NOPROGRESSUI, SHERB_NOSOUND):
Add defines. Thanks to Brett Hart <brett at ncubedtech dot com>
2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (GlobalCompact, GlobalFix, GlobalFlags,
GlobalUnfix, GlobalUnWire, GlobalWire, LocalCompact,
LocalFlags, LocalShrink, LockSegment, UnlockSegment): Add comment
that these are obsolete no-ops.
2003-06-17 Bang Jun-Young <junyoung@netbsd.org>
* include/winbase.h (GetProcessWorkingSetSize,
GlobalCompact, LocalAlloc, LocalCompact, LocalReAlloc,
LocalShrink, SignalObjectAndWait, WriteProcessMemory):
Correct prototypes.
2003-06-18 18:04:09 +08:00
|
|
|
VOID WINAPI GlobalFix(HGLOBAL); /* Obsolete: Has no effect. */
|
|
|
|
UINT WINAPI GlobalFlags(HGLOBAL); /* Obsolete: Has no effect. */
|
2000-02-18 03:38:33 +08:00
|
|
|
HGLOBAL WINAPI GlobalFree(HGLOBAL);
|
|
|
|
UINT WINAPI GlobalGetAtomNameA(ATOM,LPSTR,int);
|
|
|
|
UINT WINAPI GlobalGetAtomNameW(ATOM,LPWSTR,int);
|
|
|
|
HGLOBAL WINAPI GlobalHandle(PCVOID);
|
|
|
|
LPVOID WINAPI GlobalLock(HGLOBAL);
|
|
|
|
VOID WINAPI GlobalMemoryStatus(LPMEMORYSTATUS);
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
2003-02-22 18:16:22 +08:00
|
|
|
BOOL WINAPI GlobalMemoryStatusEx(LPMEMORYSTATUSEX);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
HGLOBAL WINAPI GlobalReAlloc(HGLOBAL,DWORD,UINT);
|
|
|
|
DWORD WINAPI GlobalSize(HGLOBAL);
|
2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/shellapi.h (SHQUERYRBINFO): Add structure,
(SHQueryRecycleBin[AW]. SHEmptyRecycleBin[AW]):Add prototypes.
(SHERB_NOCONFIRMATION, SHERB_NOPROGRESSUI, SHERB_NOSOUND):
Add defines. Thanks to Brett Hart <brett at ncubedtech dot com>
2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (GlobalCompact, GlobalFix, GlobalFlags,
GlobalUnfix, GlobalUnWire, GlobalWire, LocalCompact,
LocalFlags, LocalShrink, LockSegment, UnlockSegment): Add comment
that these are obsolete no-ops.
2003-06-17 Bang Jun-Young <junyoung@netbsd.org>
* include/winbase.h (GetProcessWorkingSetSize,
GlobalCompact, LocalAlloc, LocalCompact, LocalReAlloc,
LocalShrink, SignalObjectAndWait, WriteProcessMemory):
Correct prototypes.
2003-06-18 18:04:09 +08:00
|
|
|
VOID WINAPI GlobalUnfix(HGLOBAL); /* Obsolete: Has no effect. */
|
|
|
|
BOOL WINAPI GlobalUnlock(HGLOBAL);
|
|
|
|
BOOL WINAPI GlobalUnWire(HGLOBAL); /* Obsolete: Has no effect. */
|
|
|
|
PVOID WINAPI GlobalWire(HGLOBAL); /* Obsolete: Has no effect. */
|
2001-08-21 21:58:52 +08:00
|
|
|
#define HasOverlappedIoCompleted(lpOverlapped) ((lpOverlapped)->Internal != STATUS_PENDING)
|
2000-02-18 03:38:33 +08:00
|
|
|
PVOID WINAPI HeapAlloc(HANDLE,DWORD,DWORD);
|
2003-05-30 16:44:50 +08:00
|
|
|
SIZE_T WINAPI HeapCompact(HANDLE,DWORD);
|
2000-02-18 03:38:33 +08:00
|
|
|
HANDLE WINAPI HeapCreate(DWORD,DWORD,DWORD);
|
|
|
|
BOOL WINAPI HeapDestroy(HANDLE);
|
|
|
|
BOOL WINAPI HeapFree(HANDLE,DWORD,PVOID);
|
|
|
|
BOOL WINAPI HeapLock(HANDLE);
|
* include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,
ResetWriteWatch): Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(GetSystemWow64Directory[AW], HeapQueryInformation,
HeapSetInformation, InitializeSListHead, InterlockedFlushSList,
InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob,
IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS):
Add enumeration.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag):
Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError):
Add function. The MSDN Magazine of June 2003 reads:
RestoreLastError is an enigma. It's code is identical to
SetLastError. It's unclear to me why it was made into a
separate API.
* lib/user32.def (GetSystemWindowsDirectory[AW],
GetSystemWow64Directory[AW], GetThreadIOPendingFlag,
HeapQueryInformation, HeapSetInformation, InitializeSListHead,
InterlockedFlushSList, InterlockedPopEntrySList,
InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process,
ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch,
RestoreLastError): Add functions.
2003-10-07 18:14:31 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
BOOL WINAPI HeapQueryInformation(HANDLE,HEAP_INFORMATION_CLASS,PVOID,SIZE_T,PSIZE_T);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
PVOID WINAPI HeapReAlloc(HANDLE,DWORD,PVOID,DWORD);
|
* include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,
ResetWriteWatch): Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(GetSystemWow64Directory[AW], HeapQueryInformation,
HeapSetInformation, InitializeSListHead, InterlockedFlushSList,
InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob,
IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS):
Add enumeration.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag):
Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError):
Add function. The MSDN Magazine of June 2003 reads:
RestoreLastError is an enigma. It's code is identical to
SetLastError. It's unclear to me why it was made into a
separate API.
* lib/user32.def (GetSystemWindowsDirectory[AW],
GetSystemWow64Directory[AW], GetThreadIOPendingFlag,
HeapQueryInformation, HeapSetInformation, InitializeSListHead,
InterlockedFlushSList, InterlockedPopEntrySList,
InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process,
ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch,
RestoreLastError): Add functions.
2003-10-07 18:14:31 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
BOOL WINAPI HeapSetInformation(HANDLE,HEAP_INFORMATION_CLASS,PVOID,SIZE_T);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
DWORD WINAPI HeapSize(HANDLE,DWORD,PCVOID);
|
|
|
|
BOOL WINAPI HeapUnlock(HANDLE);
|
|
|
|
BOOL WINAPI HeapValidate(HANDLE,DWORD,PCVOID);
|
|
|
|
BOOL WINAPI HeapWalk(HANDLE,LPPROCESS_HEAP_ENTRY);
|
|
|
|
BOOL WINAPI ImpersonateLoggedOnUser(HANDLE);
|
|
|
|
BOOL WINAPI ImpersonateNamedPipeClient(HANDLE);
|
|
|
|
BOOL WINAPI ImpersonateSelf(SECURITY_IMPERSONATION_LEVEL);
|
|
|
|
BOOL WINAPI InitAtomTable(DWORD);
|
|
|
|
BOOL WINAPI InitializeAcl(PACL,DWORD,DWORD);
|
|
|
|
VOID WINAPI InitializeCriticalSection(LPCRITICAL_SECTION);
|
2002-01-25 08:52:35 +08:00
|
|
|
BOOL WINAPI InitializeCriticalSectionAndSpinCount(LPCRITICAL_SECTION,DWORD);
|
|
|
|
DWORD WINAPI SetCriticalSectionSpinCount(LPCRITICAL_SECTION,DWORD);
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI InitializeSecurityDescriptor(PSECURITY_DESCRIPTOR,DWORD);
|
|
|
|
BOOL WINAPI InitializeSid (PSID,PSID_IDENTIFIER_AUTHORITY,BYTE);
|
2004-04-18 15:07:57 +08:00
|
|
|
#if !defined(__WINDDK_H) && _WIN32_WINNT >= 0x0501
|
* include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,
ResetWriteWatch): Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(GetSystemWow64Directory[AW], HeapQueryInformation,
HeapSetInformation, InitializeSListHead, InterlockedFlushSList,
InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob,
IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS):
Add enumeration.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag):
Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError):
Add function. The MSDN Magazine of June 2003 reads:
RestoreLastError is an enigma. It's code is identical to
SetLastError. It's unclear to me why it was made into a
separate API.
* lib/user32.def (GetSystemWindowsDirectory[AW],
GetSystemWow64Directory[AW], GetThreadIOPendingFlag,
HeapQueryInformation, HeapSetInformation, InitializeSListHead,
InterlockedFlushSList, InterlockedPopEntrySList,
InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process,
ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch,
RestoreLastError): Add functions.
2003-10-07 18:14:31 +08:00
|
|
|
VOID WINAPI InitializeSListHead(PSLIST_HEADER);
|
|
|
|
#endif
|
2002-07-20 08:12:25 +08:00
|
|
|
#ifndef __INTERLOCKED_DECLARED
|
|
|
|
#define __INTERLOCKED_DECLARED
|
2001-08-05 20:47:53 +08:00
|
|
|
LONG WINAPI InterlockedCompareExchange(LPLONG,LONG,LONG);
|
|
|
|
/* PVOID WINAPI InterlockedCompareExchangePointer(PVOID*,PVOID,PVOID); */
|
|
|
|
#define InterlockedCompareExchangePointer(d,e,c) \
|
|
|
|
(PVOID)InterlockedCompareExchange((LPLONG)(d),(LONG)(e),(LONG)(c))
|
2000-02-18 03:38:33 +08:00
|
|
|
LONG WINAPI InterlockedDecrement(LPLONG);
|
2001-08-05 20:47:53 +08:00
|
|
|
LONG WINAPI InterlockedExchange(LPLONG,LONG);
|
|
|
|
/* PVOID WINAPI InterlockedExchangePointer(PVOID*,PVOID); */
|
|
|
|
#define InterlockedExchangePointer(t,v) \
|
2001-09-05 02:19:33 +08:00
|
|
|
(PVOID)InterlockedExchange((LPLONG)(t),(LONG)(v))
|
2002-06-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/ddeml.h (DdeCreateStringHandle{AW]:Correct
prototypes.
* include/winsvc.h (StartServiceW): Correct prototype.
* include/winbase.h (BackupRead,BackupSeek,BackupWrite,
FileTimeToLocalFileTime, GetAce,GetPrivateProfileStruct[AW],
GetTickCount,InterlockedExchangeAdd,
WritePrivateProfileStruct[AW]: Correct prototypes.
(GetEnvironmentStrings): Correct mapping to
GetEnvironmentStringsA.
* include/winver.h (VerQueryValueA,VerQueryValueW):
Correct prototypes.
* include/wincon.h (CreateConsoleScreenBuffer): Correct
prototype.
* include/winreg.h (RegQueryMultipleValues[AW],
RegQueryValueEx[AW]):Correct prototypes.
* include/wingdi.h (PXFORM, PLOGBRUSH, PLOGPEN, PPOLYTEXTA,
PPOLYTEXTW): Add typedefs.
(_DESIGNVECTOR,COLOR16, _TRIVERTEX, _DISPLAY_DEVICE): Add
structures and typedefs.
(MM_MAX_NUMAXES): Add define.
(EnumFontsW,GetEnhMetaFilePixelFormat,wglGetLayerPaletteEntries):
Correct prototypes.
* include/winerror.h (RPC_X_INVALID_PIPE_OBJECT,
RPC_X_WRONG_PIPE_ORDER,RPC_X_WRONG_PIPE_VERSION,
RPC_S_SEND_INCOMPLETE): Add defines.
2002-06-19 09:15:45 +08:00
|
|
|
LONG WINAPI InterlockedExchangeAdd(LPLONG,LONG);
|
* include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,
ResetWriteWatch): Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(GetSystemWow64Directory[AW], HeapQueryInformation,
HeapSetInformation, InitializeSListHead, InterlockedFlushSList,
InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob,
IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS):
Add enumeration.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag):
Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError):
Add function. The MSDN Magazine of June 2003 reads:
RestoreLastError is an enigma. It's code is identical to
SetLastError. It's unclear to me why it was made into a
separate API.
* lib/user32.def (GetSystemWindowsDirectory[AW],
GetSystemWow64Directory[AW], GetThreadIOPendingFlag,
HeapQueryInformation, HeapSetInformation, InitializeSListHead,
InterlockedFlushSList, InterlockedPopEntrySList,
InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process,
ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch,
RestoreLastError): Add functions.
2003-10-07 18:14:31 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
PSLIST_ENTRY WINAPI InterlockedFlushSList(PSLIST_HEADER);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
LONG WINAPI InterlockedIncrement(LPLONG);
|
* include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,
ResetWriteWatch): Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(GetSystemWow64Directory[AW], HeapQueryInformation,
HeapSetInformation, InitializeSListHead, InterlockedFlushSList,
InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob,
IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS):
Add enumeration.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag):
Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError):
Add function. The MSDN Magazine of June 2003 reads:
RestoreLastError is an enigma. It's code is identical to
SetLastError. It's unclear to me why it was made into a
separate API.
* lib/user32.def (GetSystemWindowsDirectory[AW],
GetSystemWow64Directory[AW], GetThreadIOPendingFlag,
HeapQueryInformation, HeapSetInformation, InitializeSListHead,
InterlockedFlushSList, InterlockedPopEntrySList,
InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process,
ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch,
RestoreLastError): Add functions.
2003-10-07 18:14:31 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
PSLIST_ENTRY WINAPI InterlockedPopEntrySList(PSLIST_HEADER);
|
|
|
|
PSLIST_ENTRY WINAPI InterlockedPushEntrySList(PSLIST_HEADER,PSLIST_ENTRY);
|
|
|
|
#endif
|
2002-07-20 08:12:25 +08:00
|
|
|
#endif /* __INTERLOCKED_DECLARED */
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI IsBadCodePtr(FARPROC);
|
|
|
|
BOOL WINAPI IsBadHugeReadPtr(PCVOID,UINT);
|
|
|
|
BOOL WINAPI IsBadHugeWritePtr(PVOID,UINT);
|
|
|
|
BOOL WINAPI IsBadReadPtr(PCVOID,UINT);
|
|
|
|
BOOL WINAPI IsBadStringPtrA(LPCSTR,UINT);
|
|
|
|
BOOL WINAPI IsBadStringPtrW(LPCWSTR,UINT);
|
|
|
|
BOOL WINAPI IsBadWritePtr(PVOID,UINT);
|
|
|
|
BOOL WINAPI IsDebuggerPresent(void);
|
* include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,
ResetWriteWatch): Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(GetSystemWow64Directory[AW], HeapQueryInformation,
HeapSetInformation, InitializeSListHead, InterlockedFlushSList,
InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob,
IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS):
Add enumeration.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag):
Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError):
Add function. The MSDN Magazine of June 2003 reads:
RestoreLastError is an enigma. It's code is identical to
SetLastError. It's unclear to me why it was made into a
separate API.
* lib/user32.def (GetSystemWindowsDirectory[AW],
GetSystemWow64Directory[AW], GetThreadIOPendingFlag,
HeapQueryInformation, HeapSetInformation, InitializeSListHead,
InterlockedFlushSList, InterlockedPopEntrySList,
InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process,
ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch,
RestoreLastError): Add functions.
2003-10-07 18:14:31 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
BOOL IsProcessInJob(HANDLE,HANDLE,PBOOL);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI IsProcessorFeaturePresent(DWORD);
|
* include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,
ResetWriteWatch): Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(GetSystemWow64Directory[AW], HeapQueryInformation,
HeapSetInformation, InitializeSListHead, InterlockedFlushSList,
InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob,
IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS):
Add enumeration.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag):
Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError):
Add function. The MSDN Magazine of June 2003 reads:
RestoreLastError is an enigma. It's code is identical to
SetLastError. It's unclear to me why it was made into a
separate API.
* lib/user32.def (GetSystemWindowsDirectory[AW],
GetSystemWow64Directory[AW], GetThreadIOPendingFlag,
HeapQueryInformation, HeapSetInformation, InitializeSListHead,
InterlockedFlushSList, InterlockedPopEntrySList,
InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process,
ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch,
RestoreLastError): Add functions.
2003-10-07 18:14:31 +08:00
|
|
|
BOOL WINAPI IsSystemResumeAutomatic(void);
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI IsTextUnicode(PCVOID,int,LPINT);
|
|
|
|
BOOL WINAPI IsValidAcl(PACL);
|
|
|
|
BOOL WINAPI IsValidSecurityDescriptor(PSECURITY_DESCRIPTOR);
|
|
|
|
BOOL WINAPI IsValidSid(PSID);
|
* include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,
ResetWriteWatch): Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(GetSystemWow64Directory[AW], HeapQueryInformation,
HeapSetInformation, InitializeSListHead, InterlockedFlushSList,
InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob,
IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS):
Add enumeration.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag):
Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError):
Add function. The MSDN Magazine of June 2003 reads:
RestoreLastError is an enigma. It's code is identical to
SetLastError. It's unclear to me why it was made into a
separate API.
* lib/user32.def (GetSystemWindowsDirectory[AW],
GetSystemWow64Directory[AW], GetThreadIOPendingFlag,
HeapQueryInformation, HeapSetInformation, InitializeSListHead,
InterlockedFlushSList, InterlockedPopEntrySList,
InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process,
ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch,
RestoreLastError): Add functions.
2003-10-07 18:14:31 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
BOOL IsWow64Process(HANDLE,PBOOL);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
void WINAPI LeaveCriticalSection(LPCRITICAL_SECTION);
|
|
|
|
#define LimitEmsPages(n)
|
|
|
|
HINSTANCE WINAPI LoadLibraryA(LPCSTR);
|
|
|
|
HINSTANCE WINAPI LoadLibraryExA(LPCSTR,HANDLE,DWORD);
|
|
|
|
HINSTANCE WINAPI LoadLibraryExW(LPCWSTR,HANDLE,DWORD);
|
|
|
|
HINSTANCE WINAPI LoadLibraryW(LPCWSTR);
|
|
|
|
DWORD WINAPI LoadModule(LPCSTR,PVOID);
|
|
|
|
HGLOBAL WINAPI LoadResource(HINSTANCE,HRSRC);
|
2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/shellapi.h (SHQUERYRBINFO): Add structure,
(SHQueryRecycleBin[AW]. SHEmptyRecycleBin[AW]):Add prototypes.
(SHERB_NOCONFIRMATION, SHERB_NOPROGRESSUI, SHERB_NOSOUND):
Add defines. Thanks to Brett Hart <brett at ncubedtech dot com>
2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (GlobalCompact, GlobalFix, GlobalFlags,
GlobalUnfix, GlobalUnWire, GlobalWire, LocalCompact,
LocalFlags, LocalShrink, LockSegment, UnlockSegment): Add comment
that these are obsolete no-ops.
2003-06-17 Bang Jun-Young <junyoung@netbsd.org>
* include/winbase.h (GetProcessWorkingSetSize,
GlobalCompact, LocalAlloc, LocalCompact, LocalReAlloc,
LocalShrink, SignalObjectAndWait, WriteProcessMemory):
Correct prototypes.
2003-06-18 18:04:09 +08:00
|
|
|
HLOCAL WINAPI LocalAlloc(UINT,SIZE_T);
|
|
|
|
SIZE_T WINAPI LocalCompact(UINT); /* Obsolete: Has no effect. */
|
2000-02-18 03:38:33 +08:00
|
|
|
HLOCAL LocalDiscard(HLOCAL);
|
|
|
|
BOOL WINAPI LocalFileTimeToFileTime(CONST FILETIME *,LPFILETIME);
|
2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/shellapi.h (SHQUERYRBINFO): Add structure,
(SHQueryRecycleBin[AW]. SHEmptyRecycleBin[AW]):Add prototypes.
(SHERB_NOCONFIRMATION, SHERB_NOPROGRESSUI, SHERB_NOSOUND):
Add defines. Thanks to Brett Hart <brett at ncubedtech dot com>
2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (GlobalCompact, GlobalFix, GlobalFlags,
GlobalUnfix, GlobalUnWire, GlobalWire, LocalCompact,
LocalFlags, LocalShrink, LockSegment, UnlockSegment): Add comment
that these are obsolete no-ops.
2003-06-17 Bang Jun-Young <junyoung@netbsd.org>
* include/winbase.h (GetProcessWorkingSetSize,
GlobalCompact, LocalAlloc, LocalCompact, LocalReAlloc,
LocalShrink, SignalObjectAndWait, WriteProcessMemory):
Correct prototypes.
2003-06-18 18:04:09 +08:00
|
|
|
UINT WINAPI LocalFlags(HLOCAL); /* Obsolete: Has no effect. */
|
2000-02-18 03:38:33 +08:00
|
|
|
HLOCAL WINAPI LocalFree(HLOCAL);
|
|
|
|
HLOCAL WINAPI LocalHandle(LPCVOID);
|
|
|
|
PVOID WINAPI LocalLock(HLOCAL);
|
2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/shellapi.h (SHQUERYRBINFO): Add structure,
(SHQueryRecycleBin[AW]. SHEmptyRecycleBin[AW]):Add prototypes.
(SHERB_NOCONFIRMATION, SHERB_NOPROGRESSUI, SHERB_NOSOUND):
Add defines. Thanks to Brett Hart <brett at ncubedtech dot com>
2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (GlobalCompact, GlobalFix, GlobalFlags,
GlobalUnfix, GlobalUnWire, GlobalWire, LocalCompact,
LocalFlags, LocalShrink, LockSegment, UnlockSegment): Add comment
that these are obsolete no-ops.
2003-06-17 Bang Jun-Young <junyoung@netbsd.org>
* include/winbase.h (GetProcessWorkingSetSize,
GlobalCompact, LocalAlloc, LocalCompact, LocalReAlloc,
LocalShrink, SignalObjectAndWait, WriteProcessMemory):
Correct prototypes.
2003-06-18 18:04:09 +08:00
|
|
|
HLOCAL WINAPI LocalReAlloc(HLOCAL,SIZE_T,UINT);
|
|
|
|
SIZE_T WINAPI LocalShrink(HLOCAL,UINT); /* Obsolete: Has no effect. */
|
2000-02-18 03:38:33 +08:00
|
|
|
UINT WINAPI LocalSize(HLOCAL);
|
|
|
|
BOOL WINAPI LocalUnlock(HLOCAL);
|
|
|
|
BOOL WINAPI LockFile(HANDLE,DWORD,DWORD,DWORD,DWORD);
|
|
|
|
BOOL WINAPI LockFileEx(HANDLE,DWORD,DWORD,DWORD,DWORD,LPOVERLAPPED);
|
|
|
|
PVOID WINAPI LockResource(HGLOBAL);
|
2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/shellapi.h (SHQUERYRBINFO): Add structure,
(SHQueryRecycleBin[AW]. SHEmptyRecycleBin[AW]):Add prototypes.
(SHERB_NOCONFIRMATION, SHERB_NOPROGRESSUI, SHERB_NOSOUND):
Add defines. Thanks to Brett Hart <brett at ncubedtech dot com>
2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (GlobalCompact, GlobalFix, GlobalFlags,
GlobalUnfix, GlobalUnWire, GlobalWire, LocalCompact,
LocalFlags, LocalShrink, LockSegment, UnlockSegment): Add comment
that these are obsolete no-ops.
2003-06-17 Bang Jun-Young <junyoung@netbsd.org>
* include/winbase.h (GetProcessWorkingSetSize,
GlobalCompact, LocalAlloc, LocalCompact, LocalReAlloc,
LocalShrink, SignalObjectAndWait, WriteProcessMemory):
Correct prototypes.
2003-06-18 18:04:09 +08:00
|
|
|
#define LockSegment(w) GlobalFix((HANDLE)(w)) /* Obsolete: Has no effect. */
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI LogonUserA(LPSTR,LPSTR,LPSTR,DWORD,DWORD,PHANDLE);
|
|
|
|
BOOL WINAPI LogonUserW(LPWSTR,LPWSTR,LPWSTR,DWORD,DWORD,PHANDLE);
|
|
|
|
BOOL WINAPI LookupAccountNameA(LPCSTR,LPCSTR,PSID,PDWORD,LPSTR,PDWORD,PSID_NAME_USE);
|
|
|
|
BOOL WINAPI LookupAccountNameW(LPCWSTR,LPCWSTR,PSID,PDWORD,LPWSTR,PDWORD,PSID_NAME_USE);
|
|
|
|
BOOL WINAPI LookupAccountSidA(LPCSTR,PSID,LPSTR,PDWORD,LPSTR,PDWORD,PSID_NAME_USE);
|
|
|
|
BOOL WINAPI LookupAccountSidW(LPCWSTR,PSID,LPWSTR,PDWORD,LPWSTR,PDWORD,PSID_NAME_USE);
|
|
|
|
BOOL WINAPI LookupPrivilegeDisplayNameA(LPCSTR,LPCSTR,LPSTR,PDWORD,PDWORD);
|
|
|
|
BOOL WINAPI LookupPrivilegeDisplayNameW(LPCWSTR,LPCWSTR,LPWSTR,PDWORD,PDWORD);
|
|
|
|
BOOL WINAPI LookupPrivilegeNameA(LPCSTR,PLUID,LPSTR,PDWORD);
|
|
|
|
BOOL WINAPI LookupPrivilegeNameW(LPCWSTR,PLUID,LPWSTR,PDWORD);
|
|
|
|
BOOL WINAPI LookupPrivilegeValueA(LPCSTR,LPCSTR,PLUID);
|
|
|
|
BOOL WINAPI LookupPrivilegeValueW(LPCWSTR,LPCWSTR,PLUID);
|
|
|
|
LPSTR WINAPI lstrcatA(LPSTR,LPCSTR);
|
|
|
|
LPWSTR WINAPI lstrcatW(LPWSTR,LPCWSTR);
|
|
|
|
int WINAPI lstrcmpA(LPCSTR,LPCSTR);
|
|
|
|
int WINAPI lstrcmpiA(LPCSTR,LPCSTR);
|
|
|
|
int WINAPI lstrcmpiW( LPCWSTR,LPCWSTR);
|
|
|
|
int WINAPI lstrcmpW(LPCWSTR,LPCWSTR);
|
|
|
|
LPSTR WINAPI lstrcpyA(LPSTR,LPCSTR);
|
|
|
|
LPSTR WINAPI lstrcpynA(LPSTR,LPCSTR,int);
|
|
|
|
LPWSTR WINAPI lstrcpynW(LPWSTR,LPCWSTR,int);
|
|
|
|
LPWSTR WINAPI lstrcpyW(LPWSTR,LPCWSTR);
|
|
|
|
int WINAPI lstrlenA(LPCSTR);
|
|
|
|
int WINAPI lstrlenW(LPCWSTR);
|
|
|
|
BOOL WINAPI MakeAbsoluteSD(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PDWORD,PACL,PDWORD,PACL,PDWORD,PSID,PDWORD,PSID,PDWORD);
|
|
|
|
#define MakeProcInstance(p,i) (p)
|
|
|
|
BOOL WINAPI MakeSelfRelativeSD(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PDWORD);
|
|
|
|
VOID WINAPI MapGenericMask(PDWORD,PGENERIC_MAPPING);
|
|
|
|
PVOID WINAPI MapViewOfFile(HANDLE,DWORD,DWORD,DWORD,DWORD);
|
|
|
|
PVOID WINAPI MapViewOfFileEx(HANDLE,DWORD,DWORD,DWORD,DWORD,PVOID);
|
|
|
|
BOOL WINAPI MoveFileA(LPCSTR,LPCSTR);
|
|
|
|
BOOL WINAPI MoveFileExA(LPCSTR,LPCSTR,DWORD);
|
|
|
|
BOOL WINAPI MoveFileExW(LPCWSTR,LPCWSTR,DWORD);
|
|
|
|
BOOL WINAPI MoveFileW(LPCWSTR,LPCWSTR);
|
|
|
|
int WINAPI MulDiv(int,int,int);
|
|
|
|
BOOL WINAPI NotifyChangeEventLog(HANDLE,HANDLE);
|
|
|
|
BOOL WINAPI ObjectCloseAuditAlarmA(LPCSTR,PVOID,BOOL);
|
|
|
|
BOOL WINAPI ObjectCloseAuditAlarmW(LPCWSTR,PVOID,BOOL);
|
|
|
|
BOOL WINAPI ObjectDeleteAuditAlarmA(LPCSTR,PVOID,BOOL);
|
|
|
|
BOOL WINAPI ObjectDeleteAuditAlarmW(LPCWSTR,PVOID,BOOL);
|
|
|
|
BOOL WINAPI ObjectOpenAuditAlarmA(LPCSTR,PVOID,LPSTR,LPSTR,PSECURITY_DESCRIPTOR,HANDLE,DWORD,DWORD,PPRIVILEGE_SET,BOOL,BOOL,PBOOL);
|
|
|
|
BOOL WINAPI ObjectOpenAuditAlarmW(LPCWSTR,PVOID,LPWSTR,LPWSTR,PSECURITY_DESCRIPTOR,HANDLE,DWORD,DWORD,PPRIVILEGE_SET,BOOL,BOOL,PBOOL);
|
|
|
|
BOOL WINAPI ObjectPrivilegeAuditAlarmA(LPCSTR,PVOID,HANDLE,DWORD,PPRIVILEGE_SET,BOOL);
|
|
|
|
BOOL WINAPI ObjectPrivilegeAuditAlarmW(LPCWSTR,PVOID,HANDLE,DWORD,PPRIVILEGE_SET,BOOL);
|
|
|
|
HANDLE WINAPI OpenBackupEventLogA(LPCSTR,LPCSTR);
|
|
|
|
HANDLE WINAPI OpenBackupEventLogW(LPCWSTR,LPCWSTR);
|
|
|
|
HANDLE WINAPI OpenEventA(DWORD,BOOL,LPCSTR);
|
|
|
|
HANDLE WINAPI OpenEventLogA (LPCSTR,LPCSTR);
|
|
|
|
HANDLE WINAPI OpenEventLogW(LPCWSTR,LPCWSTR);
|
|
|
|
HANDLE WINAPI OpenEventW(DWORD,BOOL,LPCWSTR);
|
|
|
|
HFILE WINAPI OpenFile(LPCSTR,LPOFSTRUCT,UINT);
|
|
|
|
HANDLE WINAPI OpenFileMappingA(DWORD,BOOL,LPCSTR);
|
|
|
|
HANDLE WINAPI OpenFileMappingW(DWORD,BOOL,LPCWSTR);
|
|
|
|
HANDLE WINAPI OpenMutexA(DWORD,BOOL,LPCSTR);
|
|
|
|
HANDLE WINAPI OpenMutexW(DWORD,BOOL,LPCWSTR);
|
|
|
|
HANDLE WINAPI OpenProcess(DWORD,BOOL,DWORD);
|
|
|
|
BOOL WINAPI OpenProcessToken(HANDLE,DWORD,PHANDLE);
|
|
|
|
HANDLE WINAPI OpenSemaphoreA(DWORD,BOOL,LPCSTR);
|
|
|
|
HANDLE WINAPI OpenSemaphoreW(DWORD,BOOL,LPCWSTR);
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500) || (_WIN32_WINDOWS >= 0x0490)
|
2002-07-09 21:24:02 +08:00
|
|
|
HANDLE WINAPI OpenThread(DWORD,BOOL,DWORD);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI OpenThreadToken(HANDLE,DWORD,BOOL,PHANDLE);
|
|
|
|
HANDLE WINAPI OpenWaitableTimerA(DWORD,BOOL,LPCSTR);
|
|
|
|
HANDLE WINAPI OpenWaitableTimerW(DWORD,BOOL,LPCWSTR);
|
|
|
|
void WINAPI OutputDebugStringA(LPCSTR);
|
|
|
|
void WINAPI OutputDebugStringW(LPCWSTR);
|
|
|
|
BOOL WINAPI PeekNamedPipe(HANDLE,PVOID,DWORD,PDWORD,PDWORD,PDWORD);
|
|
|
|
BOOL WINAPI PostQueuedCompletionStatus(HANDLE,DWORD,DWORD,LPOVERLAPPED);
|
|
|
|
DWORD WINAPI PrepareTape(HANDLE,DWORD,BOOL);
|
|
|
|
BOOL WINAPI PrivilegeCheck (HANDLE,PPRIVILEGE_SET,PBOOL);
|
|
|
|
BOOL WINAPI PrivilegedServiceAuditAlarmA(LPCSTR,LPCSTR,HANDLE,PPRIVILEGE_SET,BOOL);
|
|
|
|
BOOL WINAPI PrivilegedServiceAuditAlarmW(LPCWSTR,LPCWSTR,HANDLE,PPRIVILEGE_SET,BOOL);
|
* include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,
ResetWriteWatch): Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(GetSystemWow64Directory[AW], HeapQueryInformation,
HeapSetInformation, InitializeSListHead, InterlockedFlushSList,
InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob,
IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS):
Add enumeration.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag):
Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError):
Add function. The MSDN Magazine of June 2003 reads:
RestoreLastError is an enigma. It's code is identical to
SetLastError. It's unclear to me why it was made into a
separate API.
* lib/user32.def (GetSystemWindowsDirectory[AW],
GetSystemWow64Directory[AW], GetThreadIOPendingFlag,
HeapQueryInformation, HeapSetInformation, InitializeSListHead,
InterlockedFlushSList, InterlockedPopEntrySList,
InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process,
ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch,
RestoreLastError): Add functions.
2003-10-07 18:14:31 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
|
|
|
BOOL WINAPI ProcessIdToSessionId(DWORD,DWORD*);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI PulseEvent(HANDLE);
|
|
|
|
BOOL WINAPI PurgeComm(HANDLE,DWORD);
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (SetComputerNameEx[AW],
UnregisterWaitEx): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(AddVectoredExceptionHandler, RemoveVectoredExceptionHandler): Add
or guard function. The MSDN says it is available on Windows XP and
better, and then it says it is declared for _WIN32_WINNT >= 0x0500.
Huh?
* include/winbase.h [_WIN32_WINNT >= 0x0501] (AddRefActCtx,
CreateActCtx[AW], SetFileShortName[AW], SetFileValidData,
ZombifyActCtx, QueryActCtxW): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX,
QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE,
QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS): Add constants.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (SetDllDirectory[AW],
SetFirmwareEnvironmentVariable[AW]): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0500] (VER_BUILDNUMBER,
VER_MAJORVERSION, VER_MINORVERSION, VER_PLATFORMID,
VER_SERVICEPACKMAJOR, VER_SERVICEPACKMINOR, VER_SUITENAME,
VER_PRODUCT_TYPE, VER_EQUAL, VER_GREATER, VER_GREATER_EQUAL,
VER_LESS, VER_LESS_EQUAL, VER_AND, VER_OR): Add constants.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(PVECTORED_EXCEPTION_HANDLER): Add callback.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_INFO_CLASS,
ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_QUERY_INDEX, ASSEMBLY_FILE_DETAILED_INFORMATION):
Add structures.
* lib/user32.def (AddRefActCtx, AddVectoredExceptionHandler,
CreateActCtx[AW], SetComputerNameEx[AW], SetDllDirectory[AW],
SetFileShortName[AW], SetFileValidData,
SetFirmwareEnvironmentVariable[AW], UnregisterWaitEx,
VerSetConditionMask, ZombifyActCtx, QueryActCtxW): Add functions.
2003-10-07 20:55:00 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
BOOL WINAPI QueryActCtxW(DWORD,HANDLE,PVOID,ULONG,PVOID,SIZE_T,SIZE_T*);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
DWORD WINAPI QueryDosDeviceA(LPCSTR,LPSTR,DWORD);
|
|
|
|
DWORD WINAPI QueryDosDeviceW(LPCWSTR,LPWSTR,DWORD);
|
* include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,
ResetWriteWatch): Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(GetSystemWow64Directory[AW], HeapQueryInformation,
HeapSetInformation, InitializeSListHead, InterlockedFlushSList,
InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob,
IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS):
Add enumeration.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag):
Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError):
Add function. The MSDN Magazine of June 2003 reads:
RestoreLastError is an enigma. It's code is identical to
SetLastError. It's unclear to me why it was made into a
separate API.
* lib/user32.def (GetSystemWindowsDirectory[AW],
GetSystemWow64Directory[AW], GetThreadIOPendingFlag,
HeapQueryInformation, HeapSetInformation, InitializeSListHead,
InterlockedFlushSList, InterlockedPopEntrySList,
InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process,
ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch,
RestoreLastError): Add functions.
2003-10-07 18:14:31 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
BOOL WINAPI QueryMemoryResourceNotification(HANDLE,PBOOL);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI QueryPerformanceCounter(PLARGE_INTEGER);
|
|
|
|
BOOL WINAPI QueryPerformanceFrequency(PLARGE_INTEGER);
|
|
|
|
DWORD WINAPI QueueUserAPC(PAPCFUNC,HANDLE,DWORD);
|
|
|
|
void WINAPI RaiseException(DWORD,DWORD,DWORD,const DWORD*);
|
|
|
|
BOOL WINAPI ReadDirectoryChangesW(HANDLE,PVOID,DWORD,BOOL,DWORD,PDWORD,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE);
|
|
|
|
BOOL WINAPI ReadEventLogA(HANDLE,DWORD,DWORD,PVOID,DWORD,DWORD *,DWORD *);
|
|
|
|
BOOL WINAPI ReadEventLogW(HANDLE,DWORD,DWORD,PVOID,DWORD,DWORD *,DWORD *);
|
|
|
|
BOOL WINAPI ReadFile(HANDLE,PVOID,DWORD,PDWORD,LPOVERLAPPED);
|
|
|
|
BOOL WINAPI ReadFileEx(HANDLE,PVOID,DWORD,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE);
|
2002-08-02 16:50:45 +08:00
|
|
|
BOOL WINAPI ReadFileScatter(HANDLE,FILE_SEGMENT_ELEMENT*,DWORD,LPDWORD,LPOVERLAPPED);
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI ReadProcessMemory(HANDLE,PCVOID,PVOID,DWORD,PDWORD);
|
|
|
|
HANDLE WINAPI RegisterEventSourceA (LPCSTR,LPCSTR);
|
|
|
|
HANDLE WINAPI RegisterEventSourceW(LPCWSTR,LPCWSTR);
|
* include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,
ResetWriteWatch): Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(GetSystemWow64Directory[AW], HeapQueryInformation,
HeapSetInformation, InitializeSListHead, InterlockedFlushSList,
InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob,
IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS):
Add enumeration.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag):
Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError):
Add function. The MSDN Magazine of June 2003 reads:
RestoreLastError is an enigma. It's code is identical to
SetLastError. It's unclear to me why it was made into a
separate API.
* lib/user32.def (GetSystemWindowsDirectory[AW],
GetSystemWow64Directory[AW], GetThreadIOPendingFlag,
HeapQueryInformation, HeapSetInformation, InitializeSListHead,
InterlockedFlushSList, InterlockedPopEntrySList,
InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process,
ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch,
RestoreLastError): Add functions.
2003-10-07 18:14:31 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
void WINAPI ReleaseActCtx(HANDLE);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI ReleaseMutex(HANDLE);
|
|
|
|
BOOL WINAPI ReleaseSemaphore(HANDLE,LONG,LPLONG);
|
|
|
|
BOOL WINAPI RemoveDirectoryA(LPCSTR);
|
|
|
|
BOOL WINAPI RemoveDirectoryW(LPCWSTR);
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (SetComputerNameEx[AW],
UnregisterWaitEx): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(AddVectoredExceptionHandler, RemoveVectoredExceptionHandler): Add
or guard function. The MSDN says it is available on Windows XP and
better, and then it says it is declared for _WIN32_WINNT >= 0x0500.
Huh?
* include/winbase.h [_WIN32_WINNT >= 0x0501] (AddRefActCtx,
CreateActCtx[AW], SetFileShortName[AW], SetFileValidData,
ZombifyActCtx, QueryActCtxW): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX,
QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE,
QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS): Add constants.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (SetDllDirectory[AW],
SetFirmwareEnvironmentVariable[AW]): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0500] (VER_BUILDNUMBER,
VER_MAJORVERSION, VER_MINORVERSION, VER_PLATFORMID,
VER_SERVICEPACKMAJOR, VER_SERVICEPACKMINOR, VER_SUITENAME,
VER_PRODUCT_TYPE, VER_EQUAL, VER_GREATER, VER_GREATER_EQUAL,
VER_LESS, VER_LESS_EQUAL, VER_AND, VER_OR): Add constants.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(PVECTORED_EXCEPTION_HANDLER): Add callback.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_INFO_CLASS,
ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_QUERY_INDEX, ASSEMBLY_FILE_DETAILED_INFORMATION):
Add structures.
* lib/user32.def (AddRefActCtx, AddVectoredExceptionHandler,
CreateActCtx[AW], SetComputerNameEx[AW], SetDllDirectory[AW],
SetFileShortName[AW], SetFileValidData,
SetFirmwareEnvironmentVariable[AW], UnregisterWaitEx,
VerSetConditionMask, ZombifyActCtx, QueryActCtxW): Add functions.
2003-10-07 20:55:00 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
* include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,
ResetWriteWatch): Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(GetSystemWow64Directory[AW], HeapQueryInformation,
HeapSetInformation, InitializeSListHead, InterlockedFlushSList,
InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob,
IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS):
Add enumeration.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag):
Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError):
Add function. The MSDN Magazine of June 2003 reads:
RestoreLastError is an enigma. It's code is identical to
SetLastError. It's unclear to me why it was made into a
separate API.
* lib/user32.def (GetSystemWindowsDirectory[AW],
GetSystemWow64Directory[AW], GetThreadIOPendingFlag,
HeapQueryInformation, HeapSetInformation, InitializeSListHead,
InterlockedFlushSList, InterlockedPopEntrySList,
InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process,
ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch,
RestoreLastError): Add functions.
2003-10-07 18:14:31 +08:00
|
|
|
ULONG WINAPI RemoveVectoredExceptionHandler(PVOID);
|
|
|
|
#endif
|
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
|
|
|
BOOL WINAPI ReplaceFileA(LPCSTR,LPCSTR,LPCSTR,DWORD,LPVOID,LPVOID);
|
|
|
|
BOOL WINAPI ReplaceFileW(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,LPVOID,LPVOID);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI ReportEventA(HANDLE,WORD,WORD,DWORD,PSID,WORD,DWORD,LPCSTR*,PVOID);
|
|
|
|
BOOL WINAPI ReportEventW(HANDLE,WORD,WORD,DWORD,PSID,WORD,DWORD,LPCWSTR*,PVOID);
|
|
|
|
BOOL WINAPI ResetEvent(HANDLE);
|
* include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,
ResetWriteWatch): Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(GetSystemWow64Directory[AW], HeapQueryInformation,
HeapSetInformation, InitializeSListHead, InterlockedFlushSList,
InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob,
IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS):
Add enumeration.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag):
Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError):
Add function. The MSDN Magazine of June 2003 reads:
RestoreLastError is an enigma. It's code is identical to
SetLastError. It's unclear to me why it was made into a
separate API.
* lib/user32.def (GetSystemWindowsDirectory[AW],
GetSystemWow64Directory[AW], GetThreadIOPendingFlag,
HeapQueryInformation, HeapSetInformation, InitializeSListHead,
InterlockedFlushSList, InterlockedPopEntrySList,
InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process,
ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch,
RestoreLastError): Add functions.
2003-10-07 18:14:31 +08:00
|
|
|
UINT WINAPI ResetWriteWatch(LPVOID,SIZE_T);
|
|
|
|
#if (_WIN32_WINNT >= 0x0510)
|
|
|
|
VOID WINAPI RestoreLastError(DWORD);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
DWORD WINAPI ResumeThread(HANDLE);
|
|
|
|
BOOL WINAPI RevertToSelf(void);
|
|
|
|
DWORD WINAPI SearchPathA(LPCSTR,LPCSTR,LPCSTR,DWORD,LPSTR,LPSTR*);
|
|
|
|
DWORD WINAPI SearchPathW(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,LPWSTR,LPWSTR*);
|
|
|
|
BOOL WINAPI SetAclInformation(PACL,PVOID,DWORD,ACL_INFORMATION_CLASS);
|
|
|
|
BOOL WINAPI SetCommBreak(HANDLE);
|
|
|
|
BOOL WINAPI SetCommConfig(HANDLE,LPCOMMCONFIG,DWORD);
|
|
|
|
BOOL WINAPI SetCommMask(HANDLE,DWORD);
|
|
|
|
BOOL WINAPI SetCommState(HANDLE,LPDCB);
|
|
|
|
BOOL WINAPI SetCommTimeouts(HANDLE,LPCOMMTIMEOUTS);
|
|
|
|
BOOL WINAPI SetComputerNameA(LPCSTR);
|
|
|
|
BOOL WINAPI SetComputerNameW(LPCWSTR);
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (SetComputerNameEx[AW],
UnregisterWaitEx): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(AddVectoredExceptionHandler, RemoveVectoredExceptionHandler): Add
or guard function. The MSDN says it is available on Windows XP and
better, and then it says it is declared for _WIN32_WINNT >= 0x0500.
Huh?
* include/winbase.h [_WIN32_WINNT >= 0x0501] (AddRefActCtx,
CreateActCtx[AW], SetFileShortName[AW], SetFileValidData,
ZombifyActCtx, QueryActCtxW): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX,
QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE,
QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS): Add constants.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (SetDllDirectory[AW],
SetFirmwareEnvironmentVariable[AW]): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0500] (VER_BUILDNUMBER,
VER_MAJORVERSION, VER_MINORVERSION, VER_PLATFORMID,
VER_SERVICEPACKMAJOR, VER_SERVICEPACKMINOR, VER_SUITENAME,
VER_PRODUCT_TYPE, VER_EQUAL, VER_GREATER, VER_GREATER_EQUAL,
VER_LESS, VER_LESS_EQUAL, VER_AND, VER_OR): Add constants.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(PVECTORED_EXCEPTION_HANDLER): Add callback.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_INFO_CLASS,
ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_QUERY_INDEX, ASSEMBLY_FILE_DETAILED_INFORMATION):
Add structures.
* lib/user32.def (AddRefActCtx, AddVectoredExceptionHandler,
CreateActCtx[AW], SetComputerNameEx[AW], SetDllDirectory[AW],
SetFileShortName[AW], SetFileValidData,
SetFirmwareEnvironmentVariable[AW], UnregisterWaitEx,
VerSetConditionMask, ZombifyActCtx, QueryActCtxW): Add functions.
2003-10-07 20:55:00 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
|
|
|
BOOL WINAPI SetComputerNameExA(COMPUTER_NAME_FORMAT,LPCSTR);
|
|
|
|
BOOL WINAPI SetComputerNameExW(COMPUTER_NAME_FORMAT,LPCWSTR);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI SetCurrentDirectoryA(LPCSTR);
|
|
|
|
BOOL WINAPI SetCurrentDirectoryW(LPCWSTR);
|
|
|
|
BOOL WINAPI SetDefaultCommConfigA(LPCSTR,LPCOMMCONFIG,DWORD);
|
|
|
|
BOOL WINAPI SetDefaultCommConfigW(LPCWSTR,LPCOMMCONFIG,DWORD);
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (SetComputerNameEx[AW],
UnregisterWaitEx): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(AddVectoredExceptionHandler, RemoveVectoredExceptionHandler): Add
or guard function. The MSDN says it is available on Windows XP and
better, and then it says it is declared for _WIN32_WINNT >= 0x0500.
Huh?
* include/winbase.h [_WIN32_WINNT >= 0x0501] (AddRefActCtx,
CreateActCtx[AW], SetFileShortName[AW], SetFileValidData,
ZombifyActCtx, QueryActCtxW): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX,
QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE,
QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS): Add constants.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (SetDllDirectory[AW],
SetFirmwareEnvironmentVariable[AW]): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0500] (VER_BUILDNUMBER,
VER_MAJORVERSION, VER_MINORVERSION, VER_PLATFORMID,
VER_SERVICEPACKMAJOR, VER_SERVICEPACKMINOR, VER_SUITENAME,
VER_PRODUCT_TYPE, VER_EQUAL, VER_GREATER, VER_GREATER_EQUAL,
VER_LESS, VER_LESS_EQUAL, VER_AND, VER_OR): Add constants.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(PVECTORED_EXCEPTION_HANDLER): Add callback.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_INFO_CLASS,
ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_QUERY_INDEX, ASSEMBLY_FILE_DETAILED_INFORMATION):
Add structures.
* lib/user32.def (AddRefActCtx, AddVectoredExceptionHandler,
CreateActCtx[AW], SetComputerNameEx[AW], SetDllDirectory[AW],
SetFileShortName[AW], SetFileValidData,
SetFirmwareEnvironmentVariable[AW], UnregisterWaitEx,
VerSetConditionMask, ZombifyActCtx, QueryActCtxW): Add functions.
2003-10-07 20:55:00 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0502)
|
|
|
|
BOOL WINAPI SetDllDirectoryA(LPCSTR);
|
|
|
|
BOOL WINAPI SetDllDirectoryW(LPCWSTR);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI SetEndOfFile(HANDLE);
|
|
|
|
BOOL WINAPI SetEnvironmentVariableA(LPCSTR,LPCSTR);
|
|
|
|
BOOL WINAPI SetEnvironmentVariableW(LPCWSTR,LPCWSTR);
|
|
|
|
UINT WINAPI SetErrorMode(UINT);
|
|
|
|
BOOL WINAPI SetEvent(HANDLE);
|
|
|
|
VOID WINAPI SetFileApisToANSI(void);
|
|
|
|
VOID WINAPI SetFileApisToOEM(void);
|
|
|
|
BOOL WINAPI SetFileAttributesA(LPCSTR,DWORD);
|
|
|
|
BOOL WINAPI SetFileAttributesW(LPCWSTR,DWORD);
|
|
|
|
DWORD WINAPI SetFilePointer(HANDLE,LONG,PLONG,DWORD);
|
2002-08-04 06:51:15 +08:00
|
|
|
BOOL WINAPI SetFilePointerEx(HANDLE,LARGE_INTEGER,PLARGE_INTEGER,DWORD);
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI SetFileSecurityA(LPCSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR);
|
|
|
|
BOOL WINAPI SetFileSecurityW(LPCWSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR);
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (SetComputerNameEx[AW],
UnregisterWaitEx): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(AddVectoredExceptionHandler, RemoveVectoredExceptionHandler): Add
or guard function. The MSDN says it is available on Windows XP and
better, and then it says it is declared for _WIN32_WINNT >= 0x0500.
Huh?
* include/winbase.h [_WIN32_WINNT >= 0x0501] (AddRefActCtx,
CreateActCtx[AW], SetFileShortName[AW], SetFileValidData,
ZombifyActCtx, QueryActCtxW): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX,
QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE,
QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS): Add constants.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (SetDllDirectory[AW],
SetFirmwareEnvironmentVariable[AW]): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0500] (VER_BUILDNUMBER,
VER_MAJORVERSION, VER_MINORVERSION, VER_PLATFORMID,
VER_SERVICEPACKMAJOR, VER_SERVICEPACKMINOR, VER_SUITENAME,
VER_PRODUCT_TYPE, VER_EQUAL, VER_GREATER, VER_GREATER_EQUAL,
VER_LESS, VER_LESS_EQUAL, VER_AND, VER_OR): Add constants.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(PVECTORED_EXCEPTION_HANDLER): Add callback.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_INFO_CLASS,
ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_QUERY_INDEX, ASSEMBLY_FILE_DETAILED_INFORMATION):
Add structures.
* lib/user32.def (AddRefActCtx, AddVectoredExceptionHandler,
CreateActCtx[AW], SetComputerNameEx[AW], SetDllDirectory[AW],
SetFileShortName[AW], SetFileValidData,
SetFirmwareEnvironmentVariable[AW], UnregisterWaitEx,
VerSetConditionMask, ZombifyActCtx, QueryActCtxW): Add functions.
2003-10-07 20:55:00 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
BOOL WINAPI SetFileShortNameA(HANDLE,LPCSTR);
|
|
|
|
BOOL WINAPI SetFileShortNameW(HANDLE,LPCWSTR);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI SetFileTime(HANDLE,const FILETIME*,const FILETIME*,const FILETIME*);
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (SetComputerNameEx[AW],
UnregisterWaitEx): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(AddVectoredExceptionHandler, RemoveVectoredExceptionHandler): Add
or guard function. The MSDN says it is available on Windows XP and
better, and then it says it is declared for _WIN32_WINNT >= 0x0500.
Huh?
* include/winbase.h [_WIN32_WINNT >= 0x0501] (AddRefActCtx,
CreateActCtx[AW], SetFileShortName[AW], SetFileValidData,
ZombifyActCtx, QueryActCtxW): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX,
QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE,
QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS): Add constants.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (SetDllDirectory[AW],
SetFirmwareEnvironmentVariable[AW]): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0500] (VER_BUILDNUMBER,
VER_MAJORVERSION, VER_MINORVERSION, VER_PLATFORMID,
VER_SERVICEPACKMAJOR, VER_SERVICEPACKMINOR, VER_SUITENAME,
VER_PRODUCT_TYPE, VER_EQUAL, VER_GREATER, VER_GREATER_EQUAL,
VER_LESS, VER_LESS_EQUAL, VER_AND, VER_OR): Add constants.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(PVECTORED_EXCEPTION_HANDLER): Add callback.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_INFO_CLASS,
ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_QUERY_INDEX, ASSEMBLY_FILE_DETAILED_INFORMATION):
Add structures.
* lib/user32.def (AddRefActCtx, AddVectoredExceptionHandler,
CreateActCtx[AW], SetComputerNameEx[AW], SetDllDirectory[AW],
SetFileShortName[AW], SetFileValidData,
SetFirmwareEnvironmentVariable[AW], UnregisterWaitEx,
VerSetConditionMask, ZombifyActCtx, QueryActCtxW): Add functions.
2003-10-07 20:55:00 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
BOOL WINAPI SetFileValidData(HANDLE,LONGLONG);
|
|
|
|
#endif
|
|
|
|
#if (_WIN32_WINNT >= 0x0502)
|
|
|
|
BOOL WINAPI SetFirmwareEnvironmentVariableA(LPCSTR,LPCSTR,PVOID,DWORD);
|
|
|
|
BOOL WINAPI SetFirmwareEnvironmentVariableW(LPCWSTR,LPCWSTR,PVOID,DWORD);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
UINT WINAPI SetHandleCount(UINT);
|
|
|
|
BOOL WINAPI SetHandleInformation(HANDLE,DWORD,DWORD);
|
|
|
|
BOOL WINAPI SetKernelObjectSecurity(HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR);
|
|
|
|
void WINAPI SetLastError(DWORD);
|
|
|
|
void WINAPI SetLastErrorEx(DWORD,DWORD);
|
|
|
|
BOOL WINAPI SetLocalTime(const SYSTEMTIME*);
|
|
|
|
BOOL WINAPI SetMailslotInfo(HANDLE,DWORD);
|
|
|
|
BOOL WINAPI SetNamedPipeHandleState(HANDLE,PDWORD,PDWORD,PDWORD);
|
|
|
|
BOOL WINAPI SetPriorityClass(HANDLE,DWORD);
|
|
|
|
BOOL WINAPI SetPrivateObjectSecurity(SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR *,PGENERIC_MAPPING,HANDLE);
|
|
|
|
BOOL WINAPI SetProcessAffinityMask(HANDLE,DWORD);
|
|
|
|
BOOL WINAPI SetProcessPriorityBoost(HANDLE,BOOL);
|
|
|
|
BOOL WINAPI SetProcessShutdownParameters(DWORD,DWORD);
|
|
|
|
BOOL WINAPI SetProcessWorkingSetSize(HANDLE,DWORD,DWORD);
|
2000-12-20 20:36:28 +08:00
|
|
|
BOOL WINAPI SetSecurityDescriptorControl(PSECURITY_DESCRIPTOR,SECURITY_DESCRIPTOR_CONTROL,SECURITY_DESCRIPTOR_CONTROL);
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI SetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR,BOOL,PACL,BOOL);
|
|
|
|
BOOL WINAPI SetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR,PSID,BOOL);
|
|
|
|
BOOL WINAPI SetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR,PSID,BOOL);
|
|
|
|
BOOL WINAPI SetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR,BOOL,PACL,BOOL);
|
|
|
|
BOOL WINAPI SetStdHandle(DWORD,HANDLE);
|
|
|
|
#define SetSwapAreaSize(w) (w)
|
|
|
|
BOOL WINAPI SetSystemPowerState(BOOL,BOOL);
|
|
|
|
BOOL WINAPI SetSystemTime(const SYSTEMTIME*);
|
|
|
|
BOOL WINAPI SetSystemTimeAdjustment(DWORD,BOOL);
|
|
|
|
DWORD WINAPI SetTapeParameters(HANDLE,DWORD,PVOID);
|
|
|
|
DWORD WINAPI SetTapePosition(HANDLE,DWORD,DWORD,DWORD,DWORD,BOOL);
|
|
|
|
DWORD WINAPI SetThreadAffinityMask(HANDLE,DWORD);
|
|
|
|
BOOL WINAPI SetThreadContext(HANDLE,const CONTEXT*);
|
2004-04-28 22:18:13 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
|
|
|
|
EXECUTION_STATE WINAPI SetThreadExecutionState(EXECUTION_STATE);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
DWORD WINAPI SetThreadIdealProcessor(HANDLE,DWORD);
|
|
|
|
BOOL WINAPI SetThreadPriority(HANDLE,int);
|
|
|
|
BOOL WINAPI SetThreadPriorityBoost(HANDLE,BOOL);
|
|
|
|
BOOL WINAPI SetThreadToken (PHANDLE,HANDLE);
|
|
|
|
BOOL WINAPI SetTimeZoneInformation(const TIME_ZONE_INFORMATION *);
|
|
|
|
BOOL WINAPI SetTokenInformation(HANDLE,TOKEN_INFORMATION_CLASS,PVOID,DWORD);
|
|
|
|
LPTOP_LEVEL_EXCEPTION_FILTER WINAPI SetUnhandledExceptionFilter(LPTOP_LEVEL_EXCEPTION_FILTER);
|
|
|
|
BOOL WINAPI SetupComm(HANDLE,DWORD,DWORD);
|
|
|
|
BOOL WINAPI SetVolumeLabelA(LPCSTR,LPCSTR);
|
|
|
|
BOOL WINAPI SetVolumeLabelW(LPCWSTR,LPCWSTR);
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
2003-04-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/winioctl.h: Clean up formatting.
(RETRIEVAL_POINTERS_BUFFER): Add fields to Extents[1] struct.
(CREATE_DISK): Add _ANONYMOUS_UNION macro.
(DISK_CACHE_INFORMATION): Likewise.
(DISK_DETECTION_INFO): Likewise.
(DISK_PARTITION_INFO): Likewise.
(PARTITION_INFORMATION_EX): Likewise.
(DRIVE_LAYOUT_INFORMATION_EX): Likewise.
2003-04-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/winbase.h (DeleteVolumeMountPoint[AW],
FindFirstVolumeMountPoint[AW], FindNextVolumeMountPoint[AW],
FindVolumeMountPointClose, GetVolumeNameForVolumeMountPoint[AW],
GetVolumePathName[AW], GetVolumePathNamesForVolumeName[AW],
SetVolumeMountPoint[AW]): Add prototypes.
* include/winioctl.h (IOCTL_DISK_GET_PARTITION_INFO_EX,
IOCTL_DISK_SET_PARTITION_INFO_EX,
IOCTL_DISK_GET_DRIVE_LAYOUT_EX,
IOCTL_DISK_SET_DRIVE_LAYOUT_EX, IOCTL_DISK_CREATE_DISK,
IOCTL_DISK_GET_LENGTH_INFO, IOCTL_DISK_PERFORMANCE_OFF,
IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, IOCTL_DISK_GROW_PARTITION,
IOCTL_DISK_GET_CACHE_INFORMATION,
IOCTL_DISK_SET_CACHE_INFORMATION,
IOCTL_DISK_DELETE_DRIVE_LAYOUT, IOCTL_DISK_UPDATE_PROPERTIES,
FSCTL_GET_VOLUME_BITMAP, FSCTL_GET_RETRIEVAL_POINTERS,
FSCTL_MOVE_FILE): Define.
(CREATE_DISK_GPT, CREATE_DISK_MBR, CREATE_DISK,
DISK_CACHE_INFORMATION,
DETECTION_TYPE, DISK_INT13_INFO, DISK_EX_INT13_INFO,
DISK_DETECTION_INFO, DISK_GEOMETRY_EX, DISK_GROW_PARTITION,
DISK_PARTITION_INFO, DISKQUOTA_USER_INFORMATION,
GET_LENGTH_INFORMATION, DISK_EXTENT, VOLUME_DISK_EXTENTS,
DRIVE_LAYOUT_INFORMATION_GPT, DRIVE_LAYOUT_INFORMATION_MBR,
PARTITION_INFORMATION_MBR, PARTITION_INFORMATION_GPT,
PARTITION_INFORMATION_EX, DRIVE_LAYOUT_INFORMATION_EX,
MOVE_FILE_DATA,
RETRIEVAL_POINTERS_BUFFER, STARTING_LCN_INPUT_BUFFER,
STARTING_VCN_INPUT_BUFFER, VOLUME_BITMAP_BUFFER): Add structs
(PARTITION_STYLE, DISK_CACHE_RETENTION_PRIORITY): Add enums.
(MEDIA_TYPE): Add F3_120M_512, F3_640_512, F5_640_512,
F5_720_512,
F3_1Pt2_512, F3_1Pt23_1024, F5_1Pt23_1024, F3_128Mb_512,
F3_230Mb_512,
F8_256_128, F3_200Mb_512, F3_240M_512, and F3_32M_512.
* lib/kernel32.def (GetVolumePathNamesForVolumeName[AW]): Add
stubs.
2003-04-26 16:31:29 +08:00
|
|
|
BOOL WINAPI SetVolumeMountPointA(LPCSTR,LPCSTR);
|
|
|
|
BOOL WINAPI SetVolumeMountPointW(LPCWSTR,LPCWSTR);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI SetWaitableTimer(HANDLE,const LARGE_INTEGER*,LONG,PTIMERAPCROUTINE,PVOID,BOOL);
|
2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/shellapi.h (SHQUERYRBINFO): Add structure,
(SHQueryRecycleBin[AW]. SHEmptyRecycleBin[AW]):Add prototypes.
(SHERB_NOCONFIRMATION, SHERB_NOPROGRESSUI, SHERB_NOSOUND):
Add defines. Thanks to Brett Hart <brett at ncubedtech dot com>
2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (GlobalCompact, GlobalFix, GlobalFlags,
GlobalUnfix, GlobalUnWire, GlobalWire, LocalCompact,
LocalFlags, LocalShrink, LockSegment, UnlockSegment): Add comment
that these are obsolete no-ops.
2003-06-17 Bang Jun-Young <junyoung@netbsd.org>
* include/winbase.h (GetProcessWorkingSetSize,
GlobalCompact, LocalAlloc, LocalCompact, LocalReAlloc,
LocalShrink, SignalObjectAndWait, WriteProcessMemory):
Correct prototypes.
2003-06-18 18:04:09 +08:00
|
|
|
DWORD WINAPI SignalObjectAndWait(HANDLE,HANDLE,DWORD,BOOL);
|
2000-02-18 03:38:33 +08:00
|
|
|
DWORD WINAPI SizeofResource(HINSTANCE,HRSRC);
|
|
|
|
void WINAPI Sleep(DWORD);
|
|
|
|
DWORD WINAPI SleepEx(DWORD,BOOL);
|
|
|
|
DWORD WINAPI SuspendThread(HANDLE);
|
|
|
|
void WINAPI SwitchToFiber(PVOID);
|
|
|
|
BOOL WINAPI SwitchToThread(void);
|
|
|
|
BOOL WINAPI SystemTimeToFileTime(const SYSTEMTIME*,LPFILETIME);
|
|
|
|
BOOL WINAPI SystemTimeToTzSpecificLocalTime(LPTIME_ZONE_INFORMATION,LPSYSTEMTIME,LPSYSTEMTIME);
|
|
|
|
BOOL WINAPI TerminateProcess(HANDLE,UINT);
|
|
|
|
BOOL WINAPI TerminateThread(HANDLE,DWORD);
|
|
|
|
DWORD WINAPI TlsAlloc(VOID);
|
|
|
|
BOOL WINAPI TlsFree(DWORD);
|
|
|
|
PVOID WINAPI TlsGetValue(DWORD);
|
|
|
|
BOOL WINAPI TlsSetValue(DWORD,PVOID);
|
|
|
|
BOOL WINAPI TransactNamedPipe(HANDLE,PVOID,DWORD,PVOID,DWORD,PDWORD,LPOVERLAPPED);
|
|
|
|
BOOL WINAPI TransmitCommChar(HANDLE,char);
|
|
|
|
BOOL WINAPI TryEnterCriticalSection(LPCRITICAL_SECTION);
|
|
|
|
LONG WINAPI UnhandledExceptionFilter(LPEXCEPTION_POINTERS);
|
|
|
|
BOOL WINAPI UnlockFile(HANDLE,DWORD,DWORD,DWORD,DWORD);
|
|
|
|
BOOL WINAPI UnlockFileEx(HANDLE,DWORD,DWORD,DWORD,LPOVERLAPPED);
|
|
|
|
#define UnlockResource(h) (h)
|
2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/shellapi.h (SHQUERYRBINFO): Add structure,
(SHQueryRecycleBin[AW]. SHEmptyRecycleBin[AW]):Add prototypes.
(SHERB_NOCONFIRMATION, SHERB_NOPROGRESSUI, SHERB_NOSOUND):
Add defines. Thanks to Brett Hart <brett at ncubedtech dot com>
2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (GlobalCompact, GlobalFix, GlobalFlags,
GlobalUnfix, GlobalUnWire, GlobalWire, LocalCompact,
LocalFlags, LocalShrink, LockSegment, UnlockSegment): Add comment
that these are obsolete no-ops.
2003-06-17 Bang Jun-Young <junyoung@netbsd.org>
* include/winbase.h (GetProcessWorkingSetSize,
GlobalCompact, LocalAlloc, LocalCompact, LocalReAlloc,
LocalShrink, SignalObjectAndWait, WriteProcessMemory):
Correct prototypes.
2003-06-18 18:04:09 +08:00
|
|
|
#define UnlockSegment(w) GlobalUnfix((HANDLE)(w)) /* Obsolete: Has no effect. */
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI UnmapViewOfFile(PVOID);
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (SetComputerNameEx[AW],
UnregisterWaitEx): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(AddVectoredExceptionHandler, RemoveVectoredExceptionHandler): Add
or guard function. The MSDN says it is available on Windows XP and
better, and then it says it is declared for _WIN32_WINNT >= 0x0500.
Huh?
* include/winbase.h [_WIN32_WINNT >= 0x0501] (AddRefActCtx,
CreateActCtx[AW], SetFileShortName[AW], SetFileValidData,
ZombifyActCtx, QueryActCtxW): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX,
QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE,
QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS): Add constants.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (SetDllDirectory[AW],
SetFirmwareEnvironmentVariable[AW]): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0500] (VER_BUILDNUMBER,
VER_MAJORVERSION, VER_MINORVERSION, VER_PLATFORMID,
VER_SERVICEPACKMAJOR, VER_SERVICEPACKMINOR, VER_SUITENAME,
VER_PRODUCT_TYPE, VER_EQUAL, VER_GREATER, VER_GREATER_EQUAL,
VER_LESS, VER_LESS_EQUAL, VER_AND, VER_OR): Add constants.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(PVECTORED_EXCEPTION_HANDLER): Add callback.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_INFO_CLASS,
ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_QUERY_INDEX, ASSEMBLY_FILE_DETAILED_INFORMATION):
Add structures.
* lib/user32.def (AddRefActCtx, AddVectoredExceptionHandler,
CreateActCtx[AW], SetComputerNameEx[AW], SetDllDirectory[AW],
SetFileShortName[AW], SetFileValidData,
SetFirmwareEnvironmentVariable[AW], UnregisterWaitEx,
VerSetConditionMask, ZombifyActCtx, QueryActCtxW): Add functions.
2003-10-07 20:55:00 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
|
|
|
BOOL WINAPI UnregisterWaitEx(HANDLE,HANDLE);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI UpdateResourceA(HANDLE,LPCSTR,LPCSTR,WORD,PVOID,DWORD);
|
|
|
|
BOOL WINAPI UpdateResourceW(HANDLE,LPCWSTR,LPCWSTR,WORD,PVOID,DWORD);
|
2001-12-03 Earnie Boyd <earnie@users.sf.net>
* include/accctrl.h: Change \r\n to \n.
2001-11-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/ipexport.h (IP_UNIDIRECTIONAL_ADAPTER_ADDRESS):
Add structure definition.
* include/iptypes.h (IP_PER_ADAPTER_INFO): Ditto.
* include/iphlpapi.h (AddIPAddress,CreateProxyArpEntry,
DeleteIPAddress,DeleteProxyArpEntry,EnableRouter,
FlushIpNetTable,GetAdapterIndex,GetPerAdapterInfo,
GetUniDirectionalAdapterInfo,SendARP,SetAdapterIpAddress,
UnenableRouter) Declare functions.
* lib/iphlpapi.def: Add function names to import lib.
2001-11-24 Danny Smith <dannysmith@users.sourceforge.net>
* include/winnt.h (PACCESS_MASK): Add typedef.
* include/aclapi.h: New file.
* include/acctrl.h: New file.
* lib/advapi32.def: Add missing symbols.
* lib/test.c: Add #include <aclapi.h>.
2001-11-23 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (OSVERSIONINFO[AW],VER_PLATFORM_WIN32s,
VER_PLATFORM_WIN32_WINDOWS,VER_PLATFORM_WIN32_NT): Move from
here ...
* include/winnt.h: ... to here.
* include/winbase.h (VerifyVersionInfo[AW]): Add declaration.
* include/winnt.h (OSVERSIONINFOEX[AW]): Add structure definitions
and typedefs.
(VER_NT_WORKSTATION,VER_NT_DOMAIN_CONTROLLER,VER_NT_SERVER):
Add defines.
2001-11-19 Pierre Muller <muller@ics.u-strasbg.fr>
* w32api/include/winnt.h: prepare SSE register support.
(CONTEXT_EXTENDED_REGISTERS): Add new define.
(MAXIMUM_SUPPORTED_EXTENSION): New define.
(struct CONTEXT): ExtendedRegisters field added.
2001-11-16 Danny Smith <dannysmith@users.sourceforge.net>
* include/winuser.h (tagALTTABINFO, tagCOMBOBOXINFO,
tagCURSORINFO, tagMENUBARINFO, tagMENUINFO, tagMONITORINFO
tagSCROLLBARINFO, tagTITLEBARINFO. tagWINDOWINFO,
tagLASTINPUTINFO ): Define new structures.
(EndMenu, GetAltTabInfo[AW],GetComboBoxInfo,GetCursorInfo,
GetLastInputInfo, GetListBoxInfo, GetMenuBarInfo,
GetMonitorInfo[AW], GetScrollBarInfo, GetTitleBarInfo,
GetWindowInfo, GetWindowModuleFileName[AW],GetMenuInfo
SetMenuInfo): Add new prototypes.
* lib/user32.def: Add import stubs for above functions.
* include/winuser.h (IDC_STATIC): Protect against prior
definition.
2001-11-12 Corinna Vinschen <corinna@vinschen.de>
* include/winbase.h (OSVERSIONINFOEX): Add definition.
* include/winnt.h: Add VER_NT_* and VER_SUITE_* defines.
2001-11-10 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h: Add Danny Smith's text comment about gcc compiler
warnings with _AUTHORITY #defines.
2001-11-09 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h (GetCurrentFiber): Create a prototype before the
implementation;
(GetFiberData): Ditto.
2001-11-09 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h: Backout last change.
2001-12-04 03:59:34 +08:00
|
|
|
BOOL WINAPI VerifyVersionInfoA(LPOSVERSIONINFOEXA,DWORD,DWORDLONG);
|
|
|
|
BOOL WINAPI VerifyVersionInfoW(LPOSVERSIONINFOEXW,DWORD,DWORDLONG);
|
2000-02-18 03:38:33 +08:00
|
|
|
PVOID WINAPI VirtualAlloc(PVOID,DWORD,DWORD,DWORD);
|
2002-01-25 08:52:35 +08:00
|
|
|
PVOID WINAPI VirtualAllocEx(HANDLE,PVOID,DWORD,DWORD,DWORD);
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI VirtualFree(PVOID,DWORD,DWORD);
|
|
|
|
BOOL WINAPI VirtualFreeEx(HANDLE,PVOID,DWORD,DWORD);
|
|
|
|
BOOL WINAPI VirtualLock(PVOID,DWORD);
|
|
|
|
BOOL WINAPI VirtualProtect(PVOID,DWORD,DWORD,PDWORD);
|
|
|
|
BOOL WINAPI VirtualProtectEx(HANDLE,PVOID,DWORD,DWORD,PDWORD);
|
|
|
|
DWORD WINAPI VirtualQuery(LPCVOID,PMEMORY_BASIC_INFORMATION,DWORD);
|
|
|
|
DWORD WINAPI VirtualQueryEx(HANDLE,LPCVOID,PMEMORY_BASIC_INFORMATION,DWORD);
|
|
|
|
BOOL WINAPI VirtualUnlock(PVOID,DWORD);
|
|
|
|
BOOL WINAPI WaitCommEvent(HANDLE,PDWORD,LPOVERLAPPED);
|
|
|
|
BOOL WINAPI WaitForDebugEvent(LPDEBUG_EVENT,DWORD);
|
|
|
|
DWORD WINAPI WaitForMultipleObjects(DWORD,const HANDLE*,BOOL,DWORD);
|
|
|
|
DWORD WINAPI WaitForMultipleObjectsEx(DWORD,const HANDLE*,BOOL,DWORD,BOOL);
|
|
|
|
DWORD WINAPI WaitForSingleObject(HANDLE,DWORD);
|
|
|
|
DWORD WINAPI WaitForSingleObjectEx(HANDLE,DWORD,BOOL);
|
|
|
|
BOOL WINAPI WaitNamedPipeA(LPCSTR,DWORD);
|
|
|
|
BOOL WINAPI WaitNamedPipeW(LPCWSTR,DWORD);
|
|
|
|
BOOL WINAPI WinLoadTrustProvider(GUID*);
|
|
|
|
BOOL WINAPI WriteFile(HANDLE,PCVOID,DWORD,PDWORD,LPOVERLAPPED);
|
|
|
|
BOOL WINAPI WriteFileEx(HANDLE,PCVOID,DWORD,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE);
|
2002-08-02 16:50:45 +08:00
|
|
|
BOOL WINAPI WriteFileGather(HANDLE,FILE_SEGMENT_ELEMENT*,DWORD,LPDWORD,LPOVERLAPPED);
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI WritePrivateProfileSectionA(LPCSTR,LPCSTR,LPCSTR);
|
|
|
|
BOOL WINAPI WritePrivateProfileSectionW(LPCWSTR,LPCWSTR,LPCWSTR);
|
|
|
|
BOOL WINAPI WritePrivateProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPCSTR);
|
|
|
|
BOOL WINAPI WritePrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR);
|
2002-06-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/ddeml.h (DdeCreateStringHandle{AW]:Correct
prototypes.
* include/winsvc.h (StartServiceW): Correct prototype.
* include/winbase.h (BackupRead,BackupSeek,BackupWrite,
FileTimeToLocalFileTime, GetAce,GetPrivateProfileStruct[AW],
GetTickCount,InterlockedExchangeAdd,
WritePrivateProfileStruct[AW]: Correct prototypes.
(GetEnvironmentStrings): Correct mapping to
GetEnvironmentStringsA.
* include/winver.h (VerQueryValueA,VerQueryValueW):
Correct prototypes.
* include/wincon.h (CreateConsoleScreenBuffer): Correct
prototype.
* include/winreg.h (RegQueryMultipleValues[AW],
RegQueryValueEx[AW]):Correct prototypes.
* include/wingdi.h (PXFORM, PLOGBRUSH, PLOGPEN, PPOLYTEXTA,
PPOLYTEXTW): Add typedefs.
(_DESIGNVECTOR,COLOR16, _TRIVERTEX, _DISPLAY_DEVICE): Add
structures and typedefs.
(MM_MAX_NUMAXES): Add define.
(EnumFontsW,GetEnhMetaFilePixelFormat,wglGetLayerPaletteEntries):
Correct prototypes.
* include/winerror.h (RPC_X_INVALID_PIPE_OBJECT,
RPC_X_WRONG_PIPE_ORDER,RPC_X_WRONG_PIPE_VERSION,
RPC_S_SEND_INCOMPLETE): Add defines.
2002-06-19 09:15:45 +08:00
|
|
|
BOOL WINAPI WritePrivateProfileStructA(LPCSTR,LPCSTR,LPVOID,UINT,LPCSTR);
|
|
|
|
BOOL WINAPI WritePrivateProfileStructW(LPCWSTR,LPCWSTR,LPVOID,UINT,LPCWSTR);
|
2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/shellapi.h (SHQUERYRBINFO): Add structure,
(SHQueryRecycleBin[AW]. SHEmptyRecycleBin[AW]):Add prototypes.
(SHERB_NOCONFIRMATION, SHERB_NOPROGRESSUI, SHERB_NOSOUND):
Add defines. Thanks to Brett Hart <brett at ncubedtech dot com>
2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (GlobalCompact, GlobalFix, GlobalFlags,
GlobalUnfix, GlobalUnWire, GlobalWire, LocalCompact,
LocalFlags, LocalShrink, LockSegment, UnlockSegment): Add comment
that these are obsolete no-ops.
2003-06-17 Bang Jun-Young <junyoung@netbsd.org>
* include/winbase.h (GetProcessWorkingSetSize,
GlobalCompact, LocalAlloc, LocalCompact, LocalReAlloc,
LocalShrink, SignalObjectAndWait, WriteProcessMemory):
Correct prototypes.
2003-06-18 18:04:09 +08:00
|
|
|
BOOL WINAPI WriteProcessMemory(HANDLE,LPVOID,LPCVOID,SIZE_T,SIZE_T*);
|
2000-02-18 03:38:33 +08:00
|
|
|
BOOL WINAPI WriteProfileSectionA(LPCSTR,LPCSTR);
|
|
|
|
BOOL WINAPI WriteProfileSectionW(LPCWSTR,LPCWSTR);
|
|
|
|
BOOL WINAPI WriteProfileStringA(LPCSTR,LPCSTR,LPCSTR);
|
|
|
|
BOOL WINAPI WriteProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR);
|
|
|
|
DWORD WINAPI WriteTapemark(HANDLE,DWORD,DWORD,BOOL);
|
|
|
|
#define Yield()
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (SetComputerNameEx[AW],
UnregisterWaitEx): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(AddVectoredExceptionHandler, RemoveVectoredExceptionHandler): Add
or guard function. The MSDN says it is available on Windows XP and
better, and then it says it is declared for _WIN32_WINNT >= 0x0500.
Huh?
* include/winbase.h [_WIN32_WINNT >= 0x0501] (AddRefActCtx,
CreateActCtx[AW], SetFileShortName[AW], SetFileValidData,
ZombifyActCtx, QueryActCtxW): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX,
QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE,
QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS): Add constants.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (SetDllDirectory[AW],
SetFirmwareEnvironmentVariable[AW]): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0500] (VER_BUILDNUMBER,
VER_MAJORVERSION, VER_MINORVERSION, VER_PLATFORMID,
VER_SERVICEPACKMAJOR, VER_SERVICEPACKMINOR, VER_SUITENAME,
VER_PRODUCT_TYPE, VER_EQUAL, VER_GREATER, VER_GREATER_EQUAL,
VER_LESS, VER_LESS_EQUAL, VER_AND, VER_OR): Add constants.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(PVECTORED_EXCEPTION_HANDLER): Add callback.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_INFO_CLASS,
ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_QUERY_INDEX, ASSEMBLY_FILE_DETAILED_INFORMATION):
Add structures.
* lib/user32.def (AddRefActCtx, AddVectoredExceptionHandler,
CreateActCtx[AW], SetComputerNameEx[AW], SetDllDirectory[AW],
SetFileShortName[AW], SetFileValidData,
SetFirmwareEnvironmentVariable[AW], UnregisterWaitEx,
VerSetConditionMask, ZombifyActCtx, QueryActCtxW): Add functions.
2003-10-07 20:55:00 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
BOOL WINAPI ZombifyActCtx(HANDLE);
|
|
|
|
#endif
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
2002-09-05 06:20:52 +08:00
|
|
|
BOOL WINAPI AllocateUserPhysicalPages(HANDLE,PULONG_PTR,PULONG_PTR);
|
|
|
|
BOOL WINAPI FreeUserPhysicalPages(HANDLE,PULONG_PTR,PULONG_PTR);
|
|
|
|
BOOL WINAPI MapUserPhysicalPages(PVOID,ULONG_PTR,PULONG_PTR);
|
|
|
|
BOOL WINAPI MapUserPhysicalPagesScatter(PVOID*,ULONG_PTR,PULONG_PTR);
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
|
|
|
|
#ifdef UNICODE
|
|
|
|
typedef STARTUPINFOW STARTUPINFO,*LPSTARTUPINFO;
|
|
|
|
typedef WIN32_FIND_DATAW WIN32_FIND_DATA,*LPWIN32_FIND_DATA;
|
|
|
|
typedef HW_PROFILE_INFOW HW_PROFILE_INFO,*LPHW_PROFILE_INFO;
|
2003-10-06 17:45:59 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
typedef ACTCTXW ACTCTX,*PACTCTX;
|
|
|
|
typedef PCACTCTXW PCACTCTX;
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmW
|
|
|
|
#define AddAtom AddAtomW
|
|
|
|
#define BackupEventLog BackupEventLogW
|
|
|
|
#define BeginUpdateResource BeginUpdateResourceW
|
|
|
|
#define BuildCommDCB BuildCommDCBW
|
|
|
|
#define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsW
|
|
|
|
#define CallNamedPipe CallNamedPipeW
|
2003-10-06 17:45:59 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
#define CheckNameLegalDOS8Dot3 CheckNameLegalDOS8Dot3W
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define ClearEventLog ClearEventLogW
|
|
|
|
#define CommConfigDialog CommConfigDialogW
|
|
|
|
#define CopyFile CopyFileW
|
|
|
|
#define CopyFileEx CopyFileExW
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (SetComputerNameEx[AW],
UnregisterWaitEx): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(AddVectoredExceptionHandler, RemoveVectoredExceptionHandler): Add
or guard function. The MSDN says it is available on Windows XP and
better, and then it says it is declared for _WIN32_WINNT >= 0x0500.
Huh?
* include/winbase.h [_WIN32_WINNT >= 0x0501] (AddRefActCtx,
CreateActCtx[AW], SetFileShortName[AW], SetFileValidData,
ZombifyActCtx, QueryActCtxW): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX,
QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE,
QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS): Add constants.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (SetDllDirectory[AW],
SetFirmwareEnvironmentVariable[AW]): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0500] (VER_BUILDNUMBER,
VER_MAJORVERSION, VER_MINORVERSION, VER_PLATFORMID,
VER_SERVICEPACKMAJOR, VER_SERVICEPACKMINOR, VER_SUITENAME,
VER_PRODUCT_TYPE, VER_EQUAL, VER_GREATER, VER_GREATER_EQUAL,
VER_LESS, VER_LESS_EQUAL, VER_AND, VER_OR): Add constants.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(PVECTORED_EXCEPTION_HANDLER): Add callback.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_INFO_CLASS,
ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_QUERY_INDEX, ASSEMBLY_FILE_DETAILED_INFORMATION):
Add structures.
* lib/user32.def (AddRefActCtx, AddVectoredExceptionHandler,
CreateActCtx[AW], SetComputerNameEx[AW], SetDllDirectory[AW],
SetFileShortName[AW], SetFileValidData,
SetFirmwareEnvironmentVariable[AW], UnregisterWaitEx,
VerSetConditionMask, ZombifyActCtx, QueryActCtxW): Add functions.
2003-10-07 20:55:00 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
#define CreateActCtx CreateActCtxW
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define CreateDirectory CreateDirectoryW
|
|
|
|
#define CreateDirectoryEx CreateDirectoryExW
|
|
|
|
#define CreateEvent CreateEventW
|
|
|
|
#define CreateFile CreateFileW
|
|
|
|
#define CreateFileMapping CreateFileMappingW
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
2002-01-25 08:52:35 +08:00
|
|
|
#define CreateHardLink CreateHardLinkW
|
2003-01-31 16:28:44 +08:00
|
|
|
#define CreateJobObject CreateJobObjectW
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define CreateMailslot CreateMailslotW
|
|
|
|
#define CreateMutex CreateMutexW
|
|
|
|
#define CreateNamedPipe CreateNamedPipeW
|
|
|
|
#define CreateProcess CreateProcessW
|
|
|
|
#define CreateProcessAsUser CreateProcessAsUserW
|
|
|
|
#define CreateSemaphore CreateSemaphoreW
|
|
|
|
#define CreateWaitableTimer CreateWaitableTimerW
|
|
|
|
#define DefineDosDevice DefineDosDeviceW
|
|
|
|
#define DeleteFile DeleteFileW
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
2003-04-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/winioctl.h: Clean up formatting.
(RETRIEVAL_POINTERS_BUFFER): Add fields to Extents[1] struct.
(CREATE_DISK): Add _ANONYMOUS_UNION macro.
(DISK_CACHE_INFORMATION): Likewise.
(DISK_DETECTION_INFO): Likewise.
(DISK_PARTITION_INFO): Likewise.
(PARTITION_INFORMATION_EX): Likewise.
(DRIVE_LAYOUT_INFORMATION_EX): Likewise.
2003-04-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/winbase.h (DeleteVolumeMountPoint[AW],
FindFirstVolumeMountPoint[AW], FindNextVolumeMountPoint[AW],
FindVolumeMountPointClose, GetVolumeNameForVolumeMountPoint[AW],
GetVolumePathName[AW], GetVolumePathNamesForVolumeName[AW],
SetVolumeMountPoint[AW]): Add prototypes.
* include/winioctl.h (IOCTL_DISK_GET_PARTITION_INFO_EX,
IOCTL_DISK_SET_PARTITION_INFO_EX,
IOCTL_DISK_GET_DRIVE_LAYOUT_EX,
IOCTL_DISK_SET_DRIVE_LAYOUT_EX, IOCTL_DISK_CREATE_DISK,
IOCTL_DISK_GET_LENGTH_INFO, IOCTL_DISK_PERFORMANCE_OFF,
IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, IOCTL_DISK_GROW_PARTITION,
IOCTL_DISK_GET_CACHE_INFORMATION,
IOCTL_DISK_SET_CACHE_INFORMATION,
IOCTL_DISK_DELETE_DRIVE_LAYOUT, IOCTL_DISK_UPDATE_PROPERTIES,
FSCTL_GET_VOLUME_BITMAP, FSCTL_GET_RETRIEVAL_POINTERS,
FSCTL_MOVE_FILE): Define.
(CREATE_DISK_GPT, CREATE_DISK_MBR, CREATE_DISK,
DISK_CACHE_INFORMATION,
DETECTION_TYPE, DISK_INT13_INFO, DISK_EX_INT13_INFO,
DISK_DETECTION_INFO, DISK_GEOMETRY_EX, DISK_GROW_PARTITION,
DISK_PARTITION_INFO, DISKQUOTA_USER_INFORMATION,
GET_LENGTH_INFORMATION, DISK_EXTENT, VOLUME_DISK_EXTENTS,
DRIVE_LAYOUT_INFORMATION_GPT, DRIVE_LAYOUT_INFORMATION_MBR,
PARTITION_INFORMATION_MBR, PARTITION_INFORMATION_GPT,
PARTITION_INFORMATION_EX, DRIVE_LAYOUT_INFORMATION_EX,
MOVE_FILE_DATA,
RETRIEVAL_POINTERS_BUFFER, STARTING_LCN_INPUT_BUFFER,
STARTING_VCN_INPUT_BUFFER, VOLUME_BITMAP_BUFFER): Add structs
(PARTITION_STYLE, DISK_CACHE_RETENTION_PRIORITY): Add enums.
(MEDIA_TYPE): Add F3_120M_512, F3_640_512, F5_640_512,
F5_720_512,
F3_1Pt2_512, F3_1Pt23_1024, F5_1Pt23_1024, F3_128Mb_512,
F3_230Mb_512,
F8_256_128, F3_200Mb_512, F3_240M_512, and F3_32M_512.
* lib/kernel32.def (GetVolumePathNamesForVolumeName[AW]): Add
stubs.
2003-04-26 16:31:29 +08:00
|
|
|
#define DeleteVolumeMountPoint DeleteVolumeMountPointW
|
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(CheckRemoteDebuggerPresent, DebugActiveProcessStop, DebugBreakProcess,
DebugSetProcessKillOnExit): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (DeleteTimerQueue,
DeleteTimerQueueEx, DeleteTimerQueueTimer,
DnsHostnameToComputerName[AW]): Add functions.
* lib/user32.def (CheckRemoteDebuggerPresent, DebugActiveProcessStop,
DebugBreakProcess, DebugSetProcessKillOnExit, DeleteTimerQueueEx,
DeleteTimerQueueTimer, DnsHostnameToComputerName[AW]): Add functions.
2003-10-07 15:14:53 +08:00
|
|
|
#define DnsHostnameToComputerName DnsHostnameToComputerNameW
|
2003-04-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/winioctl.h: Clean up formatting.
(RETRIEVAL_POINTERS_BUFFER): Add fields to Extents[1] struct.
(CREATE_DISK): Add _ANONYMOUS_UNION macro.
(DISK_CACHE_INFORMATION): Likewise.
(DISK_DETECTION_INFO): Likewise.
(DISK_PARTITION_INFO): Likewise.
(PARTITION_INFORMATION_EX): Likewise.
(DRIVE_LAYOUT_INFORMATION_EX): Likewise.
2003-04-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/winbase.h (DeleteVolumeMountPoint[AW],
FindFirstVolumeMountPoint[AW], FindNextVolumeMountPoint[AW],
FindVolumeMountPointClose, GetVolumeNameForVolumeMountPoint[AW],
GetVolumePathName[AW], GetVolumePathNamesForVolumeName[AW],
SetVolumeMountPoint[AW]): Add prototypes.
* include/winioctl.h (IOCTL_DISK_GET_PARTITION_INFO_EX,
IOCTL_DISK_SET_PARTITION_INFO_EX,
IOCTL_DISK_GET_DRIVE_LAYOUT_EX,
IOCTL_DISK_SET_DRIVE_LAYOUT_EX, IOCTL_DISK_CREATE_DISK,
IOCTL_DISK_GET_LENGTH_INFO, IOCTL_DISK_PERFORMANCE_OFF,
IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, IOCTL_DISK_GROW_PARTITION,
IOCTL_DISK_GET_CACHE_INFORMATION,
IOCTL_DISK_SET_CACHE_INFORMATION,
IOCTL_DISK_DELETE_DRIVE_LAYOUT, IOCTL_DISK_UPDATE_PROPERTIES,
FSCTL_GET_VOLUME_BITMAP, FSCTL_GET_RETRIEVAL_POINTERS,
FSCTL_MOVE_FILE): Define.
(CREATE_DISK_GPT, CREATE_DISK_MBR, CREATE_DISK,
DISK_CACHE_INFORMATION,
DETECTION_TYPE, DISK_INT13_INFO, DISK_EX_INT13_INFO,
DISK_DETECTION_INFO, DISK_GEOMETRY_EX, DISK_GROW_PARTITION,
DISK_PARTITION_INFO, DISKQUOTA_USER_INFORMATION,
GET_LENGTH_INFORMATION, DISK_EXTENT, VOLUME_DISK_EXTENTS,
DRIVE_LAYOUT_INFORMATION_GPT, DRIVE_LAYOUT_INFORMATION_MBR,
PARTITION_INFORMATION_MBR, PARTITION_INFORMATION_GPT,
PARTITION_INFORMATION_EX, DRIVE_LAYOUT_INFORMATION_EX,
MOVE_FILE_DATA,
RETRIEVAL_POINTERS_BUFFER, STARTING_LCN_INPUT_BUFFER,
STARTING_VCN_INPUT_BUFFER, VOLUME_BITMAP_BUFFER): Add structs
(PARTITION_STYLE, DISK_CACHE_RETENTION_PRIORITY): Add enums.
(MEDIA_TYPE): Add F3_120M_512, F3_640_512, F5_640_512,
F5_720_512,
F3_1Pt2_512, F3_1Pt23_1024, F5_1Pt23_1024, F3_128Mb_512,
F3_230Mb_512,
F8_256_128, F3_200Mb_512, F3_240M_512, and F3_32M_512.
* lib/kernel32.def (GetVolumePathNamesForVolumeName[AW]): Add
stubs.
2003-04-26 16:31:29 +08:00
|
|
|
#endif
|
2002-08-04 06:51:15 +08:00
|
|
|
#define EncryptFile EncryptFileW
|
2000-02-18 03:38:33 +08:00
|
|
|
#define EndUpdateResource EndUpdateResourceW
|
|
|
|
#define EnumResourceLanguages EnumResourceLanguagesW
|
|
|
|
#define EnumResourceNames EnumResourceNamesW
|
|
|
|
#define EnumResourceTypes EnumResourceTypesW
|
|
|
|
#define ExpandEnvironmentStrings ExpandEnvironmentStringsW
|
|
|
|
#define FatalAppExit FatalAppExitW
|
2002-08-04 06:51:15 +08:00
|
|
|
#define FileEncryptionStatus FileEncryptionStatusW
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (GetComputerNameEx[AW],
GetProcessIoCounters): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (COMPUTER_NAME_FORMAT):
Move around, needed by GetComputerNameEx.
* include/winbase.h [_WIN32_WINNT >= 0x0501] (FindActCtxSectionGuid,
FindActCtxSectionString[AW], GetCurrentActCtx, GetNativeSystemInfo):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(ACTCTX_SECTION_KEYED_DATA): Add structure.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetProcessHandleCount,
GetProcessId, GetSystemRegistryQuota): Add functions, available on
Windows XP SP1 and better.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION,
ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_WINDOW_CLASS_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_CLR_SURROGATES): Add constants.
* lib/user32.def (FindActCtxSectionGuid, FindActCtxSectionString[AW],
GetComputerNameEx[AW], GetCurrentActCtx, GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetModuleHandleEx[AW],
GetNativeSystemInfo, GetProcessHandleCount, GetProcessIoCounters):
Add functions.
2003-10-07 16:47:06 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
#define FindActCtxSectionString FindActCtxSectionStringW
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define FindAtom FindAtomW
|
|
|
|
#define FindFirstChangeNotification FindFirstChangeNotificationW
|
|
|
|
#define FindFirstFile FindFirstFileW
|
|
|
|
#define FindFirstFileEx FindFirstFileExW
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
2003-03-07 08:51:19 +08:00
|
|
|
#define FindFirstVolume FindFirstVolumeW
|
2003-04-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/winioctl.h: Clean up formatting.
(RETRIEVAL_POINTERS_BUFFER): Add fields to Extents[1] struct.
(CREATE_DISK): Add _ANONYMOUS_UNION macro.
(DISK_CACHE_INFORMATION): Likewise.
(DISK_DETECTION_INFO): Likewise.
(DISK_PARTITION_INFO): Likewise.
(PARTITION_INFORMATION_EX): Likewise.
(DRIVE_LAYOUT_INFORMATION_EX): Likewise.
2003-04-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/winbase.h (DeleteVolumeMountPoint[AW],
FindFirstVolumeMountPoint[AW], FindNextVolumeMountPoint[AW],
FindVolumeMountPointClose, GetVolumeNameForVolumeMountPoint[AW],
GetVolumePathName[AW], GetVolumePathNamesForVolumeName[AW],
SetVolumeMountPoint[AW]): Add prototypes.
* include/winioctl.h (IOCTL_DISK_GET_PARTITION_INFO_EX,
IOCTL_DISK_SET_PARTITION_INFO_EX,
IOCTL_DISK_GET_DRIVE_LAYOUT_EX,
IOCTL_DISK_SET_DRIVE_LAYOUT_EX, IOCTL_DISK_CREATE_DISK,
IOCTL_DISK_GET_LENGTH_INFO, IOCTL_DISK_PERFORMANCE_OFF,
IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, IOCTL_DISK_GROW_PARTITION,
IOCTL_DISK_GET_CACHE_INFORMATION,
IOCTL_DISK_SET_CACHE_INFORMATION,
IOCTL_DISK_DELETE_DRIVE_LAYOUT, IOCTL_DISK_UPDATE_PROPERTIES,
FSCTL_GET_VOLUME_BITMAP, FSCTL_GET_RETRIEVAL_POINTERS,
FSCTL_MOVE_FILE): Define.
(CREATE_DISK_GPT, CREATE_DISK_MBR, CREATE_DISK,
DISK_CACHE_INFORMATION,
DETECTION_TYPE, DISK_INT13_INFO, DISK_EX_INT13_INFO,
DISK_DETECTION_INFO, DISK_GEOMETRY_EX, DISK_GROW_PARTITION,
DISK_PARTITION_INFO, DISKQUOTA_USER_INFORMATION,
GET_LENGTH_INFORMATION, DISK_EXTENT, VOLUME_DISK_EXTENTS,
DRIVE_LAYOUT_INFORMATION_GPT, DRIVE_LAYOUT_INFORMATION_MBR,
PARTITION_INFORMATION_MBR, PARTITION_INFORMATION_GPT,
PARTITION_INFORMATION_EX, DRIVE_LAYOUT_INFORMATION_EX,
MOVE_FILE_DATA,
RETRIEVAL_POINTERS_BUFFER, STARTING_LCN_INPUT_BUFFER,
STARTING_VCN_INPUT_BUFFER, VOLUME_BITMAP_BUFFER): Add structs
(PARTITION_STYLE, DISK_CACHE_RETENTION_PRIORITY): Add enums.
(MEDIA_TYPE): Add F3_120M_512, F3_640_512, F5_640_512,
F5_720_512,
F3_1Pt2_512, F3_1Pt23_1024, F5_1Pt23_1024, F3_128Mb_512,
F3_230Mb_512,
F8_256_128, F3_200Mb_512, F3_240M_512, and F3_32M_512.
* lib/kernel32.def (GetVolumePathNamesForVolumeName[AW]): Add
stubs.
2003-04-26 16:31:29 +08:00
|
|
|
#define FindFirstVolumeMountPoint FindFirstVolumeMountPointW
|
2003-03-07 08:51:19 +08:00
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define FindNextFile FindNextFileW
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
2003-03-07 08:51:19 +08:00
|
|
|
#define FindNextVolume FindNextVolumeW
|
2003-04-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/winioctl.h: Clean up formatting.
(RETRIEVAL_POINTERS_BUFFER): Add fields to Extents[1] struct.
(CREATE_DISK): Add _ANONYMOUS_UNION macro.
(DISK_CACHE_INFORMATION): Likewise.
(DISK_DETECTION_INFO): Likewise.
(DISK_PARTITION_INFO): Likewise.
(PARTITION_INFORMATION_EX): Likewise.
(DRIVE_LAYOUT_INFORMATION_EX): Likewise.
2003-04-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/winbase.h (DeleteVolumeMountPoint[AW],
FindFirstVolumeMountPoint[AW], FindNextVolumeMountPoint[AW],
FindVolumeMountPointClose, GetVolumeNameForVolumeMountPoint[AW],
GetVolumePathName[AW], GetVolumePathNamesForVolumeName[AW],
SetVolumeMountPoint[AW]): Add prototypes.
* include/winioctl.h (IOCTL_DISK_GET_PARTITION_INFO_EX,
IOCTL_DISK_SET_PARTITION_INFO_EX,
IOCTL_DISK_GET_DRIVE_LAYOUT_EX,
IOCTL_DISK_SET_DRIVE_LAYOUT_EX, IOCTL_DISK_CREATE_DISK,
IOCTL_DISK_GET_LENGTH_INFO, IOCTL_DISK_PERFORMANCE_OFF,
IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, IOCTL_DISK_GROW_PARTITION,
IOCTL_DISK_GET_CACHE_INFORMATION,
IOCTL_DISK_SET_CACHE_INFORMATION,
IOCTL_DISK_DELETE_DRIVE_LAYOUT, IOCTL_DISK_UPDATE_PROPERTIES,
FSCTL_GET_VOLUME_BITMAP, FSCTL_GET_RETRIEVAL_POINTERS,
FSCTL_MOVE_FILE): Define.
(CREATE_DISK_GPT, CREATE_DISK_MBR, CREATE_DISK,
DISK_CACHE_INFORMATION,
DETECTION_TYPE, DISK_INT13_INFO, DISK_EX_INT13_INFO,
DISK_DETECTION_INFO, DISK_GEOMETRY_EX, DISK_GROW_PARTITION,
DISK_PARTITION_INFO, DISKQUOTA_USER_INFORMATION,
GET_LENGTH_INFORMATION, DISK_EXTENT, VOLUME_DISK_EXTENTS,
DRIVE_LAYOUT_INFORMATION_GPT, DRIVE_LAYOUT_INFORMATION_MBR,
PARTITION_INFORMATION_MBR, PARTITION_INFORMATION_GPT,
PARTITION_INFORMATION_EX, DRIVE_LAYOUT_INFORMATION_EX,
MOVE_FILE_DATA,
RETRIEVAL_POINTERS_BUFFER, STARTING_LCN_INPUT_BUFFER,
STARTING_VCN_INPUT_BUFFER, VOLUME_BITMAP_BUFFER): Add structs
(PARTITION_STYLE, DISK_CACHE_RETENTION_PRIORITY): Add enums.
(MEDIA_TYPE): Add F3_120M_512, F3_640_512, F5_640_512,
F5_720_512,
F3_1Pt2_512, F3_1Pt23_1024, F5_1Pt23_1024, F3_128Mb_512,
F3_230Mb_512,
F8_256_128, F3_200Mb_512, F3_240M_512, and F3_32M_512.
* lib/kernel32.def (GetVolumePathNamesForVolumeName[AW]): Add
stubs.
2003-04-26 16:31:29 +08:00
|
|
|
#define FindNextVolumeMountPoint FindNextVolumeMountPointW
|
2003-03-07 08:51:19 +08:00
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define FindResource FindResourceW
|
|
|
|
#define FindResourceEx FindResourceExW
|
|
|
|
#define FormatMessage FormatMessageW
|
|
|
|
#define FreeEnvironmentStrings FreeEnvironmentStringsW
|
|
|
|
#define GetAtomName GetAtomNameW
|
|
|
|
#define GetBinaryType GetBinaryTypeW
|
|
|
|
#define GetCommandLine GetCommandLineW
|
|
|
|
#define GetCompressedFileSize GetCompressedFileSizeW
|
|
|
|
#define GetComputerName GetComputerNameW
|
|
|
|
#define GetCurrentDirectory GetCurrentDirectoryW
|
|
|
|
#define GetDefaultCommConfig GetDefaultCommConfigW
|
|
|
|
#define GetDiskFreeSpace GetDiskFreeSpaceW
|
|
|
|
#define GetDiskFreeSpaceEx GetDiskFreeSpaceExW
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (GetComputerNameEx[AW],
GetProcessIoCounters): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (COMPUTER_NAME_FORMAT):
Move around, needed by GetComputerNameEx.
* include/winbase.h [_WIN32_WINNT >= 0x0501] (FindActCtxSectionGuid,
FindActCtxSectionString[AW], GetCurrentActCtx, GetNativeSystemInfo):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(ACTCTX_SECTION_KEYED_DATA): Add structure.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetProcessHandleCount,
GetProcessId, GetSystemRegistryQuota): Add functions, available on
Windows XP SP1 and better.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION,
ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_WINDOW_CLASS_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_CLR_SURROGATES): Add constants.
* lib/user32.def (FindActCtxSectionGuid, FindActCtxSectionString[AW],
GetComputerNameEx[AW], GetCurrentActCtx, GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetModuleHandleEx[AW],
GetNativeSystemInfo, GetProcessHandleCount, GetProcessIoCounters):
Add functions.
2003-10-07 16:47:06 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0502)
|
|
|
|
#define GetDllDirectory GetDllDirectoryW
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define GetDriveType GetDriveTypeW
|
|
|
|
#define GetEnvironmentStrings GetEnvironmentStringsW
|
|
|
|
#define GetEnvironmentVariable GetEnvironmentVariableW
|
|
|
|
#define GetFileAttributes GetFileAttributesW
|
|
|
|
#define GetFileSecurity GetFileSecurityW
|
|
|
|
#define GetFileAttributesEx GetFileAttributesExW
|
|
|
|
#define GetFullPathName GetFullPathNameW
|
|
|
|
#define GetLogicalDriveStrings GetLogicalDriveStringsW
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
|
2000-02-18 03:38:33 +08:00
|
|
|
#define GetLongPathName GetLongPathNameW
|
* include/w32api.h (_NT4, _W98, _WME, _NT5, _W2000, _WXP, _W2003,
_IE3, _IE4, _IE5, _IE6): Add definitions.
* include/winbase.h (GetLongPathName[AW]): Add guard for OS >= NT5 or
>= Win98.
Change existing guards to use the above macro names as appropriate.
2003-07-01 20:01:05 +08:00
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define GetModuleFileName GetModuleFileNameW
|
|
|
|
#define GetModuleHandle GetModuleHandleW
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
2003-07-23 06:36:03 +08:00
|
|
|
#define GetModuleHandleEx GetModuleHandleExW
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define GetNamedPipeHandleState GetNamedPipeHandleStateW
|
|
|
|
#define GetPrivateProfileInt GetPrivateProfileIntW
|
|
|
|
#define GetPrivateProfileSection GetPrivateProfileSectionW
|
|
|
|
#define GetPrivateProfileSectionNames GetPrivateProfileSectionNamesW
|
|
|
|
#define GetPrivateProfileString GetPrivateProfileStringW
|
|
|
|
#define GetPrivateProfileStruct GetPrivateProfileStructW
|
|
|
|
#define GetProfileInt GetProfileIntW
|
|
|
|
#define GetProfileSection GetProfileSectionW
|
|
|
|
#define GetProfileString GetProfileStringW
|
|
|
|
#define GetShortPathName GetShortPathNameW
|
|
|
|
#define GetStartupInfo GetStartupInfoW
|
|
|
|
#define GetSystemDirectory GetSystemDirectoryW
|
* include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,
ResetWriteWatch): Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(GetSystemWow64Directory[AW], HeapQueryInformation,
HeapSetInformation, InitializeSListHead, InterlockedFlushSList,
InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob,
IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS):
Add enumeration.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag):
Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError):
Add function. The MSDN Magazine of June 2003 reads:
RestoreLastError is an enigma. It's code is identical to
SetLastError. It's unclear to me why it was made into a
separate API.
* lib/user32.def (GetSystemWindowsDirectory[AW],
GetSystemWow64Directory[AW], GetThreadIOPendingFlag,
HeapQueryInformation, HeapSetInformation, InitializeSListHead,
InterlockedFlushSList, InterlockedPopEntrySList,
InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process,
ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch,
RestoreLastError): Add functions.
2003-10-07 18:14:31 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
|
|
|
#define GetSystemWindowsDirectory GetSystemWindowsDirectoryW
|
|
|
|
#endif
|
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
#define GetSystemWow64Directory GetSystemWow64DirectoryW
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define GetTempFileName GetTempFileNameW
|
|
|
|
#define GetTempPath GetTempPathW
|
|
|
|
#define GetUserName GetUserNameW
|
|
|
|
#define GetVersionEx GetVersionExW
|
|
|
|
#define GetVolumeInformation GetVolumeInformationW
|
2003-04-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/winioctl.h: Clean up formatting.
(RETRIEVAL_POINTERS_BUFFER): Add fields to Extents[1] struct.
(CREATE_DISK): Add _ANONYMOUS_UNION macro.
(DISK_CACHE_INFORMATION): Likewise.
(DISK_DETECTION_INFO): Likewise.
(DISK_PARTITION_INFO): Likewise.
(PARTITION_INFORMATION_EX): Likewise.
(DRIVE_LAYOUT_INFORMATION_EX): Likewise.
2003-04-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/winbase.h (DeleteVolumeMountPoint[AW],
FindFirstVolumeMountPoint[AW], FindNextVolumeMountPoint[AW],
FindVolumeMountPointClose, GetVolumeNameForVolumeMountPoint[AW],
GetVolumePathName[AW], GetVolumePathNamesForVolumeName[AW],
SetVolumeMountPoint[AW]): Add prototypes.
* include/winioctl.h (IOCTL_DISK_GET_PARTITION_INFO_EX,
IOCTL_DISK_SET_PARTITION_INFO_EX,
IOCTL_DISK_GET_DRIVE_LAYOUT_EX,
IOCTL_DISK_SET_DRIVE_LAYOUT_EX, IOCTL_DISK_CREATE_DISK,
IOCTL_DISK_GET_LENGTH_INFO, IOCTL_DISK_PERFORMANCE_OFF,
IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, IOCTL_DISK_GROW_PARTITION,
IOCTL_DISK_GET_CACHE_INFORMATION,
IOCTL_DISK_SET_CACHE_INFORMATION,
IOCTL_DISK_DELETE_DRIVE_LAYOUT, IOCTL_DISK_UPDATE_PROPERTIES,
FSCTL_GET_VOLUME_BITMAP, FSCTL_GET_RETRIEVAL_POINTERS,
FSCTL_MOVE_FILE): Define.
(CREATE_DISK_GPT, CREATE_DISK_MBR, CREATE_DISK,
DISK_CACHE_INFORMATION,
DETECTION_TYPE, DISK_INT13_INFO, DISK_EX_INT13_INFO,
DISK_DETECTION_INFO, DISK_GEOMETRY_EX, DISK_GROW_PARTITION,
DISK_PARTITION_INFO, DISKQUOTA_USER_INFORMATION,
GET_LENGTH_INFORMATION, DISK_EXTENT, VOLUME_DISK_EXTENTS,
DRIVE_LAYOUT_INFORMATION_GPT, DRIVE_LAYOUT_INFORMATION_MBR,
PARTITION_INFORMATION_MBR, PARTITION_INFORMATION_GPT,
PARTITION_INFORMATION_EX, DRIVE_LAYOUT_INFORMATION_EX,
MOVE_FILE_DATA,
RETRIEVAL_POINTERS_BUFFER, STARTING_LCN_INPUT_BUFFER,
STARTING_VCN_INPUT_BUFFER, VOLUME_BITMAP_BUFFER): Add structs
(PARTITION_STYLE, DISK_CACHE_RETENTION_PRIORITY): Add enums.
(MEDIA_TYPE): Add F3_120M_512, F3_640_512, F5_640_512,
F5_720_512,
F3_1Pt2_512, F3_1Pt23_1024, F5_1Pt23_1024, F3_128Mb_512,
F3_230Mb_512,
F8_256_128, F3_200Mb_512, F3_240M_512, and F3_32M_512.
* lib/kernel32.def (GetVolumePathNamesForVolumeName[AW]): Add
stubs.
2003-04-26 16:31:29 +08:00
|
|
|
#define GetVolumeNameForVolumeMountPoint GetVolumeNameForVolumeMountPointW
|
|
|
|
#define GetVolumePathName GetVolumePathNameW
|
|
|
|
#define GetVolumePathNamesForVolumeName GetVolumePathNamesForVolumeNameW
|
2000-02-18 03:38:33 +08:00
|
|
|
#define GetWindowsDirectory GetWindowsDirectoryW
|
|
|
|
#define GlobalAddAtom GlobalAddAtomW
|
|
|
|
#define GlobalFindAtom GlobalFindAtomW
|
|
|
|
#define GlobalGetAtomName GlobalGetAtomNameW
|
|
|
|
#define IsBadStringPtr IsBadStringPtrW
|
|
|
|
#define LoadLibrary LoadLibraryW
|
|
|
|
#define LoadLibraryEx LoadLibraryExW
|
|
|
|
#define LogonUser LogonUserW
|
|
|
|
#define LookupAccountName LookupAccountNameW
|
|
|
|
#define LookupAccountSid LookupAccountSidW
|
|
|
|
#define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameW
|
|
|
|
#define LookupPrivilegeName LookupPrivilegeNameW
|
|
|
|
#define LookupPrivilegeValue LookupPrivilegeValueW
|
|
|
|
#define lstrcat lstrcatW
|
|
|
|
#define lstrcmp lstrcmpW
|
|
|
|
#define lstrcmpi lstrcmpiW
|
|
|
|
#define lstrcpy lstrcpyW
|
|
|
|
#define lstrcpyn lstrcpynW
|
|
|
|
#define lstrlen lstrlenW
|
|
|
|
#define MoveFile MoveFileW
|
|
|
|
#define MoveFileEx MoveFileExW
|
|
|
|
#define ObjectCloseAuditAlarm ObjectCloseAuditAlarmW
|
|
|
|
#define ObjectDeleteAuditAlarm ObjectDeleteAuditAlarmW
|
|
|
|
#define ObjectOpenAuditAlarm ObjectOpenAuditAlarmW
|
|
|
|
#define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmW
|
|
|
|
#define OpenBackupEventLog OpenBackupEventLogW
|
|
|
|
#define OpenEvent OpenEventW
|
|
|
|
#define OpenEventLog OpenEventLogW
|
|
|
|
#define OpenFileMapping OpenFileMappingW
|
|
|
|
#define OpenMutex OpenMutexW
|
|
|
|
#define OpenSemaphore OpenSemaphoreW
|
|
|
|
#define OutputDebugString OutputDebugStringW
|
|
|
|
#define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmW
|
|
|
|
#define QueryDosDevice QueryDosDeviceW
|
|
|
|
#define ReadEventLog ReadEventLogW
|
|
|
|
#define RegisterEventSource RegisterEventSourceW
|
|
|
|
#define RemoveDirectory RemoveDirectoryW
|
* include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,
ResetWriteWatch): Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(GetSystemWow64Directory[AW], HeapQueryInformation,
HeapSetInformation, InitializeSListHead, InterlockedFlushSList,
InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob,
IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS):
Add enumeration.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag):
Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError):
Add function. The MSDN Magazine of June 2003 reads:
RestoreLastError is an enigma. It's code is identical to
SetLastError. It's unclear to me why it was made into a
separate API.
* lib/user32.def (GetSystemWindowsDirectory[AW],
GetSystemWow64Directory[AW], GetThreadIOPendingFlag,
HeapQueryInformation, HeapSetInformation, InitializeSListHead,
InterlockedFlushSList, InterlockedPopEntrySList,
InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process,
ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch,
RestoreLastError): Add functions.
2003-10-07 18:14:31 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
|
|
|
#define ReplaceFile ReplaceFileW
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define ReportEvent ReportEventW
|
|
|
|
#define SearchPath SearchPathW
|
|
|
|
#define SetComputerName SetComputerNameW
|
|
|
|
#define SetCurrentDirectory SetCurrentDirectoryW
|
|
|
|
#define SetDefaultCommConfig SetDefaultCommConfigW
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (SetComputerNameEx[AW],
UnregisterWaitEx): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(AddVectoredExceptionHandler, RemoveVectoredExceptionHandler): Add
or guard function. The MSDN says it is available on Windows XP and
better, and then it says it is declared for _WIN32_WINNT >= 0x0500.
Huh?
* include/winbase.h [_WIN32_WINNT >= 0x0501] (AddRefActCtx,
CreateActCtx[AW], SetFileShortName[AW], SetFileValidData,
ZombifyActCtx, QueryActCtxW): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX,
QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE,
QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS): Add constants.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (SetDllDirectory[AW],
SetFirmwareEnvironmentVariable[AW]): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0500] (VER_BUILDNUMBER,
VER_MAJORVERSION, VER_MINORVERSION, VER_PLATFORMID,
VER_SERVICEPACKMAJOR, VER_SERVICEPACKMINOR, VER_SUITENAME,
VER_PRODUCT_TYPE, VER_EQUAL, VER_GREATER, VER_GREATER_EQUAL,
VER_LESS, VER_LESS_EQUAL, VER_AND, VER_OR): Add constants.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(PVECTORED_EXCEPTION_HANDLER): Add callback.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_INFO_CLASS,
ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_QUERY_INDEX, ASSEMBLY_FILE_DETAILED_INFORMATION):
Add structures.
* lib/user32.def (AddRefActCtx, AddVectoredExceptionHandler,
CreateActCtx[AW], SetComputerNameEx[AW], SetDllDirectory[AW],
SetFileShortName[AW], SetFileValidData,
SetFirmwareEnvironmentVariable[AW], UnregisterWaitEx,
VerSetConditionMask, ZombifyActCtx, QueryActCtxW): Add functions.
2003-10-07 20:55:00 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0502)
|
|
|
|
#define SetDllDirectory SetDllDirectoryW
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define SetEnvironmentVariable SetEnvironmentVariableW
|
|
|
|
#define SetFileAttributes SetFileAttributesW
|
|
|
|
#define SetFileSecurity SetFileSecurityW
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (SetComputerNameEx[AW],
UnregisterWaitEx): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(AddVectoredExceptionHandler, RemoveVectoredExceptionHandler): Add
or guard function. The MSDN says it is available on Windows XP and
better, and then it says it is declared for _WIN32_WINNT >= 0x0500.
Huh?
* include/winbase.h [_WIN32_WINNT >= 0x0501] (AddRefActCtx,
CreateActCtx[AW], SetFileShortName[AW], SetFileValidData,
ZombifyActCtx, QueryActCtxW): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX,
QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE,
QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS): Add constants.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (SetDllDirectory[AW],
SetFirmwareEnvironmentVariable[AW]): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0500] (VER_BUILDNUMBER,
VER_MAJORVERSION, VER_MINORVERSION, VER_PLATFORMID,
VER_SERVICEPACKMAJOR, VER_SERVICEPACKMINOR, VER_SUITENAME,
VER_PRODUCT_TYPE, VER_EQUAL, VER_GREATER, VER_GREATER_EQUAL,
VER_LESS, VER_LESS_EQUAL, VER_AND, VER_OR): Add constants.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(PVECTORED_EXCEPTION_HANDLER): Add callback.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_INFO_CLASS,
ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_QUERY_INDEX, ASSEMBLY_FILE_DETAILED_INFORMATION):
Add structures.
* lib/user32.def (AddRefActCtx, AddVectoredExceptionHandler,
CreateActCtx[AW], SetComputerNameEx[AW], SetDllDirectory[AW],
SetFileShortName[AW], SetFileValidData,
SetFirmwareEnvironmentVariable[AW], UnregisterWaitEx,
VerSetConditionMask, ZombifyActCtx, QueryActCtxW): Add functions.
2003-10-07 20:55:00 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
#define SetFileShortName SetFileShortNameW
|
|
|
|
#endif
|
|
|
|
#if (_WIN32_WINNT >= 0x0502)
|
|
|
|
#define SetFirmwareEnvironmentVariable SetFirmwareEnvironmentVariableW
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define SetVolumeLabel SetVolumeLabelW
|
2003-04-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/winioctl.h: Clean up formatting.
(RETRIEVAL_POINTERS_BUFFER): Add fields to Extents[1] struct.
(CREATE_DISK): Add _ANONYMOUS_UNION macro.
(DISK_CACHE_INFORMATION): Likewise.
(DISK_DETECTION_INFO): Likewise.
(DISK_PARTITION_INFO): Likewise.
(PARTITION_INFORMATION_EX): Likewise.
(DRIVE_LAYOUT_INFORMATION_EX): Likewise.
2003-04-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/winbase.h (DeleteVolumeMountPoint[AW],
FindFirstVolumeMountPoint[AW], FindNextVolumeMountPoint[AW],
FindVolumeMountPointClose, GetVolumeNameForVolumeMountPoint[AW],
GetVolumePathName[AW], GetVolumePathNamesForVolumeName[AW],
SetVolumeMountPoint[AW]): Add prototypes.
* include/winioctl.h (IOCTL_DISK_GET_PARTITION_INFO_EX,
IOCTL_DISK_SET_PARTITION_INFO_EX,
IOCTL_DISK_GET_DRIVE_LAYOUT_EX,
IOCTL_DISK_SET_DRIVE_LAYOUT_EX, IOCTL_DISK_CREATE_DISK,
IOCTL_DISK_GET_LENGTH_INFO, IOCTL_DISK_PERFORMANCE_OFF,
IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, IOCTL_DISK_GROW_PARTITION,
IOCTL_DISK_GET_CACHE_INFORMATION,
IOCTL_DISK_SET_CACHE_INFORMATION,
IOCTL_DISK_DELETE_DRIVE_LAYOUT, IOCTL_DISK_UPDATE_PROPERTIES,
FSCTL_GET_VOLUME_BITMAP, FSCTL_GET_RETRIEVAL_POINTERS,
FSCTL_MOVE_FILE): Define.
(CREATE_DISK_GPT, CREATE_DISK_MBR, CREATE_DISK,
DISK_CACHE_INFORMATION,
DETECTION_TYPE, DISK_INT13_INFO, DISK_EX_INT13_INFO,
DISK_DETECTION_INFO, DISK_GEOMETRY_EX, DISK_GROW_PARTITION,
DISK_PARTITION_INFO, DISKQUOTA_USER_INFORMATION,
GET_LENGTH_INFORMATION, DISK_EXTENT, VOLUME_DISK_EXTENTS,
DRIVE_LAYOUT_INFORMATION_GPT, DRIVE_LAYOUT_INFORMATION_MBR,
PARTITION_INFORMATION_MBR, PARTITION_INFORMATION_GPT,
PARTITION_INFORMATION_EX, DRIVE_LAYOUT_INFORMATION_EX,
MOVE_FILE_DATA,
RETRIEVAL_POINTERS_BUFFER, STARTING_LCN_INPUT_BUFFER,
STARTING_VCN_INPUT_BUFFER, VOLUME_BITMAP_BUFFER): Add structs
(PARTITION_STYLE, DISK_CACHE_RETENTION_PRIORITY): Add enums.
(MEDIA_TYPE): Add F3_120M_512, F3_640_512, F5_640_512,
F5_720_512,
F3_1Pt2_512, F3_1Pt23_1024, F5_1Pt23_1024, F3_128Mb_512,
F3_230Mb_512,
F8_256_128, F3_200Mb_512, F3_240M_512, and F3_32M_512.
* lib/kernel32.def (GetVolumePathNamesForVolumeName[AW]): Add
stubs.
2003-04-26 16:31:29 +08:00
|
|
|
#define SetVolumeMountPoint SetVolumeMountPointW
|
2000-02-18 03:38:33 +08:00
|
|
|
#define UpdateResource UpdateResourceW
|
2001-12-03 Earnie Boyd <earnie@users.sf.net>
* include/accctrl.h: Change \r\n to \n.
2001-11-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/ipexport.h (IP_UNIDIRECTIONAL_ADAPTER_ADDRESS):
Add structure definition.
* include/iptypes.h (IP_PER_ADAPTER_INFO): Ditto.
* include/iphlpapi.h (AddIPAddress,CreateProxyArpEntry,
DeleteIPAddress,DeleteProxyArpEntry,EnableRouter,
FlushIpNetTable,GetAdapterIndex,GetPerAdapterInfo,
GetUniDirectionalAdapterInfo,SendARP,SetAdapterIpAddress,
UnenableRouter) Declare functions.
* lib/iphlpapi.def: Add function names to import lib.
2001-11-24 Danny Smith <dannysmith@users.sourceforge.net>
* include/winnt.h (PACCESS_MASK): Add typedef.
* include/aclapi.h: New file.
* include/acctrl.h: New file.
* lib/advapi32.def: Add missing symbols.
* lib/test.c: Add #include <aclapi.h>.
2001-11-23 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (OSVERSIONINFO[AW],VER_PLATFORM_WIN32s,
VER_PLATFORM_WIN32_WINDOWS,VER_PLATFORM_WIN32_NT): Move from
here ...
* include/winnt.h: ... to here.
* include/winbase.h (VerifyVersionInfo[AW]): Add declaration.
* include/winnt.h (OSVERSIONINFOEX[AW]): Add structure definitions
and typedefs.
(VER_NT_WORKSTATION,VER_NT_DOMAIN_CONTROLLER,VER_NT_SERVER):
Add defines.
2001-11-19 Pierre Muller <muller@ics.u-strasbg.fr>
* w32api/include/winnt.h: prepare SSE register support.
(CONTEXT_EXTENDED_REGISTERS): Add new define.
(MAXIMUM_SUPPORTED_EXTENSION): New define.
(struct CONTEXT): ExtendedRegisters field added.
2001-11-16 Danny Smith <dannysmith@users.sourceforge.net>
* include/winuser.h (tagALTTABINFO, tagCOMBOBOXINFO,
tagCURSORINFO, tagMENUBARINFO, tagMENUINFO, tagMONITORINFO
tagSCROLLBARINFO, tagTITLEBARINFO. tagWINDOWINFO,
tagLASTINPUTINFO ): Define new structures.
(EndMenu, GetAltTabInfo[AW],GetComboBoxInfo,GetCursorInfo,
GetLastInputInfo, GetListBoxInfo, GetMenuBarInfo,
GetMonitorInfo[AW], GetScrollBarInfo, GetTitleBarInfo,
GetWindowInfo, GetWindowModuleFileName[AW],GetMenuInfo
SetMenuInfo): Add new prototypes.
* lib/user32.def: Add import stubs for above functions.
* include/winuser.h (IDC_STATIC): Protect against prior
definition.
2001-11-12 Corinna Vinschen <corinna@vinschen.de>
* include/winbase.h (OSVERSIONINFOEX): Add definition.
* include/winnt.h: Add VER_NT_* and VER_SUITE_* defines.
2001-11-10 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h: Add Danny Smith's text comment about gcc compiler
warnings with _AUTHORITY #defines.
2001-11-09 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h (GetCurrentFiber): Create a prototype before the
implementation;
(GetFiberData): Ditto.
2001-11-09 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h: Backout last change.
2001-12-04 03:59:34 +08:00
|
|
|
#define VerifyVersionInfo VerifyVersionInfoW
|
2000-02-18 03:38:33 +08:00
|
|
|
#define WaitNamedPipe WaitNamedPipeW
|
|
|
|
#define WritePrivateProfileSection WritePrivateProfileSectionW
|
|
|
|
#define WritePrivateProfileString WritePrivateProfileStringW
|
|
|
|
#define WritePrivateProfileStruct WritePrivateProfileStructW
|
|
|
|
#define WriteProfileSection WriteProfileSectionW
|
|
|
|
#define WriteProfileString WriteProfileStringW
|
|
|
|
#else
|
|
|
|
typedef STARTUPINFOA STARTUPINFO,*LPSTARTUPINFO;
|
|
|
|
typedef WIN32_FIND_DATAA WIN32_FIND_DATA,*LPWIN32_FIND_DATA;
|
|
|
|
typedef HW_PROFILE_INFOA HW_PROFILE_INFO,*LPHW_PROFILE_INFO;
|
2003-10-06 17:45:59 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
typedef ACTCTXA ACTCTX,*PACTCTX;
|
|
|
|
typedef PCACTCTXA PCACTCTX;
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmA
|
|
|
|
#define AddAtom AddAtomA
|
|
|
|
#define BackupEventLog BackupEventLogA
|
|
|
|
#define BeginUpdateResource BeginUpdateResourceA
|
|
|
|
#define BuildCommDCB BuildCommDCBA
|
|
|
|
#define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsA
|
|
|
|
#define CallNamedPipe CallNamedPipeA
|
2003-10-06 17:45:59 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
#define CheckNameLegalDOS8Dot3 CheckNameLegalDOS8Dot3A
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define ClearEventLog ClearEventLogA
|
|
|
|
#define CommConfigDialog CommConfigDialogA
|
|
|
|
#define CopyFile CopyFileA
|
|
|
|
#define CopyFileEx CopyFileExA
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (SetComputerNameEx[AW],
UnregisterWaitEx): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(AddVectoredExceptionHandler, RemoveVectoredExceptionHandler): Add
or guard function. The MSDN says it is available on Windows XP and
better, and then it says it is declared for _WIN32_WINNT >= 0x0500.
Huh?
* include/winbase.h [_WIN32_WINNT >= 0x0501] (AddRefActCtx,
CreateActCtx[AW], SetFileShortName[AW], SetFileValidData,
ZombifyActCtx, QueryActCtxW): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX,
QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE,
QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS): Add constants.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (SetDllDirectory[AW],
SetFirmwareEnvironmentVariable[AW]): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0500] (VER_BUILDNUMBER,
VER_MAJORVERSION, VER_MINORVERSION, VER_PLATFORMID,
VER_SERVICEPACKMAJOR, VER_SERVICEPACKMINOR, VER_SUITENAME,
VER_PRODUCT_TYPE, VER_EQUAL, VER_GREATER, VER_GREATER_EQUAL,
VER_LESS, VER_LESS_EQUAL, VER_AND, VER_OR): Add constants.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(PVECTORED_EXCEPTION_HANDLER): Add callback.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_INFO_CLASS,
ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_QUERY_INDEX, ASSEMBLY_FILE_DETAILED_INFORMATION):
Add structures.
* lib/user32.def (AddRefActCtx, AddVectoredExceptionHandler,
CreateActCtx[AW], SetComputerNameEx[AW], SetDllDirectory[AW],
SetFileShortName[AW], SetFileValidData,
SetFirmwareEnvironmentVariable[AW], UnregisterWaitEx,
VerSetConditionMask, ZombifyActCtx, QueryActCtxW): Add functions.
2003-10-07 20:55:00 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
#define CreateActCtx CreateActCtxA
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define CreateDirectory CreateDirectoryA
|
|
|
|
#define CreateDirectoryEx CreateDirectoryExA
|
|
|
|
#define CreateEvent CreateEventA
|
|
|
|
#define CreateFile CreateFileA
|
|
|
|
#define CreateFileMapping CreateFileMappingA
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
2002-01-25 08:52:35 +08:00
|
|
|
#define CreateHardLink CreateHardLinkA
|
2003-01-31 16:28:44 +08:00
|
|
|
#define CreateJobObject CreateJobObjectA
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define CreateMailslot CreateMailslotA
|
|
|
|
#define CreateMutex CreateMutexA
|
|
|
|
#define CreateNamedPipe CreateNamedPipeA
|
|
|
|
#define CreateProcess CreateProcessA
|
|
|
|
#define CreateProcessAsUser CreateProcessAsUserA
|
|
|
|
#define CreateSemaphore CreateSemaphoreA
|
|
|
|
#define CreateWaitableTimer CreateWaitableTimerA
|
|
|
|
#define DefineDosDevice DefineDosDeviceA
|
|
|
|
#define DeleteFile DeleteFileA
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
2003-04-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/winioctl.h: Clean up formatting.
(RETRIEVAL_POINTERS_BUFFER): Add fields to Extents[1] struct.
(CREATE_DISK): Add _ANONYMOUS_UNION macro.
(DISK_CACHE_INFORMATION): Likewise.
(DISK_DETECTION_INFO): Likewise.
(DISK_PARTITION_INFO): Likewise.
(PARTITION_INFORMATION_EX): Likewise.
(DRIVE_LAYOUT_INFORMATION_EX): Likewise.
2003-04-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/winbase.h (DeleteVolumeMountPoint[AW],
FindFirstVolumeMountPoint[AW], FindNextVolumeMountPoint[AW],
FindVolumeMountPointClose, GetVolumeNameForVolumeMountPoint[AW],
GetVolumePathName[AW], GetVolumePathNamesForVolumeName[AW],
SetVolumeMountPoint[AW]): Add prototypes.
* include/winioctl.h (IOCTL_DISK_GET_PARTITION_INFO_EX,
IOCTL_DISK_SET_PARTITION_INFO_EX,
IOCTL_DISK_GET_DRIVE_LAYOUT_EX,
IOCTL_DISK_SET_DRIVE_LAYOUT_EX, IOCTL_DISK_CREATE_DISK,
IOCTL_DISK_GET_LENGTH_INFO, IOCTL_DISK_PERFORMANCE_OFF,
IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, IOCTL_DISK_GROW_PARTITION,
IOCTL_DISK_GET_CACHE_INFORMATION,
IOCTL_DISK_SET_CACHE_INFORMATION,
IOCTL_DISK_DELETE_DRIVE_LAYOUT, IOCTL_DISK_UPDATE_PROPERTIES,
FSCTL_GET_VOLUME_BITMAP, FSCTL_GET_RETRIEVAL_POINTERS,
FSCTL_MOVE_FILE): Define.
(CREATE_DISK_GPT, CREATE_DISK_MBR, CREATE_DISK,
DISK_CACHE_INFORMATION,
DETECTION_TYPE, DISK_INT13_INFO, DISK_EX_INT13_INFO,
DISK_DETECTION_INFO, DISK_GEOMETRY_EX, DISK_GROW_PARTITION,
DISK_PARTITION_INFO, DISKQUOTA_USER_INFORMATION,
GET_LENGTH_INFORMATION, DISK_EXTENT, VOLUME_DISK_EXTENTS,
DRIVE_LAYOUT_INFORMATION_GPT, DRIVE_LAYOUT_INFORMATION_MBR,
PARTITION_INFORMATION_MBR, PARTITION_INFORMATION_GPT,
PARTITION_INFORMATION_EX, DRIVE_LAYOUT_INFORMATION_EX,
MOVE_FILE_DATA,
RETRIEVAL_POINTERS_BUFFER, STARTING_LCN_INPUT_BUFFER,
STARTING_VCN_INPUT_BUFFER, VOLUME_BITMAP_BUFFER): Add structs
(PARTITION_STYLE, DISK_CACHE_RETENTION_PRIORITY): Add enums.
(MEDIA_TYPE): Add F3_120M_512, F3_640_512, F5_640_512,
F5_720_512,
F3_1Pt2_512, F3_1Pt23_1024, F5_1Pt23_1024, F3_128Mb_512,
F3_230Mb_512,
F8_256_128, F3_200Mb_512, F3_240M_512, and F3_32M_512.
* lib/kernel32.def (GetVolumePathNamesForVolumeName[AW]): Add
stubs.
2003-04-26 16:31:29 +08:00
|
|
|
#define DeleteVolumeMountPoint DeleteVolumeMountPointA
|
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(CheckRemoteDebuggerPresent, DebugActiveProcessStop, DebugBreakProcess,
DebugSetProcessKillOnExit): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (DeleteTimerQueue,
DeleteTimerQueueEx, DeleteTimerQueueTimer,
DnsHostnameToComputerName[AW]): Add functions.
* lib/user32.def (CheckRemoteDebuggerPresent, DebugActiveProcessStop,
DebugBreakProcess, DebugSetProcessKillOnExit, DeleteTimerQueueEx,
DeleteTimerQueueTimer, DnsHostnameToComputerName[AW]): Add functions.
2003-10-07 15:14:53 +08:00
|
|
|
#define DnsHostnameToComputerName DnsHostnameToComputerNameA
|
2003-04-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/winioctl.h: Clean up formatting.
(RETRIEVAL_POINTERS_BUFFER): Add fields to Extents[1] struct.
(CREATE_DISK): Add _ANONYMOUS_UNION macro.
(DISK_CACHE_INFORMATION): Likewise.
(DISK_DETECTION_INFO): Likewise.
(DISK_PARTITION_INFO): Likewise.
(PARTITION_INFORMATION_EX): Likewise.
(DRIVE_LAYOUT_INFORMATION_EX): Likewise.
2003-04-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/winbase.h (DeleteVolumeMountPoint[AW],
FindFirstVolumeMountPoint[AW], FindNextVolumeMountPoint[AW],
FindVolumeMountPointClose, GetVolumeNameForVolumeMountPoint[AW],
GetVolumePathName[AW], GetVolumePathNamesForVolumeName[AW],
SetVolumeMountPoint[AW]): Add prototypes.
* include/winioctl.h (IOCTL_DISK_GET_PARTITION_INFO_EX,
IOCTL_DISK_SET_PARTITION_INFO_EX,
IOCTL_DISK_GET_DRIVE_LAYOUT_EX,
IOCTL_DISK_SET_DRIVE_LAYOUT_EX, IOCTL_DISK_CREATE_DISK,
IOCTL_DISK_GET_LENGTH_INFO, IOCTL_DISK_PERFORMANCE_OFF,
IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, IOCTL_DISK_GROW_PARTITION,
IOCTL_DISK_GET_CACHE_INFORMATION,
IOCTL_DISK_SET_CACHE_INFORMATION,
IOCTL_DISK_DELETE_DRIVE_LAYOUT, IOCTL_DISK_UPDATE_PROPERTIES,
FSCTL_GET_VOLUME_BITMAP, FSCTL_GET_RETRIEVAL_POINTERS,
FSCTL_MOVE_FILE): Define.
(CREATE_DISK_GPT, CREATE_DISK_MBR, CREATE_DISK,
DISK_CACHE_INFORMATION,
DETECTION_TYPE, DISK_INT13_INFO, DISK_EX_INT13_INFO,
DISK_DETECTION_INFO, DISK_GEOMETRY_EX, DISK_GROW_PARTITION,
DISK_PARTITION_INFO, DISKQUOTA_USER_INFORMATION,
GET_LENGTH_INFORMATION, DISK_EXTENT, VOLUME_DISK_EXTENTS,
DRIVE_LAYOUT_INFORMATION_GPT, DRIVE_LAYOUT_INFORMATION_MBR,
PARTITION_INFORMATION_MBR, PARTITION_INFORMATION_GPT,
PARTITION_INFORMATION_EX, DRIVE_LAYOUT_INFORMATION_EX,
MOVE_FILE_DATA,
RETRIEVAL_POINTERS_BUFFER, STARTING_LCN_INPUT_BUFFER,
STARTING_VCN_INPUT_BUFFER, VOLUME_BITMAP_BUFFER): Add structs
(PARTITION_STYLE, DISK_CACHE_RETENTION_PRIORITY): Add enums.
(MEDIA_TYPE): Add F3_120M_512, F3_640_512, F5_640_512,
F5_720_512,
F3_1Pt2_512, F3_1Pt23_1024, F5_1Pt23_1024, F3_128Mb_512,
F3_230Mb_512,
F8_256_128, F3_200Mb_512, F3_240M_512, and F3_32M_512.
* lib/kernel32.def (GetVolumePathNamesForVolumeName[AW]): Add
stubs.
2003-04-26 16:31:29 +08:00
|
|
|
#endif
|
2002-08-04 06:51:15 +08:00
|
|
|
#define EncryptFile EncryptFileA
|
2000-02-18 03:38:33 +08:00
|
|
|
#define EndUpdateResource EndUpdateResourceA
|
|
|
|
#define EnumResourceLanguages EnumResourceLanguagesA
|
|
|
|
#define EnumResourceNames EnumResourceNamesA
|
|
|
|
#define EnumResourceTypes EnumResourceTypesA
|
|
|
|
#define ExpandEnvironmentStrings ExpandEnvironmentStringsA
|
|
|
|
#define FatalAppExit FatalAppExitA
|
2002-08-04 06:51:15 +08:00
|
|
|
#define FileEncryptionStatus FileEncryptionStatusA
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (GetComputerNameEx[AW],
GetProcessIoCounters): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (COMPUTER_NAME_FORMAT):
Move around, needed by GetComputerNameEx.
* include/winbase.h [_WIN32_WINNT >= 0x0501] (FindActCtxSectionGuid,
FindActCtxSectionString[AW], GetCurrentActCtx, GetNativeSystemInfo):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(ACTCTX_SECTION_KEYED_DATA): Add structure.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetProcessHandleCount,
GetProcessId, GetSystemRegistryQuota): Add functions, available on
Windows XP SP1 and better.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION,
ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_WINDOW_CLASS_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_CLR_SURROGATES): Add constants.
* lib/user32.def (FindActCtxSectionGuid, FindActCtxSectionString[AW],
GetComputerNameEx[AW], GetCurrentActCtx, GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetModuleHandleEx[AW],
GetNativeSystemInfo, GetProcessHandleCount, GetProcessIoCounters):
Add functions.
2003-10-07 16:47:06 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
#define FindActCtxSectionString FindActCtxSectionStringA
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define FindAtom FindAtomA
|
|
|
|
#define FindFirstChangeNotification FindFirstChangeNotificationA
|
|
|
|
#define FindFirstFile FindFirstFileA
|
2002-09-24 09:28:00 +08:00
|
|
|
#define FindFirstFileEx FindFirstFileExA
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
2003-03-07 08:51:19 +08:00
|
|
|
#define FindFirstVolume FindFirstVolumeA
|
2003-04-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/winioctl.h: Clean up formatting.
(RETRIEVAL_POINTERS_BUFFER): Add fields to Extents[1] struct.
(CREATE_DISK): Add _ANONYMOUS_UNION macro.
(DISK_CACHE_INFORMATION): Likewise.
(DISK_DETECTION_INFO): Likewise.
(DISK_PARTITION_INFO): Likewise.
(PARTITION_INFORMATION_EX): Likewise.
(DRIVE_LAYOUT_INFORMATION_EX): Likewise.
2003-04-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/winbase.h (DeleteVolumeMountPoint[AW],
FindFirstVolumeMountPoint[AW], FindNextVolumeMountPoint[AW],
FindVolumeMountPointClose, GetVolumeNameForVolumeMountPoint[AW],
GetVolumePathName[AW], GetVolumePathNamesForVolumeName[AW],
SetVolumeMountPoint[AW]): Add prototypes.
* include/winioctl.h (IOCTL_DISK_GET_PARTITION_INFO_EX,
IOCTL_DISK_SET_PARTITION_INFO_EX,
IOCTL_DISK_GET_DRIVE_LAYOUT_EX,
IOCTL_DISK_SET_DRIVE_LAYOUT_EX, IOCTL_DISK_CREATE_DISK,
IOCTL_DISK_GET_LENGTH_INFO, IOCTL_DISK_PERFORMANCE_OFF,
IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, IOCTL_DISK_GROW_PARTITION,
IOCTL_DISK_GET_CACHE_INFORMATION,
IOCTL_DISK_SET_CACHE_INFORMATION,
IOCTL_DISK_DELETE_DRIVE_LAYOUT, IOCTL_DISK_UPDATE_PROPERTIES,
FSCTL_GET_VOLUME_BITMAP, FSCTL_GET_RETRIEVAL_POINTERS,
FSCTL_MOVE_FILE): Define.
(CREATE_DISK_GPT, CREATE_DISK_MBR, CREATE_DISK,
DISK_CACHE_INFORMATION,
DETECTION_TYPE, DISK_INT13_INFO, DISK_EX_INT13_INFO,
DISK_DETECTION_INFO, DISK_GEOMETRY_EX, DISK_GROW_PARTITION,
DISK_PARTITION_INFO, DISKQUOTA_USER_INFORMATION,
GET_LENGTH_INFORMATION, DISK_EXTENT, VOLUME_DISK_EXTENTS,
DRIVE_LAYOUT_INFORMATION_GPT, DRIVE_LAYOUT_INFORMATION_MBR,
PARTITION_INFORMATION_MBR, PARTITION_INFORMATION_GPT,
PARTITION_INFORMATION_EX, DRIVE_LAYOUT_INFORMATION_EX,
MOVE_FILE_DATA,
RETRIEVAL_POINTERS_BUFFER, STARTING_LCN_INPUT_BUFFER,
STARTING_VCN_INPUT_BUFFER, VOLUME_BITMAP_BUFFER): Add structs
(PARTITION_STYLE, DISK_CACHE_RETENTION_PRIORITY): Add enums.
(MEDIA_TYPE): Add F3_120M_512, F3_640_512, F5_640_512,
F5_720_512,
F3_1Pt2_512, F3_1Pt23_1024, F5_1Pt23_1024, F3_128Mb_512,
F3_230Mb_512,
F8_256_128, F3_200Mb_512, F3_240M_512, and F3_32M_512.
* lib/kernel32.def (GetVolumePathNamesForVolumeName[AW]): Add
stubs.
2003-04-26 16:31:29 +08:00
|
|
|
#define FindFirstVolumeMountPoint FindFirstVolumeMountPointA
|
2003-03-07 08:51:19 +08:00
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define FindNextFile FindNextFileA
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
2003-03-07 08:51:19 +08:00
|
|
|
#define FindNextVolume FindNextVolumeA
|
2003-04-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/winioctl.h: Clean up formatting.
(RETRIEVAL_POINTERS_BUFFER): Add fields to Extents[1] struct.
(CREATE_DISK): Add _ANONYMOUS_UNION macro.
(DISK_CACHE_INFORMATION): Likewise.
(DISK_DETECTION_INFO): Likewise.
(DISK_PARTITION_INFO): Likewise.
(PARTITION_INFORMATION_EX): Likewise.
(DRIVE_LAYOUT_INFORMATION_EX): Likewise.
2003-04-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/winbase.h (DeleteVolumeMountPoint[AW],
FindFirstVolumeMountPoint[AW], FindNextVolumeMountPoint[AW],
FindVolumeMountPointClose, GetVolumeNameForVolumeMountPoint[AW],
GetVolumePathName[AW], GetVolumePathNamesForVolumeName[AW],
SetVolumeMountPoint[AW]): Add prototypes.
* include/winioctl.h (IOCTL_DISK_GET_PARTITION_INFO_EX,
IOCTL_DISK_SET_PARTITION_INFO_EX,
IOCTL_DISK_GET_DRIVE_LAYOUT_EX,
IOCTL_DISK_SET_DRIVE_LAYOUT_EX, IOCTL_DISK_CREATE_DISK,
IOCTL_DISK_GET_LENGTH_INFO, IOCTL_DISK_PERFORMANCE_OFF,
IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, IOCTL_DISK_GROW_PARTITION,
IOCTL_DISK_GET_CACHE_INFORMATION,
IOCTL_DISK_SET_CACHE_INFORMATION,
IOCTL_DISK_DELETE_DRIVE_LAYOUT, IOCTL_DISK_UPDATE_PROPERTIES,
FSCTL_GET_VOLUME_BITMAP, FSCTL_GET_RETRIEVAL_POINTERS,
FSCTL_MOVE_FILE): Define.
(CREATE_DISK_GPT, CREATE_DISK_MBR, CREATE_DISK,
DISK_CACHE_INFORMATION,
DETECTION_TYPE, DISK_INT13_INFO, DISK_EX_INT13_INFO,
DISK_DETECTION_INFO, DISK_GEOMETRY_EX, DISK_GROW_PARTITION,
DISK_PARTITION_INFO, DISKQUOTA_USER_INFORMATION,
GET_LENGTH_INFORMATION, DISK_EXTENT, VOLUME_DISK_EXTENTS,
DRIVE_LAYOUT_INFORMATION_GPT, DRIVE_LAYOUT_INFORMATION_MBR,
PARTITION_INFORMATION_MBR, PARTITION_INFORMATION_GPT,
PARTITION_INFORMATION_EX, DRIVE_LAYOUT_INFORMATION_EX,
MOVE_FILE_DATA,
RETRIEVAL_POINTERS_BUFFER, STARTING_LCN_INPUT_BUFFER,
STARTING_VCN_INPUT_BUFFER, VOLUME_BITMAP_BUFFER): Add structs
(PARTITION_STYLE, DISK_CACHE_RETENTION_PRIORITY): Add enums.
(MEDIA_TYPE): Add F3_120M_512, F3_640_512, F5_640_512,
F5_720_512,
F3_1Pt2_512, F3_1Pt23_1024, F5_1Pt23_1024, F3_128Mb_512,
F3_230Mb_512,
F8_256_128, F3_200Mb_512, F3_240M_512, and F3_32M_512.
* lib/kernel32.def (GetVolumePathNamesForVolumeName[AW]): Add
stubs.
2003-04-26 16:31:29 +08:00
|
|
|
#define FindNextVolumeMountPoint FindNextVolumeMountPointA
|
2003-03-07 08:51:19 +08:00
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define FindResource FindResourceA
|
|
|
|
#define FindResourceEx FindResourceExA
|
|
|
|
#define FormatMessage FormatMessageA
|
|
|
|
#define FreeEnvironmentStrings FreeEnvironmentStringsA
|
|
|
|
#define GetAtomName GetAtomNameA
|
|
|
|
#define GetBinaryType GetBinaryTypeA
|
|
|
|
#define GetCommandLine GetCommandLineA
|
|
|
|
#define GetComputerName GetComputerNameA
|
|
|
|
#define GetCompressedFileSize GetCompressedFileSizeA
|
|
|
|
#define GetCurrentDirectory GetCurrentDirectoryA
|
|
|
|
#define GetDefaultCommConfig GetDefaultCommConfigA
|
|
|
|
#define GetDiskFreeSpace GetDiskFreeSpaceA
|
|
|
|
#define GetDiskFreeSpaceEx GetDiskFreeSpaceExA
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (GetComputerNameEx[AW],
GetProcessIoCounters): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (COMPUTER_NAME_FORMAT):
Move around, needed by GetComputerNameEx.
* include/winbase.h [_WIN32_WINNT >= 0x0501] (FindActCtxSectionGuid,
FindActCtxSectionString[AW], GetCurrentActCtx, GetNativeSystemInfo):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(ACTCTX_SECTION_KEYED_DATA): Add structure.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetProcessHandleCount,
GetProcessId, GetSystemRegistryQuota): Add functions, available on
Windows XP SP1 and better.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION,
ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_WINDOW_CLASS_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_CLR_SURROGATES): Add constants.
* lib/user32.def (FindActCtxSectionGuid, FindActCtxSectionString[AW],
GetComputerNameEx[AW], GetCurrentActCtx, GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetModuleHandleEx[AW],
GetNativeSystemInfo, GetProcessHandleCount, GetProcessIoCounters):
Add functions.
2003-10-07 16:47:06 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0502)
|
|
|
|
#define GetDllDirectory GetDllDirectoryA
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define GetDriveType GetDriveTypeA
|
|
|
|
#define GetEnvironmentVariable GetEnvironmentVariableA
|
|
|
|
#define GetFileAttributes GetFileAttributesA
|
|
|
|
#define GetFileSecurity GetFileSecurityA
|
|
|
|
#define GetFileAttributesEx GetFileAttributesExA
|
|
|
|
#define GetFullPathName GetFullPathNameA
|
|
|
|
#define GetLogicalDriveStrings GetLogicalDriveStringsA
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
|
2000-02-18 03:38:33 +08:00
|
|
|
#define GetLongPathName GetLongPathNameA
|
* include/w32api.h (_NT4, _W98, _WME, _NT5, _W2000, _WXP, _W2003,
_IE3, _IE4, _IE5, _IE6): Add definitions.
* include/winbase.h (GetLongPathName[AW]): Add guard for OS >= NT5 or
>= Win98.
Change existing guards to use the above macro names as appropriate.
2003-07-01 20:01:05 +08:00
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define GetNamedPipeHandleState GetNamedPipeHandleStateA
|
|
|
|
#define GetModuleHandle GetModuleHandleA
|
2003-09-06 03:41:22 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
2003-07-23 06:36:03 +08:00
|
|
|
#define GetModuleHandleEx GetModuleHandleExA
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define GetModuleFileName GetModuleFileNameA
|
|
|
|
#define GetPrivateProfileInt GetPrivateProfileIntA
|
|
|
|
#define GetPrivateProfileSection GetPrivateProfileSectionA
|
|
|
|
#define GetPrivateProfileSectionNames GetPrivateProfileSectionNamesA
|
|
|
|
#define GetPrivateProfileString GetPrivateProfileStringA
|
|
|
|
#define GetPrivateProfileStruct GetPrivateProfileStructA
|
|
|
|
#define GetProfileInt GetProfileIntA
|
|
|
|
#define GetProfileSection GetProfileSectionA
|
|
|
|
#define GetProfileString GetProfileStringA
|
|
|
|
#define GetShortPathName GetShortPathNameA
|
|
|
|
#define GetStartupInfo GetStartupInfoA
|
|
|
|
#define GetSystemDirectory GetSystemDirectoryA
|
* include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,
ResetWriteWatch): Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(GetSystemWow64Directory[AW], HeapQueryInformation,
HeapSetInformation, InitializeSListHead, InterlockedFlushSList,
InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob,
IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS):
Add enumeration.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag):
Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError):
Add function. The MSDN Magazine of June 2003 reads:
RestoreLastError is an enigma. It's code is identical to
SetLastError. It's unclear to me why it was made into a
separate API.
* lib/user32.def (GetSystemWindowsDirectory[AW],
GetSystemWow64Directory[AW], GetThreadIOPendingFlag,
HeapQueryInformation, HeapSetInformation, InitializeSListHead,
InterlockedFlushSList, InterlockedPopEntrySList,
InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process,
ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch,
RestoreLastError): Add functions.
2003-10-07 18:14:31 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
|
|
|
#define GetSystemWindowsDirectory GetSystemWindowsDirectoryA
|
|
|
|
#endif
|
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
#define GetSystemWow64Directory GetSystemWow64DirectoryA
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define GetTempFileName GetTempFileNameA
|
|
|
|
#define GetTempPath GetTempPathA
|
|
|
|
#define GetUserName GetUserNameA
|
|
|
|
#define GetVersionEx GetVersionExA
|
|
|
|
#define GetVolumeInformation GetVolumeInformationA
|
2003-04-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/winioctl.h: Clean up formatting.
(RETRIEVAL_POINTERS_BUFFER): Add fields to Extents[1] struct.
(CREATE_DISK): Add _ANONYMOUS_UNION macro.
(DISK_CACHE_INFORMATION): Likewise.
(DISK_DETECTION_INFO): Likewise.
(DISK_PARTITION_INFO): Likewise.
(PARTITION_INFORMATION_EX): Likewise.
(DRIVE_LAYOUT_INFORMATION_EX): Likewise.
2003-04-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/winbase.h (DeleteVolumeMountPoint[AW],
FindFirstVolumeMountPoint[AW], FindNextVolumeMountPoint[AW],
FindVolumeMountPointClose, GetVolumeNameForVolumeMountPoint[AW],
GetVolumePathName[AW], GetVolumePathNamesForVolumeName[AW],
SetVolumeMountPoint[AW]): Add prototypes.
* include/winioctl.h (IOCTL_DISK_GET_PARTITION_INFO_EX,
IOCTL_DISK_SET_PARTITION_INFO_EX,
IOCTL_DISK_GET_DRIVE_LAYOUT_EX,
IOCTL_DISK_SET_DRIVE_LAYOUT_EX, IOCTL_DISK_CREATE_DISK,
IOCTL_DISK_GET_LENGTH_INFO, IOCTL_DISK_PERFORMANCE_OFF,
IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, IOCTL_DISK_GROW_PARTITION,
IOCTL_DISK_GET_CACHE_INFORMATION,
IOCTL_DISK_SET_CACHE_INFORMATION,
IOCTL_DISK_DELETE_DRIVE_LAYOUT, IOCTL_DISK_UPDATE_PROPERTIES,
FSCTL_GET_VOLUME_BITMAP, FSCTL_GET_RETRIEVAL_POINTERS,
FSCTL_MOVE_FILE): Define.
(CREATE_DISK_GPT, CREATE_DISK_MBR, CREATE_DISK,
DISK_CACHE_INFORMATION,
DETECTION_TYPE, DISK_INT13_INFO, DISK_EX_INT13_INFO,
DISK_DETECTION_INFO, DISK_GEOMETRY_EX, DISK_GROW_PARTITION,
DISK_PARTITION_INFO, DISKQUOTA_USER_INFORMATION,
GET_LENGTH_INFORMATION, DISK_EXTENT, VOLUME_DISK_EXTENTS,
DRIVE_LAYOUT_INFORMATION_GPT, DRIVE_LAYOUT_INFORMATION_MBR,
PARTITION_INFORMATION_MBR, PARTITION_INFORMATION_GPT,
PARTITION_INFORMATION_EX, DRIVE_LAYOUT_INFORMATION_EX,
MOVE_FILE_DATA,
RETRIEVAL_POINTERS_BUFFER, STARTING_LCN_INPUT_BUFFER,
STARTING_VCN_INPUT_BUFFER, VOLUME_BITMAP_BUFFER): Add structs
(PARTITION_STYLE, DISK_CACHE_RETENTION_PRIORITY): Add enums.
(MEDIA_TYPE): Add F3_120M_512, F3_640_512, F5_640_512,
F5_720_512,
F3_1Pt2_512, F3_1Pt23_1024, F5_1Pt23_1024, F3_128Mb_512,
F3_230Mb_512,
F8_256_128, F3_200Mb_512, F3_240M_512, and F3_32M_512.
* lib/kernel32.def (GetVolumePathNamesForVolumeName[AW]): Add
stubs.
2003-04-26 16:31:29 +08:00
|
|
|
#define GetVolumeNameForVolumeMountPoint GetVolumeNameForVolumeMountPointA
|
|
|
|
#define GetVolumePathName GetVolumePathNameA
|
|
|
|
#define GetVolumePathNamesForVolumeName GetVolumePathNamesForVolumeNameA
|
2000-02-18 03:38:33 +08:00
|
|
|
#define GetWindowsDirectory GetWindowsDirectoryA
|
|
|
|
#define GlobalAddAtom GlobalAddAtomA
|
|
|
|
#define GlobalFindAtom GlobalFindAtomA
|
|
|
|
#define GlobalGetAtomName GlobalGetAtomNameA
|
|
|
|
#define IsBadStringPtr IsBadStringPtrA
|
|
|
|
#define LoadLibrary LoadLibraryA
|
|
|
|
#define LoadLibraryEx LoadLibraryExA
|
|
|
|
#define LogonUser LogonUserA
|
|
|
|
#define LookupAccountName LookupAccountNameA
|
|
|
|
#define LookupAccountSid LookupAccountSidA
|
|
|
|
#define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameA
|
|
|
|
#define LookupPrivilegeName LookupPrivilegeNameA
|
|
|
|
#define LookupPrivilegeValue LookupPrivilegeValueA
|
|
|
|
#define lstrcat lstrcatA
|
|
|
|
#define lstrcmp lstrcmpA
|
|
|
|
#define lstrcmpi lstrcmpiA
|
|
|
|
#define lstrcpy lstrcpyA
|
|
|
|
#define lstrcpyn lstrcpynA
|
|
|
|
#define lstrlen lstrlenA
|
|
|
|
#define MoveFile MoveFileA
|
|
|
|
#define MoveFileEx MoveFileExA
|
|
|
|
#define ObjectCloseAuditAlarm ObjectCloseAuditAlarmA
|
|
|
|
#define ObjectDeleteAuditAlarm ObjectDeleteAuditAlarmA
|
|
|
|
#define ObjectOpenAuditAlarm ObjectOpenAuditAlarmA
|
|
|
|
#define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmA
|
|
|
|
#define OpenBackupEventLog OpenBackupEventLogA
|
|
|
|
#define OpenEvent OpenEventA
|
|
|
|
#define OpenEventLog OpenEventLogA
|
|
|
|
#define OpenFileMapping OpenFileMappingA
|
|
|
|
#define OpenMutex OpenMutexA
|
|
|
|
#define OpenSemaphore OpenSemaphoreA
|
|
|
|
#define OutputDebugString OutputDebugStringA
|
|
|
|
#define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmA
|
|
|
|
#define QueryDosDevice QueryDosDeviceA
|
|
|
|
#define ReadEventLog ReadEventLogA
|
|
|
|
#define RegisterEventSource RegisterEventSourceA
|
|
|
|
#define RemoveDirectory RemoveDirectoryA
|
* include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,
ResetWriteWatch): Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(GetSystemWow64Directory[AW], HeapQueryInformation,
HeapSetInformation, InitializeSListHead, InterlockedFlushSList,
InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob,
IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS):
Add enumeration.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag):
Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError):
Add function. The MSDN Magazine of June 2003 reads:
RestoreLastError is an enigma. It's code is identical to
SetLastError. It's unclear to me why it was made into a
separate API.
* lib/user32.def (GetSystemWindowsDirectory[AW],
GetSystemWow64Directory[AW], GetThreadIOPendingFlag,
HeapQueryInformation, HeapSetInformation, InitializeSListHead,
InterlockedFlushSList, InterlockedPopEntrySList,
InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process,
ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch,
RestoreLastError): Add functions.
2003-10-07 18:14:31 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
|
|
|
#define ReplaceFile ReplaceFileA
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define ReportEvent ReportEventA
|
|
|
|
#define SearchPath SearchPathA
|
|
|
|
#define SetComputerName SetComputerNameA
|
|
|
|
#define SetCurrentDirectory SetCurrentDirectoryA
|
|
|
|
#define SetDefaultCommConfig SetDefaultCommConfigA
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (SetComputerNameEx[AW],
UnregisterWaitEx): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(AddVectoredExceptionHandler, RemoveVectoredExceptionHandler): Add
or guard function. The MSDN says it is available on Windows XP and
better, and then it says it is declared for _WIN32_WINNT >= 0x0500.
Huh?
* include/winbase.h [_WIN32_WINNT >= 0x0501] (AddRefActCtx,
CreateActCtx[AW], SetFileShortName[AW], SetFileValidData,
ZombifyActCtx, QueryActCtxW): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX,
QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE,
QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS): Add constants.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (SetDllDirectory[AW],
SetFirmwareEnvironmentVariable[AW]): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0500] (VER_BUILDNUMBER,
VER_MAJORVERSION, VER_MINORVERSION, VER_PLATFORMID,
VER_SERVICEPACKMAJOR, VER_SERVICEPACKMINOR, VER_SUITENAME,
VER_PRODUCT_TYPE, VER_EQUAL, VER_GREATER, VER_GREATER_EQUAL,
VER_LESS, VER_LESS_EQUAL, VER_AND, VER_OR): Add constants.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(PVECTORED_EXCEPTION_HANDLER): Add callback.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_INFO_CLASS,
ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_QUERY_INDEX, ASSEMBLY_FILE_DETAILED_INFORMATION):
Add structures.
* lib/user32.def (AddRefActCtx, AddVectoredExceptionHandler,
CreateActCtx[AW], SetComputerNameEx[AW], SetDllDirectory[AW],
SetFileShortName[AW], SetFileValidData,
SetFirmwareEnvironmentVariable[AW], UnregisterWaitEx,
VerSetConditionMask, ZombifyActCtx, QueryActCtxW): Add functions.
2003-10-07 20:55:00 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0502)
|
|
|
|
#define SetDllDirectory SetDllDirectoryA
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define SetEnvironmentVariable SetEnvironmentVariableA
|
|
|
|
#define SetFileAttributes SetFileAttributesA
|
|
|
|
#define SetFileSecurity SetFileSecurityA
|
* include/winbase.h [_WIN32_WINNT >= 0x0500] (SetComputerNameEx[AW],
UnregisterWaitEx): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(AddVectoredExceptionHandler, RemoveVectoredExceptionHandler): Add
or guard function. The MSDN says it is available on Windows XP and
better, and then it says it is declared for _WIN32_WINNT >= 0x0500.
Huh?
* include/winbase.h [_WIN32_WINNT >= 0x0501] (AddRefActCtx,
CreateActCtx[AW], SetFileShortName[AW], SetFileValidData,
ZombifyActCtx, QueryActCtxW): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX,
QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE,
QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS): Add constants.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (SetDllDirectory[AW],
SetFirmwareEnvironmentVariable[AW]): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0500] (VER_BUILDNUMBER,
VER_MAJORVERSION, VER_MINORVERSION, VER_PLATFORMID,
VER_SERVICEPACKMAJOR, VER_SERVICEPACKMINOR, VER_SUITENAME,
VER_PRODUCT_TYPE, VER_EQUAL, VER_GREATER, VER_GREATER_EQUAL,
VER_LESS, VER_LESS_EQUAL, VER_AND, VER_OR): Add constants.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(PVECTORED_EXCEPTION_HANDLER): Add callback.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_INFO_CLASS,
ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_QUERY_INDEX, ASSEMBLY_FILE_DETAILED_INFORMATION):
Add structures.
* lib/user32.def (AddRefActCtx, AddVectoredExceptionHandler,
CreateActCtx[AW], SetComputerNameEx[AW], SetDllDirectory[AW],
SetFileShortName[AW], SetFileValidData,
SetFirmwareEnvironmentVariable[AW], UnregisterWaitEx,
VerSetConditionMask, ZombifyActCtx, QueryActCtxW): Add functions.
2003-10-07 20:55:00 +08:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
#define SetFileShortName SetFileShortNameA
|
|
|
|
#endif
|
|
|
|
#if (_WIN32_WINNT >= 0x0502)
|
|
|
|
#define SetFirmwareEnvironmentVariable SetFirmwareEnvironmentVariableA
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
#define SetVolumeLabel SetVolumeLabelA
|
2003-04-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/winioctl.h: Clean up formatting.
(RETRIEVAL_POINTERS_BUFFER): Add fields to Extents[1] struct.
(CREATE_DISK): Add _ANONYMOUS_UNION macro.
(DISK_CACHE_INFORMATION): Likewise.
(DISK_DETECTION_INFO): Likewise.
(DISK_PARTITION_INFO): Likewise.
(PARTITION_INFORMATION_EX): Likewise.
(DRIVE_LAYOUT_INFORMATION_EX): Likewise.
2003-04-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/winbase.h (DeleteVolumeMountPoint[AW],
FindFirstVolumeMountPoint[AW], FindNextVolumeMountPoint[AW],
FindVolumeMountPointClose, GetVolumeNameForVolumeMountPoint[AW],
GetVolumePathName[AW], GetVolumePathNamesForVolumeName[AW],
SetVolumeMountPoint[AW]): Add prototypes.
* include/winioctl.h (IOCTL_DISK_GET_PARTITION_INFO_EX,
IOCTL_DISK_SET_PARTITION_INFO_EX,
IOCTL_DISK_GET_DRIVE_LAYOUT_EX,
IOCTL_DISK_SET_DRIVE_LAYOUT_EX, IOCTL_DISK_CREATE_DISK,
IOCTL_DISK_GET_LENGTH_INFO, IOCTL_DISK_PERFORMANCE_OFF,
IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, IOCTL_DISK_GROW_PARTITION,
IOCTL_DISK_GET_CACHE_INFORMATION,
IOCTL_DISK_SET_CACHE_INFORMATION,
IOCTL_DISK_DELETE_DRIVE_LAYOUT, IOCTL_DISK_UPDATE_PROPERTIES,
FSCTL_GET_VOLUME_BITMAP, FSCTL_GET_RETRIEVAL_POINTERS,
FSCTL_MOVE_FILE): Define.
(CREATE_DISK_GPT, CREATE_DISK_MBR, CREATE_DISK,
DISK_CACHE_INFORMATION,
DETECTION_TYPE, DISK_INT13_INFO, DISK_EX_INT13_INFO,
DISK_DETECTION_INFO, DISK_GEOMETRY_EX, DISK_GROW_PARTITION,
DISK_PARTITION_INFO, DISKQUOTA_USER_INFORMATION,
GET_LENGTH_INFORMATION, DISK_EXTENT, VOLUME_DISK_EXTENTS,
DRIVE_LAYOUT_INFORMATION_GPT, DRIVE_LAYOUT_INFORMATION_MBR,
PARTITION_INFORMATION_MBR, PARTITION_INFORMATION_GPT,
PARTITION_INFORMATION_EX, DRIVE_LAYOUT_INFORMATION_EX,
MOVE_FILE_DATA,
RETRIEVAL_POINTERS_BUFFER, STARTING_LCN_INPUT_BUFFER,
STARTING_VCN_INPUT_BUFFER, VOLUME_BITMAP_BUFFER): Add structs
(PARTITION_STYLE, DISK_CACHE_RETENTION_PRIORITY): Add enums.
(MEDIA_TYPE): Add F3_120M_512, F3_640_512, F5_640_512,
F5_720_512,
F3_1Pt2_512, F3_1Pt23_1024, F5_1Pt23_1024, F3_128Mb_512,
F3_230Mb_512,
F8_256_128, F3_200Mb_512, F3_240M_512, and F3_32M_512.
* lib/kernel32.def (GetVolumePathNamesForVolumeName[AW]): Add
stubs.
2003-04-26 16:31:29 +08:00
|
|
|
#define SetVolumeMountPoint SetVolumeMountPointA
|
2000-02-18 03:38:33 +08:00
|
|
|
#define UpdateResource UpdateResourceA
|
2001-12-03 Earnie Boyd <earnie@users.sf.net>
* include/accctrl.h: Change \r\n to \n.
2001-11-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/ipexport.h (IP_UNIDIRECTIONAL_ADAPTER_ADDRESS):
Add structure definition.
* include/iptypes.h (IP_PER_ADAPTER_INFO): Ditto.
* include/iphlpapi.h (AddIPAddress,CreateProxyArpEntry,
DeleteIPAddress,DeleteProxyArpEntry,EnableRouter,
FlushIpNetTable,GetAdapterIndex,GetPerAdapterInfo,
GetUniDirectionalAdapterInfo,SendARP,SetAdapterIpAddress,
UnenableRouter) Declare functions.
* lib/iphlpapi.def: Add function names to import lib.
2001-11-24 Danny Smith <dannysmith@users.sourceforge.net>
* include/winnt.h (PACCESS_MASK): Add typedef.
* include/aclapi.h: New file.
* include/acctrl.h: New file.
* lib/advapi32.def: Add missing symbols.
* lib/test.c: Add #include <aclapi.h>.
2001-11-23 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (OSVERSIONINFO[AW],VER_PLATFORM_WIN32s,
VER_PLATFORM_WIN32_WINDOWS,VER_PLATFORM_WIN32_NT): Move from
here ...
* include/winnt.h: ... to here.
* include/winbase.h (VerifyVersionInfo[AW]): Add declaration.
* include/winnt.h (OSVERSIONINFOEX[AW]): Add structure definitions
and typedefs.
(VER_NT_WORKSTATION,VER_NT_DOMAIN_CONTROLLER,VER_NT_SERVER):
Add defines.
2001-11-19 Pierre Muller <muller@ics.u-strasbg.fr>
* w32api/include/winnt.h: prepare SSE register support.
(CONTEXT_EXTENDED_REGISTERS): Add new define.
(MAXIMUM_SUPPORTED_EXTENSION): New define.
(struct CONTEXT): ExtendedRegisters field added.
2001-11-16 Danny Smith <dannysmith@users.sourceforge.net>
* include/winuser.h (tagALTTABINFO, tagCOMBOBOXINFO,
tagCURSORINFO, tagMENUBARINFO, tagMENUINFO, tagMONITORINFO
tagSCROLLBARINFO, tagTITLEBARINFO. tagWINDOWINFO,
tagLASTINPUTINFO ): Define new structures.
(EndMenu, GetAltTabInfo[AW],GetComboBoxInfo,GetCursorInfo,
GetLastInputInfo, GetListBoxInfo, GetMenuBarInfo,
GetMonitorInfo[AW], GetScrollBarInfo, GetTitleBarInfo,
GetWindowInfo, GetWindowModuleFileName[AW],GetMenuInfo
SetMenuInfo): Add new prototypes.
* lib/user32.def: Add import stubs for above functions.
* include/winuser.h (IDC_STATIC): Protect against prior
definition.
2001-11-12 Corinna Vinschen <corinna@vinschen.de>
* include/winbase.h (OSVERSIONINFOEX): Add definition.
* include/winnt.h: Add VER_NT_* and VER_SUITE_* defines.
2001-11-10 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h: Add Danny Smith's text comment about gcc compiler
warnings with _AUTHORITY #defines.
2001-11-09 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h (GetCurrentFiber): Create a prototype before the
implementation;
(GetFiberData): Ditto.
2001-11-09 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h: Backout last change.
2001-12-04 03:59:34 +08:00
|
|
|
#define VerifyVersionInfo VerifyVersionInfoA
|
2000-02-18 03:38:33 +08:00
|
|
|
#define WaitNamedPipe WaitNamedPipeA
|
|
|
|
#define WritePrivateProfileSection WritePrivateProfileSectionA
|
|
|
|
#define WritePrivateProfileString WritePrivateProfileStringA
|
|
|
|
#define WritePrivateProfileStruct WritePrivateProfileStructA
|
|
|
|
#define WriteProfileSection WriteProfileSectionA
|
|
|
|
#define WriteProfileString WriteProfileStringA
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /* _WINBASE_H */
|