From f04e74f78fcca03cccdc7ad97a1ecd9402930125 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Mon, 15 Dec 2008 21:45:18 -0600 Subject: [PATCH 1/6] fix windows editors --- basis/editors/editpadlite/editpadlite.factor | 2 +- basis/editors/editpadpro/editpadpro.factor | 2 +- basis/editors/editplus/editplus.factor | 3 ++- basis/editors/emeditor/emeditor.factor | 3 ++- basis/editors/etexteditor/etexteditor.factor | 4 ++-- basis/editors/gvim/windows/windows.factor | 3 ++- basis/editors/notepad2/notepad2.factor | 4 ++-- basis/editors/notepadpp/notepadpp.factor | 2 +- basis/editors/scite/scite.factor | 2 +- basis/editors/ted-notepad/ted-notepad.factor | 2 +- basis/editors/textpad/authors.txt | 1 + basis/editors/textpad/summary.txt | 1 + basis/editors/textpad/textpad.factor | 16 ++++++++++++++++ basis/editors/ultraedit/ultraedit.factor | 2 +- basis/editors/wordpad/wordpad.factor | 2 +- 15 files changed, 35 insertions(+), 14 deletions(-) create mode 100644 basis/editors/textpad/authors.txt create mode 100644 basis/editors/textpad/summary.txt create mode 100644 basis/editors/textpad/textpad.factor diff --git a/basis/editors/editpadlite/editpadlite.factor b/basis/editors/editpadlite/editpadlite.factor index c002c2fa75..0ffb4f7d95 100644 --- a/basis/editors/editpadlite/editpadlite.factor +++ b/basis/editors/editpadlite/editpadlite.factor @@ -1,6 +1,6 @@ USING: definitions kernel parser words sequences math.parser namespaces editors io.launcher windows.shell32 io.files -io.paths.windows strings unicode.case make ; +io.directories.search.windows strings unicode.case make ; IN: editors.editpadlite : editpadlite-path ( -- path ) diff --git a/basis/editors/editpadpro/editpadpro.factor b/basis/editors/editpadpro/editpadpro.factor index 2a7f92f932..6c540b0e21 100644 --- a/basis/editors/editpadpro/editpadpro.factor +++ b/basis/editors/editpadpro/editpadpro.factor @@ -1,6 +1,6 @@ USING: definitions kernel parser words sequences math.parser namespaces editors io.launcher windows.shell32 io.files -io.paths.windows strings unicode.case make ; +io.directories.search.windows strings unicode.case make ; IN: editors.editpadpro : editpadpro-path ( -- path ) diff --git a/basis/editors/editplus/editplus.factor b/basis/editors/editplus/editplus.factor index 9fa477f51a..cfcc42dced 100644 --- a/basis/editors/editplus/editplus.factor +++ b/basis/editors/editplus/editplus.factor @@ -1,5 +1,6 @@ USING: editors io.files io.launcher kernel math.parser -namespaces sequences windows.shell32 make io.paths.windows ; +namespaces sequences windows.shell32 make +io.directories.search.windows ; IN: editors.editplus : editplus-path ( -- path ) diff --git a/basis/editors/emeditor/emeditor.factor b/basis/editors/emeditor/emeditor.factor index fc3deae670..f946095578 100644 --- a/basis/editors/emeditor/emeditor.factor +++ b/basis/editors/emeditor/emeditor.factor @@ -1,5 +1,6 @@ USING: editors io.files io.launcher kernel math.parser -namespaces sequences windows.shell32 make io.paths.windows ; +namespaces sequences windows.shell32 make +io.directories.search.windows ; IN: editors.emeditor : emeditor-path ( -- path ) diff --git a/basis/editors/etexteditor/etexteditor.factor b/basis/editors/etexteditor/etexteditor.factor index c4b3ad35c1..375559c20a 100755 --- a/basis/editors/etexteditor/etexteditor.factor +++ b/basis/editors/etexteditor/etexteditor.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2008 Kibleur Christophe. ! See http://factorcode.org/license.txt for BSD license. -USING: editors io.files io.launcher kernel math.parser -namespaces sequences windows.shell32 io.paths.windows make ; +USING: editors io.files io.launcher kernel math.parser make +namespaces sequences windows.shell32 io.directories.search.windows ; IN: editors.etexteditor : etexteditor-path ( -- str ) diff --git a/basis/editors/gvim/windows/windows.factor b/basis/editors/gvim/windows/windows.factor index 1a6f8e902c..b574e7f824 100644 --- a/basis/editors/gvim/windows/windows.factor +++ b/basis/editors/gvim/windows/windows.factor @@ -1,5 +1,6 @@ USING: editors.gvim io.files kernel namespaces sequences -windows.shell32 io.paths.windows system ; +windows.shell32 io.directories.search.windows system +io.pathnames ; IN: editors.gvim.windows M: windows gvim-path diff --git a/basis/editors/notepad2/notepad2.factor b/basis/editors/notepad2/notepad2.factor index e22de4f68d..c21d5283dd 100644 --- a/basis/editors/notepad2/notepad2.factor +++ b/basis/editors/notepad2/notepad2.factor @@ -1,10 +1,10 @@ USING: editors io.files io.launcher kernel math.parser -namespaces sequences windows.shell32 make ; +namespaces sequences windows.shell32 make io.pathnames ; IN: editors.notepad2 : notepad2-path ( -- path ) \ notepad2-path get-global [ - "C:\\Windows\\system32\\notepad.exe" + windows-directory "system32\\notepad.exe" append-path ] unless* ; : notepad2 ( file line -- ) diff --git a/basis/editors/notepadpp/notepadpp.factor b/basis/editors/notepadpp/notepadpp.factor index d68008c2ca..5acaef10a7 100644 --- a/basis/editors/notepadpp/notepadpp.factor +++ b/basis/editors/notepadpp/notepadpp.factor @@ -1,5 +1,5 @@ USING: editors io.files io.launcher kernel math.parser -namespaces sequences io.paths.windows make ; +namespaces sequences io.directories.search.windows make ; IN: editors.notepadpp : notepadpp-path ( -- path ) diff --git a/basis/editors/scite/scite.factor b/basis/editors/scite/scite.factor index e0b48a3e72..3bfd764b06 100644 --- a/basis/editors/scite/scite.factor +++ b/basis/editors/scite/scite.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2007 Clemens F. Hofreither. ! See http://factorcode.org/license.txt for BSD license. ! clemens.hofreither@gmx.net -USING: io.files io.launcher kernel namespaces io.paths.windows +USING: io.files io.launcher kernel namespaces io.directories.search.windows math math.parser editors sequences make unicode.case ; IN: editors.scite diff --git a/basis/editors/ted-notepad/ted-notepad.factor b/basis/editors/ted-notepad/ted-notepad.factor index 994dc60ba3..41f5ff5fa5 100644 --- a/basis/editors/ted-notepad/ted-notepad.factor +++ b/basis/editors/ted-notepad/ted-notepad.factor @@ -1,5 +1,5 @@ USING: editors io.files io.launcher kernel math.parser -namespaces sequences io.paths.windows make ; +namespaces sequences io.directories.search.windows make ; IN: editors.ted-notepad : ted-notepad-path ( -- path ) diff --git a/basis/editors/textpad/authors.txt b/basis/editors/textpad/authors.txt new file mode 100644 index 0000000000..7c1b2f2279 --- /dev/null +++ b/basis/editors/textpad/authors.txt @@ -0,0 +1 @@ +Doug Coleman diff --git a/basis/editors/textpad/summary.txt b/basis/editors/textpad/summary.txt new file mode 100644 index 0000000000..c8820501ae --- /dev/null +++ b/basis/editors/textpad/summary.txt @@ -0,0 +1 @@ +TextPad editor integration diff --git a/basis/editors/textpad/textpad.factor b/basis/editors/textpad/textpad.factor new file mode 100644 index 0000000000..4963eab66f --- /dev/null +++ b/basis/editors/textpad/textpad.factor @@ -0,0 +1,16 @@ +USING: editors io.files io.launcher kernel math.parser +namespaces sequences make io.directories.search +io.directories.search.windows ; +IN: editors.textpad + +: textpad-path ( -- path ) + \ textpad-path get-global [ + "TextPad 5" t [ "TextPad.exe" tail? ] find-in-program-files + ] unless* ; + +: textpad ( file line -- ) + [ + textpad-path , [ , ] [ number>string "(" ",0)" surround , ] bi* + ] { } make run-detached drop ; + +[ textpad ] edit-hook set-global diff --git a/basis/editors/ultraedit/ultraedit.factor b/basis/editors/ultraedit/ultraedit.factor index f1929ebf64..088d3cabbf 100644 --- a/basis/editors/ultraedit/ultraedit.factor +++ b/basis/editors/ultraedit/ultraedit.factor @@ -1,5 +1,5 @@ USING: editors io.files io.launcher kernel math.parser -namespaces sequences io.paths.windows make ; +namespaces sequences io.directories.search.windows make ; IN: editors.ultraedit : ultraedit-path ( -- path ) diff --git a/basis/editors/wordpad/wordpad.factor b/basis/editors/wordpad/wordpad.factor index fa0f6852dd..ef670d5d28 100644 --- a/basis/editors/wordpad/wordpad.factor +++ b/basis/editors/wordpad/wordpad.factor @@ -1,4 +1,4 @@ -USING: editors io.launcher kernel io.paths.windows +USING: editors io.launcher kernel io.directories.search.windows math.parser namespaces sequences io.files arrays ; IN: editors.wordpad From bc4b8c8dee324c3de0baf9561920c6240c19e481 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Mon, 15 Dec 2008 21:45:36 -0600 Subject: [PATCH 2/6] fix using and in, rename windows -> windows-directory in shell32 --- basis/io/directories/search/search.factor | 2 +- basis/io/directories/search/windows/windows.factor | 5 +++-- basis/windows/shell32/shell32.factor | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/basis/io/directories/search/search.factor b/basis/io/directories/search/search.factor index 17f8552c2b..137e919412 100755 --- a/basis/io/directories/search/search.factor +++ b/basis/io/directories/search/search.factor @@ -56,4 +56,4 @@ PRIVATE> : find-in-directories ( directories bfs? quot -- path' ) '[ _ _ find-file ] attempt-all ; inline -os windows? [ "io.paths.windows" require ] when +os windows? [ "io.directories.search.windows" require ] when diff --git a/basis/io/directories/search/windows/windows.factor b/basis/io/directories/search/windows/windows.factor index b9ef53f4f5..91a4afd20d 100644 --- a/basis/io/directories/search/windows/windows.factor +++ b/basis/io/directories/search/windows/windows.factor @@ -1,7 +1,8 @@ ! Copyright (C) 2008 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: arrays fry io.pathnames kernel sequences windows.shell32 ; -IN: io.paths +USING: arrays fry io.pathnames kernel sequences windows.shell32 +io.directories.search ; +IN: io.directories.search.windows : program-files-directories ( -- array ) program-files program-files-x86 2array ; inline diff --git a/basis/windows/shell32/shell32.factor b/basis/windows/shell32/shell32.factor index 13d71f1ff3..9fe83840e4 100644 --- a/basis/windows/shell32/shell32.factor +++ b/basis/windows/shell32/shell32.factor @@ -105,7 +105,7 @@ FUNCTION: HINSTANCE ShellExecuteW ( HWND hwnd, LPCTSTR lpOperation, LPCTSTR lpFi : application-data ( -- str ) CSIDL_APPDATA shell32-directory ; -: windows ( -- str ) +: windows-directory ( -- str ) CSIDL_WINDOWS shell32-directory ; : programs ( -- str ) From 1ae5a3e08e651bfd4d4ef27786f70440d3bcdd20 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Mon, 15 Dec 2008 21:52:53 -0600 Subject: [PATCH 3/6] use CONSTANT: and fix compile errors --- basis/windows/shell32/shell32.factor | 219 +++++++++++++-------------- 1 file changed, 109 insertions(+), 110 deletions(-) diff --git a/basis/windows/shell32/shell32.factor b/basis/windows/shell32/shell32.factor index 9fe83840e4..1282d3b9a5 100644 --- a/basis/windows/shell32/shell32.factor +++ b/basis/windows/shell32/shell32.factor @@ -3,87 +3,87 @@ USING: alien alien.c-types alien.strings alien.syntax combinators io.encodings.utf16n io.files io.pathnames kernel windows windows.com windows.com.syntax windows.ole32 -windows.user32 ; +windows.user32 constants alias ; IN: windows.shell32 -: CSIDL_DESKTOP HEX: 00 ; inline -: CSIDL_INTERNET HEX: 01 ; inline -: CSIDL_PROGRAMS HEX: 02 ; inline -: CSIDL_CONTROLS HEX: 03 ; inline -: CSIDL_PRINTERS HEX: 04 ; inline -: CSIDL_PERSONAL HEX: 05 ; inline -: CSIDL_FAVORITES HEX: 06 ; inline -: CSIDL_STARTUP HEX: 07 ; inline -: CSIDL_RECENT HEX: 08 ; inline -: CSIDL_SENDTO HEX: 09 ; inline -: CSIDL_BITBUCKET HEX: 0a ; inline -: CSIDL_STARTMENU HEX: 0b ; inline -: CSIDL_MYDOCUMENTS HEX: 0c ; inline -: CSIDL_MYMUSIC HEX: 0d ; inline -: CSIDL_MYVIDEO HEX: 0e ; inline -: CSIDL_DESKTOPDIRECTORY HEX: 10 ; inline -: CSIDL_DRIVES HEX: 11 ; inline -: CSIDL_NETWORK HEX: 12 ; inline -: CSIDL_NETHOOD HEX: 13 ; inline -: CSIDL_FONTS HEX: 14 ; inline -: CSIDL_TEMPLATES HEX: 15 ; inline -: CSIDL_COMMON_STARTMENU HEX: 16 ; inline -: CSIDL_COMMON_PROGRAMS HEX: 17 ; inline -: CSIDL_COMMON_STARTUP HEX: 18 ; inline -: CSIDL_COMMON_DESKTOPDIRECTORY HEX: 19 ; inline -: CSIDL_APPDATA HEX: 1a ; inline -: CSIDL_PRINTHOOD HEX: 1b ; inline -: CSIDL_LOCAL_APPDATA HEX: 1c ; inline -: CSIDL_ALTSTARTUP HEX: 1d ; inline -: CSIDL_COMMON_ALTSTARTUP HEX: 1e ; inline -: CSIDL_COMMON_FAVORITES HEX: 1f ; inline -: CSIDL_INTERNET_CACHE HEX: 20 ; inline -: CSIDL_COOKIES HEX: 21 ; inline -: CSIDL_HISTORY HEX: 22 ; inline -: CSIDL_COMMON_APPDATA HEX: 23 ; inline -: CSIDL_WINDOWS HEX: 24 ; inline -: CSIDL_SYSTEM HEX: 25 ; inline -: CSIDL_PROGRAM_FILES HEX: 26 ; inline -: CSIDL_MYPICTURES HEX: 27 ; inline -: CSIDL_PROFILE HEX: 28 ; inline -: CSIDL_SYSTEMX86 HEX: 29 ; inline -: CSIDL_PROGRAM_FILESX86 HEX: 2a ; inline -: CSIDL_PROGRAM_FILES_COMMON HEX: 2b ; inline -: CSIDL_PROGRAM_FILES_COMMONX86 HEX: 2c ; inline -: CSIDL_COMMON_TEMPLATES HEX: 2d ; inline -: CSIDL_COMMON_DOCUMENTS HEX: 2e ; inline -: CSIDL_COMMON_ADMINTOOLS HEX: 2f ; inline -: CSIDL_ADMINTOOLS HEX: 30 ; inline -: CSIDL_CONNECTIONS HEX: 31 ; inline -: CSIDL_COMMON_MUSIC HEX: 35 ; inline -: CSIDL_COMMON_PICTURES HEX: 36 ; inline -: CSIDL_COMMON_VIDEO HEX: 37 ; inline -: CSIDL_RESOURCES HEX: 38 ; inline -: CSIDL_RESOURCES_LOCALIZED HEX: 39 ; inline -: CSIDL_COMMON_OEM_LINKS HEX: 3a ; inline -: CSIDL_CDBURN_AREA HEX: 3b ; inline -: CSIDL_COMPUTERSNEARME HEX: 3d ; inline -: CSIDL_PROFILES HEX: 3e ; inline -: CSIDL_FOLDER_MASK HEX: ff ; inline -: CSIDL_FLAG_PER_USER_INIT HEX: 800 ; inline -: CSIDL_FLAG_NO_ALIAS HEX: 1000 ; inline -: CSIDL_FLAG_DONT_VERIFY HEX: 4000 ; inline -: CSIDL_FLAG_CREATE HEX: 8000 ; inline -: CSIDL_FLAG_MASK HEX: ff00 ; inline +CONSTANT: CSIDL_DESKTOP HEX: 00 +CONSTANT: CSIDL_INTERNET HEX: 01 +CONSTANT: CSIDL_PROGRAMS HEX: 02 +CONSTANT: CSIDL_CONTROLS HEX: 03 +CONSTANT: CSIDL_PRINTERS HEX: 04 +CONSTANT: CSIDL_PERSONAL HEX: 05 +CONSTANT: CSIDL_FAVORITES HEX: 06 +CONSTANT: CSIDL_STARTUP HEX: 07 +CONSTANT: CSIDL_RECENT HEX: 08 +CONSTANT: CSIDL_SENDTO HEX: 09 +CONSTANT: CSIDL_BITBUCKET HEX: 0a +CONSTANT: CSIDL_STARTMENU HEX: 0b +CONSTANT: CSIDL_MYDOCUMENTS HEX: 0c +CONSTANT: CSIDL_MYMUSIC HEX: 0d +CONSTANT: CSIDL_MYVIDEO HEX: 0e +CONSTANT: CSIDL_DESKTOPDIRECTORY HEX: 10 +CONSTANT: CSIDL_DRIVES HEX: 11 +CONSTANT: CSIDL_NETWORK HEX: 12 +CONSTANT: CSIDL_NETHOOD HEX: 13 +CONSTANT: CSIDL_FONTS HEX: 14 +CONSTANT: CSIDL_TEMPLATES HEX: 15 +CONSTANT: CSIDL_COMMON_STARTMENU HEX: 16 +CONSTANT: CSIDL_COMMON_PROGRAMS HEX: 17 +CONSTANT: CSIDL_COMMON_STARTUP HEX: 18 +CONSTANT: CSIDL_COMMON_DESKTOPDIRECTORY HEX: 19 +CONSTANT: CSIDL_APPDATA HEX: 1a +CONSTANT: CSIDL_PRINTHOOD HEX: 1b +CONSTANT: CSIDL_LOCAL_APPDATA HEX: 1c +CONSTANT: CSIDL_ALTSTARTUP HEX: 1d +CONSTANT: CSIDL_COMMON_ALTSTARTUP HEX: 1e +CONSTANT: CSIDL_COMMON_FAVORITES HEX: 1f +CONSTANT: CSIDL_INTERNET_CACHE HEX: 20 +CONSTANT: CSIDL_COOKIES HEX: 21 +CONSTANT: CSIDL_HISTORY HEX: 22 +CONSTANT: CSIDL_COMMON_APPDATA HEX: 23 +CONSTANT: CSIDL_WINDOWS HEX: 24 +CONSTANT: CSIDL_SYSTEM HEX: 25 +CONSTANT: CSIDL_PROGRAM_FILES HEX: 26 +CONSTANT: CSIDL_MYPICTURES HEX: 27 +CONSTANT: CSIDL_PROFILE HEX: 28 +CONSTANT: CSIDL_SYSTEMX86 HEX: 29 +CONSTANT: CSIDL_PROGRAM_FILESX86 HEX: 2a +CONSTANT: CSIDL_PROGRAM_FILES_COMMON HEX: 2b +CONSTANT: CSIDL_PROGRAM_FILES_COMMONX86 HEX: 2c +CONSTANT: CSIDL_COMMON_TEMPLATES HEX: 2d +CONSTANT: CSIDL_COMMON_DOCUMENTS HEX: 2e +CONSTANT: CSIDL_COMMON_ADMINTOOLS HEX: 2f +CONSTANT: CSIDL_ADMINTOOLS HEX: 30 +CONSTANT: CSIDL_CONNECTIONS HEX: 31 +CONSTANT: CSIDL_COMMON_MUSIC HEX: 35 +CONSTANT: CSIDL_COMMON_PICTURES HEX: 36 +CONSTANT: CSIDL_COMMON_VIDEO HEX: 37 +CONSTANT: CSIDL_RESOURCES HEX: 38 +CONSTANT: CSIDL_RESOURCES_LOCALIZED HEX: 39 +CONSTANT: CSIDL_COMMON_OEM_LINKS HEX: 3a +CONSTANT: CSIDL_CDBURN_AREA HEX: 3b +CONSTANT: CSIDL_COMPUTERSNEARME HEX: 3d +CONSTANT: CSIDL_PROFILES HEX: 3e +CONSTANT: CSIDL_FOLDER_MASK HEX: ff +CONSTANT: CSIDL_FLAG_PER_USER_INIT HEX: 800 +CONSTANT: CSIDL_FLAG_NO_ALIAS HEX: 1000 +CONSTANT: CSIDL_FLAG_DONT_VERIFY HEX: 4000 +CONSTANT: CSIDL_FLAG_CREATE HEX: 8000 +CONSTANT: CSIDL_FLAG_MASK HEX: ff00 -: ERROR_FILE_NOT_FOUND 2 ; inline +CONSTANT: ERROR_FILE_NOT_FOUND 2 -: SHGFP_TYPE_CURRENT 0 ; inline -: SHGFP_TYPE_DEFAULT 1 ; inline +CONSTANT: SHGFP_TYPE_CURRENT 0 +CONSTANT: SHGFP_TYPE_DEFAULT 1 LIBRARY: shell32 FUNCTION: HRESULT SHGetFolderPathW ( HWND hwndOwner, int nFolder, HANDLE hToken, DWORD dwReserved, LPTSTR pszPath ) ; -: SHGetFolderPath SHGetFolderPathW ; inline +ALIAS: SHGetFolderPath SHGetFolderPathW FUNCTION: HINSTANCE ShellExecuteW ( HWND hwnd, LPCTSTR lpOperation, LPCTSTR lpFile, LPCTSTR lpParameters, LPCTSTR lpDirectory, INT nShowCmd ) ; -: ShellExecute ShellExecuteW ; inline +ALIAS: ShellExecute ShellExecuteW : open-in-explorer ( dir -- ) f "open" rot (normalize-path) f f SW_SHOWNORMAL ShellExecute drop ; @@ -123,50 +123,50 @@ FUNCTION: HINSTANCE ShellExecuteW ( HWND hwnd, LPCTSTR lpOperation, LPCTSTR lpFi : program-files-common-x86 ( -- str ) CSIDL_PROGRAM_FILES_COMMONX86 shell32-directory ; -: SHCONTF_FOLDERS 32 ; inline -: SHCONTF_NONFOLDERS 64 ; inline -: SHCONTF_INCLUDEHIDDEN 128 ; inline -: SHCONTF_INIT_ON_FIRST_NEXT 256 ; inline -: SHCONTF_NETPRINTERSRCH 512 ; inline -: SHCONTF_SHAREABLE 1024 ; inline -: SHCONTF_STORAGE 2048 ; inline +CONSTANT: SHCONTF_FOLDERS 32 +CONSTANT: SHCONTF_NONFOLDERS 64 +CONSTANT: SHCONTF_INCLUDEHIDDEN 128 +CONSTANT: SHCONTF_INIT_ON_FIRST_NEXT 256 +CONSTANT: SHCONTF_NETPRINTERSRCH 512 +CONSTANT: SHCONTF_SHAREABLE 1024 +CONSTANT: SHCONTF_STORAGE 2048 TYPEDEF: DWORD SHCONTF -: SHGDN_NORMAL 0 ; inline -: SHGDN_INFOLDER 1 ; inline -: SHGDN_FOREDITING HEX: 1000 ; inline -: SHGDN_INCLUDE_NONFILESYS HEX: 2000 ; inline -: SHGDN_FORADDRESSBAR HEX: 4000 ; inline -: SHGDN_FORPARSING HEX: 8000 ; inline +CONSTANT: SHGDN_NORMAL 0 +CONSTANT: SHGDN_INFOLDER 1 +CONSTANT: SHGDN_FOREDITING HEX: 1000 +CONSTANT: SHGDN_INCLUDE_NONFILESYS HEX: 2000 +CONSTANT: SHGDN_FORADDRESSBAR HEX: 4000 +CONSTANT: SHGDN_FORPARSING HEX: 8000 TYPEDEF: DWORD SHGDNF -: SFGAO_CANCOPY DROPEFFECT_COPY ; inline -: SFGAO_CANMOVE DROPEFFECT_MOVE ; inline -: SFGAO_CANLINK DROPEFFECT_LINK ; inline -: SFGAO_CANRENAME HEX: 00000010 ; inline -: SFGAO_CANDELETE HEX: 00000020 ; inline -: SFGAO_HASPROPSHEET HEX: 00000040 ; inline -: SFGAO_DROPTARGET HEX: 00000100 ; inline -: SFGAO_CAPABILITYMASK HEX: 00000177 ; inline -: SFGAO_LINK HEX: 00010000 ; inline -: SFGAO_SHARE HEX: 00020000 ; inline -: SFGAO_READONLY HEX: 00040000 ; inline -: SFGAO_GHOSTED HEX: 00080000 ; inline -: SFGAO_HIDDEN HEX: 00080000 ; inline -: SFGAO_DISPLAYATTRMASK HEX: 000F0000 ; inline -: SFGAO_FILESYSANCESTOR HEX: 10000000 ; inline -: SFGAO_FOLDER HEX: 20000000 ; inline -: SFGAO_FILESYSTEM HEX: 40000000 ; inline -: SFGAO_HASSUBFOLDER HEX: 80000000 ; inline -: SFGAO_CONTENTSMASK HEX: 80000000 ; inline -: SFGAO_VALIDATE HEX: 01000000 ; inline -: SFGAO_REMOVABLE HEX: 02000000 ; inline -: SFGAO_COMPRESSED HEX: 04000000 ; inline -: SFGAO_BROWSABLE HEX: 08000000 ; inline -: SFGAO_NONENUMERATED HEX: 00100000 ; inline -: SFGAO_NEWCONTENT HEX: 00200000 ; inline +ALIAS: SFGAO_CANCOPY DROPEFFECT_COPY +ALIAS: SFGAO_CANMOVE DROPEFFECT_MOVE +ALIAS: SFGAO_CANLINK DROPEFFECT_LINK +CONSTANT: SFGAO_CANRENAME HEX: 00000010 +CONSTANT: SFGAO_CANDELETE HEX: 00000020 +CONSTANT: SFGAO_HASPROPSHEET HEX: 00000040 +CONSTANT: SFGAO_DROPTARGET HEX: 00000100 +CONSTANT: SFGAO_CAPABILITYMASK HEX: 00000177 +CONSTANT: SFGAO_LINK HEX: 00010000 +CONSTANT: SFGAO_SHARE HEX: 00020000 +CONSTANT: SFGAO_READONLY HEX: 00040000 +CONSTANT: SFGAO_GHOSTED HEX: 00080000 +CONSTANT: SFGAO_HIDDEN HEX: 00080000 +CONSTANT: SFGAO_DISPLAYATTRMASK HEX: 000F0000 +CONSTANT: SFGAO_FILESYSANCESTOR HEX: 10000000 +CONSTANT: SFGAO_FOLDER HEX: 20000000 +CONSTANT: SFGAO_FILESYSTEM HEX: 40000000 +CONSTANT: SFGAO_HASSUBFOLDER HEX: 80000000 +CONSTANT: SFGAO_CONTENTSMASK HEX: 80000000 +CONSTANT: SFGAO_VALIDATE HEX: 01000000 +CONSTANT: SFGAO_REMOVABLE HEX: 02000000 +CONSTANT: SFGAO_COMPRESSED HEX: 04000000 +CONSTANT: SFGAO_BROWSABLE HEX: 08000000 +CONSTANT: SFGAO_NONENUMERATED HEX: 00100000 +CONSTANT: SFGAO_NEWCONTENT HEX: 00200000 TYPEDEF: ULONG SFGAOF @@ -223,5 +223,4 @@ COM-INTERFACE: IShellFolder IUnknown {000214E6-0000-0000-C000-000000000046} FUNCTION: HRESULT SHGetDesktopFolder ( IShellFolder** ppshf ) ; FUNCTION: UINT DragQueryFileW ( HDROP hDrop, UINT iFile, LPWSTR lpszFile, UINT cch ) ; -: DragQueryFile DragQueryFileW ; inline - +ALIAS: DragQueryFile DragQueryFileW From 0655a06a7c00198a5e3bed313f801bfb38826c0c Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Mon, 15 Dec 2008 21:56:44 -0600 Subject: [PATCH 4/6] use CONSTANT: and fix compile errors --- basis/windows/advapi32/advapi32.factor | 182 ++++++++++++------------- 1 file changed, 91 insertions(+), 91 deletions(-) diff --git a/basis/windows/advapi32/advapi32.factor b/basis/windows/advapi32/advapi32.factor index 251b59a4d8..0d95c06a87 100644 --- a/basis/windows/advapi32/advapi32.factor +++ b/basis/windows/advapi32/advapi32.factor @@ -1,65 +1,65 @@ -USING: alias alien.syntax kernel math windows.types math.bitwise ; +USING: alias alien.syntax kernel math windows.types math.bitwise +constants ; IN: windows.advapi32 LIBRARY: advapi32 -: PROV_RSA_FULL 1 ; inline -: PROV_RSA_SIG 2 ; inline -: PROV_DSS 3 ; inline -: PROV_FORTEZZA 4 ; inline -: PROV_MS_EXCHANGE 5 ; inline -: PROV_SSL 6 ; inline -: PROV_RSA_SCHANNEL 12 ; inline -: PROV_DSS_DH 13 ; inline -: PROV_EC_ECDSA_SIG 14 ; inline -: PROV_EC_ECNRA_SIG 15 ; inline -: PROV_EC_ECDSA_FULL 16 ; inline -: PROV_EC_ECNRA_FULL 17 ; inline -: PROV_DH_SCHANNEL 18 ; inline -: PROV_SPYRUS_LYNKS 20 ; inline -: PROV_RNG 21 ; inline -: PROV_INTEL_SEC 22 ; inline -: PROV_REPLACE_OWF 23 ; inline -: PROV_RSA_AES 24 ; inline +CONSTANT: PROV_RSA_FULL 1 +CONSTANT: PROV_RSA_SIG 2 +CONSTANT: PROV_DSS 3 +CONSTANT: PROV_FORTEZZA 4 +CONSTANT: PROV_MS_EXCHANGE 5 +CONSTANT: PROV_SSL 6 +CONSTANT: PROV_RSA_SCHANNEL 12 +CONSTANT: PROV_DSS_DH 13 +CONSTANT: PROV_EC_ECDSA_SIG 14 +CONSTANT: PROV_EC_ECNRA_SIG 15 +CONSTANT: PROV_EC_ECDSA_FULL 16 +CONSTANT: PROV_EC_ECNRA_FULL 17 +CONSTANT: PROV_DH_SCHANNEL 18 +CONSTANT: PROV_SPYRUS_LYNKS 20 +CONSTANT: PROV_RNG 21 +CONSTANT: PROV_INTEL_SEC 22 +CONSTANT: PROV_REPLACE_OWF 23 +CONSTANT: PROV_RSA_AES 24 -: MS_DEF_DH_SCHANNEL_PROV - "Microsoft DH Schannel Cryptographic Provider" ; inline +CONSTANT: MS_DEF_DH_SCHANNEL_PROV "Microsoft DH Schannel Cryptographic Provider" -: MS_DEF_DSS_DH_PROV - "Microsoft Base DSS and Diffie-Hellman Cryptographic Provider" ; inline +CONSTANT: MS_DEF_DSS_DH_PROV + "Microsoft Base DSS and Diffie-Hellman Cryptographic Provider" -: MS_DEF_DSS_PROV - "Microsoft Base DSS Cryptographic Provider" ; inline +CONSTANT: MS_DEF_DSS_PROV + "Microsoft Base DSS Cryptographic Provider" -: MS_DEF_PROV - "Microsoft Base Cryptographic Provider v1.0" ; inline +CONSTANT: MS_DEF_PROV + "Microsoft Base Cryptographic Provider v1.0" -: MS_DEF_RSA_SCHANNEL_PROV - "Microsoft RSA Schannel Cryptographic Provider" ; inline +CONSTANT: MS_DEF_RSA_SCHANNEL_PROV + "Microsoft RSA Schannel Cryptographic Provider" ! Unsupported (!) -: MS_DEF_RSA_SIG_PROV - "Microsoft RSA Signature Cryptographic Provider" ; inline +CONSTANT: MS_DEF_RSA_SIG_PROV + "Microsoft RSA Signature Cryptographic Provider" -: MS_ENH_DSS_DH_PROV - "Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider" ; inline +CONSTANT: MS_ENH_DSS_DH_PROV + "Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider" -: MS_ENH_RSA_AES_PROV - "Microsoft Enhanced RSA and AES Cryptographic Provider" ; inline +CONSTANT: MS_ENH_RSA_AES_PROV + "Microsoft Enhanced RSA and AES Cryptographic Provider" -: MS_ENHANCED_PROV - "Microsoft Enhanced Cryptographic Provider v1.0" ; inline +CONSTANT: MS_ENHANCED_PROV + "Microsoft Enhanced Cryptographic Provider v1.0" -: MS_SCARD_PROV - "Microsoft Base Smart Card Crypto Provider" ; inline +CONSTANT: MS_SCARD_PROV + "Microsoft Base Smart Card Crypto Provider" -: MS_STRONG_PROV - "Microsoft Strong Cryptographic Provider" ; inline +CONSTANT: MS_STRONG_PROV + "Microsoft Strong Cryptographic Provider" -: CRYPT_VERIFYCONTEXT HEX: F0000000 ; inline -: CRYPT_NEWKEYSET HEX: 8 ; inline -: CRYPT_DELETEKEYSET HEX: 10 ; inline -: CRYPT_MACHINE_KEYSET HEX: 20 ; inline -: CRYPT_SILENT HEX: 40 ; inline +CONSTANT: CRYPT_VERIFYCONTEXT HEX: F0000000 +CONSTANT: CRYPT_NEWKEYSET HEX: 8 +CONSTANT: CRYPT_DELETEKEYSET HEX: 10 +CONSTANT: CRYPT_MACHINE_KEYSET HEX: 20 +CONSTANT: CRYPT_SILENT HEX: 40 C-STRUCT: ACL { "BYTE" "AclRevision" } @@ -70,16 +70,16 @@ C-STRUCT: ACL TYPEDEF: ACL* PACL -: ACCESS_ALLOWED_ACE_TYPE 0 ; inline -: ACCESS_DENIED_ACE_TYPE 1 ; inline -: SYSTEM_AUDIT_ACE_TYPE 2 ; inline -: SYSTEM_ALARM_ACE_TYPE 3 ; inline +CONSTANT: ACCESS_ALLOWED_ACE_TYPE 0 +CONSTANT: ACCESS_DENIED_ACE_TYPE 1 +CONSTANT: SYSTEM_AUDIT_ACE_TYPE 2 +CONSTANT: SYSTEM_ALARM_ACE_TYPE 3 -: OBJECT_INHERIT_ACE HEX: 1 ; inline -: CONTAINER_INHERIT_ACE HEX: 2 ; inline -: NO_PROPAGATE_INHERIT_ACE HEX: 4 ; inline -: INHERIT_ONLY_ACE HEX: 8 ; inline -: VALID_INHERIT_FLAGS HEX: f ; inline +CONSTANT: OBJECT_INHERIT_ACE HEX: 1 +CONSTANT: CONTAINER_INHERIT_ACE HEX: 2 +CONSTANT: NO_PROPAGATE_INHERIT_ACE HEX: 4 +CONSTANT: INHERIT_ONLY_ACE HEX: 8 +CONSTANT: VALID_INHERIT_FLAGS HEX: f C-STRUCT: ACE_HEADER { "BYTE" "AceType" } @@ -125,46 +125,46 @@ TYPEDEF: ACCESS_ALLOWED_CALLBACK_ACE* PACCESS_ALLOWED_CALLBACK_ACE ! typedef enum _TOKEN_INFORMATION_CLASS { -: TokenUser 1 ; inline -: TokenGroups 2 ; inline -: TokenPrivileges 3 ; inline -: TokenOwner 4 ; inline -: TokenPrimaryGroup 5 ; inline -: TokenDefaultDacl 6 ; inline -: TokenSource 7 ; inline -: TokenType 8 ; inline -: TokenImpersonationLevel 9 ; inline -: TokenStatistics 10 ; inline -: TokenRestrictedSids 11 ; inline -: TokenSessionId 12 ; inline -: TokenGroupsAndPrivileges 13 ; inline -: TokenSessionReference 14 ; inline -: TokenSandBoxInert 15 ; inline +CONSTANT: TokenUser 1 +CONSTANT: TokenGroups 2 +CONSTANT: TokenPrivileges 3 +CONSTANT: TokenOwner 4 +CONSTANT: TokenPrimaryGroup 5 +CONSTANT: TokenDefaultDacl 6 +CONSTANT: TokenSource 7 +CONSTANT: TokenType 8 +CONSTANT: TokenImpersonationLevel 9 +CONSTANT: TokenStatistics 10 +CONSTANT: TokenRestrictedSids 11 +CONSTANT: TokenSessionId 12 +CONSTANT: TokenGroupsAndPrivileges 13 +CONSTANT: TokenSessionReference 14 +CONSTANT: TokenSandBoxInert 15 ! } TOKEN_INFORMATION_CLASS; -: DELETE HEX: 00010000 ; inline -: READ_CONTROL HEX: 00020000 ; inline -: WRITE_DAC HEX: 00040000 ; inline -: WRITE_OWNER HEX: 00080000 ; inline -: SYNCHRONIZE HEX: 00100000 ; inline -: STANDARD_RIGHTS_REQUIRED HEX: 000f0000 ; inline +CONSTANT: DELETE HEX: 00010000 +CONSTANT: READ_CONTROL HEX: 00020000 +CONSTANT: WRITE_DAC HEX: 00040000 +CONSTANT: WRITE_OWNER HEX: 00080000 +CONSTANT: SYNCHRONIZE HEX: 00100000 +CONSTANT: STANDARD_RIGHTS_REQUIRED HEX: 000f0000 -: STANDARD_RIGHTS_READ READ_CONTROL ; inline -: STANDARD_RIGHTS_WRITE READ_CONTROL ; inline -: STANDARD_RIGHTS_EXECUTE READ_CONTROL ; inline +ALIAS: STANDARD_RIGHTS_READ READ_CONTROL +ALIAS: STANDARD_RIGHTS_WRITE READ_CONTROL +ALIAS: STANDARD_RIGHTS_EXECUTE READ_CONTROL -: TOKEN_TOKEN_ADJUST_DEFAULT HEX: 0080 ; inline -: TOKEN_ADJUST_GROUPS HEX: 0040 ; inline -: TOKEN_ADJUST_PRIVILEGES HEX: 0020 ; inline -: TOKEN_ADJUST_SESSIONID HEX: 0100 ; inline -: TOKEN_ASSIGN_PRIMARY HEX: 0001 ; inline -: TOKEN_DUPLICATE HEX: 0002 ; inline -: TOKEN_EXECUTE STANDARD_RIGHTS_EXECUTE ; inline -: TOKEN_IMPERSONATE HEX: 0004 ; inline -: TOKEN_QUERY HEX: 0008 ; inline -: TOKEN_QUERY_SOURCE HEX: 0010 ; inline -: TOKEN_ADJUST_DEFAULT HEX: 0080 ; inline -: TOKEN_READ ( -- n ) STANDARD_RIGHTS_READ TOKEN_QUERY bitor ; +CONSTANT: TOKEN_TOKEN_ADJUST_DEFAULT HEX: 0080 +CONSTANT: TOKEN_ADJUST_GROUPS HEX: 0040 +CONSTANT: TOKEN_ADJUST_PRIVILEGES HEX: 0020 +CONSTANT: TOKEN_ADJUST_SESSIONID HEX: 0100 +CONSTANT: TOKEN_ASSIGN_PRIMARY HEX: 0001 +CONSTANT: TOKEN_DUPLICATE HEX: 0002 +ALIAS: TOKEN_EXECUTE STANDARD_RIGHTS_EXECUTE +CONSTANT: TOKEN_IMPERSONATE HEX: 0004 +CONSTANT: TOKEN_QUERY HEX: 0008 +CONSTANT: TOKEN_QUERY_SOURCE HEX: 0010 +CONSTANT: TOKEN_ADJUST_DEFAULT HEX: 0080 +: TOKEN_READ ( -- n ) { STANDARD_RIGHTS_READ TOKEN_QUERY } flags ; : TOKEN_WRITE ( -- n ) { From 1e8c0fb3726f8da14ff67e307af1238c169f012f Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Mon, 15 Dec 2008 22:08:03 -0600 Subject: [PATCH 5/6] fix dinput compile errors --- basis/windows/dinput/dinput.factor | 573 +++++++++++++++-------------- 1 file changed, 287 insertions(+), 286 deletions(-) mode change 100644 => 100755 basis/windows/dinput/dinput.factor diff --git a/basis/windows/dinput/dinput.factor b/basis/windows/dinput/dinput.factor old mode 100644 new mode 100755 index 0c75f43770..76cba4ff36 --- a/basis/windows/dinput/dinput.factor +++ b/basis/windows/dinput/dinput.factor @@ -1,5 +1,6 @@ USING: windows.kernel32 windows.ole32 windows.com windows.com.syntax -alien alien.c-types alien.syntax kernel system namespaces math ; +alien alien.c-types alien.syntax kernel system namespaces math constants +alias ; IN: windows.dinput << @@ -384,314 +385,314 @@ COM-INTERFACE: IDirectInput8W IUnknown {BF798031-483A-4DA2-AA99-5D64ED369700} FUNCTION: HRESULT DirectInput8Create ( HINSTANCE hinst, DWORD dwVersion, REFIID riidtlf, LPVOID* ppvOut, LPUNKNOWN punkOuter ) ; -: DIRECTINPUT_VERSION HEX: 0800 ; inline +CONSTANT: DIRECTINPUT_VERSION HEX: 0800 + +CONSTANT: DI8DEVCLASS_ALL 0 +CONSTANT: DI8DEVCLASS_DEVICE 1 +CONSTANT: DI8DEVCLASS_POINTER 2 +CONSTANT: DI8DEVCLASS_KEYBOARD 3 +CONSTANT: DI8DEVCLASS_GAMECTRL 4 -: DI8DEVCLASS_ALL 0 ; inline -: DI8DEVCLASS_DEVICE 1 ; inline -: DI8DEVCLASS_POINTER 2 ; inline -: DI8DEVCLASS_KEYBOARD 3 ; inline -: DI8DEVCLASS_GAMECTRL 4 ; inline +CONSTANT: DIEDFL_ALLDEVICES HEX: 00000000 +CONSTANT: DIEDFL_ATTACHEDONLY HEX: 00000001 +CONSTANT: DIEDFL_FORCEFEEDBACK HEX: 00000100 +CONSTANT: DIEDFL_INCLUDEALIASES HEX: 00010000 +CONSTANT: DIEDFL_INCLUDEPHANTOMS HEX: 00020000 +CONSTANT: DIEDFL_INCLUDEHIDDEN HEX: 00040000 + +CONSTANT: DIENUM_STOP 0 +CONSTANT: DIENUM_CONTINUE 1 -: DIEDFL_ALLDEVICES HEX: 00000000 ; inline -: DIEDFL_ATTACHEDONLY HEX: 00000001 ; inline -: DIEDFL_FORCEFEEDBACK HEX: 00000100 ; inline -: DIEDFL_INCLUDEALIASES HEX: 00010000 ; inline -: DIEDFL_INCLUDEPHANTOMS HEX: 00020000 ; inline -: DIEDFL_INCLUDEHIDDEN HEX: 00040000 ; inline +CONSTANT: DIDF_ABSAXIS 1 +CONSTANT: DIDF_RELAXIS 2 -: DIENUM_STOP 0 ; inline -: DIENUM_CONTINUE 1 ; inline - -: DIDF_ABSAXIS 1 ; -: DIDF_RELAXIS 2 ; - -: DIDFT_ALL HEX: 00000000 ; inline - -: DIDFT_RELAXIS HEX: 00000001 ; inline -: DIDFT_ABSAXIS HEX: 00000002 ; inline -: DIDFT_AXIS HEX: 00000003 ; inline - -: DIDFT_PSHBUTTON HEX: 00000004 ; inline -: DIDFT_TGLBUTTON HEX: 00000008 ; inline -: DIDFT_BUTTON HEX: 0000000C ; inline - -: DIDFT_POV HEX: 00000010 ; inline -: DIDFT_COLLECTION HEX: 00000040 ; inline -: DIDFT_NODATA HEX: 00000080 ; inline - -: DIDFT_ANYINSTANCE HEX: 00FFFF00 ; inline -: DIDFT_INSTANCEMASK DIDFT_ANYINSTANCE ; inline +CONSTANT: DIDFT_ALL HEX: 00000000 + +CONSTANT: DIDFT_RELAXIS HEX: 00000001 +CONSTANT: DIDFT_ABSAXIS HEX: 00000002 +CONSTANT: DIDFT_AXIS HEX: 00000003 + +CONSTANT: DIDFT_PSHBUTTON HEX: 00000004 +CONSTANT: DIDFT_TGLBUTTON HEX: 00000008 +CONSTANT: DIDFT_BUTTON HEX: 0000000C + +CONSTANT: DIDFT_POV HEX: 00000010 +CONSTANT: DIDFT_COLLECTION HEX: 00000040 +CONSTANT: DIDFT_NODATA HEX: 00000080 + +CONSTANT: DIDFT_ANYINSTANCE HEX: 00FFFF00 +ALIAS: DIDFT_INSTANCEMASK DIDFT_ANYINSTANCE : DIDFT_MAKEINSTANCE ( n -- instance ) 8 shift ; inline : DIDFT_GETTYPE ( n -- type ) HEX: FF bitand ; inline : DIDFT_GETINSTANCE ( n -- instance ) -8 shift HEX: FFFF bitand ; inline -: DIDFT_FFACTUATOR HEX: 01000000 ; inline -: DIDFT_FFEFFECTTRIGGER HEX: 02000000 ; inline -: DIDFT_OUTPUT HEX: 10000000 ; inline -: DIDFT_VENDORDEFINED HEX: 04000000 ; inline -: DIDFT_ALIAS HEX: 08000000 ; inline -: DIDFT_OPTIONAL HEX: 80000000 ; inline +CONSTANT: DIDFT_FFACTUATOR HEX: 01000000 +CONSTANT: DIDFT_FFEFFECTTRIGGER HEX: 02000000 +CONSTANT: DIDFT_OUTPUT HEX: 10000000 +CONSTANT: DIDFT_VENDORDEFINED HEX: 04000000 +CONSTANT: DIDFT_ALIAS HEX: 08000000 +CONSTANT: DIDFT_OPTIONAL HEX: 80000000 : DIDFT_ENUMCOLLECTION ( n -- instance ) 8 shift HEX: FFFF bitand ; inline -: DIDFT_NOCOLLECTION HEX: 00FFFF00 ; inline +CONSTANT: DIDFT_NOCOLLECTION HEX: 00FFFF00 -: DIDOI_FFACTUATOR HEX: 00000001 ; inline -: DIDOI_FFEFFECTTRIGGER HEX: 00000002 ; inline -: DIDOI_POLLED HEX: 00008000 ; inline -: DIDOI_ASPECTPOSITION HEX: 00000100 ; inline -: DIDOI_ASPECTVELOCITY HEX: 00000200 ; inline -: DIDOI_ASPECTACCEL HEX: 00000300 ; inline -: DIDOI_ASPECTFORCE HEX: 00000400 ; inline -: DIDOI_ASPECTMASK HEX: 00000F00 ; inline -: DIDOI_GUIDISUSAGE HEX: 00010000 ; inline +CONSTANT: DIDOI_FFACTUATOR HEX: 00000001 +CONSTANT: DIDOI_FFEFFECTTRIGGER HEX: 00000002 +CONSTANT: DIDOI_POLLED HEX: 00008000 +CONSTANT: DIDOI_ASPECTPOSITION HEX: 00000100 +CONSTANT: DIDOI_ASPECTVELOCITY HEX: 00000200 +CONSTANT: DIDOI_ASPECTACCEL HEX: 00000300 +CONSTANT: DIDOI_ASPECTFORCE HEX: 00000400 +CONSTANT: DIDOI_ASPECTMASK HEX: 00000F00 +CONSTANT: DIDOI_GUIDISUSAGE HEX: 00010000 -: DISCL_EXCLUSIVE HEX: 00000001 ; inline -: DISCL_NONEXCLUSIVE HEX: 00000002 ; inline -: DISCL_FOREGROUND HEX: 00000004 ; inline -: DISCL_BACKGROUND HEX: 00000008 ; inline -: DISCL_NOWINKEY HEX: 00000010 ; inline +CONSTANT: DISCL_EXCLUSIVE HEX: 00000001 +CONSTANT: DISCL_NONEXCLUSIVE HEX: 00000002 +CONSTANT: DISCL_FOREGROUND HEX: 00000004 +CONSTANT: DISCL_BACKGROUND HEX: 00000008 +CONSTANT: DISCL_NOWINKEY HEX: 00000010 -: DIK_ESCAPE HEX: 01 ; inline -: DIK_1 HEX: 02 ; inline -: DIK_2 HEX: 03 ; inline -: DIK_3 HEX: 04 ; inline -: DIK_4 HEX: 05 ; inline -: DIK_5 HEX: 06 ; inline -: DIK_6 HEX: 07 ; inline -: DIK_7 HEX: 08 ; inline -: DIK_8 HEX: 09 ; inline -: DIK_9 HEX: 0A ; inline -: DIK_0 HEX: 0B ; inline -: DIK_MINUS HEX: 0C ; inline -: DIK_EQUALS HEX: 0D ; inline -: DIK_BACK HEX: 0E ; inline -: DIK_TAB HEX: 0F ; inline -: DIK_Q HEX: 10 ; inline -: DIK_W HEX: 11 ; inline -: DIK_E HEX: 12 ; inline -: DIK_R HEX: 13 ; inline -: DIK_T HEX: 14 ; inline -: DIK_Y HEX: 15 ; inline -: DIK_U HEX: 16 ; inline -: DIK_I HEX: 17 ; inline -: DIK_O HEX: 18 ; inline -: DIK_P HEX: 19 ; inline -: DIK_LBRACKET HEX: 1A ; inline -: DIK_RBRACKET HEX: 1B ; inline -: DIK_RETURN HEX: 1C ; inline -: DIK_LCONTROL HEX: 1D ; inline -: DIK_A HEX: 1E ; inline -: DIK_S HEX: 1F ; inline -: DIK_D HEX: 20 ; inline -: DIK_F HEX: 21 ; inline -: DIK_G HEX: 22 ; inline -: DIK_H HEX: 23 ; inline -: DIK_J HEX: 24 ; inline -: DIK_K HEX: 25 ; inline -: DIK_L HEX: 26 ; inline -: DIK_SEMICOLON HEX: 27 ; inline -: DIK_APOSTROPHE HEX: 28 ; inline -: DIK_GRAVE HEX: 29 ; inline -: DIK_LSHIFT HEX: 2A ; inline -: DIK_BACKSLASH HEX: 2B ; inline -: DIK_Z HEX: 2C ; inline -: DIK_X HEX: 2D ; inline -: DIK_C HEX: 2E ; inline -: DIK_V HEX: 2F ; inline -: DIK_B HEX: 30 ; inline -: DIK_N HEX: 31 ; inline -: DIK_M HEX: 32 ; inline -: DIK_COMMA HEX: 33 ; inline -: DIK_PERIOD HEX: 34 ; inline -: DIK_SLASH HEX: 35 ; inline -: DIK_RSHIFT HEX: 36 ; inline -: DIK_MULTIPLY HEX: 37 ; inline -: DIK_LMENU HEX: 38 ; inline -: DIK_SPACE HEX: 39 ; inline -: DIK_CAPITAL HEX: 3A ; inline -: DIK_F1 HEX: 3B ; inline -: DIK_F2 HEX: 3C ; inline -: DIK_F3 HEX: 3D ; inline -: DIK_F4 HEX: 3E ; inline -: DIK_F5 HEX: 3F ; inline -: DIK_F6 HEX: 40 ; inline -: DIK_F7 HEX: 41 ; inline -: DIK_F8 HEX: 42 ; inline -: DIK_F9 HEX: 43 ; inline -: DIK_F10 HEX: 44 ; inline -: DIK_NUMLOCK HEX: 45 ; inline -: DIK_SCROLL HEX: 46 ; inline -: DIK_NUMPAD7 HEX: 47 ; inline -: DIK_NUMPAD8 HEX: 48 ; inline -: DIK_NUMPAD9 HEX: 49 ; inline -: DIK_SUBTRACT HEX: 4A ; inline -: DIK_NUMPAD4 HEX: 4B ; inline -: DIK_NUMPAD5 HEX: 4C ; inline -: DIK_NUMPAD6 HEX: 4D ; inline -: DIK_ADD HEX: 4E ; inline -: DIK_NUMPAD1 HEX: 4F ; inline -: DIK_NUMPAD2 HEX: 50 ; inline -: DIK_NUMPAD3 HEX: 51 ; inline -: DIK_NUMPAD0 HEX: 52 ; inline -: DIK_DECIMAL HEX: 53 ; inline -: DIK_OEM_102 HEX: 56 ; inline -: DIK_F11 HEX: 57 ; inline -: DIK_F12 HEX: 58 ; inline -: DIK_F13 HEX: 64 ; inline -: DIK_F14 HEX: 65 ; inline -: DIK_F15 HEX: 66 ; inline -: DIK_KANA HEX: 70 ; inline -: DIK_ABNT_C1 HEX: 73 ; inline -: DIK_CONVERT HEX: 79 ; inline -: DIK_NOCONVERT HEX: 7B ; inline -: DIK_YEN HEX: 7D ; inline -: DIK_ABNT_C2 HEX: 7E ; inline -: DIK_NUMPADEQUALS HEX: 8D ; inline -: DIK_PREVTRACK HEX: 90 ; inline -: DIK_AT HEX: 91 ; inline -: DIK_COLON HEX: 92 ; inline -: DIK_UNDERLINE HEX: 93 ; inline -: DIK_KANJI HEX: 94 ; inline -: DIK_STOP HEX: 95 ; inline -: DIK_AX HEX: 96 ; inline -: DIK_UNLABELED HEX: 97 ; inline -: DIK_NEXTTRACK HEX: 99 ; inline -: DIK_NUMPADENTER HEX: 9C ; inline -: DIK_RCONTROL HEX: 9D ; inline -: DIK_MUTE HEX: A0 ; inline -: DIK_CALCULATOR HEX: A1 ; inline -: DIK_PLAYPAUSE HEX: A2 ; inline -: DIK_MEDIASTOP HEX: A4 ; inline -: DIK_VOLUMEDOWN HEX: AE ; inline -: DIK_VOLUMEUP HEX: B0 ; inline -: DIK_WEBHOME HEX: B2 ; inline -: DIK_NUMPADCOMMA HEX: B3 ; inline -: DIK_DIVIDE HEX: B5 ; inline -: DIK_SYSRQ HEX: B7 ; inline -: DIK_RMENU HEX: B8 ; inline -: DIK_PAUSE HEX: C5 ; inline -: DIK_HOME HEX: C7 ; inline -: DIK_UP HEX: C8 ; inline -: DIK_PRIOR HEX: C9 ; inline -: DIK_LEFT HEX: CB ; inline -: DIK_RIGHT HEX: CD ; inline -: DIK_END HEX: CF ; inline -: DIK_DOWN HEX: D0 ; inline -: DIK_NEXT HEX: D1 ; inline -: DIK_INSERT HEX: D2 ; inline -: DIK_DELETE HEX: D3 ; inline -: DIK_LWIN HEX: DB ; inline -: DIK_RWIN HEX: DC ; inline -: DIK_APPS HEX: DD ; inline -: DIK_POWER HEX: DE ; inline -: DIK_SLEEP HEX: DF ; inline -: DIK_WAKE HEX: E3 ; inline -: DIK_WEBSEARCH HEX: E5 ; inline -: DIK_WEBFAVORITES HEX: E6 ; inline -: DIK_WEBREFRESH HEX: E7 ; inline -: DIK_WEBSTOP HEX: E8 ; inline -: DIK_WEBFORWARD HEX: E9 ; inline -: DIK_WEBBACK HEX: EA ; inline -: DIK_MYCOMPUTER HEX: EB ; inline -: DIK_MAIL HEX: EC ; inline -: DIK_MEDIASELECT HEX: ED ; inline +CONSTANT: DIK_ESCAPE HEX: 01 +CONSTANT: DIK_1 HEX: 02 +CONSTANT: DIK_2 HEX: 03 +CONSTANT: DIK_3 HEX: 04 +CONSTANT: DIK_4 HEX: 05 +CONSTANT: DIK_5 HEX: 06 +CONSTANT: DIK_6 HEX: 07 +CONSTANT: DIK_7 HEX: 08 +CONSTANT: DIK_8 HEX: 09 +CONSTANT: DIK_9 HEX: 0A +CONSTANT: DIK_0 HEX: 0B +CONSTANT: DIK_MINUS HEX: 0C +CONSTANT: DIK_EQUALS HEX: 0D +CONSTANT: DIK_BACK HEX: 0E +CONSTANT: DIK_TAB HEX: 0F +CONSTANT: DIK_Q HEX: 10 +CONSTANT: DIK_W HEX: 11 +CONSTANT: DIK_E HEX: 12 +CONSTANT: DIK_R HEX: 13 +CONSTANT: DIK_T HEX: 14 +CONSTANT: DIK_Y HEX: 15 +CONSTANT: DIK_U HEX: 16 +CONSTANT: DIK_I HEX: 17 +CONSTANT: DIK_O HEX: 18 +CONSTANT: DIK_P HEX: 19 +CONSTANT: DIK_LBRACKET HEX: 1A +CONSTANT: DIK_RBRACKET HEX: 1B +CONSTANT: DIK_RETURN HEX: 1C +CONSTANT: DIK_LCONTROL HEX: 1D +CONSTANT: DIK_A HEX: 1E +CONSTANT: DIK_S HEX: 1F +CONSTANT: DIK_D HEX: 20 +CONSTANT: DIK_F HEX: 21 +CONSTANT: DIK_G HEX: 22 +CONSTANT: DIK_H HEX: 23 +CONSTANT: DIK_J HEX: 24 +CONSTANT: DIK_K HEX: 25 +CONSTANT: DIK_L HEX: 26 +CONSTANT: DIK_SEMICOLON HEX: 27 +CONSTANT: DIK_APOSTROPHE HEX: 28 +CONSTANT: DIK_GRAVE HEX: 29 +CONSTANT: DIK_LSHIFT HEX: 2A +CONSTANT: DIK_BACKSLASH HEX: 2B +CONSTANT: DIK_Z HEX: 2C +CONSTANT: DIK_X HEX: 2D +CONSTANT: DIK_C HEX: 2E +CONSTANT: DIK_V HEX: 2F +CONSTANT: DIK_B HEX: 30 +CONSTANT: DIK_N HEX: 31 +CONSTANT: DIK_M HEX: 32 +CONSTANT: DIK_COMMA HEX: 33 +CONSTANT: DIK_PERIOD HEX: 34 +CONSTANT: DIK_SLASH HEX: 35 +CONSTANT: DIK_RSHIFT HEX: 36 +CONSTANT: DIK_MULTIPLY HEX: 37 +CONSTANT: DIK_LMENU HEX: 38 +CONSTANT: DIK_SPACE HEX: 39 +CONSTANT: DIK_CAPITAL HEX: 3A +CONSTANT: DIK_F1 HEX: 3B +CONSTANT: DIK_F2 HEX: 3C +CONSTANT: DIK_F3 HEX: 3D +CONSTANT: DIK_F4 HEX: 3E +CONSTANT: DIK_F5 HEX: 3F +CONSTANT: DIK_F6 HEX: 40 +CONSTANT: DIK_F7 HEX: 41 +CONSTANT: DIK_F8 HEX: 42 +CONSTANT: DIK_F9 HEX: 43 +CONSTANT: DIK_F10 HEX: 44 +CONSTANT: DIK_NUMLOCK HEX: 45 +CONSTANT: DIK_SCROLL HEX: 46 +CONSTANT: DIK_NUMPAD7 HEX: 47 +CONSTANT: DIK_NUMPAD8 HEX: 48 +CONSTANT: DIK_NUMPAD9 HEX: 49 +CONSTANT: DIK_SUBTRACT HEX: 4A +CONSTANT: DIK_NUMPAD4 HEX: 4B +CONSTANT: DIK_NUMPAD5 HEX: 4C +CONSTANT: DIK_NUMPAD6 HEX: 4D +CONSTANT: DIK_ADD HEX: 4E +CONSTANT: DIK_NUMPAD1 HEX: 4F +CONSTANT: DIK_NUMPAD2 HEX: 50 +CONSTANT: DIK_NUMPAD3 HEX: 51 +CONSTANT: DIK_NUMPAD0 HEX: 52 +CONSTANT: DIK_DECIMAL HEX: 53 +CONSTANT: DIK_OEM_102 HEX: 56 +CONSTANT: DIK_F11 HEX: 57 +CONSTANT: DIK_F12 HEX: 58 +CONSTANT: DIK_F13 HEX: 64 +CONSTANT: DIK_F14 HEX: 65 +CONSTANT: DIK_F15 HEX: 66 +CONSTANT: DIK_KANA HEX: 70 +CONSTANT: DIK_ABNT_C1 HEX: 73 +CONSTANT: DIK_CONVERT HEX: 79 +CONSTANT: DIK_NOCONVERT HEX: 7B +CONSTANT: DIK_YEN HEX: 7D +CONSTANT: DIK_ABNT_C2 HEX: 7E +CONSTANT: DIK_NUMPADEQUALS HEX: 8D +CONSTANT: DIK_PREVTRACK HEX: 90 +CONSTANT: DIK_AT HEX: 91 +CONSTANT: DIK_COLON HEX: 92 +CONSTANT: DIK_UNDERLINE HEX: 93 +CONSTANT: DIK_KANJI HEX: 94 +CONSTANT: DIK_STOP HEX: 95 +CONSTANT: DIK_AX HEX: 96 +CONSTANT: DIK_UNLABELED HEX: 97 +CONSTANT: DIK_NEXTTRACK HEX: 99 +CONSTANT: DIK_NUMPADENTER HEX: 9C +CONSTANT: DIK_RCONTROL HEX: 9D +CONSTANT: DIK_MUTE HEX: A0 +CONSTANT: DIK_CALCULATOR HEX: A1 +CONSTANT: DIK_PLAYPAUSE HEX: A2 +CONSTANT: DIK_MEDIASTOP HEX: A4 +CONSTANT: DIK_VOLUMEDOWN HEX: AE +CONSTANT: DIK_VOLUMEUP HEX: B0 +CONSTANT: DIK_WEBHOME HEX: B2 +CONSTANT: DIK_NUMPADCOMMA HEX: B3 +CONSTANT: DIK_DIVIDE HEX: B5 +CONSTANT: DIK_SYSRQ HEX: B7 +CONSTANT: DIK_RMENU HEX: B8 +CONSTANT: DIK_PAUSE HEX: C5 +CONSTANT: DIK_HOME HEX: C7 +CONSTANT: DIK_UP HEX: C8 +CONSTANT: DIK_PRIOR HEX: C9 +CONSTANT: DIK_LEFT HEX: CB +CONSTANT: DIK_RIGHT HEX: CD +CONSTANT: DIK_END HEX: CF +CONSTANT: DIK_DOWN HEX: D0 +CONSTANT: DIK_NEXT HEX: D1 +CONSTANT: DIK_INSERT HEX: D2 +CONSTANT: DIK_DELETE HEX: D3 +CONSTANT: DIK_LWIN HEX: DB +CONSTANT: DIK_RWIN HEX: DC +CONSTANT: DIK_APPS HEX: DD +CONSTANT: DIK_POWER HEX: DE +CONSTANT: DIK_SLEEP HEX: DF +CONSTANT: DIK_WAKE HEX: E3 +CONSTANT: DIK_WEBSEARCH HEX: E5 +CONSTANT: DIK_WEBFAVORITES HEX: E6 +CONSTANT: DIK_WEBREFRESH HEX: E7 +CONSTANT: DIK_WEBSTOP HEX: E8 +CONSTANT: DIK_WEBFORWARD HEX: E9 +CONSTANT: DIK_WEBBACK HEX: EA +CONSTANT: DIK_MYCOMPUTER HEX: EB +CONSTANT: DIK_MAIL HEX: EC +CONSTANT: DIK_MEDIASELECT HEX: ED -: DIK_BACKSPACE DIK_BACK ; inline -: DIK_NUMPADSTAR DIK_MULTIPLY ; inline -: DIK_LALT DIK_LMENU ; inline -: DIK_CAPSLOCK DIK_CAPITAL ; inline -: DIK_NUMPADMINUS DIK_SUBTRACT ; inline -: DIK_NUMPADPLUS DIK_ADD ; inline -: DIK_NUMPADPERIOD DIK_DECIMAL ; inline -: DIK_NUMPADSLASH DIK_DIVIDE ; inline -: DIK_RALT DIK_RMENU ; inline -: DIK_UPARROW DIK_UP ; inline -: DIK_PGUP DIK_PRIOR ; inline -: DIK_LEFTARROW DIK_LEFT ; inline -: DIK_RIGHTARROW DIK_RIGHT ; inline -: DIK_DOWNARROW DIK_DOWN ; inline -: DIK_PGDN DIK_NEXT ; inline +ALIAS: DIK_BACKSPACE DIK_BACK +ALIAS: DIK_NUMPADSTAR DIK_MULTIPLY +ALIAS: DIK_LALT DIK_LMENU +ALIAS: DIK_CAPSLOCK DIK_CAPITAL +ALIAS: DIK_NUMPADMINUS DIK_SUBTRACT +ALIAS: DIK_NUMPADPLUS DIK_ADD +ALIAS: DIK_NUMPADPERIOD DIK_DECIMAL +ALIAS: DIK_NUMPADSLASH DIK_DIVIDE +ALIAS: DIK_RALT DIK_RMENU +ALIAS: DIK_UPARROW DIK_UP +ALIAS: DIK_PGUP DIK_PRIOR +ALIAS: DIK_LEFTARROW DIK_LEFT +ALIAS: DIK_RIGHTARROW DIK_RIGHT +ALIAS: DIK_DOWNARROW DIK_DOWN +ALIAS: DIK_PGDN DIK_NEXT -: DIK_CIRCUMFLEX DIK_PREVTRACK ; inline +ALIAS: DIK_CIRCUMFLEX DIK_PREVTRACK -: DI8DEVTYPE_DEVICE HEX: 11 ; inline -: DI8DEVTYPE_MOUSE HEX: 12 ; inline -: DI8DEVTYPE_KEYBOARD HEX: 13 ; inline -: DI8DEVTYPE_JOYSTICK HEX: 14 ; inline -: DI8DEVTYPE_GAMEPAD HEX: 15 ; inline -: DI8DEVTYPE_DRIVING HEX: 16 ; inline -: DI8DEVTYPE_FLIGHT HEX: 17 ; inline -: DI8DEVTYPE_1STPERSON HEX: 18 ; inline -: DI8DEVTYPE_DEVICECTRL HEX: 19 ; inline -: DI8DEVTYPE_SCREENPOINTER HEX: 1A ; inline -: DI8DEVTYPE_REMOTE HEX: 1B ; inline -: DI8DEVTYPE_SUPPLEMENTAL HEX: 1C ; inline +CONSTANT: DI8DEVTYPE_DEVICE HEX: 11 +CONSTANT: DI8DEVTYPE_MOUSE HEX: 12 +CONSTANT: DI8DEVTYPE_KEYBOARD HEX: 13 +CONSTANT: DI8DEVTYPE_JOYSTICK HEX: 14 +CONSTANT: DI8DEVTYPE_GAMEPAD HEX: 15 +CONSTANT: DI8DEVTYPE_DRIVING HEX: 16 +CONSTANT: DI8DEVTYPE_FLIGHT HEX: 17 +CONSTANT: DI8DEVTYPE_1STPERSON HEX: 18 +CONSTANT: DI8DEVTYPE_DEVICECTRL HEX: 19 +CONSTANT: DI8DEVTYPE_SCREENPOINTER HEX: 1A +CONSTANT: DI8DEVTYPE_REMOTE HEX: 1B +CONSTANT: DI8DEVTYPE_SUPPLEMENTAL HEX: 1C : GET_DIDEVICE_TYPE ( dwType -- type ) HEX: FF bitand ; inline -: DIPROPRANGE_NOMIN HEX: 80000000 ; inline -: DIPROPRANGE_NOMAX HEX: 7FFFFFFF ; inline -: MAXCPOINTSNUM 8 ; inline - -: DIPH_DEVICE 0 ; inline -: DIPH_BYOFFSET 1 ; inline -: DIPH_BYID 2 ; inline -: DIPH_BYUSAGE 3 ; inline +CONSTANT: DIPROPRANGE_NOMIN HEX: 80000000 +CONSTANT: DIPROPRANGE_NOMAX HEX: 7FFFFFFF +CONSTANT: MAXCPOINTSNUM 8 +CONSTANT: DIPH_DEVICE 0 +CONSTANT: DIPH_BYOFFSET 1 +CONSTANT: DIPH_BYID 2 +CONSTANT: DIPH_BYUSAGE 3 + : DIMAKEUSAGEDWORD ( UsagePage Usage -- DWORD ) 16 shift bitor ; inline -: DIPROP_BUFFERSIZE 1 ; inline -: DIPROP_AXISMODE 2 ; inline +: DIPROP_BUFFERSIZE ( -- alien ) 1 ; inline +: DIPROP_AXISMODE ( -- alien ) 2 ; inline -: DIPROPAXISMODE_ABS 0 ; inline -: DIPROPAXISMODE_REL 1 ; inline +CONSTANT: DIPROPAXISMODE_ABS 0 +CONSTANT: DIPROPAXISMODE_REL 1 + +: DIPROP_GRANULARITY ( -- alien ) 3 ; inline +: DIPROP_RANGE ( -- alien ) 4 ; inline +: DIPROP_DEADZONE ( -- alien ) 5 ; inline +: DIPROP_SATURATION ( -- alien ) 6 ; inline +: DIPROP_FFGAIN ( -- alien ) 7 ; inline +: DIPROP_FFLOAD ( -- alien ) 8 ; inline +: DIPROP_AUTOCENTER ( -- alien ) 9 ; inline -: DIPROP_GRANULARITY 3 ; inline -: DIPROP_RANGE 4 ; inline -: DIPROP_DEADZONE 5 ; inline -: DIPROP_SATURATION 6 ; inline -: DIPROP_FFGAIN 7 ; inline -: DIPROP_FFLOAD 8 ; inline -: DIPROP_AUTOCENTER 9 ; inline +CONSTANT: DIPROPAUTOCENTER_OFF 0 +CONSTANT: DIPROPAUTOCENTER_ON 1 -: DIPROPAUTOCENTER_OFF 0 ; inline -: DIPROPAUTOCENTER_ON 1 ; inline +: DIPROP_CALIBRATIONMODE ( -- alien ) 10 ; inline -: DIPROP_CALIBRATIONMODE 10 ; inline +CONSTANT: DIPROPCALIBRATIONMODE_COOKED 0 +CONSTANT: DIPROPCALIBRATIONMODE_RAW 1 -: DIPROPCALIBRATIONMODE_COOKED 0 ; inline -: DIPROPCALIBRATIONMODE_RAW 1 ; inline +: DIPROP_CALIBRATION ( -- alien ) 11 ; inline +: DIPROP_GUIDANDPATH ( -- alien ) 12 ; inline +: DIPROP_INSTANCENAME ( -- alien ) 13 ; inline +: DIPROP_PRODUCTNAME ( -- alien ) 14 ; inline +: DIPROP_JOYSTICKID ( -- alien ) 15 ; inline +: DIPROP_GETPORTDISPLAYNAME ( -- alien ) 16 ; inline +: DIPROP_PHYSICALRANGE ( -- alien ) 18 ; inline +: DIPROP_LOGICALRANGE ( -- alien ) 19 ; inline +: DIPROP_KEYNAME ( -- alien ) 20 ; inline +: DIPROP_CPOINTS ( -- alien ) 21 ; inline +: DIPROP_APPDATA ( -- alien ) 22 ; inline +: DIPROP_SCANCODE ( -- alien ) 23 ; inline +: DIPROP_VIDPID ( -- alien ) 24 ; inline +: DIPROP_USERNAME ( -- alien ) 25 ; inline +: DIPROP_TYPENAME ( -- alien ) 26 ; inline -: DIPROP_CALIBRATION 11 ; inline -: DIPROP_GUIDANDPATH 12 ; inline -: DIPROP_INSTANCENAME 13 ; inline -: DIPROP_PRODUCTNAME 14 ; inline -: DIPROP_JOYSTICKID 15 ; inline -: DIPROP_GETPORTDISPLAYNAME 16 ; inline -: DIPROP_PHYSICALRANGE 18 ; inline -: DIPROP_LOGICALRANGE 19 ; inline -: DIPROP_KEYNAME 20 ; inline -: DIPROP_CPOINTS 21 ; inline -: DIPROP_APPDATA 22 ; inline -: DIPROP_SCANCODE 23 ; inline -: DIPROP_VIDPID 24 ; inline -: DIPROP_USERNAME 25 ; inline -: DIPROP_TYPENAME 26 ; inline - -: GUID_XAxis GUID: {A36D02E0-C9F3-11CF-BFC7-444553540000} ; inline -: GUID_YAxis GUID: {A36D02E1-C9F3-11CF-BFC7-444553540000} ; inline -: GUID_ZAxis GUID: {A36D02E2-C9F3-11CF-BFC7-444553540000} ; inline -: GUID_RxAxis GUID: {A36D02F4-C9F3-11CF-BFC7-444553540000} ; inline -: GUID_RyAxis GUID: {A36D02F5-C9F3-11CF-BFC7-444553540000} ; inline -: GUID_RzAxis GUID: {A36D02E3-C9F3-11CF-BFC7-444553540000} ; inline -: GUID_Slider GUID: {A36D02E4-C9F3-11CF-BFC7-444553540000} ; inline -: GUID_Button GUID: {A36D02F0-C9F3-11CF-BFC7-444553540000} ; inline -: GUID_Key GUID: {55728220-D33C-11CF-BFC7-444553540000} ; inline -: GUID_POV GUID: {A36D02F2-C9F3-11CF-BFC7-444553540000} ; inline -: GUID_Unknown GUID: {A36D02F3-C9F3-11CF-BFC7-444553540000} ; inline -: GUID_SysMouse GUID: {6F1D2B60-D5A0-11CF-BFC7-444553540000} ; inline -: GUID_SysKeyboard GUID: {6F1D2B61-D5A0-11CF-BFC7-444553540000} ; inline -: GUID_Joystick GUID: {6F1D2B70-D5A0-11CF-BFC7-444553540000} ; inline -: GUID_SysMouseEm GUID: {6F1D2B80-D5A0-11CF-BFC7-444553540000} ; inline -: GUID_SysMouseEm2 GUID: {6F1D2B81-D5A0-11CF-BFC7-444553540000} ; inline -: GUID_SysKeyboardEm GUID: {6F1D2B82-D5A0-11CF-BFC7-444553540000} ; inline -: GUID_SysKeyboardEm2 GUID: {6F1D2B83-D5A0-11CF-BFC7-444553540000} ; inline +CONSTANT: GUID_XAxis GUID: {A36D02E0-C9F3-11CF-BFC7-444553540000} +CONSTANT: GUID_YAxis GUID: {A36D02E1-C9F3-11CF-BFC7-444553540000} +CONSTANT: GUID_ZAxis GUID: {A36D02E2-C9F3-11CF-BFC7-444553540000} +CONSTANT: GUID_RxAxis GUID: {A36D02F4-C9F3-11CF-BFC7-444553540000} +CONSTANT: GUID_RyAxis GUID: {A36D02F5-C9F3-11CF-BFC7-444553540000} +CONSTANT: GUID_RzAxis GUID: {A36D02E3-C9F3-11CF-BFC7-444553540000} +CONSTANT: GUID_Slider GUID: {A36D02E4-C9F3-11CF-BFC7-444553540000} +CONSTANT: GUID_Button GUID: {A36D02F0-C9F3-11CF-BFC7-444553540000} +CONSTANT: GUID_Key GUID: {55728220-D33C-11CF-BFC7-444553540000} +CONSTANT: GUID_POV GUID: {A36D02F2-C9F3-11CF-BFC7-444553540000} +CONSTANT: GUID_Unknown GUID: {A36D02F3-C9F3-11CF-BFC7-444553540000} +CONSTANT: GUID_SysMouse GUID: {6F1D2B60-D5A0-11CF-BFC7-444553540000} +CONSTANT: GUID_SysKeyboard GUID: {6F1D2B61-D5A0-11CF-BFC7-444553540000} +CONSTANT: GUID_Joystick GUID: {6F1D2B70-D5A0-11CF-BFC7-444553540000} +CONSTANT: GUID_SysMouseEm GUID: {6F1D2B80-D5A0-11CF-BFC7-444553540000} +CONSTANT: GUID_SysMouseEm2 GUID: {6F1D2B81-D5A0-11CF-BFC7-444553540000} +CONSTANT: GUID_SysKeyboardEm GUID: {6F1D2B82-D5A0-11CF-BFC7-444553540000} +CONSTANT: GUID_SysKeyboardEm2 GUID: {6F1D2B83-D5A0-11CF-BFC7-444553540000} From fccf6417b14541349a54e48236b7d3e14e84c0ff Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Mon, 15 Dec 2008 22:44:01 -0600 Subject: [PATCH 6/6] fix compile errors on windows --- basis/windows/errors/errors.factor | 16 +- basis/windows/gdi32/gdi32.factor | 56 +- basis/windows/kernel32/kernel32.factor | 539 ++++--- basis/windows/messages/messages.factor | 2015 ++++++++++++------------ 4 files changed, 1313 insertions(+), 1313 deletions(-) mode change 100644 => 100755 basis/windows/kernel32/kernel32.factor mode change 100644 => 100755 basis/windows/messages/messages.factor diff --git a/basis/windows/errors/errors.factor b/basis/windows/errors/errors.factor index bd938fdbad..7c19cbde53 100644 --- a/basis/windows/errors/errors.factor +++ b/basis/windows/errors/errors.factor @@ -1,10 +1,10 @@ -USING: kernel ; +USING: kernel constants ; IN: windows.errors -: ERROR_SUCCESS 0 ; inline -: ERROR_NO_MORE_FILES 18 ; inline -: ERROR_HANDLE_EOF 38 ; inline -: ERROR_BROKEN_PIPE 109 ; inline -: ERROR_ENVVAR_NOT_FOUND 203 ; inline -: ERROR_IO_INCOMPLETE 996 ; inline -: ERROR_IO_PENDING 997 ; inline +CONSTANT: ERROR_SUCCESS 0 +CONSTANT: ERROR_NO_MORE_FILES 18 +CONSTANT: ERROR_HANDLE_EOF 38 +CONSTANT: ERROR_BROKEN_PIPE 109 +CONSTANT: ERROR_ENVVAR_NOT_FOUND 203 +CONSTANT: ERROR_IO_INCOMPLETE 996 +CONSTANT: ERROR_IO_PENDING 997 diff --git a/basis/windows/gdi32/gdi32.factor b/basis/windows/gdi32/gdi32.factor index 32e4f3cd8a..9c16664de8 100755 --- a/basis/windows/gdi32/gdi32.factor +++ b/basis/windows/gdi32/gdi32.factor @@ -1,38 +1,38 @@ ! FUNCTION: AbortDoc ! Copyright (C) 2005, 2006 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: alien alien.syntax kernel windows.types alias ; +USING: alien alien.syntax kernel windows.types alias constants ; IN: windows.gdi32 ! Stock Logical Objects -: WHITE_BRUSH 0 ; inline -: LTGRAY_BRUSH 1 ; inline -: GRAY_BRUSH 2 ; inline -: DKGRAY_BRUSH 3 ; inline -: BLACK_BRUSH 4 ; inline -: NULL_BRUSH 5 ; inline -: HOLLOW_BRUSH NULL_BRUSH ; inline -: WHITE_PEN 6 ; inline -: BLACK_PEN 7 ; inline -: NULL_PEN 8 ; inline -: OEM_FIXED_FONT 10 ; inline -: ANSI_FIXED_FONT 11 ; inline -: ANSI_VAR_FONT 12 ; inline -: SYSTEM_FONT 13 ; inline -: DEVICE_DEFAULT_FONT 14 ; inline -: DEFAULT_PALETTE 15 ; inline -: SYSTEM_FIXED_FONT 16 ; inline -: DEFAULT_GUI_FONT 17 ; inline -: DC_BRUSH 18 ; inline -: DC_PEN 19 ; inline +CONSTANT: WHITE_BRUSH 0 +CONSTANT: LTGRAY_BRUSH 1 +CONSTANT: GRAY_BRUSH 2 +CONSTANT: DKGRAY_BRUSH 3 +CONSTANT: BLACK_BRUSH 4 +CONSTANT: NULL_BRUSH 5 +ALIAS: HOLLOW_BRUSH NULL_BRUSH +CONSTANT: WHITE_PEN 6 +CONSTANT: BLACK_PEN 7 +CONSTANT: NULL_PEN 8 +CONSTANT: OEM_FIXED_FONT 10 +CONSTANT: ANSI_FIXED_FONT 11 +CONSTANT: ANSI_VAR_FONT 12 +CONSTANT: SYSTEM_FONT 13 +CONSTANT: DEVICE_DEFAULT_FONT 14 +CONSTANT: DEFAULT_PALETTE 15 +CONSTANT: SYSTEM_FIXED_FONT 16 +CONSTANT: DEFAULT_GUI_FONT 17 +CONSTANT: DC_BRUSH 18 +CONSTANT: DC_PEN 19 + +CONSTANT: BI_RGB 0 +CONSTANT: BI_RLE8 1 +CONSTANT: BI_RLE4 2 +CONSTANT: BI_BITFIELDS 3 -: BI_RGB 0 ; inline -: BI_RLE8 1 ; inline -: BI_RLE4 2 ; inline -: BI_BITFIELDS 3 ; inline - -: DIB_RGB_COLORS 0 ; inline -: DIB_PAL_COLORS 1 ; inline +CONSTANT: DIB_RGB_COLORS 0 +CONSTANT: DIB_PAL_COLORS 1 LIBRARY: gdi32 diff --git a/basis/windows/kernel32/kernel32.factor b/basis/windows/kernel32/kernel32.factor old mode 100644 new mode 100755 index 7d6f0ab5f2..cdfb31cbf7 --- a/basis/windows/kernel32/kernel32.factor +++ b/basis/windows/kernel32/kernel32.factor @@ -1,93 +1,93 @@ ! Copyright (C) 2005, 2006 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: alien alien.syntax kernel windows.types alias ; +USING: alien alien.syntax kernel windows.types alias constants ; IN: windows.kernel32 -: MAX_PATH 260 ; inline +CONSTANT: MAX_PATH 260 -: GHND HEX: 40 ; inline -: GMEM_FIXED 0 ; inline -: GMEM_MOVEABLE 2 ; inline -: GMEM_ZEROINIT HEX: 40 ; inline -: GPTR HEX: 40 ; inline +CONSTANT: GHND HEX: 40 +CONSTANT: GMEM_FIXED 0 +CONSTANT: GMEM_MOVEABLE 2 +CONSTANT: GMEM_ZEROINIT HEX: 40 +CONSTANT: GPTR HEX: 40 -: GENERIC_READ HEX: 80000000 ; inline -: GENERIC_WRITE HEX: 40000000 ; inline -: GENERIC_EXECUTE HEX: 20000000 ; inline -: GENERIC_ALL HEX: 10000000 ; inline +CONSTANT: GENERIC_READ HEX: 80000000 +CONSTANT: GENERIC_WRITE HEX: 40000000 +CONSTANT: GENERIC_EXECUTE HEX: 20000000 +CONSTANT: GENERIC_ALL HEX: 10000000 -: CREATE_NEW 1 ; inline -: CREATE_ALWAYS 2 ; inline -: OPEN_EXISTING 3 ; inline -: OPEN_ALWAYS 4 ; inline -: TRUNCATE_EXISTING 5 ; inline +CONSTANT: CREATE_NEW 1 +CONSTANT: CREATE_ALWAYS 2 +CONSTANT: OPEN_EXISTING 3 +CONSTANT: OPEN_ALWAYS 4 +CONSTANT: TRUNCATE_EXISTING 5 -: FILE_LIST_DIRECTORY HEX: 00000001 ; inline -: FILE_READ_DAT HEX: 00000001 ; inline -: FILE_ADD_FILE HEX: 00000002 ; inline -: FILE_WRITE_DATA HEX: 00000002 ; inline -: FILE_ADD_SUBDIRECTORY HEX: 00000004 ; inline -: FILE_APPEND_DATA HEX: 00000004 ; inline -: FILE_CREATE_PIPE_INSTANCE HEX: 00000004 ; inline -: FILE_READ_EA HEX: 00000008 ; inline -: FILE_READ_PROPERTIES HEX: 00000008 ; inline -: FILE_WRITE_EA HEX: 00000010 ; inline -: FILE_WRITE_PROPERTIES HEX: 00000010 ; inline -: FILE_EXECUTE HEX: 00000020 ; inline -: FILE_TRAVERSE HEX: 00000020 ; inline -: FILE_DELETE_CHILD HEX: 00000040 ; inline -: FILE_READ_ATTRIBUTES HEX: 00000080 ; inline -: FILE_WRITE_ATTRIBUTES HEX: 00000100 ; inline +CONSTANT: FILE_LIST_DIRECTORY HEX: 00000001 +CONSTANT: FILE_READ_DAT HEX: 00000001 +CONSTANT: FILE_ADD_FILE HEX: 00000002 +CONSTANT: FILE_WRITE_DATA HEX: 00000002 +CONSTANT: FILE_ADD_SUBDIRECTORY HEX: 00000004 +CONSTANT: FILE_APPEND_DATA HEX: 00000004 +CONSTANT: FILE_CREATE_PIPE_INSTANCE HEX: 00000004 +CONSTANT: FILE_READ_EA HEX: 00000008 +CONSTANT: FILE_READ_PROPERTIES HEX: 00000008 +CONSTANT: FILE_WRITE_EA HEX: 00000010 +CONSTANT: FILE_WRITE_PROPERTIES HEX: 00000010 +CONSTANT: FILE_EXECUTE HEX: 00000020 +CONSTANT: FILE_TRAVERSE HEX: 00000020 +CONSTANT: FILE_DELETE_CHILD HEX: 00000040 +CONSTANT: FILE_READ_ATTRIBUTES HEX: 00000080 +CONSTANT: FILE_WRITE_ATTRIBUTES HEX: 00000100 -: FILE_SHARE_READ 1 ; inline -: FILE_SHARE_WRITE 2 ; inline -: FILE_SHARE_DELETE 4 ; inline -: FILE_SHARE_VALID_FLAGS 7 ; inline +CONSTANT: FILE_SHARE_READ 1 +CONSTANT: FILE_SHARE_WRITE 2 +CONSTANT: FILE_SHARE_DELETE 4 +CONSTANT: FILE_SHARE_VALID_FLAGS 7 -: FILE_FLAG_WRITE_THROUGH HEX: 80000000 ; inline -: FILE_FLAG_OVERLAPPED HEX: 40000000 ; inline -: FILE_FLAG_NO_BUFFERING HEX: 20000000 ; inline -: FILE_FLAG_RANDOM_ACCESS HEX: 10000000 ; inline -: FILE_FLAG_SEQUENTIAL_SCAN HEX: 08000000 ; inline -: FILE_FLAG_DELETE_ON_CLOSE HEX: 04000000 ; inline -: FILE_FLAG_BACKUP_SEMANTICS HEX: 02000000 ; inline -: FILE_FLAG_POSIX_SEMANTICS HEX: 01000000 ; inline -: FILE_FLAG_OPEN_REPARSE_POINT HEX: 00200000 ; inline -: FILE_FLAG_OPEN_NO_RECALL HEX: 00100000 ; inline -: FILE_FLAG_FIRST_PIPE_INSTANCE HEX: 00080000 ; inline +CONSTANT: FILE_FLAG_WRITE_THROUGH HEX: 80000000 +CONSTANT: FILE_FLAG_OVERLAPPED HEX: 40000000 +CONSTANT: FILE_FLAG_NO_BUFFERING HEX: 20000000 +CONSTANT: FILE_FLAG_RANDOM_ACCESS HEX: 10000000 +CONSTANT: FILE_FLAG_SEQUENTIAL_SCAN HEX: 08000000 +CONSTANT: FILE_FLAG_DELETE_ON_CLOSE HEX: 04000000 +CONSTANT: FILE_FLAG_BACKUP_SEMANTICS HEX: 02000000 +CONSTANT: FILE_FLAG_POSIX_SEMANTICS HEX: 01000000 +CONSTANT: FILE_FLAG_OPEN_REPARSE_POINT HEX: 00200000 +CONSTANT: FILE_FLAG_OPEN_NO_RECALL HEX: 00100000 +CONSTANT: FILE_FLAG_FIRST_PIPE_INSTANCE HEX: 00080000 -: FILE_ATTRIBUTE_READONLY HEX: 00000001 ; inline -: FILE_ATTRIBUTE_HIDDEN HEX: 00000002 ; inline -: FILE_ATTRIBUTE_SYSTEM HEX: 00000004 ; inline -: FILE_ATTRIBUTE_DIRECTORY HEX: 00000010 ; inline -: FILE_ATTRIBUTE_ARCHIVE HEX: 00000020 ; inline -: FILE_ATTRIBUTE_DEVICE HEX: 00000040 ; inline -: FILE_ATTRIBUTE_NORMAL HEX: 00000080 ; inline -: FILE_ATTRIBUTE_TEMPORARY HEX: 00000100 ; inline -: FILE_ATTRIBUTE_SPARSE_FILE HEX: 00000200 ; inline -: FILE_ATTRIBUTE_REPARSE_POINT HEX: 00000400 ; inline -: FILE_ATTRIBUTE_COMPRESSED HEX: 00000800 ; inline -: FILE_ATTRIBUTE_OFFLINE HEX: 00001000 ; inline -: FILE_ATTRIBUTE_NOT_CONTENT_INDEXED HEX: 00002000 ; inline -: FILE_ATTRIBUTE_ENCRYPTED HEX: 00004000 ; inline +CONSTANT: FILE_ATTRIBUTE_READONLY HEX: 00000001 +CONSTANT: FILE_ATTRIBUTE_HIDDEN HEX: 00000002 +CONSTANT: FILE_ATTRIBUTE_SYSTEM HEX: 00000004 +CONSTANT: FILE_ATTRIBUTE_DIRECTORY HEX: 00000010 +CONSTANT: FILE_ATTRIBUTE_ARCHIVE HEX: 00000020 +CONSTANT: FILE_ATTRIBUTE_DEVICE HEX: 00000040 +CONSTANT: FILE_ATTRIBUTE_NORMAL HEX: 00000080 +CONSTANT: FILE_ATTRIBUTE_TEMPORARY HEX: 00000100 +CONSTANT: FILE_ATTRIBUTE_SPARSE_FILE HEX: 00000200 +CONSTANT: FILE_ATTRIBUTE_REPARSE_POINT HEX: 00000400 +CONSTANT: FILE_ATTRIBUTE_COMPRESSED HEX: 00000800 +CONSTANT: FILE_ATTRIBUTE_OFFLINE HEX: 00001000 +CONSTANT: FILE_ATTRIBUTE_NOT_CONTENT_INDEXED HEX: 00002000 +CONSTANT: FILE_ATTRIBUTE_ENCRYPTED HEX: 00004000 -: FILE_NOTIFY_CHANGE_FILE HEX: 001 ; inline -: FILE_NOTIFY_CHANGE_DIR_NAME HEX: 002 ; inline -: FILE_NOTIFY_CHANGE_ATTRIBUTES HEX: 004 ; inline -: FILE_NOTIFY_CHANGE_SIZE HEX: 008 ; inline -: FILE_NOTIFY_CHANGE_LAST_WRITE HEX: 010 ; inline -: FILE_NOTIFY_CHANGE_LAST_ACCESS HEX: 020 ; inline -: FILE_NOTIFY_CHANGE_CREATION HEX: 040 ; inline -: FILE_NOTIFY_CHANGE_EA HEX: 080 ; inline -: FILE_NOTIFY_CHANGE_SECURITY HEX: 100 ; inline -: FILE_NOTIFY_CHANGE_FILE_NAME HEX: 200 ; inline -: FILE_NOTIFY_CHANGE_ALL HEX: 3ff ; inline +CONSTANT: FILE_NOTIFY_CHANGE_FILE HEX: 001 +CONSTANT: FILE_NOTIFY_CHANGE_DIR_NAME HEX: 002 +CONSTANT: FILE_NOTIFY_CHANGE_ATTRIBUTES HEX: 004 +CONSTANT: FILE_NOTIFY_CHANGE_SIZE HEX: 008 +CONSTANT: FILE_NOTIFY_CHANGE_LAST_WRITE HEX: 010 +CONSTANT: FILE_NOTIFY_CHANGE_LAST_ACCESS HEX: 020 +CONSTANT: FILE_NOTIFY_CHANGE_CREATION HEX: 040 +CONSTANT: FILE_NOTIFY_CHANGE_EA HEX: 080 +CONSTANT: FILE_NOTIFY_CHANGE_SECURITY HEX: 100 +CONSTANT: FILE_NOTIFY_CHANGE_FILE_NAME HEX: 200 +CONSTANT: FILE_NOTIFY_CHANGE_ALL HEX: 3ff -: FILE_ACTION_ADDED 1 ; inline -: FILE_ACTION_REMOVED 2 ; inline -: FILE_ACTION_MODIFIED 3 ; inline -: FILE_ACTION_RENAMED_OLD_NAME 4 ; inline -: FILE_ACTION_RENAMED_NEW_NAME 5 ; inline +CONSTANT: FILE_ACTION_ADDED 1 +CONSTANT: FILE_ACTION_REMOVED 2 +CONSTANT: FILE_ACTION_MODIFIED 3 +CONSTANT: FILE_ACTION_RENAMED_OLD_NAME 4 +CONSTANT: FILE_ACTION_RENAMED_NEW_NAME 5 C-STRUCT: FILE_NOTIFY_INFORMATION { "DWORD" "NextEntryOffset" } @@ -96,107 +96,106 @@ C-STRUCT: FILE_NOTIFY_INFORMATION { "WCHAR[1]" "FileName" } ; TYPEDEF: FILE_NOTIFY_INFORMATION* PFILE_NOTIFY_INFORMATION -: STD_INPUT_HANDLE -10 ; inline -: STD_OUTPUT_HANDLE -11 ; inline -: STD_ERROR_HANDLE -12 ; inline +CONSTANT: STD_INPUT_HANDLE -10 +CONSTANT: STD_OUTPUT_HANDLE -11 +CONSTANT: STD_ERROR_HANDLE -12 -: INVALID_HANDLE_VALUE -1 ; inline -: INVALID_FILE_SIZE HEX: FFFFFFFF ; inline -: INVALID_SET_FILE_POINTER HEX: ffffffff ; inline +: INVALID_HANDLE_VALUE ( -- alien ) -1 ; inline +CONSTANT: INVALID_FILE_SIZE HEX: FFFFFFFF +CONSTANT: INVALID_SET_FILE_POINTER HEX: ffffffff -: FILE_BEGIN 0 ; inline -: FILE_CURRENT 1 ; inline -: FILE_END 2 ; inline +CONSTANT: FILE_BEGIN 0 +CONSTANT: FILE_CURRENT 1 +CONSTANT: FILE_END 2 -: OF_READ 0 ; -: OF_READWRITE 2 ; -: OF_WRITE 1 ; -: OF_SHARE_COMPAT 0 ; -: OF_SHARE_DENY_NONE 64 ; -: OF_SHARE_DENY_READ 48 ; -: OF_SHARE_DENY_WRITE 32 ; -: OF_SHARE_EXCLUSIVE 16 ; -: OF_CANCEL 2048 ; -: OF_CREATE 4096 ; -: OF_DELETE 512 ; -: OF_EXIST 16384 ; -: OF_PARSE 256 ; -: OF_PROMPT 8192 ; -: OF_REOPEN 32768 ; -: OF_VERIFY 1024 ; +CONSTANT: OF_READ 0 +CONSTANT: OF_READWRITE 2 +CONSTANT: OF_WRITE 1 +CONSTANT: OF_SHARE_COMPAT 0 +CONSTANT: OF_SHARE_DENY_NONE 64 +CONSTANT: OF_SHARE_DENY_READ 48 +CONSTANT: OF_SHARE_DENY_WRITE 32 +CONSTANT: OF_SHARE_EXCLUSIVE 16 +CONSTANT: OF_CANCEL 2048 +CONSTANT: OF_CREATE 4096 +CONSTANT: OF_DELETE 512 +CONSTANT: OF_EXIST 16384 +CONSTANT: OF_PARSE 256 +CONSTANT: OF_PROMPT 8192 +CONSTANT: OF_REOPEN 32768 +CONSTANT: OF_VERIFY 1024 -: INFINITE HEX: FFFFFFFF ; inline +CONSTANT: INFINITE HEX: FFFFFFFF ! From C:\cygwin\usr\include\w32api\winbase.h -: FILE_TYPE_UNKNOWN 0 ; -: FILE_TYPE_DISK 1 ; -: FILE_TYPE_CHAR 2 ; -: FILE_TYPE_PIPE 3 ; -: FILE_TYPE_REMOTE HEX: 8000 ; +CONSTANT: FILE_TYPE_UNKNOWN 0 +CONSTANT: FILE_TYPE_DISK 1 +CONSTANT: FILE_TYPE_CHAR 2 +CONSTANT: FILE_TYPE_PIPE 3 +CONSTANT: FILE_TYPE_REMOTE HEX: 8000 -: TIME_ZONE_ID_UNKNOWN 0 ; inline -: TIME_ZONE_ID_STANDARD 1 ; inline -: TIME_ZONE_ID_DAYLIGHT 2 ; inline -: TIME_ZONE_ID_INVALID HEX: FFFFFFFF ; inline +CONSTANT: TIME_ZONE_ID_UNKNOWN 0 +CONSTANT: TIME_ZONE_ID_STANDARD 1 +CONSTANT: TIME_ZONE_ID_DAYLIGHT 2 +CONSTANT: TIME_ZONE_ID_INVALID HEX: FFFFFFFF +CONSTANT: PF_XMMI64_INSTRUCTIONS_AVAILABLE 10 +CONSTANT: PF_SSE3_INSTRUCTIONS_AVAILABLE 13 -: PF_XMMI64_INSTRUCTIONS_AVAILABLE 10 ; inline -: PF_SSE3_INSTRUCTIONS_AVAILABLE 13 ; inline +CONSTANT: MAX_COMPUTERNAME_LENGTH 15 +CONSTANT: UNLEN 256 -: MAX_COMPUTERNAME_LENGTH 15 ; inline -: UNLEN 256 ; inline +CONSTANT: PROCESS_TERMINATE HEX: 1 +CONSTANT: PROCESS_CREATE_THREAD HEX: 2 +CONSTANT: PROCESS_VM_OPERATION HEX: 8 +CONSTANT: PROCESS_VM_READ HEX: 10 +CONSTANT: PROCESS_VM_WRITE HEX: 20 +CONSTANT: PROCESS_DUP_HANDLE HEX: 40 +CONSTANT: PROCESS_CREATE_PROCESS HEX: 80 +CONSTANT: PROCESS_SET_QUOTA HEX: 100 +CONSTANT: PROCESS_SET_INFORMATION HEX: 200 +CONSTANT: PROCESS_QUERY_INFORMATION HEX: 400 -: PROCESS_TERMINATE ( -- n ) HEX: 1 ; inline -: PROCESS_CREATE_THREAD ( -- n ) HEX: 2 ; inline -: PROCESS_VM_OPERATION ( -- n ) HEX: 8 ; inline -: PROCESS_VM_READ ( -- n ) HEX: 10 ; inline -: PROCESS_VM_WRITE ( -- n ) HEX: 20 ; inline -: PROCESS_DUP_HANDLE ( -- n ) HEX: 40 ; inline -: PROCESS_CREATE_PROCESS ( -- n ) HEX: 80 ; inline -: PROCESS_SET_QUOTA ( -- n ) HEX: 100 ; inline -: PROCESS_SET_INFORMATION ( -- n ) HEX: 200 ; inline -: PROCESS_QUERY_INFORMATION ( -- n ) HEX: 400 ; inline +CONSTANT: MEM_COMMIT HEX: 1000 +CONSTANT: MEM_RELEASE HEX: 8000 -: MEM_COMMIT ( -- n ) HEX: 1000 ; inline -: MEM_RELEASE ( -- n ) HEX: 8000 ; inline +CONSTANT: PAGE_NOACCESS 1 +CONSTANT: PAGE_READONLY 2 +CONSTANT: PAGE_READWRITE 4 +CONSTANT: PAGE_WRITECOPY 8 +CONSTANT: PAGE_EXECUTE HEX: 10 +CONSTANT: PAGE_EXECUTE_READ HEX: 20 +CONSTANT: PAGE_EXECUTE_READWRITE HEX: 40 +CONSTANT: PAGE_EXECUTE_WRITECOPY HEX: 80 +CONSTANT: PAGE_GUARD HEX: 100 +CONSTANT: PAGE_NOCACHE HEX: 200 -: PAGE_NOACCESS 1 ; inline -: PAGE_READONLY 2 ; inline -: PAGE_READWRITE 4 ; inline -: PAGE_WRITECOPY 8 ; inline -: PAGE_EXECUTE HEX: 10 ; inline -: PAGE_EXECUTE_READ HEX: 20 ; inline -: PAGE_EXECUTE_READWRITE HEX: 40 ; inline -: PAGE_EXECUTE_WRITECOPY HEX: 80 ; inline -: PAGE_GUARD HEX: 100 ; inline -: PAGE_NOCACHE HEX: 200 ; inline +CONSTANT: SEC_BASED HEX: 00200000 +CONSTANT: SEC_NO_CHANGE HEX: 00400000 +CONSTANT: SEC_FILE HEX: 00800000 +CONSTANT: SEC_IMAGE HEX: 01000000 +CONSTANT: SEC_VLM HEX: 02000000 +CONSTANT: SEC_RESERVE HEX: 04000000 +CONSTANT: SEC_COMMIT HEX: 08000000 +CONSTANT: SEC_NOCACHE HEX: 10000000 +ALIAS: MEM_IMAGE SEC_IMAGE -: SEC_BASED HEX: 00200000 ; inline -: SEC_NO_CHANGE HEX: 00400000 ; inline -: SEC_FILE HEX: 00800000 ; inline -: SEC_IMAGE HEX: 01000000 ; inline -: SEC_VLM HEX: 02000000 ; inline -: SEC_RESERVE HEX: 04000000 ; inline -: SEC_COMMIT HEX: 08000000 ; inline -: SEC_NOCACHE HEX: 10000000 ; inline -: MEM_IMAGE SEC_IMAGE ; inline +CONSTANT: ERROR_ALREADY_EXISTS 183 -: ERROR_ALREADY_EXISTS 183 ; inline +CONSTANT: FILE_MAP_ALL_ACCESS HEX: f001f +CONSTANT: FILE_MAP_READ 4 +CONSTANT: FILE_MAP_WRITE 2 +CONSTANT: FILE_MAP_COPY 1 -: FILE_MAP_ALL_ACCESS HEX: f001f ; -: FILE_MAP_READ 4 ; -: FILE_MAP_WRITE 2 ; -: FILE_MAP_COPY 1 ; - -: THREAD_MODE_BACKGROUND_BEGIN HEX: 10000 ; inline -: THREAD_MODE_BACKGROUND_END HEX: 20000 ; inline -: THREAD_PRIORITY_ABOVE_NORMAL 1 ; inline -: THREAD_PRIORITY_BELOW_NORMAL -1 ; inline -: THREAD_PRIORITY_HIGHEST 2 ; inline -: THREAD_PRIORITY_IDLE -15 ; inline -: THREAD_PRIORITY_LOWEST -2 ; inline -: THREAD_PRIORITY_NORMAL 0 ; inline -: THREAD_PRIORITY_TIME_CRITICAL 15 ; inline +CONSTANT: THREAD_MODE_BACKGROUND_BEGIN HEX: 10000 +CONSTANT: THREAD_MODE_BACKGROUND_END HEX: 20000 +CONSTANT: THREAD_PRIORITY_ABOVE_NORMAL 1 +CONSTANT: THREAD_PRIORITY_BELOW_NORMAL -1 +CONSTANT: THREAD_PRIORITY_HIGHEST 2 +CONSTANT: THREAD_PRIORITY_IDLE -15 +CONSTANT: THREAD_PRIORITY_LOWEST -2 +CONSTANT: THREAD_PRIORITY_NORMAL 0 +CONSTANT: THREAD_PRIORITY_TIME_CRITICAL 15 C-STRUCT: OVERLAPPED { "UINT_PTR" "internal" } @@ -321,74 +320,74 @@ C-STRUCT: GUID { { "UCHAR" 8 } "Data4" } ; -: SE_CREATE_TOKEN_NAME "SeCreateTokenPrivilege" ; -: SE_ASSIGNPRIMARYTOKEN_NAME "SeAssignPrimaryTokenPrivilege" ; -: SE_LOCK_MEMORY_NAME "SeLockMemoryPrivilege" ; -: SE_INCREASE_QUOTA_NAME "SeIncreaseQuotaPrivilege" ; -: SE_UNSOLICITED_INPUT_NAME "SeUnsolicitedInputPrivilege" ; -: SE_MACHINE_ACCOUNT_NAME "SeMachineAccountPrivilege" ; -: SE_TCB_NAME "SeTcbPrivilege" ; -: SE_SECURITY_NAME "SeSecurityPrivilege" ; -: SE_TAKE_OWNERSHIP_NAME "SeTakeOwnershipPrivilege" ; -: SE_LOAD_DRIVER_NAME "SeLoadDriverPrivilege" ; -: SE_SYSTEM_PROFILE_NAME "SeSystemProfilePrivilege" ; -: SE_SYSTEMTIME_NAME "SeSystemtimePrivilege" ; -: SE_PROF_SINGLE_PROCESS_NAME "SeProfileSingleProcessPrivilege" ; -: SE_INC_BASE_PRIORITY_NAME "SeIncreaseBasePriorityPrivilege" ; -: SE_CREATE_PAGEFILE_NAME "SeCreatePagefilePrivilege" ; -: SE_CREATE_PERMANENT_NAME "SeCreatePermanentPrivilege" ; -: SE_BACKUP_NAME "SeBackupPrivilege" ; -: SE_RESTORE_NAME "SeRestorePrivilege" ; -: SE_SHUTDOWN_NAME "SeShutdownPrivilege" ; -: SE_DEBUG_NAME "SeDebugPrivilege" ; -: SE_AUDIT_NAME "SeAuditPrivilege" ; -: SE_SYSTEM_ENVIRONMENT_NAME "SeSystemEnvironmentPrivilege" ; -: SE_CHANGE_NOTIFY_NAME "SeChangeNotifyPrivilege" ; -: SE_REMOTE_SHUTDOWN_NAME "SeRemoteShutdownPrivilege" ; -: SE_UNDOCK_NAME "SeUndockPrivilege" ; -: SE_ENABLE_DELEGATION_NAME "SeEnableDelegationPrivilege" ; -: SE_MANAGE_VOLUME_NAME "SeManageVolumePrivilege" ; -: SE_IMPERSONATE_NAME "SeImpersonatePrivilege" ; -: SE_CREATE_GLOBAL_NAME "SeCreateGlobalPrivilege" ; +CONSTANT: SE_CREATE_TOKEN_NAME "SeCreateTokenPrivilege" +CONSTANT: SE_ASSIGNPRIMARYTOKEN_NAME "SeAssignPrimaryTokenPrivilege" +CONSTANT: SE_LOCK_MEMORY_NAME "SeLockMemoryPrivilege" +CONSTANT: SE_INCREASE_QUOTA_NAME "SeIncreaseQuotaPrivilege" +CONSTANT: SE_UNSOLICITED_INPUT_NAME "SeUnsolicitedInputPrivilege" +CONSTANT: SE_MACHINE_ACCOUNT_NAME "SeMachineAccountPrivilege" +CONSTANT: SE_TCB_NAME "SeTcbPrivilege" +CONSTANT: SE_SECURITY_NAME "SeSecurityPrivilege" +CONSTANT: SE_TAKE_OWNERSHIP_NAME "SeTakeOwnershipPrivilege" +CONSTANT: SE_LOAD_DRIVER_NAME "SeLoadDriverPrivilege" +CONSTANT: SE_SYSTEM_PROFILE_NAME "SeSystemProfilePrivilege" +CONSTANT: SE_SYSTEMTIME_NAME "SeSystemtimePrivilege" +CONSTANT: SE_PROF_SINGLE_PROCESS_NAME "SeProfileSingleProcessPrivilege" +CONSTANT: SE_INC_BASE_PRIORITY_NAME "SeIncreaseBasePriorityPrivilege" +CONSTANT: SE_CREATE_PAGEFILE_NAME "SeCreatePagefilePrivilege" +CONSTANT: SE_CREATE_PERMANENT_NAME "SeCreatePermanentPrivilege" +CONSTANT: SE_BACKUP_NAME "SeBackupPrivilege" +CONSTANT: SE_RESTORE_NAME "SeRestorePrivilege" +CONSTANT: SE_SHUTDOWN_NAME "SeShutdownPrivilege" +CONSTANT: SE_DEBUG_NAME "SeDebugPrivilege" +CONSTANT: SE_AUDIT_NAME "SeAuditPrivilege" +CONSTANT: SE_SYSTEM_ENVIRONMENT_NAME "SeSystemEnvironmentPrivilege" +CONSTANT: SE_CHANGE_NOTIFY_NAME "SeChangeNotifyPrivilege" +CONSTANT: SE_REMOTE_SHUTDOWN_NAME "SeRemoteShutdownPrivilege" +CONSTANT: SE_UNDOCK_NAME "SeUndockPrivilege" +CONSTANT: SE_ENABLE_DELEGATION_NAME "SeEnableDelegationPrivilege" +CONSTANT: SE_MANAGE_VOLUME_NAME "SeManageVolumePrivilege" +CONSTANT: SE_IMPERSONATE_NAME "SeImpersonatePrivilege" +CONSTANT: SE_CREATE_GLOBAL_NAME "SeCreateGlobalPrivilege" -: SE_GROUP_MANDATORY HEX: 00000001 ; -: SE_GROUP_ENABLED_BY_DEFAULT HEX: 00000002 ; -: SE_GROUP_ENABLED HEX: 00000004 ; -: SE_GROUP_OWNER HEX: 00000008 ; -: SE_GROUP_USE_FOR_DENY_ONLY HEX: 00000010 ; -: SE_GROUP_LOGON_ID HEX: C0000000 ; -: SE_GROUP_RESOURCE HEX: 20000000 ; +CONSTANT: SE_GROUP_MANDATORY HEX: 00000001 +CONSTANT: SE_GROUP_ENABLED_BY_DEFAULT HEX: 00000002 +CONSTANT: SE_GROUP_ENABLED HEX: 00000004 +CONSTANT: SE_GROUP_OWNER HEX: 00000008 +CONSTANT: SE_GROUP_USE_FOR_DENY_ONLY HEX: 00000010 +CONSTANT: SE_GROUP_LOGON_ID HEX: C0000000 +CONSTANT: SE_GROUP_RESOURCE HEX: 20000000 -: SE_PRIVILEGE_ENABLED_BY_DEFAULT HEX: 00000001 ; -: SE_PRIVILEGE_ENABLED HEX: 00000002 ; -: SE_PRIVILEGE_REMOVE HEX: 00000004 ; -: SE_PRIVILEGE_USED_FOR_ACCESS HEX: 80000000 ; +CONSTANT: SE_PRIVILEGE_ENABLED_BY_DEFAULT HEX: 00000001 +CONSTANT: SE_PRIVILEGE_ENABLED HEX: 00000002 +CONSTANT: SE_PRIVILEGE_REMOVE HEX: 00000004 +CONSTANT: SE_PRIVILEGE_USED_FOR_ACCESS HEX: 80000000 -: PRIVILEGE_SET_ALL_NECESSARY 1 ; +CONSTANT: PRIVILEGE_SET_ALL_NECESSARY 1 -: SE_OWNER_DEFAULTED HEX: 00000001 ; -: SE_GROUP_DEFAULTED HEX: 00000002 ; -: SE_DACL_PRESENT HEX: 00000004 ; -: SE_DACL_DEFAULTED HEX: 00000008 ; -: SE_SACL_PRESENT HEX: 00000010 ; -: SE_SACL_DEFAULTED HEX: 00000020 ; -: SE_DACL_AUTO_INHERIT_REQ HEX: 00000100 ; -: SE_SACL_AUTO_INHERIT_REQ HEX: 00000200 ; -: SE_DACL_AUTO_INHERITED HEX: 00000400 ; -: SE_SACL_AUTO_INHERITED HEX: 00000800 ; -: SE_DACL_PROTECTED HEX: 00001000 ; -: SE_SACL_PROTECTED HEX: 00002000 ; -: SE_SELF_RELATIVE HEX: 00008000 ; +CONSTANT: SE_OWNER_DEFAULTED HEX: 00000001 +CONSTANT: SE_GROUP_DEFAULTED HEX: 00000002 +CONSTANT: SE_DACL_PRESENT HEX: 00000004 +CONSTANT: SE_DACL_DEFAULTED HEX: 00000008 +CONSTANT: SE_SACL_PRESENT HEX: 00000010 +CONSTANT: SE_SACL_DEFAULTED HEX: 00000020 +CONSTANT: SE_DACL_AUTO_INHERIT_REQ HEX: 00000100 +CONSTANT: SE_SACL_AUTO_INHERIT_REQ HEX: 00000200 +CONSTANT: SE_DACL_AUTO_INHERITED HEX: 00000400 +CONSTANT: SE_SACL_AUTO_INHERITED HEX: 00000800 +CONSTANT: SE_DACL_PROTECTED HEX: 00001000 +CONSTANT: SE_SACL_PROTECTED HEX: 00002000 +CONSTANT: SE_SELF_RELATIVE HEX: 00008000 -: ANYSIZE_ARRAY 1 ; inline +CONSTANT: ANYSIZE_ARRAY 1 -: MAXIMUM_WAIT_OBJECTS 64 ; inline -: MAXIMUM_SUSPEND_COUNT HEX: 7f ; inline -: WAIT_OBJECT_0 0 ; inline -: WAIT_ABANDONED_0 128 ; inline -: WAIT_TIMEOUT 258 ; inline -: WAIT_IO_COMPLETION HEX: c0 ; inline -: WAIT_FAILED HEX: ffffffff ; inline +CONSTANT: MAXIMUM_WAIT_OBJECTS 64 +CONSTANT: MAXIMUM_SUSPEND_COUNT HEX: 7f +CONSTANT: WAIT_OBJECT_0 0 +CONSTANT: WAIT_ABANDONED_0 128 +CONSTANT: WAIT_TIMEOUT 258 +CONSTANT: WAIT_IO_COMPLETION HEX: c0 +CONSTANT: WAIT_FAILED HEX: ffffffff C-STRUCT: LUID { "DWORD" "LowPart" } @@ -427,7 +426,7 @@ C-STRUCT: BY_HANDLE_FILE_INFORMATION { "DWORD" "nFileIndexLow" } ; TYPEDEF: BY_HANDLE_FILE_INFORMATION* LPBY_HANDLE_FILE_INFORMATION -: OFS_MAXPATHNAME 128 ; +CONSTANT: OFS_MAXPATHNAME 128 C-STRUCT: OFSTRUCT { "BYTE" "cBytes" } @@ -489,34 +488,34 @@ C-STRUCT: SECURITY_ATTRIBUTES { "LPVOID" "lpSecurityDescriptor" } { "BOOL" "bInheritHandle" } ; -: HANDLE_FLAG_INHERIT 1 ; inline -: HANDLE_FLAG_PROTECT_FROM_CLOSE 2 ; inline +CONSTANT: HANDLE_FLAG_INHERIT 1 +CONSTANT: HANDLE_FLAG_PROTECT_FROM_CLOSE 2 -: STARTF_USESHOWWINDOW HEX: 00000001 ; inline -: STARTF_USESIZE HEX: 00000002 ; inline -: STARTF_USEPOSITION HEX: 00000004 ; inline -: STARTF_USECOUNTCHARS HEX: 00000008 ; inline -: STARTF_USEFILLATTRIBUTE HEX: 00000010 ; inline -: STARTF_RUNFULLSCREEN HEX: 00000020 ; inline -: STARTF_FORCEONFEEDBACK HEX: 00000040 ; inline -: STARTF_FORCEOFFFEEDBACK HEX: 00000080 ; inline -: STARTF_USESTDHANDLES HEX: 00000100 ; inline -: STARTF_USEHOTKEY HEX: 00000200 ; inline +CONSTANT: STARTF_USESHOWWINDOW HEX: 00000001 +CONSTANT: STARTF_USESIZE HEX: 00000002 +CONSTANT: STARTF_USEPOSITION HEX: 00000004 +CONSTANT: STARTF_USECOUNTCHARS HEX: 00000008 +CONSTANT: STARTF_USEFILLATTRIBUTE HEX: 00000010 +CONSTANT: STARTF_RUNFULLSCREEN HEX: 00000020 +CONSTANT: STARTF_FORCEONFEEDBACK HEX: 00000040 +CONSTANT: STARTF_FORCEOFFFEEDBACK HEX: 00000080 +CONSTANT: STARTF_USESTDHANDLES HEX: 00000100 +CONSTANT: STARTF_USEHOTKEY HEX: 00000200 -: PIPE_ACCESS_INBOUND 1 ; inline -: PIPE_ACCESS_OUTBOUND 2 ; inline -: PIPE_ACCESS_DUPLEX 3 ; inline +CONSTANT: PIPE_ACCESS_INBOUND 1 +CONSTANT: PIPE_ACCESS_OUTBOUND 2 +CONSTANT: PIPE_ACCESS_DUPLEX 3 -: PIPE_TYPE_BYTE 0 ; inline -: PIPE_TYPE_MESSAGE 4 ; inline +CONSTANT: PIPE_TYPE_BYTE 0 +CONSTANT: PIPE_TYPE_MESSAGE 4 -: PIPE_READMODE_BYTE 0 ; inline -: PIPE_READMODE_MESSAGE 2 ; inline +CONSTANT: PIPE_READMODE_BYTE 0 +CONSTANT: PIPE_READMODE_MESSAGE 2 -: PIPE_WAIT 0 ; inline -: PIPE_NOWAIT 1 ; inline +CONSTANT: PIPE_WAIT 0 +CONSTANT: PIPE_NOWAIT 1 -: PIPE_UNLIMITED_INSTANCES 255 ; inline +CONSTANT: PIPE_UNLIMITED_INSTANCES 255 LIBRARY: kernel32 ! FUNCTION: _hread @@ -641,29 +640,29 @@ ALIAS: CreateNamedPipe CreateNamedPipeW ! FUNCTION: CreateNlsSecurityDescriptor FUNCTION: BOOL CreatePipe ( PHANDLE hReadPipe, PHANDLE hWritePipe, LPSECURITY_ATTRIBUTES lpPipeAttributes, DWORD nSize ) ; -: DEBUG_PROCESS HEX: 00000001 ; -: DEBUG_ONLY_THIS_PROCESS HEX: 00000002 ; -: CREATE_SUSPENDED HEX: 00000004 ; -: DETACHED_PROCESS HEX: 00000008 ; -: CREATE_NEW_CONSOLE HEX: 00000010 ; -: NORMAL_PRIORITY_CLASS HEX: 00000020 ; -: IDLE_PRIORITY_CLASS HEX: 00000040 ; -: HIGH_PRIORITY_CLASS HEX: 00000080 ; -: REALTIME_PRIORITY_CLASS HEX: 00000100 ; -: CREATE_NEW_PROCESS_GROUP HEX: 00000200 ; -: CREATE_UNICODE_ENVIRONMENT HEX: 00000400 ; -: CREATE_SEPARATE_WOW_VDM HEX: 00000800 ; -: CREATE_SHARED_WOW_VDM HEX: 00001000 ; -: CREATE_FORCEDOS HEX: 00002000 ; -: BELOW_NORMAL_PRIORITY_CLASS HEX: 00004000 ; -: ABOVE_NORMAL_PRIORITY_CLASS HEX: 00008000 ; -: CREATE_BREAKAWAY_FROM_JOB HEX: 01000000 ; -: CREATE_WITH_USERPROFILE HEX: 02000000 ; -: CREATE_DEFAULT_ERROR_MODE HEX: 04000000 ; -: CREATE_NO_WINDOW HEX: 08000000 ; -: PROFILE_USER HEX: 10000000 ; -: PROFILE_KERNEL HEX: 20000000 ; -: PROFILE_SERVER HEX: 40000000 ; +CONSTANT: DEBUG_PROCESS HEX: 00000001 +CONSTANT: DEBUG_ONLY_THIS_PROCESS HEX: 00000002 +CONSTANT: CREATE_SUSPENDED HEX: 00000004 +CONSTANT: DETACHED_PROCESS HEX: 00000008 +CONSTANT: CREATE_NEW_CONSOLE HEX: 00000010 +CONSTANT: NORMAL_PRIORITY_CLASS HEX: 00000020 +CONSTANT: IDLE_PRIORITY_CLASS HEX: 00000040 +CONSTANT: HIGH_PRIORITY_CLASS HEX: 00000080 +CONSTANT: REALTIME_PRIORITY_CLASS HEX: 00000100 +CONSTANT: CREATE_NEW_PROCESS_GROUP HEX: 00000200 +CONSTANT: CREATE_UNICODE_ENVIRONMENT HEX: 00000400 +CONSTANT: CREATE_SEPARATE_WOW_VDM HEX: 00000800 +CONSTANT: CREATE_SHARED_WOW_VDM HEX: 00001000 +CONSTANT: CREATE_FORCEDOS HEX: 00002000 +CONSTANT: BELOW_NORMAL_PRIORITY_CLASS HEX: 00004000 +CONSTANT: ABOVE_NORMAL_PRIORITY_CLASS HEX: 00008000 +CONSTANT: CREATE_BREAKAWAY_FROM_JOB HEX: 01000000 +CONSTANT: CREATE_WITH_USERPROFILE HEX: 02000000 +CONSTANT: CREATE_DEFAULT_ERROR_MODE HEX: 04000000 +CONSTANT: CREATE_NO_WINDOW HEX: 08000000 +CONSTANT: PROFILE_USER HEX: 10000000 +CONSTANT: PROFILE_KERNEL HEX: 20000000 +CONSTANT: PROFILE_SERVER HEX: 40000000 FUNCTION: BOOL CreateProcessW ( LPCTSTR lpApplicationname, LPTSTR lpCommandLine, diff --git a/basis/windows/messages/messages.factor b/basis/windows/messages/messages.factor old mode 100644 new mode 100755 index 0f271b4b59..bb30968217 --- a/basis/windows/messages/messages.factor +++ b/basis/windows/messages/messages.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2005, 2006 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: accessors assocs hashtables kernel math namespaces words -windows.types vocabs sequences ; +windows.types vocabs sequences constants alias ; IN: windows.messages SYMBOL: windows-messages @@ -14,1012 +14,1013 @@ windows-messages set-global : windows-message-name ( n -- name ) windows-messages get at "unknown message" or ; -: WM_NULL HEX: 0000 ; inline -: WM_CREATE HEX: 0001 ; inline -: WM_DESTROY HEX: 0002 ; inline -: WM_MOVE HEX: 0003 ; inline -: WM_SIZE HEX: 0005 ; inline -: WM_ACTIVATE HEX: 0006 ; inline -: WM_SETFOCUS HEX: 0007 ; inline -: WM_KILLFOCUS HEX: 0008 ; inline -: WM_ENABLE HEX: 000A ; inline -: WM_SETREDRAW HEX: 000B ; inline -: WM_SETTEXT HEX: 000C ; inline -: WM_GETTEXT HEX: 000D ; inline -: WM_GETTEXTLENGTH HEX: 000E ; inline -: WM_PAINT HEX: 000F ; inline -: WM_CLOSE HEX: 0010 ; inline -: WM_QUERYENDSESSION HEX: 0011 ; inline -: WM_QUERYOPEN HEX: 0013 ; inline -: WM_ENDSESSION HEX: 0016 ; inline -: WM_QUIT HEX: 0012 ; inline -: WM_ERASEBKGND HEX: 0014 ; inline -: WM_SYSCOLORCHANGE HEX: 0015 ; inline -: WM_SHOWWINDOW HEX: 0018 ; inline -: WM_WININICHANGE HEX: 001A ; inline -: WM_SETTINGCHANGE HEX: 001A ; inline -: WM_DEVMODECHANGE HEX: 001B ; inline -: WM_ACTIVATEAPP HEX: 001C ; inline -: WM_FONTCHANGE HEX: 001D ; inline -: WM_TIMECHANGE HEX: 001E ; inline -: WM_CANCELMODE HEX: 001F ; inline -: WM_SETCURSOR HEX: 0020 ; inline -: WM_MOUSEACTIVATE HEX: 0021 ; inline -: WM_CHILDACTIVATE HEX: 0022 ; inline -: WM_QUEUESYNC HEX: 0023 ; inline -: WM_GETMINMAXINFO HEX: 0024 ; inline -: WM_PAINTICON HEX: 0026 ; inline -: WM_ICONERASEBKGND HEX: 0027 ; inline -: WM_NEXTDLGCTL HEX: 0028 ; inline -: WM_SPOOLERSTATUS HEX: 002A ; inline -: WM_DRAWITEM HEX: 002B ; inline -: WM_MEASUREITEM HEX: 002C ; inline -: WM_DELETEITEM HEX: 002D ; inline -: WM_VKEYTOITEM HEX: 002E ; inline -: WM_CHARTOITEM HEX: 002F ; inline -: WM_SETFONT HEX: 0030 ; inline -: WM_GETFONT HEX: 0031 ; inline -: WM_SETHOTKEY HEX: 0032 ; inline -: WM_GETHOTKEY HEX: 0033 ; inline -: WM_QUERYDRAGICON HEX: 0037 ; inline -: WM_COMPAREITEM HEX: 0039 ; inline -: WM_GETOBJECT HEX: 003D ; inline -: WM_COMPACTING HEX: 0041 ; inline -: WM_COMMNOTIFY HEX: 0044 ; inline -: WM_WINDOWPOSCHANGING HEX: 0046 ; inline -: WM_WINDOWPOSCHANGED HEX: 0047 ; inline -: WM_POWER HEX: 0048 ; inline -: WM_COPYDATA HEX: 004A ; inline -: WM_CANCELJOURNAL HEX: 004B ; inline -: WM_NOTIFY HEX: 004E ; inline -: WM_INPUTLANGCHANGEREQUEST HEX: 0050 ; inline -: WM_INPUTLANGCHANGE HEX: 0051 ; inline -: WM_TCARD HEX: 0052 ; inline -: WM_HELP HEX: 0053 ; inline -: WM_USERCHANGED HEX: 0054 ; inline -: WM_NOTIFYFORMAT HEX: 0055 ; inline -: WM_CONTEXTMENU HEX: 007B ; inline -: WM_STYLECHANGING HEX: 007C ; inline -: WM_STYLECHANGED HEX: 007D ; inline -: WM_DISPLAYCHANGE HEX: 007E ; inline -: WM_GETICON HEX: 007F ; inline -: WM_SETICON HEX: 0080 ; inline -: WM_NCCREATE HEX: 0081 ; inline -: WM_NCDESTROY HEX: 0082 ; inline -: WM_NCCALCSIZE HEX: 0083 ; inline -: WM_NCHITTEST HEX: 0084 ; inline -: WM_NCPAINT HEX: 0085 ; inline -: WM_NCACTIVATE HEX: 0086 ; inline -: WM_GETDLGCODE HEX: 0087 ; inline -: WM_SYNCPAINT HEX: 0088 ; inline -: WM_NCMOUSEMOVE HEX: 00A0 ; inline -: WM_NCLBUTTONDOWN HEX: 00A1 ; inline -: WM_NCLBUTTONUP HEX: 00A2 ; inline -: WM_NCLBUTTONDBLCLK HEX: 00A3 ; inline -: WM_NCRBUTTONDOWN HEX: 00A4 ; inline -: WM_NCRBUTTONUP HEX: 00A5 ; inline -: WM_NCRBUTTONDBLCLK HEX: 00A6 ; inline -: WM_NCMBUTTONDOWN HEX: 00A7 ; inline -: WM_NCMBUTTONUP HEX: 00A8 ; inline -: WM_NCMBUTTONDBLCLK HEX: 00A9 ; inline -: WM_NCXBUTTONDOWN HEX: 00AB ; inline -: WM_NCXBUTTONUP HEX: 00AC ; inline -: WM_NCXBUTTONDBLCLK HEX: 00AD ; inline -: WM_NCUAHDRAWCAPTION HEX: 00AE ; inline ! undocumented -: WM_NCUAHDRAWFRAME HEX: 00AF ; inline ! undocumented -: WM_INPUT HEX: 00FF ; inline -: WM_KEYFIRST HEX: 0100 ; inline -: WM_KEYDOWN HEX: 0100 ; inline -: WM_KEYUP HEX: 0101 ; inline -: WM_CHAR HEX: 0102 ; inline -: WM_DEADCHAR HEX: 0103 ; inline -: WM_SYSKEYDOWN HEX: 0104 ; inline -: WM_SYSKEYUP HEX: 0105 ; inline -: WM_SYSCHAR HEX: 0106 ; inline -: WM_SYSDEADCHAR HEX: 0107 ; inline -: WM_UNICHAR HEX: 0109 ; inline -: WM_KEYLAST_NT501 HEX: 0109 ; inline -: UNICODE_NOCHAR HEX: FFFF ; inline -: WM_KEYLAST_PRE501 HEX: 0108 ; inline -: WM_IME_STARTCOMPOSITION HEX: 010D ; inline -: WM_IME_ENDCOMPOSITION HEX: 010E ; inline -: WM_IME_COMPOSITION HEX: 010F ; inline -: WM_IME_KEYLAST HEX: 010F ; inline -: WM_INITDIALOG HEX: 0110 ; inline -: WM_COMMAND HEX: 0111 ; inline -: WM_SYSCOMMAND HEX: 0112 ; inline -: WM_TIMER HEX: 0113 ; inline -: WM_HSCROLL HEX: 0114 ; inline -: WM_VSCROLL HEX: 0115 ; inline -: WM_INITMENU HEX: 0116 ; inline -: WM_INITMENUPOPUP HEX: 0117 ; inline -: WM_MENUSELECT HEX: 011F ; inline -: WM_MENUCHAR HEX: 0120 ; inline -: WM_ENTERIDLE HEX: 0121 ; inline -: WM_MENURBUTTONUP HEX: 0122 ; inline -: WM_MENUDRAG HEX: 0123 ; inline -: WM_MENUGETOBJECT HEX: 0124 ; inline -: WM_UNINITMENUPOPUP HEX: 0125 ; inline -: WM_MENUCOMMAND HEX: 0126 ; inline -: WM_CHANGEUISTATE HEX: 0127 ; inline -: WM_UPDATEUISTATE HEX: 0128 ; inline -: WM_QUERYUISTATE HEX: 0129 ; inline -: WM_CTLCOLORMSGBOX HEX: 0132 ; inline -: WM_CTLCOLOREDIT HEX: 0133 ; inline -: WM_CTLCOLORLISTBOX HEX: 0134 ; inline -: WM_CTLCOLORBTN HEX: 0135 ; inline -: WM_CTLCOLORDLG HEX: 0136 ; inline -: WM_CTLCOLORSCROLLBAR HEX: 0137 ; inline -: WM_CTLCOLORSTATIC HEX: 0138 ; inline -: WM_MOUSEFIRST HEX: 0200 ; inline -: WM_MOUSEMOVE HEX: 0200 ; inline -: WM_LBUTTONDOWN HEX: 0201 ; inline -: WM_LBUTTONUP HEX: 0202 ; inline -: WM_LBUTTONDBLCLK HEX: 0203 ; inline -: WM_RBUTTONDOWN HEX: 0204 ; inline -: WM_RBUTTONUP HEX: 0205 ; inline -: WM_RBUTTONDBLCLK HEX: 0206 ; inline -: WM_MBUTTONDOWN HEX: 0207 ; inline -: WM_MBUTTONUP HEX: 0208 ; inline -: WM_MBUTTONDBLCLK HEX: 0209 ; inline -: WM_MOUSEWHEEL HEX: 020A ; inline -: WM_XBUTTONDOWN HEX: 020B ; inline -: WM_XBUTTONUP HEX: 020C ; inline -: WM_XBUTTONDBLCLK HEX: 020D ; inline -: WM_MOUSELAST_5 HEX: 020D ; inline -: WM_MOUSELAST_4 HEX: 020A ; inline -: WM_MOUSELAST_PRE_4 HEX: 0209 ; inline -: WM_PARENTNOTIFY HEX: 0210 ; inline -: WM_ENTERMENULOOP HEX: 0211 ; inline -: WM_EXITMENULOOP HEX: 0212 ; inline -: WM_NEXTMENU HEX: 0213 ; inline -: WM_SIZING HEX: 0214 ; inline -: WM_CAPTURECHANGED HEX: 0215 ; inline -: WM_MOVING HEX: 0216 ; inline -: WM_POWERBROADCAST HEX: 0218 ; inline -: WM_DEVICECHANGE HEX: 0219 ; inline -: WM_MDICREATE HEX: 0220 ; inline -: WM_MDIDESTROY HEX: 0221 ; inline -: WM_MDIACTIVATE HEX: 0222 ; inline -: WM_MDIRESTORE HEX: 0223 ; inline -: WM_MDINEXT HEX: 0224 ; inline -: WM_MDIMAXIMIZE HEX: 0225 ; inline -: WM_MDITILE HEX: 0226 ; inline -: WM_MDICASCADE HEX: 0227 ; inline -: WM_MDIICONARRANGE HEX: 0228 ; inline -: WM_MDIGETACTIVE HEX: 0229 ; inline -: WM_MDISETMENU HEX: 0230 ; inline -: WM_ENTERSIZEMOVE HEX: 0231 ; inline -: WM_EXITSIZEMOVE HEX: 0232 ; inline -: WM_DROPFILES HEX: 0233 ; inline -: WM_MDIREFRESHMENU HEX: 0234 ; inline -: WM_IME_SETCONTEXT HEX: 0281 ; inline -: WM_IME_NOTIFY HEX: 0282 ; inline -: WM_IME_CONTROL HEX: 0283 ; inline -: WM_IME_COMPOSITIONFULL HEX: 0284 ; inline -: WM_IME_SELECT HEX: 0285 ; inline -: WM_IME_CHAR HEX: 0286 ; inline -: WM_IME_REQUEST HEX: 0288 ; inline -: WM_IME_KEYDOWN HEX: 0290 ; inline -: WM_IME_KEYUP HEX: 0291 ; inline -: WM_MOUSEHOVER HEX: 02A1 ; inline -: WM_MOUSELEAVE HEX: 02A3 ; inline -: WM_NCMOUSEHOVER HEX: 02A0 ; inline -: WM_NCMOUSELEAVE HEX: 02A2 ; inline -: WM_WTSSESSION_CHANGE HEX: 02B1 ; inline -: WM_TABLET_FIRST HEX: 02c0 ; inline -: WM_TABLET_LAST HEX: 02df ; inline -: WM_CUT HEX: 0300 ; inline -: WM_COPY HEX: 0301 ; inline -: WM_PASTE HEX: 0302 ; inline -: WM_CLEAR HEX: 0303 ; inline -: WM_UNDO HEX: 0304 ; inline -: WM_RENDERFORMAT HEX: 0305 ; inline -: WM_RENDERALLFORMATS HEX: 0306 ; inline -: WM_DESTROYCLIPBOARD HEX: 0307 ; inline -: WM_DRAWCLIPBOARD HEX: 0308 ; inline -: WM_PAINTCLIPBOARD HEX: 0309 ; inline -: WM_VSCROLLCLIPBOARD HEX: 030A ; inline -: WM_SIZECLIPBOARD HEX: 030B ; inline -: WM_ASKCBFORMATNAME HEX: 030C ; inline -: WM_CHANGECBCHAIN HEX: 030D ; inline -: WM_HSCROLLCLIPBOARD HEX: 030E ; inline -: WM_QUERYNEWPALETTE HEX: 030F ; inline -: WM_PALETTEISCHANGING HEX: 0310 ; inline -: WM_PALETTECHANGED HEX: 0311 ; inline -: WM_HOTKEY HEX: 0312 ; inline -: WM_PRINT HEX: 0317 ; inline -: WM_PRINTCLIENT HEX: 0318 ; inline -: WM_APPCOMMAND HEX: 0319 ; inline -: WM_THEMECHANGED HEX: 031A ; inline -: WM_HANDHELDFIRST HEX: 0358 ; inline -: WM_HANDHELDLAST HEX: 035F ; inline -: WM_AFXFIRST HEX: 0360 ; inline -: WM_AFXLAST HEX: 037F ; inline -: WM_PENWINFIRST HEX: 0380 ; inline -: WM_PENWINLAST HEX: 038F ; inline -: WM_APP HEX: 8000 ; inline -: WM_USER HEX: 0400 ; inline -: EM_GETSEL HEX: 00B0 ; inline -: EM_SETSEL HEX: 00B1 ; inline -: EM_GETRECT HEX: 00B2 ; inline -: EM_SETRECT HEX: 00B3 ; inline -: EM_SETRECTNP HEX: 00B4 ; inline -: EM_SCROLL HEX: 00B5 ; inline -: EM_LINESCROLL HEX: 00B6 ; inline -: EM_SCROLLCARET HEX: 00B7 ; inline -: EM_GETMODIFY HEX: 00B8 ; inline -: EM_SETMODIFY HEX: 00B9 ; inline -: EM_GETLINECOUNT HEX: 00BA ; inline -: EM_LINEINDEX HEX: 00BB ; inline -: EM_SETHANDLE HEX: 00BC ; inline -: EM_GETHANDLE HEX: 00BD ; inline -: EM_GETTHUMB HEX: 00BE ; inline -: EM_LINELENGTH HEX: 00C1 ; inline -: EM_REPLACESEL HEX: 00C2 ; inline -: EM_GETLINE HEX: 00C4 ; inline -: EM_LIMITTEXT HEX: 00C5 ; inline -: EM_CANUNDO HEX: 00C6 ; inline -: EM_UNDO HEX: 00C7 ; inline -: EM_FMTLINES HEX: 00C8 ; inline -: EM_LINEFROMCHAR HEX: 00C9 ; inline -: EM_SETTABSTOPS HEX: 00CB ; inline -: EM_SETPASSWORDCHAR HEX: 00CC ; inline -: EM_EMPTYUNDOBUFFER HEX: 00CD ; inline -: EM_GETFIRSTVISIBLELINE HEX: 00CE ; inline -: EM_SETREADONLY HEX: 00CF ; inline -: EM_SETWORDBREAKPROC HEX: 00D0 ; inline -: EM_GETWORDBREAKPROC HEX: 00D1 ; inline -: EM_GETPASSWORDCHAR HEX: 00D2 ; inline -: EM_SETMARGINS HEX: 00D3 ; inline -: EM_GETMARGINS HEX: 00D4 ; inline -: EM_SETLIMITTEXT EM_LIMITTEXT ; inline -: EM_GETLIMITTEXT HEX: 00D5 ; inline -: EM_POSFROMCHAR HEX: 00D6 ; inline -: EM_CHARFROMPOS HEX: 00D7 ; inline -: EM_SETIMESTATUS HEX: 00D8 ; inline -: EM_GETIMESTATUS HEX: 00D9 ; inline -: BM_GETCHECK HEX: 00F0 ; inline -: BM_SETCHECK HEX: 00F1 ; inline -: BM_GETSTATE HEX: 00F2 ; inline -: BM_SETSTATE HEX: 00F3 ; inline -: BM_SETSTYLE HEX: 00F4 ; inline -: BM_CLICK HEX: 00F5 ; inline -: BM_GETIMAGE HEX: 00F6 ; inline -: BM_SETIMAGE HEX: 00F7 ; inline -: STM_SETICON HEX: 0170 ; inline -: STM_GETICON HEX: 0171 ; inline -: STM_SETIMAGE HEX: 0172 ; inline -: STM_GETIMAGE HEX: 0173 ; inline -: STM_MSGMAX HEX: 0174 ; inline -: DM_GETDEFID WM_USER ; inline -: DM_SETDEFID WM_USER 1 + ; inline -: DM_REPOSITION WM_USER 2 + ; inline -: LB_ADDSTRING HEX: 0180 ; inline -: LB_INSERTSTRING HEX: 0181 ; inline -: LB_DELETESTRING HEX: 0182 ; inline -: LB_SELITEMRANGEEX HEX: 0183 ; inline -: LB_RESETCONTENT HEX: 0184 ; inline -: LB_SETSEL HEX: 0185 ; inline -: LB_SETCURSEL HEX: 0186 ; inline -: LB_GETSEL HEX: 0187 ; inline -: LB_GETCURSEL HEX: 0188 ; inline -: LB_GETTEXT HEX: 0189 ; inline -: LB_GETTEXTLEN HEX: 018A ; inline -: LB_GETCOUNT HEX: 018B ; inline -: LB_SELECTSTRING HEX: 018C ; inline -: LB_DIR HEX: 018D ; inline -: LB_GETTOPINDEX HEX: 018E ; inline -: LB_FINDSTRING HEX: 018F ; inline -: LB_GETSELCOUNT HEX: 0190 ; inline -: LB_GETSELITEMS HEX: 0191 ; inline -: LB_SETTABSTOPS HEX: 0192 ; inline -: LB_GETHORIZONTALEXTENT HEX: 0193 ; inline -: LB_SETHORIZONTALEXTENT HEX: 0194 ; inline -: LB_SETCOLUMNWIDTH HEX: 0195 ; inline -: LB_ADDFILE HEX: 0196 ; inline -: LB_SETTOPINDEX HEX: 0197 ; inline -: LB_GETITEMRECT HEX: 0198 ; inline -: LB_GETITEMDATA HEX: 0199 ; inline -: LB_SETITEMDATA HEX: 019A ; inline -: LB_SELITEMRANGE HEX: 019B ; inline -: LB_SETANCHORINDEX HEX: 019C ; inline -: LB_GETANCHORINDEX HEX: 019D ; inline -: LB_SETCARETINDEX HEX: 019E ; inline -: LB_GETCARETINDEX HEX: 019F ; inline -: LB_SETITEMHEIGHT HEX: 01A0 ; inline -: LB_GETITEMHEIGHT HEX: 01A1 ; inline -: LB_FINDSTRINGEXACT HEX: 01A2 ; inline -: LB_SETLOCALE HEX: 01A5 ; inline -: LB_GETLOCALE HEX: 01A6 ; inline -: LB_SETCOUNT HEX: 01A7 ; inline -: LB_INITSTORAGE HEX: 01A8 ; inline -: LB_ITEMFROMPOINT HEX: 01A9 ; inline -: LB_MULTIPLEADDSTRING HEX: 01B1 ; inline -: LB_GETLISTBOXINFO HEX: 01B2 ; inline -: LB_MSGMAX_501 HEX: 01B3 ; inline -: LB_MSGMAX_WCE4 HEX: 01B1 ; inline -: LB_MSGMAX_4 HEX: 01B0 ; inline -: LB_MSGMAX_PRE4 HEX: 01A8 ; inline -: CB_GETEDITSEL HEX: 0140 ; inline -: CB_LIMITTEXT HEX: 0141 ; inline -: CB_SETEDITSEL HEX: 0142 ; inline -: CB_ADDSTRING HEX: 0143 ; inline -: CB_DELETESTRING HEX: 0144 ; inline -: CB_DIR HEX: 0145 ; inline -: CB_GETCOUNT HEX: 0146 ; inline -: CB_GETCURSEL HEX: 0147 ; inline -: CB_GETLBTEXT HEX: 0148 ; inline -: CB_GETLBTEXTLEN HEX: 0149 ; inline -: CB_INSERTSTRING HEX: 014A ; inline -: CB_RESETCONTENT HEX: 014B ; inline -: CB_FINDSTRING HEX: 014C ; inline -: CB_SELECTSTRING HEX: 014D ; inline -: CB_SETCURSEL HEX: 014E ; inline -: CB_SHOWDROPDOWN HEX: 014F ; inline -: CB_GETITEMDATA HEX: 0150 ; inline -: CB_SETITEMDATA HEX: 0151 ; inline -: CB_GETDROPPEDCONTROLRECT HEX: 0152 ; inline -: CB_SETITEMHEIGHT HEX: 0153 ; inline -: CB_GETITEMHEIGHT HEX: 0154 ; inline -: CB_SETEXTENDEDUI HEX: 0155 ; inline -: CB_GETEXTENDEDUI HEX: 0156 ; inline -: CB_GETDROPPEDSTATE HEX: 0157 ; inline -: CB_FINDSTRINGEXACT HEX: 0158 ; inline -: CB_SETLOCALE HEX: 0159 ; inline -: CB_GETLOCALE HEX: 015A ; inline -: CB_GETTOPINDEX HEX: 015B ; inline -: CB_SETTOPINDEX HEX: 015C ; inline -: CB_GETHORIZONTALEXTENT HEX: 015d ; inline -: CB_SETHORIZONTALEXTENT HEX: 015e ; inline -: CB_GETDROPPEDWIDTH HEX: 015f ; inline -: CB_SETDROPPEDWIDTH HEX: 0160 ; inline -: CB_INITSTORAGE HEX: 0161 ; inline -: CB_MULTIPLEADDSTRING HEX: 0163 ; inline -: CB_GETCOMBOBOXINFO HEX: 0164 ; inline -: CB_MSGMAX_501 HEX: 0165 ; inline -: CB_MSGMAX_WCE400 HEX: 0163 ; inline -: CB_MSGMAX_400 HEX: 0162 ; inline -: CB_MSGMAX_PRE400 HEX: 015B ; inline -: SBM_SETPOS HEX: 00E0 ; inline -: SBM_GETPOS HEX: 00E1 ; inline -: SBM_SETRANGE HEX: 00E2 ; inline -: SBM_SETRANGEREDRAW HEX: 00E6 ; inline -: SBM_GETRANGE HEX: 00E3 ; inline -: SBM_ENABLE_ARROWS HEX: 00E4 ; inline -: SBM_SETSCROLLINFO HEX: 00E9 ; inline -: SBM_GETSCROLLINFO HEX: 00EA ; inline -: SBM_GETSCROLLBARINFO HEX: 00EB ; inline -: LVM_FIRST HEX: 1000 ; inline ! ListView messages -: TV_FIRST HEX: 1100 ; inline ! TreeView messages -: HDM_FIRST HEX: 1200 ; inline ! Header messages -: TCM_FIRST HEX: 1300 ; inline ! Tab control messages -: PGM_FIRST HEX: 1400 ; inline ! Pager control messages -: ECM_FIRST HEX: 1500 ; inline ! Edit control messages -: BCM_FIRST HEX: 1600 ; inline ! Button control messages -: CBM_FIRST HEX: 1700 ; inline ! Combobox control messages -: CCM_FIRST HEX: 2000 ; inline ! Common control shared messages -: CCM_LAST CCM_FIRST HEX: 0200 + ; inline -: CCM_SETBKCOLOR CCM_FIRST 1 + ; inline -: CCM_SETCOLORSCHEME CCM_FIRST 2 + ; inline -: CCM_GETCOLORSCHEME CCM_FIRST 3 + ; inline -: CCM_GETDROPTARGET CCM_FIRST 4 + ; inline -: CCM_SETUNICODEFORMAT CCM_FIRST 5 + ; inline -: CCM_GETUNICODEFORMAT CCM_FIRST 6 + ; inline -: CCM_SETVERSION CCM_FIRST 7 + ; inline -: CCM_GETVERSION CCM_FIRST 8 + ; inline -: CCM_SETNOTIFYWINDOW CCM_FIRST 9 + ; inline -: CCM_SETWINDOWTHEME CCM_FIRST HEX: b + ; inline -: CCM_DPISCALE CCM_FIRST HEX: c + ; inline -: HDM_GETITEMCOUNT HDM_FIRST 0 + ; inline -: HDM_INSERTITEMA HDM_FIRST 1 + ; inline -: HDM_INSERTITEMW HDM_FIRST 10 + ; inline -: HDM_DELETEITEM HDM_FIRST 2 + ; inline -: HDM_GETITEMA HDM_FIRST 3 + ; inline -: HDM_GETITEMW HDM_FIRST 11 + ; inline -: HDM_SETITEMA HDM_FIRST 4 + ; inline -: HDM_SETITEMW HDM_FIRST 12 + ; inline -: HDM_LAYOUT HDM_FIRST 5 + ; inline -: HDM_HITTEST HDM_FIRST 6 + ; inline -: HDM_GETITEMRECT HDM_FIRST 7 + ; inline -: HDM_SETIMAGELIST HDM_FIRST 8 + ; inline -: HDM_GETIMAGELIST HDM_FIRST 9 + ; inline -: HDM_ORDERTOINDEX HDM_FIRST 15 + ; inline -: HDM_CREATEDRAGIMAGE HDM_FIRST 16 + ; inline -: HDM_GETORDERARRAY HDM_FIRST 17 + ; inline -: HDM_SETORDERARRAY HDM_FIRST 18 + ; inline -: HDM_SETHOTDIVIDER HDM_FIRST 19 + ; inline -: HDM_SETBITMAPMARGIN HDM_FIRST 20 + ; inline -: HDM_GETBITMAPMARGIN HDM_FIRST 21 + ; inline -: HDM_SETUNICODEFORMAT CCM_SETUNICODEFORMAT ; inline -: HDM_GETUNICODEFORMAT CCM_GETUNICODEFORMAT ; inline -: HDM_SETFILTERCHANGETIMEOUT HDM_FIRST 22 + ; inline -: HDM_EDITFILTER HDM_FIRST 23 + ; inline -: HDM_CLEARFILTER HDM_FIRST 24 + ; inline -: TB_ENABLEBUTTON WM_USER 1 + ; inline -: TB_CHECKBUTTON WM_USER 2 + ; inline -: TB_PRESSBUTTON WM_USER 3 + ; inline -: TB_HIDEBUTTON WM_USER 4 + ; inline -: TB_INDETERMINATE WM_USER 5 + ; inline -: TB_MARKBUTTON WM_USER 6 + ; inline -: TB_ISBUTTONENABLED WM_USER 9 + ; inline -: TB_ISBUTTONCHECKED WM_USER 10 + ; inline -: TB_ISBUTTONPRESSED WM_USER 11 + ; inline -: TB_ISBUTTONHIDDEN WM_USER 12 + ; inline -: TB_ISBUTTONINDETERMINATE WM_USER 13 + ; inline -: TB_ISBUTTONHIGHLIGHTED WM_USER 14 + ; inline -: TB_SETSTATE WM_USER 17 + ; inline -: TB_GETSTATE WM_USER 18 + ; inline -: TB_ADDBITMAP WM_USER 19 + ; inline -: TB_ADDBUTTONSA WM_USER 20 + ; inline -: TB_INSERTBUTTONA WM_USER 21 + ; inline -: TB_ADDBUTTONS WM_USER 20 + ; inline -: TB_INSERTBUTTON WM_USER 21 + ; inline -: TB_DELETEBUTTON WM_USER 22 + ; inline -: TB_GETBUTTON WM_USER 23 + ; inline -: TB_BUTTONCOUNT WM_USER 24 + ; inline -: TB_COMMANDTOINDEX WM_USER 25 + ; inline -: TB_SAVERESTOREA WM_USER 26 + ; inline -: TB_SAVERESTOREW WM_USER 76 + ; inline -: TB_CUSTOMIZE WM_USER 27 + ; inline -: TB_ADDSTRINGA WM_USER 28 + ; inline -: TB_ADDSTRINGW WM_USER 77 + ; inline -: TB_GETITEMRECT WM_USER 29 + ; inline -: TB_BUTTONSTRUCTSIZE WM_USER 30 + ; inline -: TB_SETBUTTONSIZE WM_USER 31 + ; inline -: TB_SETBITMAPSIZE WM_USER 32 + ; inline -: TB_AUTOSIZE WM_USER 33 + ; inline -: TB_GETTOOLTIPS WM_USER 35 + ; inline -: TB_SETTOOLTIPS WM_USER 36 + ; inline -: TB_SETPARENT WM_USER 37 + ; inline -: TB_SETROWS WM_USER 39 + ; inline -: TB_GETROWS WM_USER 40 + ; inline -: TB_SETCMDID WM_USER 42 + ; inline -: TB_CHANGEBITMAP WM_USER 43 + ; inline -: TB_GETBITMAP WM_USER 44 + ; inline -: TB_GETBUTTONTEXTA WM_USER 45 + ; inline -: TB_GETBUTTONTEXTW WM_USER 75 + ; inline -: TB_REPLACEBITMAP WM_USER 46 + ; inline -: TB_SETINDENT WM_USER 47 + ; inline -: TB_SETIMAGELIST WM_USER 48 + ; inline -: TB_GETIMAGELIST WM_USER 49 + ; inline -: TB_LOADIMAGES WM_USER 50 + ; inline -: TB_GETRECT WM_USER 51 + ; inline -: TB_SETHOTIMAGELIST WM_USER 52 + ; inline -: TB_GETHOTIMAGELIST WM_USER 53 + ; inline -: TB_SETDISABLEDIMAGELIST WM_USER 54 + ; inline -: TB_GETDISABLEDIMAGELIST WM_USER 55 + ; inline -: TB_SETSTYLE WM_USER 56 + ; inline -: TB_GETSTYLE WM_USER 57 + ; inline -: TB_GETBUTTONSIZE WM_USER 58 + ; inline -: TB_SETBUTTONWIDTH WM_USER 59 + ; inline -: TB_SETMAXTEXTROWS WM_USER 60 + ; inline -: TB_GETTEXTROWS WM_USER 61 + ; inline -: TB_GETOBJECT WM_USER 62 + ; inline -: TB_GETHOTITEM WM_USER 71 + ; inline -: TB_SETHOTITEM WM_USER 72 + ; inline -: TB_SETANCHORHIGHLIGHT WM_USER 73 + ; inline -: TB_GETANCHORHIGHLIGHT WM_USER 74 + ; inline -: TB_MAPACCELERATORA WM_USER 78 + ; inline -: TB_GETINSERTMARK WM_USER 79 + ; inline -: TB_SETINSERTMARK WM_USER 80 + ; inline -: TB_INSERTMARKHITTEST WM_USER 81 + ; inline -: TB_MOVEBUTTON WM_USER 82 + ; inline -: TB_GETMAXSIZE WM_USER 83 + ; inline -: TB_SETEXTENDEDSTYLE WM_USER 84 + ; inline -: TB_GETEXTENDEDSTYLE WM_USER 85 + ; inline -: TB_GETPADDING WM_USER 86 + ; inline -: TB_SETPADDING WM_USER 87 + ; inline -: TB_SETINSERTMARKCOLOR WM_USER 88 + ; inline -: TB_GETINSERTMARKCOLOR WM_USER 89 + ; inline -: TB_SETCOLORSCHEME CCM_SETCOLORSCHEME ; inline -: TB_GETCOLORSCHEME CCM_GETCOLORSCHEME ; inline -: TB_SETUNICODEFORMAT CCM_SETUNICODEFORMAT ; inline -: TB_GETUNICODEFORMAT CCM_GETUNICODEFORMAT ; inline -: TB_MAPACCELERATORW WM_USER 90 + ; inline -: TB_GETBITMAPFLAGS WM_USER 41 + ; inline -: TB_GETBUTTONINFOW WM_USER 63 + ; inline -: TB_SETBUTTONINFOW WM_USER 64 + ; inline -: TB_GETBUTTONINFOA WM_USER 65 + ; inline -: TB_SETBUTTONINFOA WM_USER 66 + ; inline -: TB_INSERTBUTTONW WM_USER 67 + ; inline -: TB_ADDBUTTONSW WM_USER 68 + ; inline -: TB_HITTEST WM_USER 69 + ; inline -: TB_SETDRAWTEXTFLAGS WM_USER 70 + ; inline -: TB_GETSTRINGW WM_USER 91 + ; inline -: TB_GETSTRINGA WM_USER 92 + ; inline -: TB_GETMETRICS WM_USER 101 + ; inline -: TB_SETMETRICS WM_USER 102 + ; inline -: TB_SETWINDOWTHEME CCM_SETWINDOWTHEME ; inline -: RB_INSERTBANDA WM_USER 1 + ; inline -: RB_DELETEBAND WM_USER 2 + ; inline -: RB_GETBARINFO WM_USER 3 + ; inline -: RB_SETBARINFO WM_USER 4 + ; inline -: RB_GETBANDINFO WM_USER 5 + ; inline -: RB_SETBANDINFOA WM_USER 6 + ; inline -: RB_SETPARENT WM_USER 7 + ; inline -: RB_HITTEST WM_USER 8 + ; inline -: RB_GETRECT WM_USER 9 + ; inline -: RB_INSERTBANDW WM_USER 10 + ; inline -: RB_SETBANDINFOW WM_USER 11 + ; inline -: RB_GETBANDCOUNT WM_USER 12 + ; inline -: RB_GETROWCOUNT WM_USER 13 + ; inline -: RB_GETROWHEIGHT WM_USER 14 + ; inline -: RB_IDTOINDEX WM_USER 16 + ; inline -: RB_GETTOOLTIPS WM_USER 17 + ; inline -: RB_SETTOOLTIPS WM_USER 18 + ; inline -: RB_SETBKCOLOR WM_USER 19 + ; inline -: RB_GETBKCOLOR WM_USER 20 + ; inline -: RB_SETTEXTCOLOR WM_USER 21 + ; inline -: RB_GETTEXTCOLOR WM_USER 22 + ; inline -: RB_SIZETORECT WM_USER 23 + ; inline -: RB_SETCOLORSCHEME CCM_SETCOLORSCHEME ; inline -: RB_GETCOLORSCHEME CCM_GETCOLORSCHEME ; inline -: RB_BEGINDRAG WM_USER 24 + ; inline -: RB_ENDDRAG WM_USER 25 + ; inline -: RB_DRAGMOVE WM_USER 26 + ; inline -: RB_GETBARHEIGHT WM_USER 27 + ; inline -: RB_GETBANDINFOW WM_USER 28 + ; inline -: RB_GETBANDINFOA WM_USER 29 + ; inline -: RB_MINIMIZEBAND WM_USER 30 + ; inline -: RB_MAXIMIZEBAND WM_USER 31 + ; inline -: RB_GETDROPTARGET CCM_GETDROPTARGET ; inline -: RB_GETBANDBORDERS WM_USER 34 + ; inline -: RB_SHOWBAND WM_USER 35 + ; inline -: RB_SETPALETTE WM_USER 37 + ; inline -: RB_GETPALETTE WM_USER 38 + ; inline -: RB_MOVEBAND WM_USER 39 + ; inline -: RB_SETUNICODEFORMAT CCM_SETUNICODEFORMAT ; inline -: RB_GETUNICODEFORMAT CCM_GETUNICODEFORMAT ; inline -: RB_GETBANDMARGINS WM_USER 40 + ; inline -: RB_SETWINDOWTHEME CCM_SETWINDOWTHEME ; inline -: RB_PUSHCHEVRON WM_USER 43 + ; inline -: TTM_ACTIVATE WM_USER 1 + ; inline -: TTM_SETDELAYTIME WM_USER 3 + ; inline -: TTM_ADDTOOLA WM_USER 4 + ; inline -: TTM_ADDTOOLW WM_USER 50 + ; inline -: TTM_DELTOOLA WM_USER 5 + ; inline -: TTM_DELTOOLW WM_USER 51 + ; inline -: TTM_NEWTOOLRECTA WM_USER 6 + ; inline -: TTM_NEWTOOLRECTW WM_USER 52 + ; inline -: TTM_RELAYEVENT WM_USER 7 + ; inline -: TTM_GETTOOLINFOA WM_USER 8 + ; inline -: TTM_GETTOOLINFOW WM_USER 53 + ; inline -: TTM_SETTOOLINFOA WM_USER 9 + ; inline -: TTM_SETTOOLINFOW WM_USER 54 + ; inline -: TTM_HITTESTA WM_USER 10 + ; inline -: TTM_HITTESTW WM_USER 55 + ; inline -: TTM_GETTEXTA WM_USER 11 + ; inline -: TTM_GETTEXTW WM_USER 56 + ; inline -: TTM_UPDATETIPTEXTA WM_USER 12 + ; inline -: TTM_UPDATETIPTEXTW WM_USER 57 + ; inline -: TTM_GETTOOLCOUNT WM_USER 13 + ; inline -: TTM_ENUMTOOLSA WM_USER 14 + ; inline -: TTM_ENUMTOOLSW WM_USER 58 + ; inline -: TTM_GETCURRENTTOOLA WM_USER 15 + ; inline -: TTM_GETCURRENTTOOLW WM_USER 59 + ; inline -: TTM_WINDOWFROMPOINT WM_USER 16 + ; inline -: TTM_TRACKACTIVATE WM_USER 17 + ; inline -: TTM_TRACKPOSITION WM_USER 18 + ; inline -: TTM_SETTIPBKCOLOR WM_USER 19 + ; inline -: TTM_SETTIPTEXTCOLOR WM_USER 20 + ; inline -: TTM_GETDELAYTIME WM_USER 21 + ; inline -: TTM_GETTIPBKCOLOR WM_USER 22 + ; inline -: TTM_GETTIPTEXTCOLOR WM_USER 23 + ; inline -: TTM_SETMAXTIPWIDTH WM_USER 24 + ; inline -: TTM_GETMAXTIPWIDTH WM_USER 25 + ; inline -: TTM_SETMARGIN WM_USER 26 + ; inline -: TTM_GETMARGIN WM_USER 27 + ; inline -: TTM_POP WM_USER 28 + ; inline -: TTM_UPDATE WM_USER 29 + ; inline -: TTM_GETBUBBLESIZE WM_USER 30 + ; inline -: TTM_ADJUSTRECT WM_USER 31 + ; inline -: TTM_SETTITLEA WM_USER 32 + ; inline -: TTM_SETTITLEW WM_USER 33 + ; inline -: TTM_POPUP WM_USER 34 + ; inline -: TTM_GETTITLE WM_USER 35 + ; inline -: TTM_SETWINDOWTHEME CCM_SETWINDOWTHEME ; inline -: SB_SETTEXTA WM_USER 1+ ; inline -: SB_SETTEXTW WM_USER 11 + ; inline -: SB_GETTEXTA WM_USER 2 + ; inline -: SB_GETTEXTW WM_USER 13 + ; inline -: SB_GETTEXTLENGTHA WM_USER 3 + ; inline -: SB_GETTEXTLENGTHW WM_USER 12 + ; inline -: SB_SETPARTS WM_USER 4 + ; inline -: SB_GETPARTS WM_USER 6 + ; inline -: SB_GETBORDERS WM_USER 7 + ; inline -: SB_SETMINHEIGHT WM_USER 8 + ; inline -: SB_SIMPLE WM_USER 9 + ; inline -: SB_GETRECT WM_USER 10 + ; inline -: SB_ISSIMPLE WM_USER 14 + ; inline -: SB_SETICON WM_USER 15 + ; inline -: SB_SETTIPTEXTA WM_USER 16 + ; inline -: SB_SETTIPTEXTW WM_USER 17 + ; inline -: SB_GETTIPTEXTA WM_USER 18 + ; inline -: SB_GETTIPTEXTW WM_USER 19 + ; inline -: SB_GETICON WM_USER 20 + ; inline -: SB_SETUNICODEFORMAT CCM_SETUNICODEFORMAT ; inline -: SB_GETUNICODEFORMAT CCM_GETUNICODEFORMAT ; inline -: SB_SETBKCOLOR CCM_SETBKCOLOR ; inline -: SB_SIMPLEID HEX: 00ff ; inline -: TBM_GETPOS WM_USER ; inline -: TBM_GETRANGEMIN WM_USER 1 + ; inline -: TBM_GETRANGEMAX WM_USER 2 + ; inline -: TBM_GETTIC WM_USER 3 + ; inline -: TBM_SETTIC WM_USER 4 + ; inline -: TBM_SETPOS WM_USER 5 + ; inline -: TBM_SETRANGE WM_USER 6 + ; inline -: TBM_SETRANGEMIN WM_USER 7 + ; inline -: TBM_SETRANGEMAX WM_USER 8 + ; inline -: TBM_CLEARTICS WM_USER 9 + ; inline -: TBM_SETSEL WM_USER 10 + ; inline -: TBM_SETSELSTART WM_USER 11 + ; inline -: TBM_SETSELEND WM_USER 12 + ; inline -: TBM_GETPTICS WM_USER 14 + ; inline -: TBM_GETTICPOS WM_USER 15 + ; inline -: TBM_GETNUMTICS WM_USER 16 + ; inline -: TBM_GETSELSTART WM_USER 17 + ; inline -: TBM_GETSELEND WM_USER 18 + ; inline -: TBM_CLEARSEL WM_USER 19 + ; inline -: TBM_SETTICFREQ WM_USER 20 + ; inline -: TBM_SETPAGESIZE WM_USER 21 + ; inline -: TBM_GETPAGESIZE WM_USER 22 + ; inline -: TBM_SETLINESIZE WM_USER 23 + ; inline -: TBM_GETLINESIZE WM_USER 24 + ; inline -: TBM_GETTHUMBRECT WM_USER 25 + ; inline -: TBM_GETCHANNELRECT WM_USER 26 + ; inline -: TBM_SETTHUMBLENGTH WM_USER 27 + ; inline -: TBM_GETTHUMBLENGTH WM_USER 28 + ; inline -: TBM_SETTOOLTIPS WM_USER 29 + ; inline -: TBM_GETTOOLTIPS WM_USER 30 + ; inline -: TBM_SETTIPSIDE WM_USER 31 + ; inline -: TBM_SETBUDDY WM_USER 32 + ; inline -: TBM_GETBUDDY WM_USER 33 + ; inline -: TBM_SETUNICODEFORMAT CCM_SETUNICODEFORMAT ; inline -: TBM_GETUNICODEFORMAT CCM_GETUNICODEFORMAT ; inline -: DL_BEGINDRAG WM_USER 133 + ; inline -: DL_DRAGGING WM_USER 134 + ; inline -: DL_DROPPED WM_USER 135 + ; inline -: DL_CANCELDRAG WM_USER 136 + ; inline -: UDM_SETRANGE WM_USER 101 + ; inline -: UDM_GETRANGE WM_USER 102 + ; inline -: UDM_SETPOS WM_USER 103 + ; inline -: UDM_GETPOS WM_USER 104 + ; inline -: UDM_SETBUDDY WM_USER 105 + ; inline -: UDM_GETBUDDY WM_USER 106 + ; inline -: UDM_SETACCEL WM_USER 107 + ; inline -: UDM_GETACCEL WM_USER 108 + ; inline -: UDM_SETBASE WM_USER 109 + ; inline -: UDM_GETBASE WM_USER 110 + ; inline -: UDM_SETRANGE32 WM_USER 111 + ; inline -: UDM_GETRANGE32 WM_USER 112 + ; inline -: UDM_SETUNICODEFORMAT CCM_SETUNICODEFORMAT ; inline -: UDM_GETUNICODEFORMAT CCM_GETUNICODEFORMAT ; inline -: UDM_SETPOS32 WM_USER 113 + ; inline -: UDM_GETPOS32 WM_USER 114 + ; inline -: PBM_SETRANGE WM_USER 1 + ; inline -: PBM_SETPOS WM_USER 2 + ; inline -: PBM_DELTAPOS WM_USER 3 + ; inline -: PBM_SETSTEP WM_USER 4 + ; inline -: PBM_STEPIT WM_USER 5 + ; inline -: PBM_SETRANGE32 WM_USER 6 + ; inline -: PBM_GETRANGE WM_USER 7 + ; inline -: PBM_GETPOS WM_USER 8 + ; inline -: PBM_SETBARCOLOR WM_USER 9 + ; inline -: PBM_SETBKCOLOR CCM_SETBKCOLOR ; inline -: HKM_SETHOTKEY WM_USER 1 + ; inline -: HKM_GETHOTKEY WM_USER 2 + ; inline -: HKM_SETRULES WM_USER 3 + ; inline -: LVM_SETUNICODEFORMAT CCM_SETUNICODEFORMAT ; inline -: LVM_GETUNICODEFORMAT CCM_GETUNICODEFORMAT ; inline -: LVM_GETBKCOLOR LVM_FIRST 0 + ; inline -: LVM_SETBKCOLOR LVM_FIRST 1 + ; inline -: LVM_GETIMAGELIST LVM_FIRST 2 + ; inline -: LVM_SETIMAGELIST LVM_FIRST 3 + ; inline -: LVM_GETITEMCOUNT LVM_FIRST 4 + ; inline -: LVM_GETITEMA LVM_FIRST 5 + ; inline -: LVM_GETITEMW LVM_FIRST 75 + ; inline -: LVM_SETITEMA LVM_FIRST 6 + ; inline -: LVM_SETITEMW LVM_FIRST 76 + ; inline -: LVM_INSERTITEMA LVM_FIRST 7 + ; inline -: LVM_INSERTITEMW LVM_FIRST 77 + ; inline -: LVM_DELETEITEM LVM_FIRST 8 + ; inline -: LVM_DELETEALLITEMS LVM_FIRST 9 + ; inline -: LVM_GETCALLBACKMASK LVM_FIRST 10 + ; inline -: LVM_SETCALLBACKMASK LVM_FIRST 11 + ; inline -: LVM_FINDITEMA LVM_FIRST 13 + ; inline -: LVM_FINDITEMW LVM_FIRST 83 + ; inline -: LVM_GETITEMRECT LVM_FIRST 14 + ; inline -: LVM_SETITEMPOSITION LVM_FIRST 15 + ; inline -: LVM_GETITEMPOSITION LVM_FIRST 16 + ; inline -: LVM_GETSTRINGWIDTHA LVM_FIRST 17 + ; inline -: LVM_GETSTRINGWIDTHW LVM_FIRST 87 + ; inline -: LVM_HITTEST LVM_FIRST 18 + ; inline -: LVM_ENSUREVISIBLE LVM_FIRST 19 + ; inline -: LVM_SCROLL LVM_FIRST 20 + ; inline -: LVM_REDRAWITEMS LVM_FIRST 21 + ; inline -: LVM_ARRANGE LVM_FIRST 22 + ; inline -: LVM_EDITLABELA LVM_FIRST 23 + ; inline -: LVM_EDITLABELW LVM_FIRST 118 + ; inline -: LVM_GETEDITCONTROL LVM_FIRST 24 + ; inline -: LVM_GETCOLUMNA LVM_FIRST 25 + ; inline -: LVM_GETCOLUMNW LVM_FIRST 95 + ; inline -: LVM_SETCOLUMNA LVM_FIRST 26 + ; inline -: LVM_SETCOLUMNW LVM_FIRST 96 + ; inline -: LVM_INSERTCOLUMNA LVM_FIRST 27 + ; inline -: LVM_INSERTCOLUMNW LVM_FIRST 97 + ; inline -: LVM_DELETECOLUMN LVM_FIRST 28 + ; inline -: LVM_GETCOLUMNWIDTH LVM_FIRST 29 + ; inline -: LVM_SETCOLUMNWIDTH LVM_FIRST 30 + ; inline -: LVM_CREATEDRAGIMAGE LVM_FIRST 33 + ; inline -: LVM_GETVIEWRECT LVM_FIRST 34 + ; inline -: LVM_GETTEXTCOLOR LVM_FIRST 35 + ; inline -: LVM_SETTEXTCOLOR LVM_FIRST 36 + ; inline -: LVM_GETTEXTBKCOLOR LVM_FIRST 37 + ; inline -: LVM_SETTEXTBKCOLOR LVM_FIRST 38 + ; inline -: LVM_GETTOPINDEX LVM_FIRST 39 + ; inline -: LVM_GETCOUNTPERPAGE LVM_FIRST 40 + ; inline -: LVM_GETORIGIN LVM_FIRST 41 + ; inline -: LVM_UPDATE LVM_FIRST 42 + ; inline -: LVM_SETITEMSTATE LVM_FIRST 43 + ; inline -: LVM_GETITEMSTATE LVM_FIRST 44 + ; inline -: LVM_GETITEMTEXTA LVM_FIRST 45 + ; inline -: LVM_GETITEMTEXTW LVM_FIRST 115 + ; inline -: LVM_SETITEMTEXTA LVM_FIRST 46 + ; inline -: LVM_SETITEMTEXTW LVM_FIRST 116 + ; inline -: LVM_SETITEMCOUNT LVM_FIRST 47 + ; inline -: LVM_SORTITEMS LVM_FIRST 48 + ; inline -: LVM_SETITEMPOSITION32 LVM_FIRST 49 + ; inline -: LVM_GETSELECTEDCOUNT LVM_FIRST 50 + ; inline -: LVM_GETITEMSPACING LVM_FIRST 51 + ; inline -: LVM_GETISEARCHSTRINGA LVM_FIRST 52 + ; inline -: LVM_GETISEARCHSTRINGW LVM_FIRST 117 + ; inline -: LVM_SETICONSPACING LVM_FIRST 53 + ; inline -: LVM_SETEXTENDEDLISTVIEWSTYLE LVM_FIRST 54 + ; inline -: LVM_GETEXTENDEDLISTVIEWSTYLE LVM_FIRST 55 + ; inline -: LVM_GETSUBITEMRECT LVM_FIRST 56 + ; inline -: LVM_SUBITEMHITTEST LVM_FIRST 57 + ; inline -: LVM_SETCOLUMNORDERARRAY LVM_FIRST 58 + ; inline -: LVM_GETCOLUMNORDERARRAY LVM_FIRST 59 + ; inline -: LVM_SETHOTITEM LVM_FIRST 60 + ; inline -: LVM_GETHOTITEM LVM_FIRST 61 + ; inline -: LVM_SETHOTCURSOR LVM_FIRST 62 + ; inline -: LVM_GETHOTCURSOR LVM_FIRST 63 + ; inline -: LVM_APPROXIMATEVIEWRECT LVM_FIRST 64 + ; inline -: LVM_SETWORKAREAS LVM_FIRST 65 + ; inline -: LVM_GETWORKAREAS LVM_FIRST 70 + ; inline -: LVM_GETNUMBEROFWORKAREAS LVM_FIRST 73 + ; inline -: LVM_GETSELECTIONMARK LVM_FIRST 66 + ; inline -: LVM_SETSELECTIONMARK LVM_FIRST 67 + ; inline -: LVM_SETHOVERTIME LVM_FIRST 71 + ; inline -: LVM_GETHOVERTIME LVM_FIRST 72 + ; inline -: LVM_SETTOOLTIPS LVM_FIRST 74 + ; inline -: LVM_GETTOOLTIPS LVM_FIRST 78 + ; inline -: LVM_SORTITEMSEX LVM_FIRST 81 + ; inline -: LVM_SETBKIMAGEA LVM_FIRST 68 + ; inline -: LVM_SETBKIMAGEW LVM_FIRST 138 + ; inline -: LVM_GETBKIMAGEA LVM_FIRST 69 + ; inline -: LVM_GETBKIMAGEW LVM_FIRST 139 + ; inline -: LVM_SETSELECTEDCOLUMN LVM_FIRST 140 + ; inline -: LVM_SETTILEWIDTH LVM_FIRST 141 + ; inline -: LVM_SETVIEW LVM_FIRST 142 + ; inline -: LVM_GETVIEW LVM_FIRST 143 + ; inline -: LVM_INSERTGROUP LVM_FIRST 145 + ; inline -: LVM_SETGROUPINFO LVM_FIRST 147 + ; inline -: LVM_GETGROUPINFO LVM_FIRST 149 + ; inline -: LVM_REMOVEGROUP LVM_FIRST 150 + ; inline -: LVM_MOVEGROUP LVM_FIRST 151 + ; inline -: LVM_MOVEITEMTOGROUP LVM_FIRST 154 + ; inline -: LVM_SETGROUPMETRICS LVM_FIRST 155 + ; inline -: LVM_GETGROUPMETRICS LVM_FIRST 156 + ; inline -: LVM_ENABLEGROUPVIEW LVM_FIRST 157 + ; inline -: LVM_SORTGROUPS LVM_FIRST 158 + ; inline -: LVM_INSERTGROUPSORTED LVM_FIRST 159 + ; inline -: LVM_REMOVEALLGROUPS LVM_FIRST 160 + ; inline -: LVM_HASGROUP LVM_FIRST 161 + ; inline -: LVM_SETTILEVIEWINFO LVM_FIRST 162 + ; inline -: LVM_GETTILEVIEWINFO LVM_FIRST 163 + ; inline -: LVM_SETTILEINFO LVM_FIRST 164 + ; inline -: LVM_GETTILEINFO LVM_FIRST 165 + ; inline -: LVM_SETINSERTMARK LVM_FIRST 166 + ; inline -: LVM_GETINSERTMARK LVM_FIRST 167 + ; inline -: LVM_INSERTMARKHITTEST LVM_FIRST 168 + ; inline -: LVM_GETINSERTMARKRECT LVM_FIRST 169 + ; inline -: LVM_SETINSERTMARKCOLOR LVM_FIRST 170 + ; inline -: LVM_GETINSERTMARKCOLOR LVM_FIRST 171 + ; inline -: LVM_SETINFOTIP LVM_FIRST 173 + ; inline -: LVM_GETSELECTEDCOLUMN LVM_FIRST 174 + ; inline -: LVM_ISGROUPVIEWENABLED LVM_FIRST 175 + ; inline -: LVM_GETOUTLINECOLOR LVM_FIRST 176 + ; inline -: LVM_SETOUTLINECOLOR LVM_FIRST 177 + ; inline -: LVM_CANCELEDITLABEL LVM_FIRST 179 + ; inline -: LVM_MAPINDEXTOID LVM_FIRST 180 + ; inline -: LVM_MAPIDTOINDEX LVM_FIRST 181 + ; inline -: TVM_INSERTITEMA TV_FIRST 0 + ; inline -: TVM_INSERTITEMW TV_FIRST 50 + ; inline -: TVM_DELETEITEM TV_FIRST 1 + ; inline -: TVM_EXPAND TV_FIRST 2 + ; inline -: TVM_GETITEMRECT TV_FIRST 4 + ; inline -: TVM_GETCOUNT TV_FIRST 5 + ; inline -: TVM_GETINDENT TV_FIRST 6 + ; inline -: TVM_SETINDENT TV_FIRST 7 + ; inline -: TVM_GETIMAGELIST TV_FIRST 8 + ; inline -: TVM_SETIMAGELIST TV_FIRST 9 + ; inline -: TVM_GETNEXTITEM TV_FIRST 10 + ; inline -: TVM_SELECTITEM TV_FIRST 11 + ; inline -: TVM_GETITEMA TV_FIRST 12 + ; inline -: TVM_GETITEMW TV_FIRST 62 + ; inline -: TVM_SETITEMA TV_FIRST 13 + ; inline -: TVM_SETITEMW TV_FIRST 63 + ; inline -: TVM_EDITLABELA TV_FIRST 14 + ; inline -: TVM_EDITLABELW TV_FIRST 65 + ; inline -: TVM_GETEDITCONTROL TV_FIRST 15 + ; inline -: TVM_GETVISIBLECOUNT TV_FIRST 16 + ; inline -: TVM_HITTEST TV_FIRST 17 + ; inline -: TVM_CREATEDRAGIMAGE TV_FIRST 18 + ; inline -: TVM_SORTCHILDREN TV_FIRST 19 + ; inline -: TVM_ENSUREVISIBLE TV_FIRST 20 + ; inline -: TVM_SORTCHILDRENCB TV_FIRST 21 + ; inline -: TVM_ENDEDITLABELNOW TV_FIRST 22 + ; inline -: TVM_GETISEARCHSTRINGA TV_FIRST 23 + ; inline -: TVM_GETISEARCHSTRINGW TV_FIRST 64 + ; inline -: TVM_SETTOOLTIPS TV_FIRST 24 + ; inline -: TVM_GETTOOLTIPS TV_FIRST 25 + ; inline -: TVM_SETINSERTMARK TV_FIRST 26 + ; inline -: TVM_SETUNICODEFORMAT CCM_SETUNICODEFORMAT ; inline -: TVM_GETUNICODEFORMAT CCM_GETUNICODEFORMAT ; inline -: TVM_SETITEMHEIGHT TV_FIRST 27 + ; inline -: TVM_GETITEMHEIGHT TV_FIRST 28 + ; inline -: TVM_SETBKCOLOR TV_FIRST 29 + ; inline -: TVM_SETTEXTCOLOR TV_FIRST 30 + ; inline -: TVM_GETBKCOLOR TV_FIRST 31 + ; inline -: TVM_GETTEXTCOLOR TV_FIRST 32 + ; inline -: TVM_SETSCROLLTIME TV_FIRST 33 + ; inline -: TVM_GETSCROLLTIME TV_FIRST 34 + ; inline -: TVM_SETINSERTMARKCOLOR TV_FIRST 37 + ; inline -: TVM_GETINSERTMARKCOLOR TV_FIRST 38 + ; inline -: TVM_GETITEMSTATE TV_FIRST 39 + ; inline -: TVM_SETLINECOLOR TV_FIRST 40 + ; inline -: TVM_GETLINECOLOR TV_FIRST 41 + ; inline -: TVM_MAPACCIDTOHTREEITEM TV_FIRST 42 + ; inline -: TVM_MAPHTREEITEMTOACCID TV_FIRST 43 + ; inline -: CBEM_INSERTITEMA WM_USER 1 + ; inline -: CBEM_SETIMAGELIST WM_USER 2 + ; inline -: CBEM_GETIMAGELIST WM_USER 3 + ; inline -: CBEM_GETITEMA WM_USER 4 + ; inline -: CBEM_SETITEMA WM_USER 5 + ; inline -: CBEM_DELETEITEM CB_DELETESTRING ; inline -: CBEM_GETCOMBOCONTROL WM_USER 6 + ; inline -: CBEM_GETEDITCONTROL WM_USER 7 + ; inline -: CBEM_SETEXTENDEDSTYLE WM_USER 14 + ; inline -: CBEM_GETEXTENDEDSTYLE WM_USER 9 + ; inline -: CBEM_SETUNICODEFORMAT CCM_SETUNICODEFORMAT ; inline -: CBEM_GETUNICODEFORMAT CCM_GETUNICODEFORMAT ; inline -: CBEM_SETEXSTYLE WM_USER 8 + ; inline -: CBEM_GETEXSTYLE WM_USER 9 + ; inline -: CBEM_HASEDITCHANGED WM_USER 10 + ; inline -: CBEM_INSERTITEMW WM_USER 11 + ; inline -: CBEM_SETITEMW WM_USER 12 + ; inline -: CBEM_GETITEMW WM_USER 13 + ; inline -: TCM_GETIMAGELIST TCM_FIRST 2 + ; inline -: TCM_SETIMAGELIST TCM_FIRST 3 + ; inline -: TCM_GETITEMCOUNT TCM_FIRST 4 + ; inline -: TCM_GETITEMA TCM_FIRST 5 + ; inline -: TCM_GETITEMW TCM_FIRST 60 + ; inline -: TCM_SETITEMA TCM_FIRST 6 + ; inline -: TCM_SETITEMW TCM_FIRST 61 + ; inline -: TCM_INSERTITEMA TCM_FIRST 7 + ; inline -: TCM_INSERTITEMW TCM_FIRST 62 + ; inline -: TCM_DELETEITEM TCM_FIRST 8 + ; inline -: TCM_DELETEALLITEMS TCM_FIRST 9 + ; inline -: TCM_GETITEMRECT TCM_FIRST 10 + ; inline -: TCM_GETCURSEL TCM_FIRST 11 + ; inline -: TCM_SETCURSEL TCM_FIRST 12 + ; inline -: TCM_HITTEST TCM_FIRST 13 + ; inline -: TCM_SETITEMEXTRA TCM_FIRST 14 + ; inline -: TCM_ADJUSTRECT TCM_FIRST 40 + ; inline -: TCM_SETITEMSIZE TCM_FIRST 41 + ; inline -: TCM_REMOVEIMAGE TCM_FIRST 42 + ; inline -: TCM_SETPADDING TCM_FIRST 43 + ; inline -: TCM_GETROWCOUNT TCM_FIRST 44 + ; inline -: TCM_GETTOOLTIPS TCM_FIRST 45 + ; inline -: TCM_SETTOOLTIPS TCM_FIRST 46 + ; inline -: TCM_GETCURFOCUS TCM_FIRST 47 + ; inline -: TCM_SETCURFOCUS TCM_FIRST 48 + ; inline -: TCM_SETMINTABWIDTH TCM_FIRST 49 + ; inline -: TCM_DESELECTALL TCM_FIRST 50 + ; inline -: TCM_HIGHLIGHTITEM TCM_FIRST 51 + ; inline -: TCM_SETEXTENDEDSTYLE TCM_FIRST 52 + ; inline -: TCM_GETEXTENDEDSTYLE TCM_FIRST 53 + ; inline -: TCM_SETUNICODEFORMAT CCM_SETUNICODEFORMAT ; inline -: TCM_GETUNICODEFORMAT CCM_GETUNICODEFORMAT ; inline -: ACM_OPENA WM_USER 100 + ; inline -: ACM_OPENW WM_USER 103 + ; inline -: ACM_PLAY WM_USER 101 + ; inline -: ACM_STOP WM_USER 102 + ; inline -: MCM_FIRST HEX: 1000 ; inline -: MCM_GETCURSEL MCM_FIRST 1 + ; inline -: MCM_SETCURSEL MCM_FIRST 2 + ; inline -: MCM_GETMAXSELCOUNT MCM_FIRST 3 + ; inline -: MCM_SETMAXSELCOUNT MCM_FIRST 4 + ; inline -: MCM_GETSELRANGE MCM_FIRST 5 + ; inline -: MCM_SETSELRANGE MCM_FIRST 6 + ; inline -: MCM_GETMONTHRANGE MCM_FIRST 7 + ; inline -: MCM_SETDAYSTATE MCM_FIRST 8 + ; inline -: MCM_GETMINREQRECT MCM_FIRST 9 + ; inline -: MCM_SETCOLOR MCM_FIRST 10 + ; inline -: MCM_GETCOLOR MCM_FIRST 11 + ; inline -: MCM_SETTODAY MCM_FIRST 12 + ; inline -: MCM_GETTODAY MCM_FIRST 13 + ; inline -: MCM_HITTEST MCM_FIRST 14 + ; inline -: MCM_SETFIRSTDAYOFWEEK MCM_FIRST 15 + ; inline -: MCM_GETFIRSTDAYOFWEEK MCM_FIRST 16 + ; inline -: MCM_GETRANGE MCM_FIRST 17 + ; inline -: MCM_SETRANGE MCM_FIRST 18 + ; inline -: MCM_GETMONTHDELTA MCM_FIRST 19 + ; inline -: MCM_SETMONTHDELTA MCM_FIRST 20 + ; inline -: MCM_GETMAXTODAYWIDTH MCM_FIRST 21 + ; inline -: MCM_SETUNICODEFORMAT CCM_SETUNICODEFORMAT ; inline -: MCM_GETUNICODEFORMAT CCM_GETUNICODEFORMAT ; inline -: DTM_FIRST HEX: 1000 ; inline -: DTM_GETSYSTEMTIME DTM_FIRST 1 + ; inline -: DTM_SETSYSTEMTIME DTM_FIRST 2 + ; inline -: DTM_GETRANGE DTM_FIRST 3 + ; inline -: DTM_SETRANGE DTM_FIRST 4 + ; inline -: DTM_SETFORMATA DTM_FIRST 5 + ; inline -: DTM_SETFORMATW DTM_FIRST 50 + ; inline -: DTM_SETMCCOLOR DTM_FIRST 6 + ; inline -: DTM_GETMCCOLOR DTM_FIRST 7 + ; inline -: DTM_GETMONTHCAL DTM_FIRST 8 + ; inline -: DTM_SETMCFONT DTM_FIRST 9 + ; inline -: DTM_GETMCFONT DTM_FIRST 10 + ; inline -: PGM_SETCHILD PGM_FIRST 1 + ; inline -: PGM_RECALCSIZE PGM_FIRST 2 + ; inline -: PGM_FORWARDMOUSE PGM_FIRST 3 + ; inline -: PGM_SETBKCOLOR PGM_FIRST 4 + ; inline -: PGM_GETBKCOLOR PGM_FIRST 5 + ; inline -: PGM_SETBORDER PGM_FIRST 6 + ; inline -: PGM_GETBORDER PGM_FIRST 7 + ; inline -: PGM_SETPOS PGM_FIRST 8 + ; inline -: PGM_GETPOS PGM_FIRST 9 + ; inline -: PGM_SETBUTTONSIZE PGM_FIRST 10 + ; inline -: PGM_GETBUTTONSIZE PGM_FIRST 11 + ; inline -: PGM_GETBUTTONSTATE PGM_FIRST 12 + ; inline -: PGM_GETDROPTARGET CCM_GETDROPTARGET ; inline -: BCM_GETIDEALSIZE BCM_FIRST 1 + ; inline -: BCM_SETIMAGELIST BCM_FIRST 2 + ; inline -: BCM_GETIMAGELIST BCM_FIRST 3 + ; inline -: BCM_SETTEXTMARGIN BCM_FIRST 4 + ; inline -: BCM_GETTEXTMARGIN BCM_FIRST 5 + ; inline -: EM_SETCUEBANNER ECM_FIRST 1 + ; inline -: EM_GETCUEBANNER ECM_FIRST 2 + ; inline -: EM_SHOWBALLOONTIP ECM_FIRST 3 + ; inline -: EM_HIDEBALLOONTIP ECM_FIRST 4 + ; inline -: CB_SETMINVISIBLE CBM_FIRST 1 + ; inline -: CB_GETMINVISIBLE CBM_FIRST 2 + ; inline -: LM_HITTEST WM_USER HEX: 0300 + ; inline -: LM_GETIDEALHEIGHT WM_USER HEX: 0301 + ; inline -: LM_SETITEM WM_USER HEX: 0302 + ; inline -: LM_GETITEM WM_USER HEX: 0303 + ; inline +CONSTANT: WM_NULL HEX: 0000 +CONSTANT: WM_CREATE HEX: 0001 +CONSTANT: WM_DESTROY HEX: 0002 +CONSTANT: WM_MOVE HEX: 0003 +CONSTANT: WM_SIZE HEX: 0005 +CONSTANT: WM_ACTIVATE HEX: 0006 +CONSTANT: WM_SETFOCUS HEX: 0007 +CONSTANT: WM_KILLFOCUS HEX: 0008 +CONSTANT: WM_ENABLE HEX: 000A +CONSTANT: WM_SETREDRAW HEX: 000B +CONSTANT: WM_SETTEXT HEX: 000C +CONSTANT: WM_GETTEXT HEX: 000D +CONSTANT: WM_GETTEXTLENGTH HEX: 000E +CONSTANT: WM_PAINT HEX: 000F +CONSTANT: WM_CLOSE HEX: 0010 +CONSTANT: WM_QUERYENDSESSION HEX: 0011 +CONSTANT: WM_QUERYOPEN HEX: 0013 +CONSTANT: WM_ENDSESSION HEX: 0016 +CONSTANT: WM_QUIT HEX: 0012 +CONSTANT: WM_ERASEBKGND HEX: 0014 +CONSTANT: WM_SYSCOLORCHANGE HEX: 0015 +CONSTANT: WM_SHOWWINDOW HEX: 0018 +CONSTANT: WM_WININICHANGE HEX: 001A +CONSTANT: WM_SETTINGCHANGE HEX: 001A +CONSTANT: WM_DEVMODECHANGE HEX: 001B +CONSTANT: WM_ACTIVATEAPP HEX: 001C +CONSTANT: WM_FONTCHANGE HEX: 001D +CONSTANT: WM_TIMECHANGE HEX: 001E +CONSTANT: WM_CANCELMODE HEX: 001F +CONSTANT: WM_SETCURSOR HEX: 0020 +CONSTANT: WM_MOUSEACTIVATE HEX: 0021 +CONSTANT: WM_CHILDACTIVATE HEX: 0022 +CONSTANT: WM_QUEUESYNC HEX: 0023 +CONSTANT: WM_GETMINMAXINFO HEX: 0024 +CONSTANT: WM_PAINTICON HEX: 0026 +CONSTANT: WM_ICONERASEBKGND HEX: 0027 +CONSTANT: WM_NEXTDLGCTL HEX: 0028 +CONSTANT: WM_SPOOLERSTATUS HEX: 002A +CONSTANT: WM_DRAWITEM HEX: 002B +CONSTANT: WM_MEASUREITEM HEX: 002C +CONSTANT: WM_DELETEITEM HEX: 002D +CONSTANT: WM_VKEYTOITEM HEX: 002E +CONSTANT: WM_CHARTOITEM HEX: 002F +CONSTANT: WM_SETFONT HEX: 0030 +CONSTANT: WM_GETFONT HEX: 0031 +CONSTANT: WM_SETHOTKEY HEX: 0032 +CONSTANT: WM_GETHOTKEY HEX: 0033 +CONSTANT: WM_QUERYDRAGICON HEX: 0037 +CONSTANT: WM_COMPAREITEM HEX: 0039 +CONSTANT: WM_GETOBJECT HEX: 003D +CONSTANT: WM_COMPACTING HEX: 0041 +CONSTANT: WM_COMMNOTIFY HEX: 0044 +CONSTANT: WM_WINDOWPOSCHANGING HEX: 0046 +CONSTANT: WM_WINDOWPOSCHANGED HEX: 0047 +CONSTANT: WM_POWER HEX: 0048 +CONSTANT: WM_COPYDATA HEX: 004A +CONSTANT: WM_CANCELJOURNAL HEX: 004B +CONSTANT: WM_NOTIFY HEX: 004E +CONSTANT: WM_INPUTLANGCHANGEREQUEST HEX: 0050 +CONSTANT: WM_INPUTLANGCHANGE HEX: 0051 +CONSTANT: WM_TCARD HEX: 0052 +CONSTANT: WM_HELP HEX: 0053 +CONSTANT: WM_USERCHANGED HEX: 0054 +CONSTANT: WM_NOTIFYFORMAT HEX: 0055 +CONSTANT: WM_CONTEXTMENU HEX: 007B +CONSTANT: WM_STYLECHANGING HEX: 007C +CONSTANT: WM_STYLECHANGED HEX: 007D +CONSTANT: WM_DISPLAYCHANGE HEX: 007E +CONSTANT: WM_GETICON HEX: 007F +CONSTANT: WM_SETICON HEX: 0080 +CONSTANT: WM_NCCREATE HEX: 0081 +CONSTANT: WM_NCDESTROY HEX: 0082 +CONSTANT: WM_NCCALCSIZE HEX: 0083 +CONSTANT: WM_NCHITTEST HEX: 0084 +CONSTANT: WM_NCPAINT HEX: 0085 +CONSTANT: WM_NCACTIVATE HEX: 0086 +CONSTANT: WM_GETDLGCODE HEX: 0087 +CONSTANT: WM_SYNCPAINT HEX: 0088 +CONSTANT: WM_NCMOUSEMOVE HEX: 00A0 +CONSTANT: WM_NCLBUTTONDOWN HEX: 00A1 +CONSTANT: WM_NCLBUTTONUP HEX: 00A2 +CONSTANT: WM_NCLBUTTONDBLCLK HEX: 00A3 +CONSTANT: WM_NCRBUTTONDOWN HEX: 00A4 +CONSTANT: WM_NCRBUTTONUP HEX: 00A5 +CONSTANT: WM_NCRBUTTONDBLCLK HEX: 00A6 +CONSTANT: WM_NCMBUTTONDOWN HEX: 00A7 +CONSTANT: WM_NCMBUTTONUP HEX: 00A8 +CONSTANT: WM_NCMBUTTONDBLCLK HEX: 00A9 +CONSTANT: WM_NCXBUTTONDOWN HEX: 00AB +CONSTANT: WM_NCXBUTTONUP HEX: 00AC +CONSTANT: WM_NCXBUTTONDBLCLK HEX: 00AD +CONSTANT: WM_NCUAHDRAWCAPTION HEX: 00AE ! undocumented +CONSTANT: WM_NCUAHDRAWFRAME HEX: 00AF ! undocumented +CONSTANT: WM_INPUT HEX: 00FF +CONSTANT: WM_KEYFIRST HEX: 0100 +CONSTANT: WM_KEYDOWN HEX: 0100 +CONSTANT: WM_KEYUP HEX: 0101 +CONSTANT: WM_CHAR HEX: 0102 +CONSTANT: WM_DEADCHAR HEX: 0103 +CONSTANT: WM_SYSKEYDOWN HEX: 0104 +CONSTANT: WM_SYSKEYUP HEX: 0105 +CONSTANT: WM_SYSCHAR HEX: 0106 +CONSTANT: WM_SYSDEADCHAR HEX: 0107 +CONSTANT: WM_UNICHAR HEX: 0109 +CONSTANT: WM_KEYLAST_NT501 HEX: 0109 +CONSTANT: UNICODE_NOCHAR HEX: FFFF +CONSTANT: WM_KEYLAST_PRE501 HEX: 0108 +CONSTANT: WM_IME_STARTCOMPOSITION HEX: 010D +CONSTANT: WM_IME_ENDCOMPOSITION HEX: 010E +CONSTANT: WM_IME_COMPOSITION HEX: 010F +CONSTANT: WM_IME_KEYLAST HEX: 010F +CONSTANT: WM_INITDIALOG HEX: 0110 +CONSTANT: WM_COMMAND HEX: 0111 +CONSTANT: WM_SYSCOMMAND HEX: 0112 +CONSTANT: WM_TIMER HEX: 0113 +CONSTANT: WM_HSCROLL HEX: 0114 +CONSTANT: WM_VSCROLL HEX: 0115 +CONSTANT: WM_INITMENU HEX: 0116 +CONSTANT: WM_INITMENUPOPUP HEX: 0117 +CONSTANT: WM_MENUSELECT HEX: 011F +CONSTANT: WM_MENUCHAR HEX: 0120 +CONSTANT: WM_ENTERIDLE HEX: 0121 +CONSTANT: WM_MENURBUTTONUP HEX: 0122 +CONSTANT: WM_MENUDRAG HEX: 0123 +CONSTANT: WM_MENUGETOBJECT HEX: 0124 +CONSTANT: WM_UNINITMENUPOPUP HEX: 0125 +CONSTANT: WM_MENUCOMMAND HEX: 0126 +CONSTANT: WM_CHANGEUISTATE HEX: 0127 +CONSTANT: WM_UPDATEUISTATE HEX: 0128 +CONSTANT: WM_QUERYUISTATE HEX: 0129 +CONSTANT: WM_CTLCOLORMSGBOX HEX: 0132 +CONSTANT: WM_CTLCOLOREDIT HEX: 0133 +CONSTANT: WM_CTLCOLORLISTBOX HEX: 0134 +CONSTANT: WM_CTLCOLORBTN HEX: 0135 +CONSTANT: WM_CTLCOLORDLG HEX: 0136 +CONSTANT: WM_CTLCOLORSCROLLBAR HEX: 0137 +CONSTANT: WM_CTLCOLORSTATIC HEX: 0138 +CONSTANT: WM_MOUSEFIRST HEX: 0200 +CONSTANT: WM_MOUSEMOVE HEX: 0200 +CONSTANT: WM_LBUTTONDOWN HEX: 0201 +CONSTANT: WM_LBUTTONUP HEX: 0202 +CONSTANT: WM_LBUTTONDBLCLK HEX: 0203 +CONSTANT: WM_RBUTTONDOWN HEX: 0204 +CONSTANT: WM_RBUTTONUP HEX: 0205 +CONSTANT: WM_RBUTTONDBLCLK HEX: 0206 +CONSTANT: WM_MBUTTONDOWN HEX: 0207 +CONSTANT: WM_MBUTTONUP HEX: 0208 +CONSTANT: WM_MBUTTONDBLCLK HEX: 0209 +CONSTANT: WM_MOUSEWHEEL HEX: 020A +CONSTANT: WM_XBUTTONDOWN HEX: 020B +CONSTANT: WM_XBUTTONUP HEX: 020C +CONSTANT: WM_XBUTTONDBLCLK HEX: 020D +CONSTANT: WM_MOUSELAST_5 HEX: 020D +CONSTANT: WM_MOUSELAST_4 HEX: 020A +CONSTANT: WM_MOUSELAST_PRE_4 HEX: 0209 +CONSTANT: WM_PARENTNOTIFY HEX: 0210 +CONSTANT: WM_ENTERMENULOOP HEX: 0211 +CONSTANT: WM_EXITMENULOOP HEX: 0212 +CONSTANT: WM_NEXTMENU HEX: 0213 +CONSTANT: WM_SIZING HEX: 0214 +CONSTANT: WM_CAPTURECHANGED HEX: 0215 +CONSTANT: WM_MOVING HEX: 0216 +CONSTANT: WM_POWERBROADCAST HEX: 0218 +CONSTANT: WM_DEVICECHANGE HEX: 0219 +CONSTANT: WM_MDICREATE HEX: 0220 +CONSTANT: WM_MDIDESTROY HEX: 0221 +CONSTANT: WM_MDIACTIVATE HEX: 0222 +CONSTANT: WM_MDIRESTORE HEX: 0223 +CONSTANT: WM_MDINEXT HEX: 0224 +CONSTANT: WM_MDIMAXIMIZE HEX: 0225 +CONSTANT: WM_MDITILE HEX: 0226 +CONSTANT: WM_MDICASCADE HEX: 0227 +CONSTANT: WM_MDIICONARRANGE HEX: 0228 +CONSTANT: WM_MDIGETACTIVE HEX: 0229 +CONSTANT: WM_MDISETMENU HEX: 0230 +CONSTANT: WM_ENTERSIZEMOVE HEX: 0231 +CONSTANT: WM_EXITSIZEMOVE HEX: 0232 +CONSTANT: WM_DROPFILES HEX: 0233 +CONSTANT: WM_MDIREFRESHMENU HEX: 0234 +CONSTANT: WM_IME_SETCONTEXT HEX: 0281 +CONSTANT: WM_IME_NOTIFY HEX: 0282 +CONSTANT: WM_IME_CONTROL HEX: 0283 +CONSTANT: WM_IME_COMPOSITIONFULL HEX: 0284 +CONSTANT: WM_IME_SELECT HEX: 0285 +CONSTANT: WM_IME_CHAR HEX: 0286 +CONSTANT: WM_IME_REQUEST HEX: 0288 +CONSTANT: WM_IME_KEYDOWN HEX: 0290 +CONSTANT: WM_IME_KEYUP HEX: 0291 +CONSTANT: WM_MOUSEHOVER HEX: 02A1 +CONSTANT: WM_MOUSELEAVE HEX: 02A3 +CONSTANT: WM_NCMOUSEHOVER HEX: 02A0 +CONSTANT: WM_NCMOUSELEAVE HEX: 02A2 +CONSTANT: WM_WTSSESSION_CHANGE HEX: 02B1 +CONSTANT: WM_TABLET_FIRST HEX: 02c0 +CONSTANT: WM_TABLET_LAST HEX: 02df +CONSTANT: WM_CUT HEX: 0300 +CONSTANT: WM_COPY HEX: 0301 +CONSTANT: WM_PASTE HEX: 0302 +CONSTANT: WM_CLEAR HEX: 0303 +CONSTANT: WM_UNDO HEX: 0304 +CONSTANT: WM_RENDERFORMAT HEX: 0305 +CONSTANT: WM_RENDERALLFORMATS HEX: 0306 +CONSTANT: WM_DESTROYCLIPBOARD HEX: 0307 +CONSTANT: WM_DRAWCLIPBOARD HEX: 0308 +CONSTANT: WM_PAINTCLIPBOARD HEX: 0309 +CONSTANT: WM_VSCROLLCLIPBOARD HEX: 030A +CONSTANT: WM_SIZECLIPBOARD HEX: 030B +CONSTANT: WM_ASKCBFORMATNAME HEX: 030C +CONSTANT: WM_CHANGECBCHAIN HEX: 030D +CONSTANT: WM_HSCROLLCLIPBOARD HEX: 030E +CONSTANT: WM_QUERYNEWPALETTE HEX: 030F +CONSTANT: WM_PALETTEISCHANGING HEX: 0310 +CONSTANT: WM_PALETTECHANGED HEX: 0311 +CONSTANT: WM_HOTKEY HEX: 0312 +CONSTANT: WM_PRINT HEX: 0317 +CONSTANT: WM_PRINTCLIENT HEX: 0318 +CONSTANT: WM_APPCOMMAND HEX: 0319 +CONSTANT: WM_THEMECHANGED HEX: 031A +CONSTANT: WM_HANDHELDFIRST HEX: 0358 +CONSTANT: WM_HANDHELDLAST HEX: 035F +CONSTANT: WM_AFXFIRST HEX: 0360 +CONSTANT: WM_AFXLAST HEX: 037F +CONSTANT: WM_PENWINFIRST HEX: 0380 +CONSTANT: WM_PENWINLAST HEX: 038F +CONSTANT: WM_APP HEX: 8000 +CONSTANT: WM_USER HEX: 0400 +CONSTANT: EM_GETSEL HEX: 00B0 +CONSTANT: EM_SETSEL HEX: 00B1 +CONSTANT: EM_GETRECT HEX: 00B2 +CONSTANT: EM_SETRECT HEX: 00B3 +CONSTANT: EM_SETRECTNP HEX: 00B4 +CONSTANT: EM_SCROLL HEX: 00B5 +CONSTANT: EM_LINESCROLL HEX: 00B6 +CONSTANT: EM_SCROLLCARET HEX: 00B7 +CONSTANT: EM_GETMODIFY HEX: 00B8 +CONSTANT: EM_SETMODIFY HEX: 00B9 +CONSTANT: EM_GETLINECOUNT HEX: 00BA +CONSTANT: EM_LINEINDEX HEX: 00BB +CONSTANT: EM_SETHANDLE HEX: 00BC +CONSTANT: EM_GETHANDLE HEX: 00BD +CONSTANT: EM_GETTHUMB HEX: 00BE +CONSTANT: EM_LINELENGTH HEX: 00C1 +CONSTANT: EM_REPLACESEL HEX: 00C2 +CONSTANT: EM_GETLINE HEX: 00C4 +CONSTANT: EM_LIMITTEXT HEX: 00C5 +CONSTANT: EM_CANUNDO HEX: 00C6 +CONSTANT: EM_UNDO HEX: 00C7 +CONSTANT: EM_FMTLINES HEX: 00C8 +CONSTANT: EM_LINEFROMCHAR HEX: 00C9 +CONSTANT: EM_SETTABSTOPS HEX: 00CB +CONSTANT: EM_SETPASSWORDCHAR HEX: 00CC +CONSTANT: EM_EMPTYUNDOBUFFER HEX: 00CD +CONSTANT: EM_GETFIRSTVISIBLELINE HEX: 00CE +CONSTANT: EM_SETREADONLY HEX: 00CF +CONSTANT: EM_SETWORDBREAKPROC HEX: 00D0 +CONSTANT: EM_GETWORDBREAKPROC HEX: 00D1 +CONSTANT: EM_GETPASSWORDCHAR HEX: 00D2 +CONSTANT: EM_SETMARGINS HEX: 00D3 +CONSTANT: EM_GETMARGINS HEX: 00D4 +ALIAS: EM_SETLIMITTEXT EM_LIMITTEXT +CONSTANT: EM_GETLIMITTEXT HEX: 00D5 +CONSTANT: EM_POSFROMCHAR HEX: 00D6 +CONSTANT: EM_CHARFROMPOS HEX: 00D7 +CONSTANT: EM_SETIMESTATUS HEX: 00D8 +CONSTANT: EM_GETIMESTATUS HEX: 00D9 +CONSTANT: BM_GETCHECK HEX: 00F0 +CONSTANT: BM_SETCHECK HEX: 00F1 +CONSTANT: BM_GETSTATE HEX: 00F2 +CONSTANT: BM_SETSTATE HEX: 00F3 +CONSTANT: BM_SETSTYLE HEX: 00F4 +CONSTANT: BM_CLICK HEX: 00F5 +CONSTANT: BM_GETIMAGE HEX: 00F6 +CONSTANT: BM_SETIMAGE HEX: 00F7 +CONSTANT: STM_SETICON HEX: 0170 +CONSTANT: STM_GETICON HEX: 0171 +CONSTANT: STM_SETIMAGE HEX: 0172 +CONSTANT: STM_GETIMAGE HEX: 0173 +CONSTANT: STM_MSGMAX HEX: 0174 +CONSTANT: DM_GETDEFID WM_USER +: DM_SETDEFID ( -- n ) ( -- n ) WM_USER 1 + ; inline +: DM_REPOSITION ( -- n ) ( -- n ) WM_USER 2 + ; inline +CONSTANT: LB_ADDSTRING HEX: 0180 +CONSTANT: LB_INSERTSTRING HEX: 0181 +CONSTANT: LB_DELETESTRING HEX: 0182 +CONSTANT: LB_SELITEMRANGEEX HEX: 0183 +CONSTANT: LB_RESETCONTENT HEX: 0184 +CONSTANT: LB_SETSEL HEX: 0185 +CONSTANT: LB_SETCURSEL HEX: 0186 +CONSTANT: LB_GETSEL HEX: 0187 +CONSTANT: LB_GETCURSEL HEX: 0188 +CONSTANT: LB_GETTEXT HEX: 0189 +CONSTANT: LB_GETTEXTLEN HEX: 018A +CONSTANT: LB_GETCOUNT HEX: 018B +CONSTANT: LB_SELECTSTRING HEX: 018C +CONSTANT: LB_DIR HEX: 018D +CONSTANT: LB_GETTOPINDEX HEX: 018E +CONSTANT: LB_FINDSTRING HEX: 018F +CONSTANT: LB_GETSELCOUNT HEX: 0190 +CONSTANT: LB_GETSELITEMS HEX: 0191 +CONSTANT: LB_SETTABSTOPS HEX: 0192 +CONSTANT: LB_GETHORIZONTALEXTENT HEX: 0193 +CONSTANT: LB_SETHORIZONTALEXTENT HEX: 0194 +CONSTANT: LB_SETCOLUMNWIDTH HEX: 0195 +CONSTANT: LB_ADDFILE HEX: 0196 +CONSTANT: LB_SETTOPINDEX HEX: 0197 +CONSTANT: LB_GETITEMRECT HEX: 0198 +CONSTANT: LB_GETITEMDATA HEX: 0199 +CONSTANT: LB_SETITEMDATA HEX: 019A +CONSTANT: LB_SELITEMRANGE HEX: 019B +CONSTANT: LB_SETANCHORINDEX HEX: 019C +CONSTANT: LB_GETANCHORINDEX HEX: 019D +CONSTANT: LB_SETCARETINDEX HEX: 019E +CONSTANT: LB_GETCARETINDEX HEX: 019F +CONSTANT: LB_SETITEMHEIGHT HEX: 01A0 +CONSTANT: LB_GETITEMHEIGHT HEX: 01A1 +CONSTANT: LB_FINDSTRINGEXACT HEX: 01A2 +CONSTANT: LB_SETLOCALE HEX: 01A5 +CONSTANT: LB_GETLOCALE HEX: 01A6 +CONSTANT: LB_SETCOUNT HEX: 01A7 +CONSTANT: LB_INITSTORAGE HEX: 01A8 +CONSTANT: LB_ITEMFROMPOINT HEX: 01A9 +CONSTANT: LB_MULTIPLEADDSTRING HEX: 01B1 +CONSTANT: LB_GETLISTBOXINFO HEX: 01B2 +CONSTANT: LB_MSGMAX_501 HEX: 01B3 +CONSTANT: LB_MSGMAX_WCE4 HEX: 01B1 +CONSTANT: LB_MSGMAX_4 HEX: 01B0 +CONSTANT: LB_MSGMAX_PRE4 HEX: 01A8 +CONSTANT: CB_GETEDITSEL HEX: 0140 +CONSTANT: CB_LIMITTEXT HEX: 0141 +CONSTANT: CB_SETEDITSEL HEX: 0142 +CONSTANT: CB_ADDSTRING HEX: 0143 +CONSTANT: CB_DELETESTRING HEX: 0144 +CONSTANT: CB_DIR HEX: 0145 +CONSTANT: CB_GETCOUNT HEX: 0146 +CONSTANT: CB_GETCURSEL HEX: 0147 +CONSTANT: CB_GETLBTEXT HEX: 0148 +CONSTANT: CB_GETLBTEXTLEN HEX: 0149 +CONSTANT: CB_INSERTSTRING HEX: 014A +CONSTANT: CB_RESETCONTENT HEX: 014B +CONSTANT: CB_FINDSTRING HEX: 014C +CONSTANT: CB_SELECTSTRING HEX: 014D +CONSTANT: CB_SETCURSEL HEX: 014E +CONSTANT: CB_SHOWDROPDOWN HEX: 014F +CONSTANT: CB_GETITEMDATA HEX: 0150 +CONSTANT: CB_SETITEMDATA HEX: 0151 +CONSTANT: CB_GETDROPPEDCONTROLRECT HEX: 0152 +CONSTANT: CB_SETITEMHEIGHT HEX: 0153 +CONSTANT: CB_GETITEMHEIGHT HEX: 0154 +CONSTANT: CB_SETEXTENDEDUI HEX: 0155 +CONSTANT: CB_GETEXTENDEDUI HEX: 0156 +CONSTANT: CB_GETDROPPEDSTATE HEX: 0157 +CONSTANT: CB_FINDSTRINGEXACT HEX: 0158 +CONSTANT: CB_SETLOCALE HEX: 0159 +CONSTANT: CB_GETLOCALE HEX: 015A +CONSTANT: CB_GETTOPINDEX HEX: 015B +CONSTANT: CB_SETTOPINDEX HEX: 015C +CONSTANT: CB_GETHORIZONTALEXTENT HEX: 015d +CONSTANT: CB_SETHORIZONTALEXTENT HEX: 015e +CONSTANT: CB_GETDROPPEDWIDTH HEX: 015f +CONSTANT: CB_SETDROPPEDWIDTH HEX: 0160 +CONSTANT: CB_INITSTORAGE HEX: 0161 +CONSTANT: CB_MULTIPLEADDSTRING HEX: 0163 +CONSTANT: CB_GETCOMBOBOXINFO HEX: 0164 +CONSTANT: CB_MSGMAX_501 HEX: 0165 +CONSTANT: CB_MSGMAX_WCE400 HEX: 0163 +CONSTANT: CB_MSGMAX_400 HEX: 0162 +CONSTANT: CB_MSGMAX_PRE400 HEX: 015B +CONSTANT: SBM_SETPOS HEX: 00E0 +CONSTANT: SBM_GETPOS HEX: 00E1 +CONSTANT: SBM_SETRANGE HEX: 00E2 +CONSTANT: SBM_SETRANGEREDRAW HEX: 00E6 +CONSTANT: SBM_GETRANGE HEX: 00E3 +CONSTANT: SBM_ENABLE_ARROWS HEX: 00E4 +CONSTANT: SBM_SETSCROLLINFO HEX: 00E9 +CONSTANT: SBM_GETSCROLLINFO HEX: 00EA +CONSTANT: SBM_GETSCROLLBARINFO HEX: 00EB +CONSTANT: LVM_FIRST HEX: 1000 ! ListView messages +CONSTANT: TV_FIRST HEX: 1100 ! TreeView messages +CONSTANT: HDM_FIRST HEX: 1200 ! Header messages +CONSTANT: TCM_FIRST HEX: 1300 ! Tab control messages +CONSTANT: PGM_FIRST HEX: 1400 ! Pager control messages +CONSTANT: ECM_FIRST HEX: 1500 ! Edit control messages +CONSTANT: BCM_FIRST HEX: 1600 ! Button control messages +CONSTANT: CBM_FIRST HEX: 1700 ! Combobox control messages +CONSTANT: CCM_FIRST HEX: 2000 ! Common control shared messages +: CCM_LAST ( -- n ) CCM_FIRST HEX: 0200 + ; inline +: CCM_SETBKCOLOR ( -- n ) CCM_FIRST 1 + ; inline +: CCM_SETCOLORSCHEME ( -- n ) CCM_FIRST 2 + ; inline +: CCM_GETCOLORSCHEME ( -- n ) CCM_FIRST 3 + ; inline +: CCM_GETDROPTARGET ( -- n ) CCM_FIRST 4 + ; inline +: CCM_SETUNICODEFORMAT ( -- n ) CCM_FIRST 5 + ; inline +: CCM_GETUNICODEFORMAT ( -- n ) CCM_FIRST 6 + ; inline +: CCM_SETVERSION ( -- n ) CCM_FIRST 7 + ; inline +: CCM_GETVERSION ( -- n ) CCM_FIRST 8 + ; inline +: CCM_SETNOTIFYWINDOW ( -- n ) CCM_FIRST 9 + ; inline +: CCM_SETWINDOWTHEME ( -- n ) CCM_FIRST HEX: b + ; inline +: CCM_DPISCALE ( -- n ) CCM_FIRST HEX: c + ; inline +: HDM_GETITEMCOUNT ( -- n ) HDM_FIRST 0 + ; inline +: HDM_INSERTITEMA ( -- n ) HDM_FIRST 1 + ; inline +: HDM_INSERTITEMW ( -- n ) HDM_FIRST 10 + ; inline +: HDM_DELETEITEM ( -- n ) HDM_FIRST 2 + ; inline +: HDM_GETITEMA ( -- n ) HDM_FIRST 3 + ; inline +: HDM_GETITEMW ( -- n ) HDM_FIRST 11 + ; inline +: HDM_SETITEMA ( -- n ) HDM_FIRST 4 + ; inline +: HDM_SETITEMW ( -- n ) HDM_FIRST 12 + ; inline +: HDM_LAYOUT ( -- n ) HDM_FIRST 5 + ; inline +: HDM_HITTEST ( -- n ) HDM_FIRST 6 + ; inline +: HDM_GETITEMRECT ( -- n ) HDM_FIRST 7 + ; inline +: HDM_SETIMAGELIST ( -- n ) HDM_FIRST 8 + ; inline +: HDM_GETIMAGELIST ( -- n ) HDM_FIRST 9 + ; inline +: HDM_ORDERTOINDEX ( -- n ) HDM_FIRST 15 + ; inline +: HDM_CREATEDRAGIMAGE ( -- n ) HDM_FIRST 16 + ; inline +: HDM_GETORDERARRAY ( -- n ) HDM_FIRST 17 + ; inline +: HDM_SETORDERARRAY ( -- n ) HDM_FIRST 18 + ; inline +: HDM_SETHOTDIVIDER ( -- n ) HDM_FIRST 19 + ; inline +: HDM_SETBITMAPMARGIN ( -- n ) HDM_FIRST 20 + ; inline +: HDM_GETBITMAPMARGIN ( -- n ) HDM_FIRST 21 + ; inline +CONSTANT: HDM_SETUNICODEFORMAT CCM_SETUNICODEFORMAT +CONSTANT: HDM_GETUNICODEFORMAT CCM_GETUNICODEFORMAT +: HDM_SETFILTERCHANGETIMEOUT ( -- n ) HDM_FIRST 22 + ; inline +: HDM_EDITFILTER ( -- n ) HDM_FIRST 23 + ; inline +: HDM_CLEARFILTER ( -- n ) HDM_FIRST 24 + ; inline +: TB_ENABLEBUTTON ( -- n ) WM_USER 1 + ; inline +: TB_CHECKBUTTON ( -- n ) WM_USER 2 + ; inline +: TB_PRESSBUTTON ( -- n ) WM_USER 3 + ; inline +: TB_HIDEBUTTON ( -- n ) WM_USER 4 + ; inline +: TB_INDETERMINATE ( -- n ) WM_USER 5 + ; inline +: TB_MARKBUTTON ( -- n ) WM_USER 6 + ; inline +: TB_ISBUTTONENABLED ( -- n ) WM_USER 9 + ; inline +: TB_ISBUTTONCHECKED ( -- n ) WM_USER 10 + ; inline +: TB_ISBUTTONPRESSED ( -- n ) WM_USER 11 + ; inline +: TB_ISBUTTONHIDDEN ( -- n ) WM_USER 12 + ; inline +: TB_ISBUTTONINDETERMINATE ( -- n ) WM_USER 13 + ; inline +: TB_ISBUTTONHIGHLIGHTED ( -- n ) WM_USER 14 + ; inline +: TB_SETSTATE ( -- n ) WM_USER 17 + ; inline +: TB_GETSTATE ( -- n ) WM_USER 18 + ; inline +: TB_ADDBITMAP ( -- n ) WM_USER 19 + ; inline +: TB_ADDBUTTONSA ( -- n ) WM_USER 20 + ; inline +: TB_INSERTBUTTONA ( -- n ) WM_USER 21 + ; inline +: TB_ADDBUTTONS ( -- n ) WM_USER 20 + ; inline +: TB_INSERTBUTTON ( -- n ) WM_USER 21 + ; inline +: TB_DELETEBUTTON ( -- n ) WM_USER 22 + ; inline +: TB_GETBUTTON ( -- n ) WM_USER 23 + ; inline +: TB_BUTTONCOUNT ( -- n ) WM_USER 24 + ; inline +: TB_COMMANDTOINDEX ( -- n ) WM_USER 25 + ; inline +: TB_SAVERESTOREA ( -- n ) WM_USER 26 + ; inline +: TB_SAVERESTOREW ( -- n ) WM_USER 76 + ; inline +: TB_CUSTOMIZE ( -- n ) WM_USER 27 + ; inline +: TB_ADDSTRINGA ( -- n ) WM_USER 28 + ; inline +: TB_ADDSTRINGW ( -- n ) WM_USER 77 + ; inline +: TB_GETITEMRECT ( -- n ) WM_USER 29 + ; inline +: TB_BUTTONSTRUCTSIZE ( -- n ) WM_USER 30 + ; inline +: TB_SETBUTTONSIZE ( -- n ) WM_USER 31 + ; inline +: TB_SETBITMAPSIZE ( -- n ) WM_USER 32 + ; inline +: TB_AUTOSIZE ( -- n ) WM_USER 33 + ; inline +: TB_GETTOOLTIPS ( -- n ) WM_USER 35 + ; inline +: TB_SETTOOLTIPS ( -- n ) WM_USER 36 + ; inline +: TB_SETPARENT ( -- n ) WM_USER 37 + ; inline +: TB_SETROWS ( -- n ) WM_USER 39 + ; inline +: TB_GETROWS ( -- n ) WM_USER 40 + ; inline +: TB_SETCMDID ( -- n ) WM_USER 42 + ; inline +: TB_CHANGEBITMAP ( -- n ) WM_USER 43 + ; inline +: TB_GETBITMAP ( -- n ) WM_USER 44 + ; inline +: TB_GETBUTTONTEXTA ( -- n ) WM_USER 45 + ; inline +: TB_GETBUTTONTEXTW ( -- n ) WM_USER 75 + ; inline +: TB_REPLACEBITMAP ( -- n ) WM_USER 46 + ; inline +: TB_SETINDENT ( -- n ) WM_USER 47 + ; inline +: TB_SETIMAGELIST ( -- n ) WM_USER 48 + ; inline +: TB_GETIMAGELIST ( -- n ) WM_USER 49 + ; inline +: TB_LOADIMAGES ( -- n ) WM_USER 50 + ; inline +: TB_GETRECT ( -- n ) WM_USER 51 + ; inline +: TB_SETHOTIMAGELIST ( -- n ) WM_USER 52 + ; inline +: TB_GETHOTIMAGELIST ( -- n ) WM_USER 53 + ; inline +: TB_SETDISABLEDIMAGELIST ( -- n ) WM_USER 54 + ; inline +: TB_GETDISABLEDIMAGELIST ( -- n ) WM_USER 55 + ; inline +: TB_SETSTYLE ( -- n ) WM_USER 56 + ; inline +: TB_GETSTYLE ( -- n ) WM_USER 57 + ; inline +: TB_GETBUTTONSIZE ( -- n ) WM_USER 58 + ; inline +: TB_SETBUTTONWIDTH ( -- n ) WM_USER 59 + ; inline +: TB_SETMAXTEXTROWS ( -- n ) WM_USER 60 + ; inline +: TB_GETTEXTROWS ( -- n ) WM_USER 61 + ; inline +: TB_GETOBJECT ( -- n ) WM_USER 62 + ; inline +: TB_GETHOTITEM ( -- n ) WM_USER 71 + ; inline +: TB_SETHOTITEM ( -- n ) WM_USER 72 + ; inline +: TB_SETANCHORHIGHLIGHT ( -- n ) WM_USER 73 + ; inline +: TB_GETANCHORHIGHLIGHT ( -- n ) WM_USER 74 + ; inline +: TB_MAPACCELERATORA ( -- n ) WM_USER 78 + ; inline +: TB_GETINSERTMARK ( -- n ) WM_USER 79 + ; inline +: TB_SETINSERTMARK ( -- n ) WM_USER 80 + ; inline +: TB_INSERTMARKHITTEST ( -- n ) WM_USER 81 + ; inline +: TB_MOVEBUTTON ( -- n ) WM_USER 82 + ; inline +: TB_GETMAXSIZE ( -- n ) WM_USER 83 + ; inline +: TB_SETEXTENDEDSTYLE ( -- n ) WM_USER 84 + ; inline +: TB_GETEXTENDEDSTYLE ( -- n ) WM_USER 85 + ; inline +: TB_GETPADDING ( -- n ) WM_USER 86 + ; inline +: TB_SETPADDING ( -- n ) WM_USER 87 + ; inline +: TB_SETINSERTMARKCOLOR ( -- n ) WM_USER 88 + ; inline +: TB_GETINSERTMARKCOLOR ( -- n ) WM_USER 89 + ; inline +ALIAS: TB_SETCOLORSCHEME CCM_SETCOLORSCHEME +ALIAS: TB_GETCOLORSCHEME CCM_GETCOLORSCHEME +ALIAS: TB_SETUNICODEFORMAT CCM_SETUNICODEFORMAT +ALIAS: TB_GETUNICODEFORMAT CCM_GETUNICODEFORMAT +: TB_MAPACCELERATORW ( -- n ) WM_USER 90 + ; inline +: TB_GETBITMAPFLAGS ( -- n ) WM_USER 41 + ; inline +: TB_GETBUTTONINFOW ( -- n ) WM_USER 63 + ; inline +: TB_SETBUTTONINFOW ( -- n ) WM_USER 64 + ; inline +: TB_GETBUTTONINFOA ( -- n ) WM_USER 65 + ; inline +: TB_SETBUTTONINFOA ( -- n ) WM_USER 66 + ; inline +: TB_INSERTBUTTONW ( -- n ) WM_USER 67 + ; inline +: TB_ADDBUTTONSW ( -- n ) WM_USER 68 + ; inline +: TB_HITTEST ( -- n ) WM_USER 69 + ; inline +: TB_SETDRAWTEXTFLAGS ( -- n ) WM_USER 70 + ; inline +: TB_GETSTRINGW ( -- n ) WM_USER 91 + ; inline +: TB_GETSTRINGA ( -- n ) WM_USER 92 + ; inline +: TB_GETMETRICS ( -- n ) WM_USER 101 + ; inline +: TB_SETMETRICS ( -- n ) WM_USER 102 + ; inline +ALIAS: TB_SETWINDOWTHEME CCM_SETWINDOWTHEME +: RB_INSERTBANDA ( -- n ) WM_USER 1 + ; inline +: RB_DELETEBAND ( -- n ) WM_USER 2 + ; inline +: RB_GETBARINFO ( -- n ) WM_USER 3 + ; inline +: RB_SETBARINFO ( -- n ) WM_USER 4 + ; inline +: RB_GETBANDINFO ( -- n ) WM_USER 5 + ; inline +: RB_SETBANDINFOA ( -- n ) WM_USER 6 + ; inline +: RB_SETPARENT ( -- n ) WM_USER 7 + ; inline +: RB_HITTEST ( -- n ) WM_USER 8 + ; inline +: RB_GETRECT ( -- n ) WM_USER 9 + ; inline +: RB_INSERTBANDW ( -- n ) WM_USER 10 + ; inline +: RB_SETBANDINFOW ( -- n ) WM_USER 11 + ; inline +: RB_GETBANDCOUNT ( -- n ) WM_USER 12 + ; inline +: RB_GETROWCOUNT ( -- n ) WM_USER 13 + ; inline +: RB_GETROWHEIGHT ( -- n ) WM_USER 14 + ; inline +: RB_IDTOINDEX ( -- n ) WM_USER 16 + ; inline +: RB_GETTOOLTIPS ( -- n ) WM_USER 17 + ; inline +: RB_SETTOOLTIPS ( -- n ) WM_USER 18 + ; inline +: RB_SETBKCOLOR ( -- n ) WM_USER 19 + ; inline +: RB_GETBKCOLOR ( -- n ) WM_USER 20 + ; inline +: RB_SETTEXTCOLOR ( -- n ) WM_USER 21 + ; inline +: RB_GETTEXTCOLOR ( -- n ) WM_USER 22 + ; inline +: RB_SIZETORECT ( -- n ) WM_USER 23 + ; inline +CONSTANT: RB_SETCOLORSCHEME CCM_SETCOLORSCHEME +CONSTANT: RB_GETCOLORSCHEME CCM_GETCOLORSCHEME +: RB_BEGINDRAG ( -- n ) WM_USER 24 + ; inline +: RB_ENDDRAG ( -- n ) WM_USER 25 + ; inline +: RB_DRAGMOVE ( -- n ) WM_USER 26 + ; inline +: RB_GETBARHEIGHT ( -- n ) WM_USER 27 + ; inline +: RB_GETBANDINFOW ( -- n ) WM_USER 28 + ; inline +: RB_GETBANDINFOA ( -- n ) WM_USER 29 + ; inline +: RB_MINIMIZEBAND ( -- n ) WM_USER 30 + ; inline +: RB_MAXIMIZEBAND ( -- n ) WM_USER 31 + ; inline +ALIAS: RB_GETDROPTARGET CCM_GETDROPTARGET +: RB_GETBANDBORDERS ( -- n ) WM_USER 34 + ; inline +: RB_SHOWBAND ( -- n ) WM_USER 35 + ; inline +: RB_SETPALETTE ( -- n ) WM_USER 37 + ; inline +: RB_GETPALETTE ( -- n ) WM_USER 38 + ; inline +: RB_MOVEBAND ( -- n ) WM_USER 39 + ; inline +CONSTANT: RB_SETUNICODEFORMAT CCM_SETUNICODEFORMAT +CONSTANT: RB_GETUNICODEFORMAT CCM_GETUNICODEFORMAT +: RB_GETBANDMARGINS ( -- n ) WM_USER 40 + ; inline +ALIAS: RB_SETWINDOWTHEME CCM_SETWINDOWTHEME +: RB_PUSHCHEVRON ( -- n ) WM_USER 43 + ; inline +: TTM_ACTIVATE ( -- n ) WM_USER 1 + ; inline +: TTM_SETDELAYTIME ( -- n ) WM_USER 3 + ; inline +: TTM_ADDTOOLA ( -- n ) WM_USER 4 + ; inline +: TTM_ADDTOOLW ( -- n ) WM_USER 50 + ; inline +: TTM_DELTOOLA ( -- n ) WM_USER 5 + ; inline +: TTM_DELTOOLW ( -- n ) WM_USER 51 + ; inline +: TTM_NEWTOOLRECTA ( -- n ) WM_USER 6 + ; inline +: TTM_NEWTOOLRECTW ( -- n ) WM_USER 52 + ; inline +: TTM_RELAYEVENT ( -- n ) WM_USER 7 + ; inline +: TTM_GETTOOLINFOA ( -- n ) WM_USER 8 + ; inline +: TTM_GETTOOLINFOW ( -- n ) WM_USER 53 + ; inline +: TTM_SETTOOLINFOA ( -- n ) WM_USER 9 + ; inline +: TTM_SETTOOLINFOW ( -- n ) WM_USER 54 + ; inline +: TTM_HITTESTA ( -- n ) WM_USER 10 + ; inline +: TTM_HITTESTW ( -- n ) WM_USER 55 + ; inline +: TTM_GETTEXTA ( -- n ) WM_USER 11 + ; inline +: TTM_GETTEXTW ( -- n ) WM_USER 56 + ; inline +: TTM_UPDATETIPTEXTA ( -- n ) WM_USER 12 + ; inline +: TTM_UPDATETIPTEXTW ( -- n ) WM_USER 57 + ; inline +: TTM_GETTOOLCOUNT ( -- n ) WM_USER 13 + ; inline +: TTM_ENUMTOOLSA ( -- n ) WM_USER 14 + ; inline +: TTM_ENUMTOOLSW ( -- n ) WM_USER 58 + ; inline +: TTM_GETCURRENTTOOLA ( -- n ) WM_USER 15 + ; inline +: TTM_GETCURRENTTOOLW ( -- n ) WM_USER 59 + ; inline +: TTM_WINDOWFROMPOINT ( -- n ) WM_USER 16 + ; inline +: TTM_TRACKACTIVATE ( -- n ) WM_USER 17 + ; inline +: TTM_TRACKPOSITION ( -- n ) WM_USER 18 + ; inline +: TTM_SETTIPBKCOLOR ( -- n ) WM_USER 19 + ; inline +: TTM_SETTIPTEXTCOLOR ( -- n ) WM_USER 20 + ; inline +: TTM_GETDELAYTIME ( -- n ) WM_USER 21 + ; inline +: TTM_GETTIPBKCOLOR ( -- n ) WM_USER 22 + ; inline +: TTM_GETTIPTEXTCOLOR ( -- n ) WM_USER 23 + ; inline +: TTM_SETMAXTIPWIDTH ( -- n ) WM_USER 24 + ; inline +: TTM_GETMAXTIPWIDTH ( -- n ) WM_USER 25 + ; inline +: TTM_SETMARGIN ( -- n ) WM_USER 26 + ; inline +: TTM_GETMARGIN ( -- n ) WM_USER 27 + ; inline +: TTM_POP ( -- n ) WM_USER 28 + ; inline +: TTM_UPDATE ( -- n ) WM_USER 29 + ; inline +: TTM_GETBUBBLESIZE ( -- n ) WM_USER 30 + ; inline +: TTM_ADJUSTRECT ( -- n ) WM_USER 31 + ; inline +: TTM_SETTITLEA ( -- n ) WM_USER 32 + ; inline +: TTM_SETTITLEW ( -- n ) WM_USER 33 + ; inline +: TTM_POPUP ( -- n ) WM_USER 34 + ; inline +: TTM_GETTITLE ( -- n ) WM_USER 35 + ; inline +ALIAS: TTM_SETWINDOWTHEME CCM_SETWINDOWTHEME +: SB_SETTEXTA ( -- n ) WM_USER 1 + ; inline +: SB_SETTEXTW ( -- n ) WM_USER 11 + ; inline +: SB_GETTEXTA ( -- n ) WM_USER 2 + ; inline +: SB_GETTEXTW ( -- n ) WM_USER 13 + ; inline +: SB_GETTEXTLENGTHA ( -- n ) WM_USER 3 + ; inline +: SB_GETTEXTLENGTHW ( -- n ) WM_USER 12 + ; inline +: SB_SETPARTS ( -- n ) WM_USER 4 + ; inline +: SB_GETPARTS ( -- n ) WM_USER 6 + ; inline +: SB_GETBORDERS ( -- n ) WM_USER 7 + ; inline +: SB_SETMINHEIGHT ( -- n ) WM_USER 8 + ; inline +: SB_SIMPLE ( -- n ) WM_USER 9 + ; inline +: SB_GETRECT ( -- n ) WM_USER 10 + ; inline +: SB_ISSIMPLE ( -- n ) WM_USER 14 + ; inline +: SB_SETICON ( -- n ) WM_USER 15 + ; inline +: SB_SETTIPTEXTA ( -- n ) WM_USER 16 + ; inline +: SB_SETTIPTEXTW ( -- n ) WM_USER 17 + ; inline +: SB_GETTIPTEXTA ( -- n ) WM_USER 18 + ; inline +: SB_GETTIPTEXTW ( -- n ) WM_USER 19 + ; inline +: SB_GETICON ( -- n ) WM_USER 20 + ; inline +CONSTANT: SB_SETUNICODEFORMAT CCM_SETUNICODEFORMAT +CONSTANT: SB_GETUNICODEFORMAT CCM_GETUNICODEFORMAT +ALIAS: SB_SETBKCOLOR CCM_SETBKCOLOR +CONSTANT: SB_SIMPLEID HEX: 00ff +ALIAS: TBM_GETPOS WM_USER +: TBM_GETRANGEMIN ( -- n ) WM_USER 1 + ; inline +: TBM_GETRANGEMAX ( -- n ) WM_USER 2 + ; inline +: TBM_GETTIC ( -- n ) WM_USER 3 + ; inline +: TBM_SETTIC ( -- n ) WM_USER 4 + ; inline +: TBM_SETPOS ( -- n ) WM_USER 5 + ; inline +: TBM_SETRANGE ( -- n ) WM_USER 6 + ; inline +: TBM_SETRANGEMIN ( -- n ) WM_USER 7 + ; inline +: TBM_SETRANGEMAX ( -- n ) WM_USER 8 + ; inline +: TBM_CLEARTICS ( -- n ) WM_USER 9 + ; inline +: TBM_SETSEL ( -- n ) WM_USER 10 + ; inline +: TBM_SETSELSTART ( -- n ) WM_USER 11 + ; inline +: TBM_SETSELEND ( -- n ) WM_USER 12 + ; inline +: TBM_GETPTICS ( -- n ) WM_USER 14 + ; inline +: TBM_GETTICPOS ( -- n ) WM_USER 15 + ; inline +: TBM_GETNUMTICS ( -- n ) WM_USER 16 + ; inline +: TBM_GETSELSTART ( -- n ) WM_USER 17 + ; inline +: TBM_GETSELEND ( -- n ) WM_USER 18 + ; inline +: TBM_CLEARSEL ( -- n ) WM_USER 19 + ; inline +: TBM_SETTICFREQ ( -- n ) WM_USER 20 + ; inline +: TBM_SETPAGESIZE ( -- n ) WM_USER 21 + ; inline +: TBM_GETPAGESIZE ( -- n ) WM_USER 22 + ; inline +: TBM_SETLINESIZE ( -- n ) WM_USER 23 + ; inline +: TBM_GETLINESIZE ( -- n ) WM_USER 24 + ; inline +: TBM_GETTHUMBRECT ( -- n ) WM_USER 25 + ; inline +: TBM_GETCHANNELRECT ( -- n ) WM_USER 26 + ; inline +: TBM_SETTHUMBLENGTH ( -- n ) WM_USER 27 + ; inline +: TBM_GETTHUMBLENGTH ( -- n ) WM_USER 28 + ; inline +: TBM_SETTOOLTIPS ( -- n ) WM_USER 29 + ; inline +: TBM_GETTOOLTIPS ( -- n ) WM_USER 30 + ; inline +: TBM_SETTIPSIDE ( -- n ) WM_USER 31 + ; inline +: TBM_SETBUDDY ( -- n ) WM_USER 32 + ; inline +: TBM_GETBUDDY ( -- n ) WM_USER 33 + ; inline +ALIAS: TBM_SETUNICODEFORMAT CCM_SETUNICODEFORMAT +ALIAS: TBM_GETUNICODEFORMAT CCM_GETUNICODEFORMAT +: DL_BEGINDRAG ( -- n ) WM_USER 133 + ; inline +: DL_DRAGGING ( -- n ) WM_USER 134 + ; inline +: DL_DROPPED ( -- n ) WM_USER 135 + ; inline +: DL_CANCELDRAG ( -- n ) WM_USER 136 + ; inline +: UDM_SETRANGE ( -- n ) WM_USER 101 + ; inline +: UDM_GETRANGE ( -- n ) WM_USER 102 + ; inline +: UDM_SETPOS ( -- n ) WM_USER 103 + ; inline +: UDM_GETPOS ( -- n ) WM_USER 104 + ; inline +: UDM_SETBUDDY ( -- n ) WM_USER 105 + ; inline +: UDM_GETBUDDY ( -- n ) WM_USER 106 + ; inline +: UDM_SETACCEL ( -- n ) WM_USER 107 + ; inline +: UDM_GETACCEL ( -- n ) WM_USER 108 + ; inline +: UDM_SETBASE ( -- n ) WM_USER 109 + ; inline +: UDM_GETBASE ( -- n ) WM_USER 110 + ; inline +: UDM_SETRANGE32 ( -- n ) WM_USER 111 + ; inline +: UDM_GETRANGE32 ( -- n ) WM_USER 112 + ; inline +ALIAS: UDM_SETUNICODEFORMAT CCM_SETUNICODEFORMAT +ALIAS: UDM_GETUNICODEFORMAT CCM_GETUNICODEFORMAT +: UDM_SETPOS32 ( -- n ) WM_USER 113 + ; inline +: UDM_GETPOS32 ( -- n ) WM_USER 114 + ; inline +: PBM_SETRANGE ( -- n ) WM_USER 1 + ; inline +: PBM_SETPOS ( -- n ) WM_USER 2 + ; inline +: PBM_DELTAPOS ( -- n ) WM_USER 3 + ; inline +: PBM_SETSTEP ( -- n ) WM_USER 4 + ; inline +: PBM_STEPIT ( -- n ) WM_USER 5 + ; inline +: PBM_SETRANGE32 ( -- n ) WM_USER 6 + ; inline +: PBM_GETRANGE ( -- n ) WM_USER 7 + ; inline +: PBM_GETPOS ( -- n ) WM_USER 8 + ; inline +: PBM_SETBARCOLOR ( -- n ) WM_USER 9 + ; inline +ALIAS: PBM_SETBKCOLOR CCM_SETBKCOLOR +: HKM_SETHOTKEY ( -- n ) WM_USER 1 + ; inline +: HKM_GETHOTKEY ( -- n ) WM_USER 2 + ; inline +: HKM_SETRULES ( -- n ) WM_USER 3 + ; inline +ALIAS: LVM_SETUNICODEFORMAT CCM_SETUNICODEFORMAT +ALIAS: LVM_GETUNICODEFORMAT CCM_GETUNICODEFORMAT +: LVM_GETBKCOLOR ( -- n ) LVM_FIRST 0 + ; inline +: LVM_SETBKCOLOR ( -- n ) LVM_FIRST 1 + ; inline +: LVM_GETIMAGELIST ( -- n ) LVM_FIRST 2 + ; inline +: LVM_SETIMAGELIST ( -- n ) LVM_FIRST 3 + ; inline +: LVM_GETITEMCOUNT ( -- n ) LVM_FIRST 4 + ; inline +: LVM_GETITEMA ( -- n ) LVM_FIRST 5 + ; inline +: LVM_GETITEMW ( -- n ) LVM_FIRST 75 + ; inline +: LVM_SETITEMA ( -- n ) LVM_FIRST 6 + ; inline +: LVM_SETITEMW ( -- n ) LVM_FIRST 76 + ; inline +: LVM_INSERTITEMA ( -- n ) LVM_FIRST 7 + ; inline +: LVM_INSERTITEMW ( -- n ) LVM_FIRST 77 + ; inline +: LVM_DELETEITEM ( -- n ) LVM_FIRST 8 + ; inline +: LVM_DELETEALLITEMS ( -- n ) LVM_FIRST 9 + ; inline +: LVM_GETCALLBACKMASK ( -- n ) LVM_FIRST 10 + ; inline +: LVM_SETCALLBACKMASK ( -- n ) LVM_FIRST 11 + ; inline +: LVM_FINDITEMA ( -- n ) LVM_FIRST 13 + ; inline +: LVM_FINDITEMW ( -- n ) LVM_FIRST 83 + ; inline +: LVM_GETITEMRECT ( -- n ) LVM_FIRST 14 + ; inline +: LVM_SETITEMPOSITION ( -- n ) LVM_FIRST 15 + ; inline +: LVM_GETITEMPOSITION ( -- n ) LVM_FIRST 16 + ; inline +: LVM_GETSTRINGWIDTHA ( -- n ) LVM_FIRST 17 + ; inline +: LVM_GETSTRINGWIDTHW ( -- n ) LVM_FIRST 87 + ; inline +: LVM_HITTEST ( -- n ) LVM_FIRST 18 + ; inline +: LVM_ENSUREVISIBLE ( -- n ) LVM_FIRST 19 + ; inline +: LVM_SCROLL ( -- n ) LVM_FIRST 20 + ; inline +: LVM_REDRAWITEMS ( -- n ) LVM_FIRST 21 + ; inline +: LVM_ARRANGE ( -- n ) LVM_FIRST 22 + ; inline +: LVM_EDITLABELA ( -- n ) LVM_FIRST 23 + ; inline +: LVM_EDITLABELW ( -- n ) LVM_FIRST 118 + ; inline +: LVM_GETEDITCONTROL ( -- n ) LVM_FIRST 24 + ; inline +: LVM_GETCOLUMNA ( -- n ) LVM_FIRST 25 + ; inline +: LVM_GETCOLUMNW ( -- n ) LVM_FIRST 95 + ; inline +: LVM_SETCOLUMNA ( -- n ) LVM_FIRST 26 + ; inline +: LVM_SETCOLUMNW ( -- n ) LVM_FIRST 96 + ; inline +: LVM_INSERTCOLUMNA ( -- n ) LVM_FIRST 27 + ; inline +: LVM_INSERTCOLUMNW ( -- n ) LVM_FIRST 97 + ; inline +: LVM_DELETECOLUMN ( -- n ) LVM_FIRST 28 + ; inline +: LVM_GETCOLUMNWIDTH ( -- n ) LVM_FIRST 29 + ; inline +: LVM_SETCOLUMNWIDTH ( -- n ) LVM_FIRST 30 + ; inline +: LVM_CREATEDRAGIMAGE ( -- n ) LVM_FIRST 33 + ; inline +: LVM_GETVIEWRECT ( -- n ) LVM_FIRST 34 + ; inline +: LVM_GETTEXTCOLOR ( -- n ) LVM_FIRST 35 + ; inline +: LVM_SETTEXTCOLOR ( -- n ) LVM_FIRST 36 + ; inline +: LVM_GETTEXTBKCOLOR ( -- n ) LVM_FIRST 37 + ; inline +: LVM_SETTEXTBKCOLOR ( -- n ) LVM_FIRST 38 + ; inline +: LVM_GETTOPINDEX ( -- n ) LVM_FIRST 39 + ; inline +: LVM_GETCOUNTPERPAGE ( -- n ) LVM_FIRST 40 + ; inline +: LVM_GETORIGIN ( -- n ) LVM_FIRST 41 + ; inline +: LVM_UPDATE ( -- n ) LVM_FIRST 42 + ; inline +: LVM_SETITEMSTATE ( -- n ) LVM_FIRST 43 + ; inline +: LVM_GETITEMSTATE ( -- n ) LVM_FIRST 44 + ; inline +: LVM_GETITEMTEXTA ( -- n ) LVM_FIRST 45 + ; inline +: LVM_GETITEMTEXTW ( -- n ) LVM_FIRST 115 + ; inline +: LVM_SETITEMTEXTA ( -- n ) LVM_FIRST 46 + ; inline +: LVM_SETITEMTEXTW ( -- n ) LVM_FIRST 116 + ; inline +: LVM_SETITEMCOUNT ( -- n ) LVM_FIRST 47 + ; inline +: LVM_SORTITEMS ( -- n ) LVM_FIRST 48 + ; inline +: LVM_SETITEMPOSITION32 ( -- n ) LVM_FIRST 49 + ; inline +: LVM_GETSELECTEDCOUNT ( -- n ) LVM_FIRST 50 + ; inline +: LVM_GETITEMSPACING ( -- n ) LVM_FIRST 51 + ; inline +: LVM_GETISEARCHSTRINGA ( -- n ) LVM_FIRST 52 + ; inline +: LVM_GETISEARCHSTRINGW ( -- n ) LVM_FIRST 117 + ; inline +: LVM_SETICONSPACING ( -- n ) LVM_FIRST 53 + ; inline +: LVM_SETEXTENDEDLISTVIEWSTYLE ( -- n ) LVM_FIRST 54 + ; inline +: LVM_GETEXTENDEDLISTVIEWSTYLE ( -- n ) LVM_FIRST 55 + ; inline +: LVM_GETSUBITEMRECT ( -- n ) LVM_FIRST 56 + ; inline +: LVM_SUBITEMHITTEST ( -- n ) LVM_FIRST 57 + ; inline +: LVM_SETCOLUMNORDERARRAY ( -- n ) LVM_FIRST 58 + ; inline +: LVM_GETCOLUMNORDERARRAY ( -- n ) LVM_FIRST 59 + ; inline +: LVM_SETHOTITEM ( -- n ) LVM_FIRST 60 + ; inline +: LVM_GETHOTITEM ( -- n ) LVM_FIRST 61 + ; inline +: LVM_SETHOTCURSOR ( -- n ) LVM_FIRST 62 + ; inline +: LVM_GETHOTCURSOR ( -- n ) LVM_FIRST 63 + ; inline +: LVM_APPROXIMATEVIEWRECT ( -- n ) LVM_FIRST 64 + ; inline +: LVM_SETWORKAREAS ( -- n ) LVM_FIRST 65 + ; inline +: LVM_GETWORKAREAS ( -- n ) LVM_FIRST 70 + ; inline +: LVM_GETNUMBEROFWORKAREAS ( -- n ) LVM_FIRST 73 + ; inline +: LVM_GETSELECTIONMARK ( -- n ) LVM_FIRST 66 + ; inline +: LVM_SETSELECTIONMARK ( -- n ) LVM_FIRST 67 + ; inline +: LVM_SETHOVERTIME ( -- n ) LVM_FIRST 71 + ; inline +: LVM_GETHOVERTIME ( -- n ) LVM_FIRST 72 + ; inline +: LVM_SETTOOLTIPS ( -- n ) LVM_FIRST 74 + ; inline +: LVM_GETTOOLTIPS ( -- n ) LVM_FIRST 78 + ; inline +: LVM_SORTITEMSEX ( -- n ) LVM_FIRST 81 + ; inline +: LVM_SETBKIMAGEA ( -- n ) LVM_FIRST 68 + ; inline +: LVM_SETBKIMAGEW ( -- n ) LVM_FIRST 138 + ; inline +: LVM_GETBKIMAGEA ( -- n ) LVM_FIRST 69 + ; inline +: LVM_GETBKIMAGEW ( -- n ) LVM_FIRST 139 + ; inline +: LVM_SETSELECTEDCOLUMN ( -- n ) LVM_FIRST 140 + ; inline +: LVM_SETTILEWIDTH ( -- n ) LVM_FIRST 141 + ; inline +: LVM_SETVIEW ( -- n ) LVM_FIRST 142 + ; inline +: LVM_GETVIEW ( -- n ) LVM_FIRST 143 + ; inline +: LVM_INSERTGROUP ( -- n ) LVM_FIRST 145 + ; inline +: LVM_SETGROUPINFO ( -- n ) LVM_FIRST 147 + ; inline +: LVM_GETGROUPINFO ( -- n ) LVM_FIRST 149 + ; inline +: LVM_REMOVEGROUP ( -- n ) LVM_FIRST 150 + ; inline +: LVM_MOVEGROUP ( -- n ) LVM_FIRST 151 + ; inline +: LVM_MOVEITEMTOGROUP ( -- n ) LVM_FIRST 154 + ; inline +: LVM_SETGROUPMETRICS ( -- n ) LVM_FIRST 155 + ; inline +: LVM_GETGROUPMETRICS ( -- n ) LVM_FIRST 156 + ; inline +: LVM_ENABLEGROUPVIEW ( -- n ) LVM_FIRST 157 + ; inline +: LVM_SORTGROUPS ( -- n ) LVM_FIRST 158 + ; inline +: LVM_INSERTGROUPSORTED ( -- n ) LVM_FIRST 159 + ; inline +: LVM_REMOVEALLGROUPS ( -- n ) LVM_FIRST 160 + ; inline +: LVM_HASGROUP ( -- n ) LVM_FIRST 161 + ; inline +: LVM_SETTILEVIEWINFO ( -- n ) LVM_FIRST 162 + ; inline +: LVM_GETTILEVIEWINFO ( -- n ) LVM_FIRST 163 + ; inline +: LVM_SETTILEINFO ( -- n ) LVM_FIRST 164 + ; inline +: LVM_GETTILEINFO ( -- n ) LVM_FIRST 165 + ; inline +: LVM_SETINSERTMARK ( -- n ) LVM_FIRST 166 + ; inline +: LVM_GETINSERTMARK ( -- n ) LVM_FIRST 167 + ; inline +: LVM_INSERTMARKHITTEST ( -- n ) LVM_FIRST 168 + ; inline +: LVM_GETINSERTMARKRECT ( -- n ) LVM_FIRST 169 + ; inline +: LVM_SETINSERTMARKCOLOR ( -- n ) LVM_FIRST 170 + ; inline +: LVM_GETINSERTMARKCOLOR ( -- n ) LVM_FIRST 171 + ; inline +: LVM_SETINFOTIP ( -- n ) LVM_FIRST 173 + ; inline +: LVM_GETSELECTEDCOLUMN ( -- n ) LVM_FIRST 174 + ; inline +: LVM_ISGROUPVIEWENABLED ( -- n ) LVM_FIRST 175 + ; inline +: LVM_GETOUTLINECOLOR ( -- n ) LVM_FIRST 176 + ; inline +: LVM_SETOUTLINECOLOR ( -- n ) LVM_FIRST 177 + ; inline +: LVM_CANCELEDITLABEL ( -- n ) LVM_FIRST 179 + ; inline +: LVM_MAPINDEXTOID ( -- n ) LVM_FIRST 180 + ; inline +: LVM_MAPIDTOINDEX ( -- n ) LVM_FIRST 181 + ; inline +: TVM_INSERTITEMA ( -- n ) TV_FIRST 0 + ; inline +: TVM_INSERTITEMW ( -- n ) TV_FIRST 50 + ; inline +: TVM_DELETEITEM ( -- n ) TV_FIRST 1 + ; inline +: TVM_EXPAND ( -- n ) TV_FIRST 2 + ; inline +: TVM_GETITEMRECT ( -- n ) TV_FIRST 4 + ; inline +: TVM_GETCOUNT ( -- n ) TV_FIRST 5 + ; inline +: TVM_GETINDENT ( -- n ) TV_FIRST 6 + ; inline +: TVM_SETINDENT ( -- n ) TV_FIRST 7 + ; inline +: TVM_GETIMAGELIST ( -- n ) TV_FIRST 8 + ; inline +: TVM_SETIMAGELIST ( -- n ) TV_FIRST 9 + ; inline +: TVM_GETNEXTITEM ( -- n ) TV_FIRST 10 + ; inline +: TVM_SELECTITEM ( -- n ) TV_FIRST 11 + ; inline +: TVM_GETITEMA ( -- n ) TV_FIRST 12 + ; inline +: TVM_GETITEMW ( -- n ) TV_FIRST 62 + ; inline +: TVM_SETITEMA ( -- n ) TV_FIRST 13 + ; inline +: TVM_SETITEMW ( -- n ) TV_FIRST 63 + ; inline +: TVM_EDITLABELA ( -- n ) TV_FIRST 14 + ; inline +: TVM_EDITLABELW ( -- n ) TV_FIRST 65 + ; inline +: TVM_GETEDITCONTROL ( -- n ) TV_FIRST 15 + ; inline +: TVM_GETVISIBLECOUNT ( -- n ) TV_FIRST 16 + ; inline +: TVM_HITTEST ( -- n ) TV_FIRST 17 + ; inline +: TVM_CREATEDRAGIMAGE ( -- n ) TV_FIRST 18 + ; inline +: TVM_SORTCHILDREN ( -- n ) TV_FIRST 19 + ; inline +: TVM_ENSUREVISIBLE ( -- n ) TV_FIRST 20 + ; inline +: TVM_SORTCHILDRENCB ( -- n ) TV_FIRST 21 + ; inline +: TVM_ENDEDITLABELNOW ( -- n ) TV_FIRST 22 + ; inline +: TVM_GETISEARCHSTRINGA ( -- n ) TV_FIRST 23 + ; inline +: TVM_GETISEARCHSTRINGW ( -- n ) TV_FIRST 64 + ; inline +: TVM_SETTOOLTIPS ( -- n ) TV_FIRST 24 + ; inline +: TVM_GETTOOLTIPS ( -- n ) TV_FIRST 25 + ; inline +: TVM_SETINSERTMARK ( -- n ) TV_FIRST 26 + ; inline +ALIAS: TVM_SETUNICODEFORMAT CCM_SETUNICODEFORMAT +ALIAS: TVM_GETUNICODEFORMAT CCM_GETUNICODEFORMAT +: TVM_SETITEMHEIGHT ( -- n ) TV_FIRST 27 + ; inline +: TVM_GETITEMHEIGHT ( -- n ) TV_FIRST 28 + ; inline +: TVM_SETBKCOLOR ( -- n ) TV_FIRST 29 + ; inline +: TVM_SETTEXTCOLOR ( -- n ) TV_FIRST 30 + ; inline +: TVM_GETBKCOLOR ( -- n ) TV_FIRST 31 + ; inline +: TVM_GETTEXTCOLOR ( -- n ) TV_FIRST 32 + ; inline +: TVM_SETSCROLLTIME ( -- n ) TV_FIRST 33 + ; inline +: TVM_GETSCROLLTIME ( -- n ) TV_FIRST 34 + ; inline +: TVM_SETINSERTMARKCOLOR ( -- n ) TV_FIRST 37 + ; inline +: TVM_GETINSERTMARKCOLOR ( -- n ) TV_FIRST 38 + ; inline +: TVM_GETITEMSTATE ( -- n ) TV_FIRST 39 + ; inline +: TVM_SETLINECOLOR ( -- n ) TV_FIRST 40 + ; inline +: TVM_GETLINECOLOR ( -- n ) TV_FIRST 41 + ; inline +: TVM_MAPACCIDTOHTREEITEM ( -- n ) TV_FIRST 42 + ; inline +: TVM_MAPHTREEITEMTOACCID ( -- n ) TV_FIRST 43 + ; inline +: CBEM_INSERTITEMA ( -- n ) WM_USER 1 + ; inline +: CBEM_SETIMAGELIST ( -- n ) WM_USER 2 + ; inline +: CBEM_GETIMAGELIST ( -- n ) WM_USER 3 + ; inline +: CBEM_GETITEMA ( -- n ) WM_USER 4 + ; inline +: CBEM_SETITEMA ( -- n ) WM_USER 5 + ; inline +ALIAS: CBEM_DELETEITEM CB_DELETESTRING +: CBEM_GETCOMBOCONTROL ( -- n ) WM_USER 6 + ; inline +: CBEM_GETEDITCONTROL ( -- n ) WM_USER 7 + ; inline +: CBEM_SETEXTENDEDSTYLE ( -- n ) WM_USER 14 + ; inline +: CBEM_GETEXTENDEDSTYLE ( -- n ) WM_USER 9 + ; inline +ALIAS: CBEM_SETUNICODEFORMAT CCM_SETUNICODEFORMAT +ALIAS: CBEM_GETUNICODEFORMAT CCM_GETUNICODEFORMAT +: CBEM_SETEXSTYLE ( -- n ) WM_USER 8 + ; inline +: CBEM_GETEXSTYLE ( -- n ) WM_USER 9 + ; inline +: CBEM_HASEDITCHANGED ( -- n ) WM_USER 10 + ; inline +: CBEM_INSERTITEMW ( -- n ) WM_USER 11 + ; inline +: CBEM_SETITEMW ( -- n ) WM_USER 12 + ; inline +: CBEM_GETITEMW ( -- n ) WM_USER 13 + ; inline +: TCM_GETIMAGELIST ( -- n ) TCM_FIRST 2 + ; inline +: TCM_SETIMAGELIST ( -- n ) TCM_FIRST 3 + ; inline +: TCM_GETITEMCOUNT ( -- n ) TCM_FIRST 4 + ; inline +: TCM_GETITEMA ( -- n ) TCM_FIRST 5 + ; inline +: TCM_GETITEMW ( -- n ) TCM_FIRST 60 + ; inline +: TCM_SETITEMA ( -- n ) TCM_FIRST 6 + ; inline +: TCM_SETITEMW ( -- n ) TCM_FIRST 61 + ; inline +: TCM_INSERTITEMA ( -- n ) TCM_FIRST 7 + ; inline +: TCM_INSERTITEMW ( -- n ) TCM_FIRST 62 + ; inline +: TCM_DELETEITEM ( -- n ) TCM_FIRST 8 + ; inline +: TCM_DELETEALLITEMS ( -- n ) TCM_FIRST 9 + ; inline +: TCM_GETITEMRECT ( -- n ) TCM_FIRST 10 + ; inline +: TCM_GETCURSEL ( -- n ) TCM_FIRST 11 + ; inline +: TCM_SETCURSEL ( -- n ) TCM_FIRST 12 + ; inline +: TCM_HITTEST ( -- n ) TCM_FIRST 13 + ; inline +: TCM_SETITEMEXTRA ( -- n ) TCM_FIRST 14 + ; inline +: TCM_ADJUSTRECT ( -- n ) TCM_FIRST 40 + ; inline +: TCM_SETITEMSIZE ( -- n ) TCM_FIRST 41 + ; inline +: TCM_REMOVEIMAGE ( -- n ) TCM_FIRST 42 + ; inline +: TCM_SETPADDING ( -- n ) TCM_FIRST 43 + ; inline +: TCM_GETROWCOUNT ( -- n ) TCM_FIRST 44 + ; inline +: TCM_GETTOOLTIPS ( -- n ) TCM_FIRST 45 + ; inline +: TCM_SETTOOLTIPS ( -- n ) TCM_FIRST 46 + ; inline +: TCM_GETCURFOCUS ( -- n ) TCM_FIRST 47 + ; inline +: TCM_SETCURFOCUS ( -- n ) TCM_FIRST 48 + ; inline +: TCM_SETMINTABWIDTH ( -- n ) TCM_FIRST 49 + ; inline +: TCM_DESELECTALL ( -- n ) TCM_FIRST 50 + ; inline +: TCM_HIGHLIGHTITEM ( -- n ) TCM_FIRST 51 + ; inline +: TCM_SETEXTENDEDSTYLE ( -- n ) TCM_FIRST 52 + ; inline +: TCM_GETEXTENDEDSTYLE ( -- n ) TCM_FIRST 53 + ; inline +ALIAS: TCM_SETUNICODEFORMAT CCM_SETUNICODEFORMAT +ALIAS: TCM_GETUNICODEFORMAT CCM_GETUNICODEFORMAT +: ACM_OPENA ( -- n ) WM_USER 100 + ; inline +: ACM_OPENW ( -- n ) WM_USER 103 + ; inline +: ACM_PLAY ( -- n ) WM_USER 101 + ; inline +: ACM_STOP ( -- n ) WM_USER 102 + ; inline +CONSTANT: MCM_FIRST HEX: 1000 +: MCM_GETCURSEL ( -- n ) MCM_FIRST 1 + ; inline +: MCM_SETCURSEL ( -- n ) MCM_FIRST 2 + ; inline +: MCM_GETMAXSELCOUNT ( -- n ) MCM_FIRST 3 + ; inline +: MCM_SETMAXSELCOUNT ( -- n ) MCM_FIRST 4 + ; inline +: MCM_GETSELRANGE ( -- n ) MCM_FIRST 5 + ; inline +: MCM_SETSELRANGE ( -- n ) MCM_FIRST 6 + ; inline +: MCM_GETMONTHRANGE ( -- n ) MCM_FIRST 7 + ; inline +: MCM_SETDAYSTATE ( -- n ) MCM_FIRST 8 + ; inline +: MCM_GETMINREQRECT ( -- n ) MCM_FIRST 9 + ; inline +: MCM_SETCOLOR ( -- n ) MCM_FIRST 10 + ; inline +: MCM_GETCOLOR ( -- n ) MCM_FIRST 11 + ; inline +: MCM_SETTODAY ( -- n ) MCM_FIRST 12 + ; inline +: MCM_GETTODAY ( -- n ) MCM_FIRST 13 + ; inline +: MCM_HITTEST ( -- n ) MCM_FIRST 14 + ; inline +: MCM_SETFIRSTDAYOFWEEK ( -- n ) MCM_FIRST 15 + ; inline +: MCM_GETFIRSTDAYOFWEEK ( -- n ) MCM_FIRST 16 + ; inline +: MCM_GETRANGE ( -- n ) MCM_FIRST 17 + ; inline +: MCM_SETRANGE ( -- n ) MCM_FIRST 18 + ; inline +: MCM_GETMONTHDELTA ( -- n ) MCM_FIRST 19 + ; inline +: MCM_SETMONTHDELTA ( -- n ) MCM_FIRST 20 + ; inline +: MCM_GETMAXTODAYWIDTH ( -- n ) MCM_FIRST 21 + ; inline +ALIAS: MCM_SETUNICODEFORMAT CCM_SETUNICODEFORMAT +ALIAS: MCM_GETUNICODEFORMAT CCM_GETUNICODEFORMAT +CONSTANT: DTM_FIRST HEX: 1000 +: DTM_GETSYSTEMTIME ( -- n ) DTM_FIRST 1 + ; inline +: DTM_SETSYSTEMTIME ( -- n ) DTM_FIRST 2 + ; inline +: DTM_GETRANGE ( -- n ) DTM_FIRST 3 + ; inline +: DTM_SETRANGE ( -- n ) DTM_FIRST 4 + ; inline +: DTM_SETFORMATA ( -- n ) DTM_FIRST 5 + ; inline +: DTM_SETFORMATW ( -- n ) DTM_FIRST 50 + ; inline +: DTM_SETMCCOLOR ( -- n ) DTM_FIRST 6 + ; inline +: DTM_GETMCCOLOR ( -- n ) DTM_FIRST 7 + ; inline +: DTM_GETMONTHCAL ( -- n ) DTM_FIRST 8 + ; inline +: DTM_SETMCFONT ( -- n ) DTM_FIRST 9 + ; inline +: DTM_GETMCFONT ( -- n ) DTM_FIRST 10 + ; inline +: PGM_SETCHILD ( -- n ) PGM_FIRST 1 + ; inline +: PGM_RECALCSIZE ( -- n ) PGM_FIRST 2 + ; inline +: PGM_FORWARDMOUSE ( -- n ) PGM_FIRST 3 + ; inline +: PGM_SETBKCOLOR ( -- n ) PGM_FIRST 4 + ; inline +: PGM_GETBKCOLOR ( -- n ) PGM_FIRST 5 + ; inline +: PGM_SETBORDER ( -- n ) PGM_FIRST 6 + ; inline +: PGM_GETBORDER ( -- n ) PGM_FIRST 7 + ; inline +: PGM_SETPOS ( -- n ) PGM_FIRST 8 + ; inline +: PGM_GETPOS ( -- n ) PGM_FIRST 9 + ; inline +: PGM_SETBUTTONSIZE ( -- n ) PGM_FIRST 10 + ; inline +: PGM_GETBUTTONSIZE ( -- n ) PGM_FIRST 11 + ; inline +: PGM_GETBUTTONSTATE ( -- n ) PGM_FIRST 12 + ; inline +CONSTANT: PGM_GETDROPTARGET CCM_GETDROPTARGET +: BCM_GETIDEALSIZE ( -- n ) BCM_FIRST 1 + ; inline +: BCM_SETIMAGELIST ( -- n ) BCM_FIRST 2 + ; inline +: BCM_GETIMAGELIST ( -- n ) BCM_FIRST 3 + ; inline +: BCM_SETTEXTMARGIN ( -- n ) BCM_FIRST 4 + ; inline +: BCM_GETTEXTMARGIN ( -- n ) BCM_FIRST 5 + ; inline +: EM_SETCUEBANNER ( -- n ) ECM_FIRST 1 + ; inline +: EM_GETCUEBANNER ( -- n ) ECM_FIRST 2 + ; inline +: EM_SHOWBALLOONTIP ( -- n ) ECM_FIRST 3 + ; inline +: EM_HIDEBALLOONTIP ( -- n ) ECM_FIRST 4 + ; inline +: CB_SETMINVISIBLE ( -- n ) CBM_FIRST 1 + ; inline +: CB_GETMINVISIBLE ( -- n ) CBM_FIRST 2 + ; inline +: LM_HITTEST ( -- n ) WM_USER HEX: 0300 + ; inline +: LM_GETIDEALHEIGHT ( -- n ) WM_USER HEX: 0301 + ; inline +: LM_SETITEM ( -- n ) WM_USER HEX: 0302 + ; inline +: LM_GETITEM ( -- n ) WM_USER HEX: 0303 + ; inline -: WA_INACTIVE 0 ; inline -: WA_ACTIVE 1 ; inline -: WA_CLICKACTIVE 2 ; inline -: SC_SIZE HEX: f000 ; inline -: SC_MOVE HEX: f010 ; inline -: SC_MINIMIZE HEX: f020 ; inline -: SC_MAXIMIZE HEX: f030 ; inline -: SC_NEXTWINDOW HEX: f040 ; inline -: SC_PREVWINDOW HEX: f050 ; inline -: SC_CLOSE HEX: f060 ; inline -: SC_VSCROLL HEX: f070 ; inline -: SC_HSCROLL HEX: f080 ; inline -: SC_MOUSEMENU HEX: f090 ; inline -: SC_KEYMENU HEX: f100 ; inline -: SC_ARRANGE HEX: f110 ; inline -: SC_RESTORE HEX: f120 ; inline -: SC_TASKLIST HEX: f130 ; inline -: SC_SCREENSAVE HEX: f140 ; inline -: SC_HOTKEY HEX: f150 ; inline +CONSTANT: WA_INACTIVE 0 +CONSTANT: WA_ACTIVE 1 +CONSTANT: WA_CLICKACTIVE 2 + +CONSTANT: SC_SIZE HEX: f000 +CONSTANT: SC_MOVE HEX: f010 +CONSTANT: SC_MINIMIZE HEX: f020 +CONSTANT: SC_MAXIMIZE HEX: f030 +CONSTANT: SC_NEXTWINDOW HEX: f040 +CONSTANT: SC_PREVWINDOW HEX: f050 +CONSTANT: SC_CLOSE HEX: f060 +CONSTANT: SC_VSCROLL HEX: f070 +CONSTANT: SC_HSCROLL HEX: f080 +CONSTANT: SC_MOUSEMENU HEX: f090 +CONSTANT: SC_KEYMENU HEX: f100 +CONSTANT: SC_ARRANGE HEX: f110 +CONSTANT: SC_RESTORE HEX: f120 +CONSTANT: SC_TASKLIST HEX: f130 +CONSTANT: SC_SCREENSAVE HEX: f140 +CONSTANT: SC_HOTKEY HEX: f150