' PBXB64 V15 Win32/Win64 constants
#IF NOT %DEF(PBX_WIN_CONSTS_PBI)
#DEFINE PBX_WIN_CONSTS_PBI

CONST NULL = 0
CONST MAX_PATH = 260
CONST INVALID_HANDLE_VALUE = -1
CONST WAIT_OBJECT_0 = 0
CONST WAIT_ABANDONED = &H00000080
CONST WAIT_TIMEOUT = &H00000102
CONST WAIT_FAILED = &HFFFFFFFF
CONST INFINITE = &HFFFFFFFF
CONST STD_INPUT_HANDLE = -10
CONST STD_OUTPUT_HANDLE = -11
CONST STD_ERROR_HANDLE = -12
CONST GENERIC_READ = &H80000000
CONST GENERIC_WRITE = &H40000000
CONST GENERIC_EXECUTE = &H20000000
CONST GENERIC_ALL = &H10000000
CONST FILE_SHARE_READ = &H00000001
CONST FILE_SHARE_WRITE = &H00000002
CONST FILE_SHARE_DELETE = &H00000004
CONST CREATE_NEW = 1
CONST CREATE_ALWAYS = 2
CONST OPEN_EXISTING = 3
CONST OPEN_ALWAYS = 4
CONST TRUNCATE_EXISTING = 5
CONST FILE_ATTRIBUTE_READONLY = &H00000001
CONST FILE_ATTRIBUTE_HIDDEN = &H00000002
CONST FILE_ATTRIBUTE_SYSTEM = &H00000004
CONST FILE_ATTRIBUTE_DIRECTORY = &H00000010
CONST FILE_ATTRIBUTE_ARCHIVE = &H00000020
CONST FILE_ATTRIBUTE_DEVICE = &H00000040
CONST FILE_ATTRIBUTE_NORMAL = &H00000080
CONST FILE_ATTRIBUTE_TEMPORARY = &H00000100
CONST FILE_ATTRIBUTE_SPARSE_FILE = &H00000200
CONST FILE_ATTRIBUTE_REPARSE_POINT = &H00000400
CONST FILE_ATTRIBUTE_COMPRESSED = &H00000800
CONST FILE_ATTRIBUTE_OFFLINE = &H00001000
CONST FILE_ATTRIBUTE_NOT_CONTENT_INDEXED = &H00002000
CONST FILE_ATTRIBUTE_ENCRYPTED = &H00004000
CONST FILE_FLAG_WRITE_THROUGH = &H80000000
CONST FILE_FLAG_OVERLAPPED = &H40000000
CONST FILE_FLAG_NO_BUFFERING = &H20000000
CONST FILE_FLAG_RANDOM_ACCESS = &H10000000
CONST FILE_FLAG_SEQUENTIAL_SCAN = &H08000000
CONST FILE_FLAG_DELETE_ON_CLOSE = &H04000000
CONST FILE_FLAG_BACKUP_SEMANTICS = &H02000000
CONST FILE_FLAG_POSIX_SEMANTICS = &H01000000
CONST FILE_FLAG_OPEN_REPARSE_POINT = &H00200000
CONST FILE_FLAG_OPEN_NO_RECALL = &H00100000
CONST FILE_FLAG_FIRST_PIPE_INSTANCE = &H00080000
CONST FILE_BEGIN = 0
CONST FILE_CURRENT = 1
CONST FILE_END = 2
CONST PAGE_NOACCESS = &H01
CONST PAGE_READONLY = &H02
CONST PAGE_READWRITE = &H04
CONST PAGE_WRITECOPY = &H08
CONST PAGE_EXECUTE = &H10
CONST PAGE_EXECUTE_READ = &H20
CONST PAGE_EXECUTE_READWRITE = &H40
CONST PAGE_EXECUTE_WRITECOPY = &H80
CONST PAGE_GUARD = &H100
CONST PAGE_NOCACHE = &H200
CONST PAGE_WRITECOMBINE = &H400
CONST MEM_COMMIT = &H1000
CONST MEM_RESERVE = &H2000
CONST MEM_DECOMMIT = &H4000
CONST MEM_RELEASE = &H8000
CONST MEM_FREE = &H10000
CONST MEM_PRIVATE = &H20000
CONST MEM_MAPPED = &H40000
CONST MEM_RESET = &H80000
CONST MEM_TOP_DOWN = &H100000
CONST MEM_WRITE_WATCH = &H200000
CONST MEM_PHYSICAL = &H400000
CONST MEM_LARGE_PAGES = &H20000000
CONST HEAP_NO_SERIALIZE = &H00000001
CONST HEAP_ZERO_MEMORY = &H00000008
CONST HEAP_REALLOC_IN_PLACE_ONLY = &H00000010
CONST GMEM_FIXED = &H0000
CONST GMEM_MOVEABLE = &H0002
CONST GMEM_ZEROINIT = &H0040
CONST GPTR = &H0040
CONST GHND = &H0042
CONST FORMAT_MESSAGE_ALLOCATE_BUFFER = &H00000100
CONST FORMAT_MESSAGE_IGNORE_INSERTS = &H00000200
CONST FORMAT_MESSAGE_FROM_STRING = &H00000400
CONST FORMAT_MESSAGE_FROM_HMODULE = &H00000800
CONST FORMAT_MESSAGE_FROM_SYSTEM = &H00001000
CONST FORMAT_MESSAGE_ARGUMENT_ARRAY = &H00002000
CONST PROCESS_TERMINATE = &H0001
CONST PROCESS_CREATE_THREAD = &H0002
CONST PROCESS_SET_SESSIONID = &H0004
CONST PROCESS_VM_OPERATION = &H0008
CONST PROCESS_VM_READ = &H0010
CONST PROCESS_VM_WRITE = &H0020
CONST PROCESS_DUP_HANDLE = &H0040
CONST PROCESS_CREATE_PROCESS = &H0080
CONST PROCESS_SET_QUOTA = &H0100
CONST PROCESS_SET_INFORMATION = &H0200
CONST PROCESS_QUERY_INFORMATION = &H0400
CONST PROCESS_SUSPEND_RESUME = &H0800
CONST PROCESS_QUERY_LIMITED_INFORMATION = &H1000
CONST PROCESS_ALL_ACCESS = &H001F0FFF
CONST CREATE_SUSPENDED = &H00000004
CONST CREATE_NEW_CONSOLE = &H00000010
CONST CREATE_NEW_PROCESS_GROUP = &H00000200
CONST CREATE_UNICODE_ENVIRONMENT = &H00000400
CONST CREATE_NO_WINDOW = &H08000000
CONST DETACHED_PROCESS = &H00000008
CONST NORMAL_PRIORITY_CLASS = &H00000020
CONST IDLE_PRIORITY_CLASS = &H00000040
CONST HIGH_PRIORITY_CLASS = &H00000080
CONST REALTIME_PRIORITY_CLASS = &H00000100
CONST BELOW_NORMAL_PRIORITY_CLASS = &H00004000
CONST ABOVE_NORMAL_PRIORITY_CLASS = &H00008000
CONST STARTF_USESHOWWINDOW = &H00000001
CONST STARTF_USESIZE = &H00000002
CONST STARTF_USEPOSITION = &H00000004
CONST STARTF_USECOUNTCHARS = &H00000008
CONST STARTF_USEFILLATTRIBUTE = &H00000010
CONST STARTF_RUNFULLSCREEN = &H00000020
CONST STARTF_FORCEONFEEDBACK = &H00000040
CONST STARTF_FORCEOFFFEEDBACK = &H00000080
CONST STARTF_USESTDHANDLES = &H00000100
CONST DUPLICATE_CLOSE_SOURCE = &H00000001
CONST DUPLICATE_SAME_ACCESS = &H00000002
CONST EVENT_MODIFY_STATE = &H0002
CONST MUTEX_MODIFY_STATE = &H0001
CONST SYNCHRONIZE = &H00100000
CONST WM_NULL = &H0000
CONST WM_CREATE = &H0001
CONST WM_DESTROY = &H0002
CONST WM_MOVE = &H0003
CONST WM_SIZE = &H0005
CONST WM_ACTIVATE = &H0006
CONST WM_SETFOCUS = &H0007
CONST WM_KILLFOCUS = &H0008
CONST WM_ENABLE = &H000A
CONST WM_SETREDRAW = &H000B
CONST WM_SETTEXT = &H000C
CONST WM_GETTEXT = &H000D
CONST WM_GETTEXTLENGTH = &H000E
CONST WM_PAINT = &H000F
CONST WM_CLOSE = &H0010
CONST WM_QUERYENDSESSION = &H0011
CONST WM_QUIT = &H0012
CONST WM_QUERYOPEN = &H0013
CONST WM_ERASEBKGND = &H0014
CONST WM_SYSCOLORCHANGE = &H0015
CONST WM_ENDSESSION = &H0016
CONST WM_SHOWWINDOW = &H0018
CONST WM_WININICHANGE = &H001A
CONST WM_SETTINGCHANGE = &H001A
CONST WM_DEVMODECHANGE = &H001B
CONST WM_ACTIVATEAPP = &H001C
CONST WM_FONTCHANGE = &H001D
CONST WM_TIMECHANGE = &H001E
CONST WM_CANCELMODE = &H001F
CONST WM_SETCURSOR = &H0020
CONST WM_MOUSEACTIVATE = &H0021
CONST WM_CHILDACTIVATE = &H0022
CONST WM_QUEUESYNC = &H0023
CONST WM_GETMINMAXINFO = &H0024
CONST WM_WINDOWPOSCHANGING = &H0046
CONST WM_WINDOWPOSCHANGED = &H0047
CONST WM_CONTEXTMENU = &H007B
CONST WM_STYLECHANGING = &H007C
CONST WM_STYLECHANGED = &H007D
CONST WM_DISPLAYCHANGE = &H007E
CONST WM_GETICON = &H007F
CONST WM_SETICON = &H0080
CONST WM_NCCREATE = &H0081
CONST WM_NCDESTROY = &H0082
CONST WM_NCCALCSIZE = &H0083
CONST WM_NCHITTEST = &H0084
CONST WM_NCPAINT = &H0085
CONST WM_NCACTIVATE = &H0086
CONST WM_KEYDOWN = &H0100
CONST WM_KEYUP = &H0101
CONST WM_CHAR = &H0102
CONST WM_DEADCHAR = &H0103
CONST WM_SYSKEYDOWN = &H0104
CONST WM_SYSKEYUP = &H0105
CONST WM_SYSCHAR = &H0106
CONST WM_COMMAND = &H0111
CONST WM_SYSCOMMAND = &H0112
CONST WM_TIMER = &H0113
CONST WM_HSCROLL = &H0114
CONST WM_VSCROLL = &H0115
CONST WM_INITDIALOG = &H0110
CONST WM_MOUSEMOVE = &H0200
CONST WM_LBUTTONDOWN = &H0201
CONST WM_LBUTTONUP = &H0202
CONST WM_LBUTTONDBLCLK = &H0203
CONST WM_RBUTTONDOWN = &H0204
CONST WM_RBUTTONUP = &H0205
CONST WM_RBUTTONDBLCLK = &H0206
CONST WM_MBUTTONDOWN = &H0207
CONST WM_MBUTTONUP = &H0208
CONST WM_MOUSEWHEEL = &H020A
CONST WM_USER = &H0400
CONST WM_APP = &H8000
CONST WS_OVERLAPPED = &H00000000
CONST WS_POPUP = &H80000000
CONST WS_CHILD = &H40000000
CONST WS_MINIMIZE = &H20000000
CONST WS_VISIBLE = &H10000000
CONST WS_DISABLED = &H08000000
CONST WS_CLIPSIBLINGS = &H04000000
CONST WS_CLIPCHILDREN = &H02000000
CONST WS_MAXIMIZE = &H01000000
CONST WS_CAPTION = &H00C00000
CONST WS_BORDER = &H00800000
CONST WS_DLGFRAME = &H00400000
CONST WS_VSCROLL = &H00200000
CONST WS_HSCROLL = &H00100000
CONST WS_SYSMENU = &H00080000
CONST WS_THICKFRAME = &H00040000
CONST WS_GROUP = &H00020000
CONST WS_TABSTOP = &H00010000
CONST WS_MINIMIZEBOX = &H00020000
CONST WS_MAXIMIZEBOX = &H00010000
CONST WS_TILED = &H00000000
CONST WS_ICONIC = &H20000000
CONST WS_SIZEBOX = &H00040000
CONST WS_OVERLAPPEDWINDOW = &H00CF0000
CONST WS_TILEDWINDOW = &H00CF0000
CONST WS_POPUPWINDOW = &H80880000
CONST WS_CHILDWINDOW = &H40000000
CONST WS_EX_DLGMODALFRAME = &H00000001
CONST WS_EX_NOPARENTNOTIFY = &H00000004
CONST WS_EX_TOPMOST = &H00000008
CONST WS_EX_ACCEPTFILES = &H00000010
CONST WS_EX_TRANSPARENT = &H00000020
CONST WS_EX_MDICHILD = &H00000040
CONST WS_EX_TOOLWINDOW = &H00000080
CONST WS_EX_WINDOWEDGE = &H00000100
CONST WS_EX_CLIENTEDGE = &H00000200
CONST WS_EX_CONTEXTHELP = &H00000400
CONST WS_EX_RIGHT = &H00001000
CONST WS_EX_LEFT = &H00000000
CONST WS_EX_RTLREADING = &H00002000
CONST WS_EX_LTRREADING = &H00000000
CONST WS_EX_LEFTSCROLLBAR = &H00004000
CONST WS_EX_RIGHTSCROLLBAR = &H00000000
CONST WS_EX_CONTROLPARENT = &H00010000
CONST WS_EX_STATICEDGE = &H00020000
CONST WS_EX_APPWINDOW = &H00040000
CONST WS_EX_OVERLAPPEDWINDOW = &H00000300
CONST WS_EX_PALETTEWINDOW = &H00000188
CONST WS_EX_LAYERED = &H00080000
CONST WS_EX_NOINHERITLAYOUT = &H00100000
CONST WS_EX_NOREDIRECTIONBITMAP = &H00200000
CONST WS_EX_LAYOUTRTL = &H00400000
CONST WS_EX_COMPOSITED = &H02000000
CONST WS_EX_NOACTIVATE = &H08000000
CONST CW_USEDEFAULT = &H80000000
CONST SW_HIDE = 0
CONST SW_SHOWNORMAL = 1
CONST SW_NORMAL = 1
CONST SW_SHOWMINIMIZED = 2
CONST SW_SHOWMAXIMIZED = 3
CONST SW_MAXIMIZE = 3
CONST SW_SHOWNOACTIVATE = 4
CONST SW_SHOW = 5
CONST SW_MINIMIZE = 6
CONST SW_SHOWMINNOACTIVE = 7
CONST SW_SHOWNA = 8
CONST SW_RESTORE = 9
CONST SW_SHOWDEFAULT = 10
CONST SW_FORCEMINIMIZE = 11
CONST PM_NOREMOVE = &H0000
CONST PM_REMOVE = &H0001
CONST PM_NOYIELD = &H0002
CONST CS_VREDRAW = &H0001
CONST CS_HREDRAW = &H0002
CONST CS_DBLCLKS = &H0008
CONST CS_OWNDC = &H0020
CONST CS_CLASSDC = &H0040
CONST CS_PARENTDC = &H0080
CONST CS_NOCLOSE = &H0200
CONST CS_SAVEBITS = &H0800
CONST CS_BYTEALIGNCLIENT = &H1000
CONST CS_BYTEALIGNWINDOW = &H2000
CONST CS_GLOBALCLASS = &H4000
CONST CS_IME = &H00010000
CONST CS_DROPSHADOW = &H00020000
CONST IDC_ARROW = 32512
CONST IDC_IBEAM = 32513
CONST IDC_WAIT = 32514
CONST IDC_CROSS = 32515
CONST IDC_UPARROW = 32516
CONST IDC_SIZE = 32640
CONST IDC_ICON = 32641
CONST IDC_SIZENWSE = 32642
CONST IDC_SIZENESW = 32643
CONST IDC_SIZEWE = 32644
CONST IDC_SIZENS = 32645
CONST IDC_SIZEALL = 32646
CONST IDC_NO = 32648
CONST IDC_HAND = 32649
CONST IDC_APPSTARTING = 32650
CONST IDC_HELP = 32651
CONST IDI_APPLICATION = 32512
CONST IDI_HAND = 32513
CONST IDI_QUESTION = 32514
CONST IDI_EXCLAMATION = 32515
CONST IDI_ASTERISK = 32516
CONST IDI_WINLOGO = 32517
CONST IDI_SHIELD = 32518
CONST MB_OK = &H00000000
CONST MB_OKCANCEL = &H00000001
CONST MB_ABORTRETRYIGNORE = &H00000002
CONST MB_YESNOCANCEL = &H00000003
CONST MB_YESNO = &H00000004
CONST MB_RETRYCANCEL = &H00000005
CONST MB_CANCELTRYCONTINUE = &H00000006
CONST MB_ICONHAND = &H00000010
CONST MB_ICONQUESTION = &H00000020
CONST MB_ICONEXCLAMATION = &H00000030
CONST MB_ICONASTERISK = &H00000040
CONST MB_USERICON = &H00000080
CONST MB_ICONWARNING = &H00000030
CONST MB_ICONERROR = &H00000010
CONST MB_ICONINFORMATION = &H00000040
CONST MB_ICONSTOP = &H00000010
CONST MB_DEFBUTTON1 = &H00000000
CONST MB_DEFBUTTON2 = &H00000100
CONST MB_DEFBUTTON3 = &H00000200
CONST MB_DEFBUTTON4 = &H00000300
CONST MB_APPLMODAL = &H00000000
CONST MB_SYSTEMMODAL = &H00001000
CONST MB_TASKMODAL = &H00002000
CONST MB_SETFOREGROUND = &H00010000
CONST MB_TOPMOST = &H00040000
CONST MB_RIGHT = &H00080000
CONST MB_RTLREADING = &H00100000
CONST IDOK = 1
CONST IDCANCEL = 2
CONST IDABORT = 3
CONST IDRETRY = 4
CONST IDIGNORE = 5
CONST IDYES = 6
CONST IDNO = 7
CONST IDCLOSE = 8
CONST IDHELP = 9
CONST IDTRYAGAIN = 10
CONST IDCONTINUE = 11
CONST COLOR_SCROLLBAR = 0
CONST COLOR_BACKGROUND = 1
CONST COLOR_ACTIVECAPTION = 2
CONST COLOR_INACTIVECAPTION = 3
CONST COLOR_MENU = 4
CONST COLOR_WINDOW = 5
CONST COLOR_WINDOWFRAME = 6
CONST COLOR_MENUTEXT = 7
CONST COLOR_WINDOWTEXT = 8
CONST COLOR_CAPTIONTEXT = 9
CONST COLOR_ACTIVEBORDER = 10
CONST COLOR_INACTIVEBORDER = 11
CONST COLOR_APPWORKSPACE = 12
CONST COLOR_HIGHLIGHT = 13
CONST COLOR_HIGHLIGHTTEXT = 14
CONST COLOR_BTNFACE = 15
CONST COLOR_BTNSHADOW = 16
CONST COLOR_GRAYTEXT = 17
CONST COLOR_BTNTEXT = 18
CONST COLOR_INACTIVECAPTIONTEXT = 19
CONST COLOR_BTNHIGHLIGHT = 20
CONST GWL_WNDPROC = -4
CONST GWL_HINSTANCE = -6
CONST GWL_HWNDPARENT = -8
CONST GWL_STYLE = -16
CONST GWL_EXSTYLE = -20
CONST GWL_USERDATA = -21
CONST GWLP_WNDPROC = -4
CONST GWLP_HINSTANCE = -6
CONST GWLP_HWNDPARENT = -8
CONST GWLP_USERDATA = -21
CONST GWLP_ID = -12
CONST HWND_TOP = 0
CONST HWND_BOTTOM = 1
CONST HWND_TOPMOST = -1
CONST HWND_NOTOPMOST = -2
CONST HWND_MESSAGE = -3
CONST HWND_BROADCAST = &HFFFF
CONST SWP_NOSIZE = &H0001
CONST SWP_NOMOVE = &H0002
CONST SWP_NOZORDER = &H0004
CONST SWP_NOREDRAW = &H0008
CONST SWP_NOACTIVATE = &H0010
CONST SWP_FRAMECHANGED = &H0020
CONST SWP_SHOWWINDOW = &H0040
CONST SWP_HIDEWINDOW = &H0080
CONST SWP_NOCOPYBITS = &H0100
CONST SWP_NOOWNERZORDER = &H0200
CONST SWP_NOSENDCHANGING = &H0400
CONST SWP_DRAWFRAME = &H0020
CONST SWP_NOREPOSITION = &H0200
CONST SWP_DEFERERASE = &H2000
CONST SWP_ASYNCWINDOWPOS = &H4000
CONST CF_TEXT = 1
CONST CF_BITMAP = 2
CONST CF_METAFILEPICT = 3
CONST CF_SYLK = 4
CONST CF_DIF = 5
CONST CF_TIFF = 6
CONST CF_OEMTEXT = 7
CONST CF_DIB = 8
CONST CF_PALETTE = 9
CONST CF_PENDATA = 10
CONST CF_RIFF = 11
CONST CF_WAVE = 12
CONST CF_UNICODETEXT = 13
CONST CF_ENHMETAFILE = 14
CONST CF_HDROP = 15
CONST CF_LOCALE = 16
CONST CF_DIBV5 = 17
CONST BLACKNESS = &H00000042
CONST NOTSRCERASE = &H001100A6
CONST NOTSRCCOPY = &H00330008
CONST SRCERASE = &H00440328
CONST DSTINVERT = &H00550009
CONST PATINVERT = &H005A0049
CONST SRCINVERT = &H00660046
CONST SRCAND = &H008800C6
CONST MERGEPAINT = &H00BB0226
CONST MERGECOPY = &H00C000CA
CONST SRCCOPY = &H00CC0020
CONST SRCPAINT = &H00EE0086
CONST PATCOPY = &H00F00021
CONST PATPAINT = &H00FB0A09
CONST WHITENESS = &H00FF0062
CONST CAPTUREBLT = &H40000000
CONST NOMIRRORBITMAP = &H80000000
CONST PS_SOLID = 0
CONST PS_DASH = 1
CONST PS_DOT = 2
CONST PS_DASHDOT = 3
CONST PS_DASHDOTDOT = 4
CONST PS_NULL = 5
CONST PS_INSIDEFRAME = 6
CONST BLACK_BRUSH = 4
CONST DKGRAY_BRUSH = 3
CONST DC_BRUSH = 18
CONST GRAY_BRUSH = 2
CONST HOLLOW_BRUSH = 5
CONST LTGRAY_BRUSH = 1
CONST NULL_BRUSH = 5
CONST WHITE_BRUSH = 0
CONST BLACK_PEN = 7
CONST DC_PEN = 19
CONST NULL_PEN = 8
CONST WHITE_PEN = 6
CONST ANSI_FIXED_FONT = 11
CONST ANSI_VAR_FONT = 12
CONST DEVICE_DEFAULT_FONT = 14
CONST DEFAULT_GUI_FONT = 17
CONST OEM_FIXED_FONT = 10
CONST SYSTEM_FONT = 13
CONST SYSTEM_FIXED_FONT = 16
CONST DEFAULT_PALETTE = 15
CONST TRANSPARENT = 1
CONST OPAQUE = 2
CONST BI_RGB = 0
CONST BI_RLE8 = 1
CONST BI_RLE4 = 2
CONST BI_BITFIELDS = 3
CONST BI_JPEG = 4
CONST BI_PNG = 5
CONST DIB_RGB_COLORS = 0
CONST DIB_PAL_COLORS = 1
CONST LOGPIXELSX = 88
CONST LOGPIXELSY = 90
CONST HORZRES = 8
CONST VERTRES = 10
CONST BITSPIXEL = 12
CONST PLANES = 14
CONST NUMBRUSHES = 16
CONST NUMPENS = 18
CONST NUMFONTS = 22
CONST NUMCOLORS = 24
CONST ASPECTX = 40
CONST ASPECTY = 42
CONST ASPECTXY = 44
CONST VREFRESH = 116
CONST DESKTOPVERTRES = 117
CONST DESKTOPHORZRES = 118
CONST HKEY_CLASSES_ROOT = -2147483648
CONST HKEY_CURRENT_USER = -2147483647
CONST HKEY_LOCAL_MACHINE = -2147483646
CONST HKEY_USERS = -2147483645
CONST HKEY_PERFORMANCE_DATA = -2147483644
CONST HKEY_CURRENT_CONFIG = -2147483643
CONST HKEY_DYN_DATA = -2147483642
CONST KEY_QUERY_VALUE = &H0001
CONST KEY_SET_VALUE = &H0002
CONST KEY_CREATE_SUB_KEY = &H0004
CONST KEY_ENUMERATE_SUB_KEYS = &H0008
CONST KEY_NOTIFY = &H0010
CONST KEY_CREATE_LINK = &H0020
CONST KEY_WOW64_32KEY = &H0200
CONST KEY_WOW64_64KEY = &H0100
CONST KEY_READ = &H00020019
CONST KEY_WRITE = &H00020006
CONST KEY_EXECUTE = &H00020019
CONST KEY_ALL_ACCESS = &H000F003F
CONST REG_NONE = 0
CONST REG_SZ = 1
CONST REG_EXPAND_SZ = 2
CONST REG_BINARY = 3
CONST REG_DWORD = 4
CONST REG_DWORD_LITTLE_ENDIAN = 4
CONST REG_DWORD_BIG_ENDIAN = 5
CONST REG_LINK = 6
CONST REG_MULTI_SZ = 7
CONST REG_RESOURCE_LIST = 8
CONST REG_FULL_RESOURCE_DESCRIPTOR = 9
CONST REG_RESOURCE_REQUIREMENTS_LIST = 10
CONST REG_QWORD = 11
CONST REG_QWORD_LITTLE_ENDIAN = 11
CONST ERROR_SUCCESS = 0
CONST ERROR_FILE_NOT_FOUND = 2
CONST ERROR_PATH_NOT_FOUND = 3
CONST ERROR_ACCESS_DENIED = 5
CONST ERROR_INVALID_HANDLE = 6
CONST ERROR_NOT_ENOUGH_MEMORY = 8
CONST ERROR_INVALID_DATA = 13
CONST ERROR_OUTOFMEMORY = 14
CONST ERROR_INVALID_DRIVE = 15
CONST ERROR_NO_MORE_FILES = 18
CONST ERROR_HANDLE_EOF = 38
CONST ERROR_INSUFFICIENT_BUFFER = 122
CONST ERROR_ALREADY_EXISTS = 183
CONST ERROR_MORE_DATA = 234
CONST ERROR_NO_MORE_ITEMS = 259
CONST ICC_LISTVIEW_CLASSES = &H00000001
CONST ICC_TREEVIEW_CLASSES = &H00000002
CONST ICC_BAR_CLASSES = &H00000004
CONST ICC_TAB_CLASSES = &H00000008
CONST ICC_UPDOWN_CLASS = &H00000010
CONST ICC_PROGRESS_CLASS = &H00000020
CONST ICC_HOTKEY_CLASS = &H00000040
CONST ICC_ANIMATE_CLASS = &H00000080
CONST ICC_WIN95_CLASSES = &H000000FF
CONST ICC_DATE_CLASSES = &H00000100
CONST ICC_USEREX_CLASSES = &H00000200
CONST ICC_COOL_CLASSES = &H00000400
CONST ICC_INTERNET_CLASSES = &H00000800
CONST ICC_PAGESCROLLER_CLASS = &H00001000
CONST ICC_NATIVEFNTCTL_CLASS = &H00002000
CONST ICC_STANDARD_CLASSES = &H00004000
CONST ICC_LINK_CLASS = &H00008000
CONST OFN_READONLY = &H00000001
CONST OFN_OVERWRITEPROMPT = &H00000002
CONST OFN_HIDEREADONLY = &H00000004
CONST OFN_NOCHANGEDIR = &H00000008
CONST OFN_SHOWHELP = &H00000010
CONST OFN_ENABLEHOOK = &H00000020
CONST OFN_ENABLETEMPLATE = &H00000040
CONST OFN_ENABLETEMPLATEHANDLE = &H00000080
CONST OFN_NOVALIDATE = &H00000100
CONST OFN_ALLOWMULTISELECT = &H00000200
CONST OFN_EXTENSIONDIFFERENT = &H00000400
CONST OFN_PATHMUSTEXIST = &H00000800
CONST OFN_FILEMUSTEXIST = &H00001000
CONST OFN_CREATEPROMPT = &H00002000
CONST OFN_SHAREAWARE = &H00004000
CONST OFN_NOREADONLYRETURN = &H00008000
CONST OFN_NOTESTFILECREATE = &H00010000
CONST OFN_NONETWORKBUTTON = &H00020000
CONST OFN_NOLONGNAMES = &H00040000
CONST OFN_EXPLORER = &H00080000
CONST OFN_NODEREFERENCELINKS = &H00100000
CONST OFN_LONGNAMES = &H00200000
CONST OFN_ENABLEINCLUDENOTIFY = &H00400000
CONST OFN_ENABLESIZING = &H00800000
CONST OFN_DONTADDTORECENT = &H02000000
CONST OFN_FORCESHOWHIDDEN = &H10000000
CONST SEE_MASK_DEFAULT = &H00000000
CONST SEE_MASK_CLASSNAME = &H00000001
CONST SEE_MASK_CLASSKEY = &H00000003
CONST SEE_MASK_IDLIST = &H00000004
CONST SEE_MASK_INVOKEIDLIST = &H0000000C
CONST SEE_MASK_ICON = &H00000010
CONST SEE_MASK_HOTKEY = &H00000020
CONST SEE_MASK_NOCLOSEPROCESS = &H00000040
CONST SEE_MASK_CONNECTNETDRV = &H00000080
CONST SEE_MASK_NOASYNC = &H00000100
CONST SEE_MASK_FLAG_DDEWAIT = &H00000100
CONST SEE_MASK_DOENVSUBST = &H00000200
CONST SEE_MASK_FLAG_NO_UI = &H00000400
CONST SEE_MASK_UNICODE = &H00004000
CONST SEE_MASK_NO_CONSOLE = &H00008000
CONST SEE_MASK_ASYNCOK = &H00100000
CONST SEE_MASK_NOZONECHECKS = &H00800000
CONST SEE_MASK_NOQUERYCLASSSTORE = &H01000000
CONST SEE_MASK_WAITFORINPUTIDLE = &H02000000
CONST SEE_MASK_FLAG_LOG_USAGE = &H04000000
CONST AF_UNSPEC = 0
CONST AF_INET = 2
CONST AF_INET6 = 23
CONST SOCK_STREAM = 1
CONST SOCK_DGRAM = 2
CONST SOCK_RAW = 3
CONST IPPROTO_IP = 0
CONST IPPROTO_TCP = 6
CONST IPPROTO_UDP = 17
CONST INVALID_SOCKET = -1
CONST SOCKET_ERROR = -1
CONST SD_RECEIVE = 0
CONST SD_SEND = 1
CONST SD_BOTH = 2
CONST FIONBIO = &H8004667E
CONST SOL_SOCKET = &HFFFF
CONST SO_REUSEADDR = &H0004
CONST SO_KEEPALIVE = &H0008
CONST SO_BROADCAST = &H0020
CONST SO_LINGER = &H0080
CONST SO_RCVBUF = &H1002
CONST SO_SNDBUF = &H1001
CONST SO_RCVTIMEO = &H1006
CONST SO_SNDTIMEO = &H1005
CONST WSADESCRIPTION_LEN = 256
CONST WSASYS_STATUS_LEN = 128
CONST COINIT_APARTMENTTHREADED = &H2
CONST COINIT_MULTITHREADED = &H0
CONST COINIT_DISABLE_OLE1DDE = &H4
CONST COINIT_SPEED_OVER_MEMORY = &H8
CONST CLSCTX_INPROC_SERVER = &H1
CONST CLSCTX_INPROC_HANDLER = &H2
CONST CLSCTX_LOCAL_SERVER = &H4
CONST CLSCTX_REMOTE_SERVER = &H10
CONST CLSCTX_ALL = &H17
CONST S_OK = 0
CONST S_FALSE = 1
CONST E_NOINTERFACE = &H80004002
CONST E_POINTER = &H80004003
CONST E_FAIL = &H80004005
CONST E_OUTOFMEMORY = &H8007000E
CONST E_INVALIDARG = &H80070057

#ENDIF
