Logo Search packages:      
Sourcecode: cadencii version File versions  Download package

Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Private Types | Private Member Functions | Private Attributes | Static Private Attributes

org::kbinani::win32 Class Reference

Collaboration diagram for org::kbinani::win32:
Collaboration graph
[legend]

List of all members.

Public Member Functions

static bool AppendMenu (IntPtr hMenu, uint uFlags, uint uIDNewItem, string lpNewItem)
static bool ClientToScreen (IntPtr hWnd, ref POINT lpPoint)
static bool CreateDirectoryW ([MarshalAs(UnmanagedType.LPWStr)] string lpPathName, IntPtr lpSecurityAttributes)
static HANDLE CreateFileW ([MarshalAs(UnmanagedType.LPWStr)] string lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, IntPtr lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile)
static IntPtr CreateMenu ()
static IntPtr CreatePopupMenu ()
static IntPtr CreateWindowEx (uint dwExStyle, string lpClassName, string lpWindowName, uint dwStyle, int x, int y, int nWidth, int nHeight, IntPtr hWndParent, IntPtr hMenu, IntPtr hInstance, int lpParam)
static void DeleteCriticalSection (ref IntPtr lpCriticalSection)
static bool DeleteObject (IntPtr hObject)
static bool DestroyMenu (IntPtr hMenu)
static bool DestroyWindow (IntPtr hWnd)
static bool DeviceIoControl (IntPtr hDevice, uint dwIoControlCode, byte[] lpInBuffer, uint nInBufferSize,[Out] byte[] lpOutBuffer, uint nOutBufferSize, IntPtr lpBytesReturned, IntPtr lpOverlapped)
static bool DispatchMessage (ref Message msg)
static void EnterCriticalSection (ref IntPtr lpCriticalSection)
static bool EnumChildWindows (IntPtr hWndParent,[MarshalAs(UnmanagedType.FunctionPtr)]EnumChildProc lpEnumFunc, int lParam)
static bool EqualRect (ref RECT lprc1, ref RECT lprc2)
static bool FreeLibrary (IntPtr hModule)
static bool GetClientRect (IntPtr hWnd, ref RECT lpRect)
static DWORD GetFileAttributesW ([MarshalAs(UnmanagedType.LPWStr)] string lpFileName)
static DWORD GetFullPathNameW ([MarshalAs(UnmanagedType.LPWStr)] string lpFileName, DWORD nBufferLength,[MarshalAs(UnmanagedType.LPWStr)][Out] StringBuilder lpBuffer,[Out] IntPtr lpFilePart)
static bool GetMessage (ref Message msg, int hWnd, uint wFilterMin, uint wFilterMax)
static DWORD GetModuleFileName (IntPtr hModule, IntPtr lpFilename, DWORD nSize)
static IntPtr GetProcAddress (IntPtr hModule, string lpProcName)
static uint GetProfileString (string lpAppName, string lpKeyName, string lpDefault, StringBuilder lpReturnedString, uint nSize)
static int GetShortPathNameW (string longPath, StringBuilder shortPathBuffer, int bufferSize)
static IntPtr GetWindowLongPtr (IntPtr hWnd, int nIndex)
static bool GetWindowRect (IntPtr hWnd, ref RECT lpRect)
static IntPtr ImageList_Create (int cx, int cy, uint flags, int cInitial, int cGrow)
static bool ImageList_Destroy (IntPtr himl)
static int ImageList_GetImageCount (IntPtr himl)
static bool InitCommonControlsEx (ref INITCOMMONCONTROLSEX ComCtls)
static void InitializeCriticalSection (ref IntPtr lpCriticalSection)
static bool InsertMenuItem (IntPtr hMenu, uint uItem, bool fByPosition, ref MENUITEMINFO lpmii)
static bool IntersectRect (ref RECT lprcDst, ref RECT lprcSrc1, ref RECT lprcSrc2)
static bool InvalidateRect (IntPtr hWnd, IntPtr lpRect, bool bErase)
static void LeaveCriticalSection (ref IntPtr lpCriticalSection)
static IntPtr LoadLibraryExW ([MarshalAs(UnmanagedType.LPWStr)]string lpFileName, IntPtr hFile, uint dwFlags)
static bool mciGetErrorStringA (uint mcierr,[MarshalAs(UnmanagedType.LPStr)] string pszText, UINT cchText)
static int MessageBox (int h, string m, string c, int type)
static int MoveWindow (IntPtr hWnd, int X, int Y, int nWidth, int nHeight, bool bRepaint)
static bool PeekMessage (ref Message msg, int hWnd, uint wFilterMin, uint wFilterMax, uint wFlag)
static bool PostMessage (IntPtr hWnd, int Msg, uint wParam, uint lParam)
static bool RedrawWindow (IntPtr hWnd, ref RECT lprcUpdate, IntPtr hrgnUpdate, uint flags)
static int RegCloseKey (uint hKey)
static unsafe int RegEnumKeyExW (uint hKey, uint dwIndex,[MarshalAs(UnmanagedType.LPWStr)] string pName, uint *pcbName, uint *pReserved,[MarshalAs(UnmanagedType.LPWStr)] string pClass, uint *pcbClass, FILETIME *pftLastWrite)
static unsafe int RegOpenKeyExW (uint hKey,[MarshalAs(UnmanagedType.LPWStr)] string pSubKey, uint ulOptions, uint samDesired, uint *phkResult)
static unsafe int RegQueryValueExW (uint hKey,[MarshalAs(UnmanagedType.LPWStr)] string pValueName, uint *pReserved, uint *pType, byte *pData, uint *pcbData)
static uint SendMessage (IntPtr hWnd, int Msg, IntPtr wParam, IntPtr lParam)
static uint SendMessage (IntPtr hWnd, int Msg, int wParam, ref RECT lParam)
static uint SendMessage (IntPtr hWnd, int Msg, int wParam, IntPtr lParam)
static uint SendMessage (IntPtr hWnd, int Msg, int wParam, ref REBARINFO lParam)
static uint SendMessage (IntPtr hWnd, int Msg, int wParam, ref REBARBANDINFO lParam)
static uint SendMessage (IntPtr hWnd, int Msg, int wParam, COLORREF lParam)
static uint SendMessage (IntPtr hWnd, int Msg, int wParam, ref MARGINS lParam)
static uint SendMessage (IntPtr hWnd, int Msg, int wParam, ref TBBUTTONINFO lParam)
static uint SendMessage (IntPtr hWnd, int Msg, int wParam, ref COLORSCHEME lParam)
static uint SendMessage (IntPtr hWnd, int Msg, uint wParam, uint lParam)
static bool SetMenu (IntPtr hWnd, IntPtr hMenu)
static IntPtr SetWindowLongPtr (IntPtr hWnd, int nIndex, IntPtr dwNewLong)
static bool SetWindowPos (IntPtr hWnd, IntPtr hWndInsertAfter, int X, int Y, int cx, int cy, uint uFlags)
static IntPtr SHGetFileInfo (string pszPath, uint dwFileAttributes, ref SHFILEINFO psfi, uint cbSizeFileInfo, uint uFlags)
static bool TrackMouseEvent (ref TRACKMOUSEEVENT lpEventTrack)
static int TrackPopupMenu (IntPtr hMenu, uint uFlags, int x, int y, int nReserved, IntPtr hWnd, ref RECT prcRect)
static bool TranslateMessage (ref Message msg)
static bool WaitMessage ()
static uint waveOutClose (IntPtr hwo)
static uint waveOutGetPosition (IntPtr hwo, ref MMTIME pmmt, UINT cbmmt)
static uint waveOutOpen (ref IntPtr hWaveOut, int uDeviceID, ref WAVEFORMATEX lpFormat, delegateWaveOutProc dwCallback, IntPtr dwInstance, uint dwFlags)
static uint waveOutPrepareHeader (IntPtr hwo, ref WAVEHDR pwh, UINT cbwh)
static uint waveOutReset (IntPtr hwo)
static uint waveOutUnprepareHeader (IntPtr hwo, ref WAVEHDR pwh, UINT cbwh)
static uint waveOutWrite (IntPtr hwo, ref WAVEHDR pwh, uint cbwh)
static bool WriteProfileString (string section, string keyName, string value)

Static Public Member Functions

static uint joyGetDevCapsW (uint uJoyID, ref JOYCAPSW pjc, uint cbjc)
static uint joyGetNumDevs ()
static uint joyGetPos (uint uJoyID, ref JOYINFO pji)
static uint joyGetPosEx (uint uJoyID, ref JOYINFOEX pji)
static int MAKELONG (int a, int b)
static uint midiInClose (uint hMidiIn)
static uint midiInGetDevCaps (uint uDeviceID, ref MIDIINCAPS lpMidiInCaps, uint cbMidiInCaps)
static uint midiInGetNumDevs ()
static uint midiInOpen (ref uint lphMidiIn, int uDeviceID, IntPtr dwCallback, int dwCallbackInstance, int dwFlags)
static uint midiInReset (uint hMidiIn)
static uint midiInStart (uint hMidiIn)
static uint midiOutClose (IntPtr hMidiOut)
static uint midiOutGetDevCapsA (uint uDeviceID, ref MIDIOUTCAPSA pMidiOutCaps, uint cbMidiOutCaps)
static uint midiOutGetNumDevs ()
static uint midiOutLongMsg (IntPtr hMidiOut, ref MIDIHDR lpMidiOutHdr, uint uSize)
static uint midiOutOpen (ref IntPtr lphMidiOut, uint uDeviceID, Delegate dwCallback, uint dwInstance, uint dwFlags)
static uint midiOutPrepareHeader (IntPtr hMidiOut, ref MIDIHDR lpMidiOutHdr, uint uSize)
static uint midiOutShortMsg (IntPtr hMidiOut, uint dwMsg)
static uint midiOutUnprepareHeader (IntPtr hMidiOut, ref MIDIHDR lpMidiOutHdr, uint uSize)

Public Attributes

const int ACM_OPENA = (WM_USER+100)
const int ACM_OPENW = (WM_USER+103)
const int ACM_PLAY = (WM_USER+101)
const int ACM_STOP = (WM_USER+102)
const int BCM_FIRST = 0x1600
const int BCM_GETIDEALSIZE = (BCM_FIRST + 0x0001)
const int BCM_GETIMAGELIST = (BCM_FIRST + 0x0003)
const int BCM_GETTEXTMARGIN = (BCM_FIRST + 0x0005)
const int BCM_SETIMAGELIST = (BCM_FIRST + 0x0002)
const int BCM_SETTEXTMARGIN = (BCM_FIRST + 0x0004)
const int BCN_FIRST = (0-1250)
const int BCN_LAST = (0-1350)
const int BM_CLICK = 0x00F5
const int BM_GETCHECK = 0x00F0
const int BM_GETIMAGE = 0x00F6
const int BM_GETSTATE = 0x00F2
const int BM_SETCHECK = 0x00F1
const int BM_SETIMAGE = 0x00F7
const int BM_SETSTATE = 0x00F3
const int BM_SETSTYLE = 0x00F4
const int CALLBACK_EVENT = 0x00050000
const int CALLBACK_FUNCTION = 0x00030000
const int CALLBACK_NULL = 0x00000000
const int CALLBACK_TASK = 0x00020000
const int CALLBACK_THREAD = (CALLBACK_TASK)
const int CALLBACK_TYPEMASK = 0x00070000
const int CALLBACK_WINDOW = 0x00010000
const int CB_ADDSTRING = 0x0143
const int CB_DELETESTRING = 0x0144
const int CB_DIR = 0x0145
const int CB_FINDSTRING = 0x014C
const int CB_FINDSTRINGEXACT = 0x0158
const int CB_GETCOMBOBOXINFO = 0x0164
const int CB_GETCOUNT = 0x0146
const int CB_GETCURSEL = 0x0147
const int CB_GETDROPPEDCONTROLRECT = 0x0152
const int CB_GETDROPPEDSTATE = 0x0157
const int CB_GETDROPPEDWIDTH = 0x015f
const int CB_GETEDITSEL = 0x0140
const int CB_GETEXTENDEDUI = 0x0156
const int CB_GETHORIZONTALEXTENT = 0x015d
const int CB_GETITEMDATA = 0x0150
const int CB_GETITEMHEIGHT = 0x0154
const int CB_GETLBTEXT = 0x0148
const int CB_GETLBTEXTLEN = 0x0149
const int CB_GETLOCALE = 0x015A
const int CB_GETMINVISIBLE = (CBM_FIRST + 2)
const int CB_GETTOPINDEX = 0x015B
const int CB_INITSTORAGE = 0x0161
const int CB_INSERTSTRING = 0x014A
const int CB_LIMITTEXT = 0x0141
const int CB_MSGMAX_400 = 0x0162
const int CB_MSGMAX_501 = 0x0165
const int CB_MSGMAX_PRE400 = 0x015B
const int CB_MSGMAX_WCE400 = 0x0163
const int CB_MULTIPLEADDSTRING = 0x0163
const int CB_RESETCONTENT = 0x014B
const int CB_SELECTSTRING = 0x014D
const int CB_SETCURSEL = 0x014E
const int CB_SETDROPPEDWIDTH = 0x0160
const int CB_SETEDITSEL = 0x0142
const int CB_SETEXTENDEDUI = 0x0155
const int CB_SETHORIZONTALEXTENT = 0x015e
const int CB_SETITEMDATA = 0x0151
const int CB_SETITEMHEIGHT = 0x0153
const int CB_SETLOCALE = 0x0159
const int CB_SETMINVISIBLE = (CBM_FIRST + 1)
const int CB_SETTOPINDEX = 0x015C
const int CB_SHOWDROPDOWN = 0x014F
const int CBEM_DELETEITEM = CB_DELETESTRING
const int CBEM_GETCOMBOCONTROL = (WM_USER + 6)
const int CBEM_GETEDITCONTROL = (WM_USER + 7)
const int CBEM_GETEXSTYLE = (WM_USER + 9)
const int CBEM_GETEXTENDEDSTYLE = (WM_USER + 9)
const int CBEM_GETIMAGELIST = (WM_USER + 3)
const int CBEM_GETITEMA = (WM_USER + 4)
const int CBEM_GETITEMW = (WM_USER + 13)
const int CBEM_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT
const int CBEM_HASEDITCHANGED = (WM_USER + 10)
const int CBEM_INSERTITEMA = (WM_USER + 1)
const int CBEM_INSERTITEMW = (WM_USER + 11)
const int CBEM_SETEXSTYLE = (WM_USER + 8)
const int CBEM_SETEXTENDEDSTYLE = (WM_USER + 14)
const int CBEM_SETIMAGELIST = (WM_USER + 2)
const int CBEM_SETITEMA = (WM_USER + 5)
const int CBEM_SETITEMW = (WM_USER + 12)
const int CBEM_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT
const int CBEN_FIRST = (0-800)
const int CBEN_LAST = (0-830)
const int CBM_FIRST = 0x1700
const int CCM_DPISCALE = (CCM_FIRST + 0xc)
const int CCM_FIRST = 0x2000
const int CCM_GETCOLORSCHEME = (CCM_FIRST + 3)
const int CCM_GETDROPTARGET = (CCM_FIRST + 4)
const int CCM_GETUNICODEFORMAT = (CCM_FIRST + 6)
const int CCM_GETVERSION = (CCM_FIRST + 0x8)
const int CCM_LAST = (CCM_FIRST + 0x200)
const int CCM_SETBKCOLOR = (CCM_FIRST + 1)
const int CCM_SETCOLORSCHEME = (CCM_FIRST + 2)
const int CCM_SETNOTIFYWINDOW = (CCM_FIRST + 0x9)
const int CCM_SETUNICODEFORMAT = (CCM_FIRST + 5)
const int CCM_SETVERSION = (CCM_FIRST + 0x7)
const int CCM_SETWINDOWTHEME = (CCM_FIRST + 0xb)
const uint CCS_ADJUSTABLE = 0x00000020U
const uint CCS_BOTTOM = 0x00000003U
const uint CCS_LEFT = (CCS_VERT | CCS_TOP)
const uint CCS_NODIVIDER = 0x00000040U
const uint CCS_NOMOVEX = (CCS_VERT | CCS_NOMOVEY)
const uint CCS_NOMOVEY = 0x00000002U
const uint CCS_NOPARENTALIGN = 0x00000008U
const uint CCS_NORESIZE = 0x00000004U
const uint CCS_RIGHT = (CCS_VERT | CCS_BOTTOM)
const uint CCS_TOP = 0x00000001U
const uint CCS_VERT = 0x00000080U
const int CDN_FIRST = (0-601)
const int CDN_LAST = (0-699)
const uint CLR_DEFAULT = 0xFF000000U
const uint CLR_NONE = 0xFFFFFFFFU
const DWORD CONSOLE_TEXTMODE_BUFFER = 1
const DWORD CREATE_ALWAYS = 2
const DWORD CREATE_NEW = 1
const int CTLCOLORBTN = 0x0135
const int DL_BEGINDRAG = (WM_USER+133)
const int DL_CANCELDRAG = (WM_USER+136)
const int DL_DRAGGING = (WM_USER+134)
const int DL_DROPPED = (WM_USER+135)
const int DLL_PROCESS_ATTACH = 1
const int DLL_PROCESS_DETACH = 0
const int DLL_THREAD_ATTACH = 2
const int DLL_THREAD_DETACH = 3
const int DM_GETDEFID = (WM_USER+0)
const int DM_REPOSITION = (WM_USER+2)
const int DM_SETDEFID = (WM_USER+1)
const int DONT_RESOLVE_DLL_REFERENCES = 0x00000001
const int DTM_FIRST = 0x1000
const int DTM_GETMCCOLOR = (DTM_FIRST + 7)
const int DTM_GETMCFONT = (DTM_FIRST + 10)
const int DTM_GETMONTHCAL = (DTM_FIRST + 8)
const int DTM_GETRANGE = (DTM_FIRST + 3)
const int DTM_GETSYSTEMTIME = (DTM_FIRST + 1)
const int DTM_SETFORMATA = (DTM_FIRST + 5)
const int DTM_SETFORMATW = (DTM_FIRST + 50)
const int DTM_SETMCCOLOR = (DTM_FIRST + 6)
const int DTM_SETMCFONT = (DTM_FIRST + 9)
const int DTM_SETRANGE = (DTM_FIRST + 4)
const int DTM_SETSYSTEMTIME = (DTM_FIRST + 2)
const int DTN_FIRST = (0-760)
const int DTN_LAST = (0-799)
const int ECM_FIRST = 0x1500
const int EM_CANUNDO = 0x00C6
const int EM_CHARFROMPOS = 0x00D7
const int EM_EMPTYUNDOBUFFER = 0x00CD
const int EM_FMTLINES = 0x00C8
const int EM_GETCUEBANNER = (ECM_FIRST + 2)
const int EM_GETFIRSTVISIBLELINE = 0x00CE
const int EM_GETHANDLE = 0x00BD
const int EM_GETIMESTATUS = 0x00D9
const int EM_GETLIMITTEXT = 0x00D5
const int EM_GETLINE = 0x00C4
const int EM_GETLINECOUNT = 0x00BA
const int EM_GETMARGINS = 0x00D4
const int EM_GETMODIFY = 0x00B8
const int EM_GETPASSWORDCHAR = 0x00D2
const int EM_GETRECT = 0x00B2
const int EM_GETSEL = 0x00B0
const int EM_GETTHUMB = 0x00BE
const int EM_GETWORDBREAKPROC = 0x00D1
const int EM_HIDEBALLOONTIP = (ECM_FIRST + 4)
const int EM_LIMITTEXT = 0x00C5
const int EM_LINEFROMCHAR = 0x00C9
const int EM_LINEINDEX = 0x00BB
const int EM_LINELENGTH = 0x00C1
const int EM_LINESCROLL = 0x00B6
const int EM_POSFROMCHAR = 0x00D6
const int EM_REPLACESEL = 0x00C2
const int EM_SCROLL = 0x00B5
const int EM_SCROLLCARET = 0x00B7
const int EM_SETCUEBANNER = (ECM_FIRST + 1)
const int EM_SETHANDLE = 0x00BC
const int EM_SETIMESTATUS = 0x00D8
const int EM_SETLIMITTEXT = EM_LIMITTEXT
const int EM_SETMARGINS = 0x00D3
const int EM_SETMODIFY = 0x00B9
const int EM_SETPASSWORDCHAR = 0x00CC
const int EM_SETREADONLY = 0x00CF
const int EM_SETRECT = 0x00B3
const int EM_SETRECTNP = 0x00B4
const int EM_SETSEL = 0x00B1
const int EM_SETTABSTOPS = 0x00CB
const int EM_SETWORDBREAKPROC = 0x00D0
const int EM_SHOWBALLOONTIP = (ECM_FIRST + 3)
const int EM_UNDO = 0x00C7
const uint ERROR_SUCCESS = 0
const DWORD FILE_ATTRIBUTE_ARCHIVE = 0x00000020
const DWORD FILE_ATTRIBUTE_COMPRESSED = 0x00000800
const DWORD FILE_ATTRIBUTE_DEVICE = 0x00000040
const DWORD FILE_ATTRIBUTE_DIRECTORY = 0x00000010
const DWORD FILE_ATTRIBUTE_ENCRYPTED = 0x00004000
const DWORD FILE_ATTRIBUTE_HIDDEN = 0x00000002
const DWORD FILE_ATTRIBUTE_NORMAL = 0x00000080
const DWORD FILE_ATTRIBUTE_NOT_CONTENT_INDEXED = 0x00002000
const DWORD FILE_ATTRIBUTE_OFFLINE = 0x00001000
const DWORD FILE_ATTRIBUTE_READONLY = 0x00000001
const DWORD FILE_ATTRIBUTE_REPARSE_POINT = 0x00000400
const DWORD FILE_ATTRIBUTE_SPARSE_FILE = 0x00000200
const DWORD FILE_ATTRIBUTE_SYSTEM = 0x00000004
const DWORD FILE_ATTRIBUTE_TEMPORARY = 0x00000100
const DWORD FILE_ATTRIBUTE_VALID_FLAGS = 0x00007fb7
const DWORD FILE_ATTRIBUTE_VALID_SET_FLAGS = 0x000031a7
const DWORD FILE_FLAG_BACKUP_SEMANTICS = 33554432
const DWORD FILE_FLAG_DELETE_ON_CLOSE = 67108864
const DWORD FILE_FLAG_FIRST_PIPE_INSTANCE = 524288
const DWORD FILE_FLAG_NO_BUFFERING = 536870912
const DWORD FILE_FLAG_OPEN_NO_RECALL = 1048576
const DWORD FILE_FLAG_OPEN_REPARSE_POINT = 2097152
const DWORD FILE_FLAG_OVERLAPPED = 1073741824
const DWORD FILE_FLAG_POSIX_SEMANTICS = 16777216
const DWORD FILE_FLAG_RANDOM_ACCESS = 268435456
const DWORD FILE_FLAG_SEQUENTIAL_SCAN = 134217728
const DWORD FILE_FLAG_WRITE_THROUGH = 0x80000000
const DWORD FILE_SHARE_DELETE = 0x00000004
const DWORD FILE_SHARE_READ = 0x00000001
const DWORD FILE_SHARE_VALID_FLAGS = 0x00000007
const DWORD FILE_SHARE_WRITE = 0x00000002
const DWORD GENERIC_ALL = 0x10000000
const DWORD GENERIC_EXECUTE = 0x20000000
const DWORD GENERIC_READ = 0x80000000
const DWORD GENERIC_WRITE = 0x40000000
const int GWL_EXSTYLE = (-20)
const int GWL_HINSTANCE = (-6)
const int GWL_HWNDPARENT = (-8)
const int GWL_ID = (-12)
const int GWL_STYLE = (-16)
const int GWL_USERDATA = (-21)
const int GWL_WNDPROC = (-4)
const int GWLP_HINSTANCE = (-6)
const int GWLP_HWNDPARENT = (-8)
const int GWLP_ID = (-12)
const int GWLP_USERDATA = (-21)
const int GWLP_WNDPROC = (-4)
const int HDM_CLEARFILTER = (HDM_FIRST+24)
const int HDM_CREATEDRAGIMAGE = (HDM_FIRST + 16)
const int HDM_DELETEITEM = (HDM_FIRST + 2)
const int HDM_EDITFILTER = (HDM_FIRST+23)
const int HDM_FIRST = 0x1200
const int HDM_GETBITMAPMARGIN = (HDM_FIRST + 21)
const int HDM_GETIMAGELIST = (HDM_FIRST + 9)
const int HDM_GETITEMA = (HDM_FIRST + 3)
const int HDM_GETITEMCOUNT = (HDM_FIRST + 0)
const int HDM_GETITEMRECT = (HDM_FIRST + 7)
const int HDM_GETITEMW = (HDM_FIRST + 11)
const int HDM_GETORDERARRAY = (HDM_FIRST + 17)
const int HDM_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT
const int HDM_HITTEST = (HDM_FIRST + 6)
const int HDM_INSERTITEMA = (HDM_FIRST + 1)
const int HDM_INSERTITEMW = (HDM_FIRST + 10)
const int HDM_LAYOUT = (HDM_FIRST + 5)
const int HDM_ORDERTOINDEX = (HDM_FIRST + 15)
const int HDM_SETBITMAPMARGIN = (HDM_FIRST + 20)
const int HDM_SETFILTERCHANGETIMEOUT = (HDM_FIRST+22)
const int HDM_SETHOTDIVIDER = (HDM_FIRST + 19)
const int HDM_SETIMAGELIST = (HDM_FIRST + 8)
const int HDM_SETITEMA = (HDM_FIRST + 4)
const int HDM_SETITEMW = (HDM_FIRST + 12)
const int HDM_SETORDERARRAY = (HDM_FIRST + 18)
const int HDM_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT
const int HDN_FIRST = (0-300)
const int HDN_LAST = (0-399)
const uint HKEY_CLASSES_ROOT = 0x80000000
const uint HKEY_CURRENT_CONFIG = 0x80000005
const uint HKEY_CURRENT_USER = 0x80000001
const uint HKEY_DYN_DATA = 0x80000006
const uint HKEY_LOCAL_MACHINE = 0x80000002
const uint HKEY_PERFORMANCE_DATA = 0x80000004
const uint HKEY_USERS = 0x80000003
const int HKM_GETHOTKEY = (WM_USER+2)
const int HKM_SETHOTKEY = (WM_USER+1)
const int HKM_SETRULES = (WM_USER+3)
const int ICC_ANIMATE_CLASS = 0x00000080
const int ICC_BAR_CLASSES = 0x00000004
const int ICC_COOL_CLASSES = 0x00000400
const int ICC_DATE_CLASSES = 0x00000100
const int ICC_HOTKEY_CLASS = 0x00000040
const int ICC_INTERNET_CLASSES = 0x00000800
const int ICC_LINK_CLASS = 0x00008000
const int ICC_LISTVIEW_CLASSES = 0x00000001
const int ICC_NATIVEFNTCTL_CLASS = 0x00002000
const int ICC_PAGESCROLLER_CLASS = 0x00001000
const int ICC_PROGRESS_CLASS = 0x00000020
const int ICC_STANDARD_CLASSES = 0x00004000
const int ICC_TAB_CLASSES = 0x00000008
const int ICC_TREEVIEW_CLASSES = 0x00000002
const int ICC_UPDOWN_CLASS = 0x00000010
const int ICC_USEREX_CLASSES = 0x00000200
const int ICC_WIN95_CLASSES = 0x000000FF
const int IMAGE_DIRECTORY_ENTRY_ARCHITECTURE = 7
const int IMAGE_DIRECTORY_ENTRY_BASERELOC = 5
const int IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT = 11
const int IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR = 14
const int IMAGE_DIRECTORY_ENTRY_COPYRIGHT = 7
const int IMAGE_DIRECTORY_ENTRY_DEBUG = 6
const int IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT = 13
const int IMAGE_DIRECTORY_ENTRY_EXCEPTION = 3
const int IMAGE_DIRECTORY_ENTRY_EXPORT = 0
const int IMAGE_DIRECTORY_ENTRY_GLOBALPTR = 8
const int IMAGE_DIRECTORY_ENTRY_IAT = 12
const int IMAGE_DIRECTORY_ENTRY_IMPORT = 1
const int IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG = 10
const int IMAGE_DIRECTORY_ENTRY_RESOURCE = 2
const int IMAGE_DIRECTORY_ENTRY_SECURITY = 4
const int IMAGE_DIRECTORY_ENTRY_TLS = 9
const int IMAGE_FILE_32BIT_MACHINE = 256
const int IMAGE_FILE_AGGRESIVE_WS_TRIM = 16
const int IMAGE_FILE_BYTES_REVERSED_HI = 32768
const int IMAGE_FILE_BYTES_REVERSED_LO = 128
const int IMAGE_FILE_DEBUG_STRIPPED = 512
const int IMAGE_FILE_DLL = 8192
const int IMAGE_FILE_EXECUTABLE_IMAGE = 2
const int IMAGE_FILE_LARGE_ADDRESS_AWARE = 32
const int IMAGE_FILE_LINE_NUMS_STRIPPED = 4
const int IMAGE_FILE_LOCAL_SYMS_STRIPPED = 8
const int IMAGE_FILE_MACHINE_AM33 = 0x01d3
const int IMAGE_FILE_MACHINE_AMD64 = 0x8664
const int IMAGE_FILE_MACHINE_ARM = 0x01c0
const int IMAGE_FILE_MACHINE_EBC = 0x0ebc
const int IMAGE_FILE_MACHINE_I386 = 0x014c
const int IMAGE_FILE_MACHINE_IA64 = 0x0200
const int IMAGE_FILE_MACHINE_M32R = 0x9041
const int IMAGE_FILE_MACHINE_MIPS16 = 0x0266
const int IMAGE_FILE_MACHINE_MIPSFPU = 0x0366
const int IMAGE_FILE_MACHINE_MIPSFPU16 = 0x0466
const int IMAGE_FILE_MACHINE_POWERPC = 0x01f0
const int IMAGE_FILE_MACHINE_POWERPCFP = 0x01f1
const int IMAGE_FILE_MACHINE_R4000 = 0x0166
const int IMAGE_FILE_MACHINE_SH3 = 0x01a2
const int IMAGE_FILE_MACHINE_SH3DSP = 0x01a3
const int IMAGE_FILE_MACHINE_SH4 = 0x01a6
const int IMAGE_FILE_MACHINE_SH5 = 0x01a8
const int IMAGE_FILE_MACHINE_THUMB = 0x01c2
const int IMAGE_FILE_MACHINE_UNKNOWN = 0x0000
const int IMAGE_FILE_MACHINE_WCEMIPSV2 = 0x0169
const int IMAGE_FILE_NET_RUN_FROM_SWAP = 2048
const int IMAGE_FILE_RELOCS_STRIPPED = 1
const int IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP = 1024
const int IMAGE_FILE_SYSTEM = 4096
const int IMAGE_FILE_UP_SYSTEM_ONLY = 16384
const int IMAGE_NUMBEROF_DIRECTORY_ENTRIES = 16
const DWORD INVALID_FILE_ATTRIBUTES = unchecked( (DWORD)(-1) )
const DWORD IO_REPARSE_TAG_MOUNT_POINT = 0xA0000003
const DWORD IO_REPARSE_TAG_RESERVED_ONE = 1
const DWORD IO_REPARSE_TAG_RESERVED_RANGE = IO_REPARSE_TAG_RESERVED_ONE
const DWORD IO_REPARSE_TAG_RESERVED_ZERO = 0
const DWORD IO_REPARSE_TAG_SYMBOLIC_LINK = IO_REPARSE_TAG_RESERVED_ZERO
const DWORD IO_REPARSE_TAG_SYMLINK = 0xA000000C
const DWORD IO_REPARSE_TAG_VALID_VALUES = 0xE000FFFF
const int IPN_FIRST = (0-860)
const int IPN_LAST = (0-879)
const ushort JOY_RETURNALL
const ushort JOY_RETURNBUTTONS = 0x00000080
const ushort JOY_RETURNCENTERED = 0x00000400
const ushort JOY_RETURNPOV = 0x00000040
const ushort JOY_RETURNPOVCTS = 0x00000200
const ushort JOY_RETURNR = 0x00000008
const ushort JOY_RETURNRAWDATA = 0x00000100
const ushort JOY_RETURNU = 0x00000010
const ushort JOY_RETURNV = 0x00000020
const ushort JOY_RETURNX = 0x00000001
const ushort JOY_RETURNY = 0x00000002
const ushort JOY_RETURNZ = 0x00000004
const ushort JOY_USEDEADZONE = 0x00000800
const int JOYCAPS_HASPOV = 0x0010
const int JOYCAPS_HASR = 0x0002
const int JOYCAPS_HASU = 0x0004
const int JOYCAPS_HASV = 0x0008
const int JOYCAPS_HASZ = 0x0001
const int JOYCAPS_POV4DIR = 0x0020
const int JOYCAPS_POVCTS = 0x0040
const uint JOYERR_NOERROR = 0
const uint KEY_ALL_ACCESS = 0xf003f
const uint KEY_CREATE_LINK = 32
const uint KEY_CREATE_SUB_KEY = 4
const uint KEY_ENUMERATE_SUB_KEYS = 8
const uint KEY_EXECUTE = 0x20019
const uint KEY_NOTIFY = 16
const uint KEY_QUERY_VALUE = 1
const uint KEY_READ = 0x20019
const uint KEY_SET_VALUE = 2
const uint KEY_WRITE = 0x20006
const int LB_ADDFILE = 0x0196
const int LB_ADDSTRING = 0x0180
const int LB_DELETESTRING = 0x0182
const int LB_DIR = 0x018D
const int LB_FINDSTRING = 0x018F
const int LB_FINDSTRINGEXACT = 0x01A2
const int LB_GETANCHORINDEX = 0x019D
const int LB_GETCARETINDEX = 0x019F
const int LB_GETCOUNT = 0x018B
const int LB_GETCURSEL = 0x0188
const int LB_GETHORIZONTALEXTENT = 0x0193
const int LB_GETITEMDATA = 0x0199
const int LB_GETITEMHEIGHT = 0x01A1
const int LB_GETITEMRECT = 0x0198
const int LB_GETLISTBOXINFO = 0x01B2
const int LB_GETLOCALE = 0x01A6
const int LB_GETSEL = 0x0187
const int LB_GETSELCOUNT = 0x0190
const int LB_GETSELITEMS = 0x0191
const int LB_GETTEXT = 0x0189
const int LB_GETTEXTLEN = 0x018A
const int LB_GETTOPINDEX = 0x018E
const int LB_INITSTORAGE = 0x01A8
const int LB_INSERTSTRING = 0x0181
const int LB_ITEMFROMPOINT = 0x01A9
const int LB_MSGMAX_4 = 0x01B0
const int LB_MSGMAX_501 = 0x01B3
const int LB_MSGMAX_PRE4 = 0x01A8
const int LB_MSGMAX_WCE4 = 0x01B1
const int LB_MULTIPLEADDSTRING = 0x01B1
const int LB_RESETCONTENT = 0x0184
const int LB_SELECTSTRING = 0x018C
const int LB_SELITEMRANGE = 0x019B
const int LB_SELITEMRANGEEX = 0x0183
const int LB_SETANCHORINDEX = 0x019C
const int LB_SETCARETINDEX = 0x019E
const int LB_SETCOLUMNWIDTH = 0x0195
const int LB_SETCOUNT = 0x01A7
const int LB_SETCURSEL = 0x0186
const int LB_SETHORIZONTALEXTENT = 0x0194
const int LB_SETITEMDATA = 0x019A
const int LB_SETITEMHEIGHT = 0x01A0
const int LB_SETLOCALE = 0x01A5
const int LB_SETSEL = 0x0185
const int LB_SETTABSTOPS = 0x0192
const int LB_SETTOPINDEX = 0x0197
const int LM_GETIDEALHEIGHT = (WM_USER + 0x301)
const int LM_GETITEM = (WM_USER + 0x303)
const int LM_HITTEST = (WM_USER + 0x300)
const int LM_SETITEM = (WM_USER + 0x302)
const int LOAD_IGNORE_CODE_AUTHZ_LEVEL = 0x00000010
const int LOAD_LIBRARY_AS_DATAFILE = 0x00000002
const int LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE = 0x00000040
const int LOAD_LIBRARY_AS_IMAGE_RESOURCE = 0x00000020
const int LOAD_WITH_ALTERED_SEARCH_PATH = 0x00000008
const int LVM_APPROXIMATEVIEWRECT = (LVM_FIRST + 64)
const int LVM_ARRANGE = (LVM_FIRST + 22)
const int LVM_CANCELEDITLABEL = (LVM_FIRST + 179)
const int LVM_CREATEDRAGIMAGE = (LVM_FIRST + 33)
const int LVM_DELETEALLITEMS = (LVM_FIRST + 9)
const int LVM_DELETECOLUMN = (LVM_FIRST + 28)
const int LVM_DELETEITEM = (LVM_FIRST + 8)
const int LVM_EDITLABELA = (LVM_FIRST + 23)
const int LVM_EDITLABELW = (LVM_FIRST + 118)
const int LVM_ENABLEGROUPVIEW = (LVM_FIRST + 157)
const int LVM_ENSUREVISIBLE = (LVM_FIRST + 19)
const int LVM_FINDITEMA = (LVM_FIRST + 13)
const int LVM_FINDITEMW = (LVM_FIRST + 83)
const int LVM_FIRST = 0x1000
const int LVM_GETBKCOLOR = (LVM_FIRST + 0)
const int LVM_GETBKIMAGEA = (LVM_FIRST + 69)
const int LVM_GETBKIMAGEW = (LVM_FIRST + 139)
const int LVM_GETCALLBACKMASK = (LVM_FIRST + 10)
const int LVM_GETCOLUMNA = (LVM_FIRST + 25)
const int LVM_GETCOLUMNORDERARRAY = (LVM_FIRST + 59)
const int LVM_GETCOLUMNW = (LVM_FIRST + 95)
const int LVM_GETCOLUMNWIDTH = (LVM_FIRST + 29)
const int LVM_GETCOUNTPERPAGE = (LVM_FIRST + 40)
const int LVM_GETEDITCONTROL = (LVM_FIRST + 24)
const int LVM_GETEXTENDEDLISTVIEWSTYLE = (LVM_FIRST + 55)
const int LVM_GETGROUPINFO = (LVM_FIRST + 149)
const int LVM_GETGROUPMETRICS = (LVM_FIRST + 156)
const int LVM_GETHOTCURSOR = (LVM_FIRST + 63)
const int LVM_GETHOTITEM = (LVM_FIRST + 61)
const int LVM_GETHOVERTIME = (LVM_FIRST + 72)
const int LVM_GETIMAGELIST = (LVM_FIRST + 2)
const int LVM_GETINSERTMARK = (LVM_FIRST + 167)
const int LVM_GETINSERTMARKCOLOR = (LVM_FIRST + 171)
const int LVM_GETINSERTMARKRECT = (LVM_FIRST + 169)
const int LVM_GETISEARCHSTRINGA = (LVM_FIRST + 52)
const int LVM_GETISEARCHSTRINGW = (LVM_FIRST + 117)
const int LVM_GETITEMA = (LVM_FIRST + 5)
const int LVM_GETITEMCOUNT = (LVM_FIRST + 4)
const int LVM_GETITEMPOSITION = (LVM_FIRST + 16)
const int LVM_GETITEMRECT = (LVM_FIRST + 14)
const int LVM_GETITEMSPACING = (LVM_FIRST + 51)
const int LVM_GETITEMSTATE = (LVM_FIRST + 44)
const int LVM_GETITEMTEXTA = (LVM_FIRST + 45)
const int LVM_GETITEMTEXTW = (LVM_FIRST + 115)
const int LVM_GETITEMW = (LVM_FIRST + 75)
const int LVM_GETNUMBEROFWORKAREAS = (LVM_FIRST + 73)
const int LVM_GETORIGIN = (LVM_FIRST + 41)
const int LVM_GETOUTLINECOLOR = (LVM_FIRST + 176)
const int LVM_GETSELECTEDCOLUMN = (LVM_FIRST + 174)
const int LVM_GETSELECTEDCOUNT = (LVM_FIRST + 50)
const int LVM_GETSELECTIONMARK = (LVM_FIRST + 66)
const int LVM_GETSTRINGWIDTHA = (LVM_FIRST + 17)
const int LVM_GETSTRINGWIDTHW = (LVM_FIRST + 87)
const int LVM_GETSUBITEMRECT = (LVM_FIRST + 56)
const int LVM_GETTEXTBKCOLOR = (LVM_FIRST + 37)
const int LVM_GETTEXTCOLOR = (LVM_FIRST + 35)
const int LVM_GETTILEINFO = (LVM_FIRST + 165)
const int LVM_GETTILEVIEWINFO = (LVM_FIRST + 163)
const int LVM_GETTOOLTIPS = (LVM_FIRST + 78)
const int LVM_GETTOPINDEX = (LVM_FIRST + 39)
const int LVM_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT
const int LVM_GETVIEW = (LVM_FIRST + 143)
const int LVM_GETVIEWRECT = (LVM_FIRST + 34)
const int LVM_GETWORKAREAS = (LVM_FIRST + 70)
const int LVM_HASGROUP = (LVM_FIRST + 161)
const int LVM_HITTEST = (LVM_FIRST + 18)
const int LVM_INSERTCOLUMNA = (LVM_FIRST + 27)
const int LVM_INSERTCOLUMNW = (LVM_FIRST + 97)
const int LVM_INSERTGROUP = (LVM_FIRST + 145)
const int LVM_INSERTGROUPSORTED = (LVM_FIRST + 159)
const int LVM_INSERTITEMA = (LVM_FIRST + 7)
const int LVM_INSERTITEMW = (LVM_FIRST + 77)
const int LVM_INSERTMARKHITTEST = (LVM_FIRST + 168)
const int LVM_ISGROUPVIEWENABLED = (LVM_FIRST + 175)
const int LVM_MAPIDTOINDEX = (LVM_FIRST + 181)
const int LVM_MAPINDEXTOID = (LVM_FIRST + 180)
const int LVM_MOVEGROUP = (LVM_FIRST + 151)
const int LVM_MOVEITEMTOGROUP = (LVM_FIRST + 154)
const int LVM_REDRAWITEMS = (LVM_FIRST + 21)
const int LVM_REMOVEALLGROUPS = (LVM_FIRST + 160)
const int LVM_REMOVEGROUP = (LVM_FIRST + 150)
const int LVM_SCROLL = (LVM_FIRST + 20)
const int LVM_SETBKCOLOR = (LVM_FIRST + 1)
const int LVM_SETBKIMAGEA = (LVM_FIRST + 68)
const int LVM_SETBKIMAGEW = (LVM_FIRST + 138)
const int LVM_SETCALLBACKMASK = (LVM_FIRST + 11)
const int LVM_SETCOLUMNA = (LVM_FIRST + 26)
const int LVM_SETCOLUMNORDERARRAY = (LVM_FIRST + 58)
const int LVM_SETCOLUMNW = (LVM_FIRST + 96)
const int LVM_SETCOLUMNWIDTH = (LVM_FIRST + 30)
const int LVM_SETEXTENDEDLISTVIEWSTYLE = (LVM_FIRST + 54)
const int LVM_SETGROUPINFO = (LVM_FIRST + 147)
const int LVM_SETGROUPMETRICS = (LVM_FIRST + 155)
const int LVM_SETHOTCURSOR = (LVM_FIRST + 62)
const int LVM_SETHOTITEM = (LVM_FIRST + 60)
const int LVM_SETHOVERTIME = (LVM_FIRST + 71)
const int LVM_SETICONSPACING = (LVM_FIRST + 53)
const int LVM_SETIMAGELIST = (LVM_FIRST + 3)
const int LVM_SETINFOTIP = (LVM_FIRST + 173)
const int LVM_SETINSERTMARK = (LVM_FIRST + 166)
const int LVM_SETINSERTMARKCOLOR = (LVM_FIRST + 170)
const int LVM_SETITEMA = (LVM_FIRST + 6)
const int LVM_SETITEMCOUNT = (LVM_FIRST + 47)
const int LVM_SETITEMPOSITION = (LVM_FIRST + 15)
const int LVM_SETITEMPOSITION32 = (LVM_FIRST + 49)
const int LVM_SETITEMSTATE = (LVM_FIRST + 43)
const int LVM_SETITEMTEXTA = (LVM_FIRST + 46)
const int LVM_SETITEMTEXTW = (LVM_FIRST + 116)
const int LVM_SETITEMW = (LVM_FIRST + 76)
const int LVM_SETOUTLINECOLOR = (LVM_FIRST + 177)
const int LVM_SETSELECTEDCOLUMN = (LVM_FIRST + 140)
const int LVM_SETSELECTIONMARK = (LVM_FIRST + 67)
const int LVM_SETTEXTBKCOLOR = (LVM_FIRST + 38)
const int LVM_SETTEXTCOLOR = (LVM_FIRST + 36)
const int LVM_SETTILEINFO = (LVM_FIRST + 164)
const int LVM_SETTILEVIEWINFO = (LVM_FIRST + 162)
const int LVM_SETTILEWIDTH = (LVM_FIRST + 141)
const int LVM_SETTOOLTIPS = (LVM_FIRST + 74)
const int LVM_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT
const int LVM_SETVIEW = (LVM_FIRST + 142)
const int LVM_SETWORKAREAS = (LVM_FIRST + 65)
const int LVM_SORTGROUPS = (LVM_FIRST + 158)
const int LVM_SORTITEMS = (LVM_FIRST + 48)
const int LVM_SORTITEMSEX = (LVM_FIRST + 81)
const int LVM_SUBITEMHITTEST = (LVM_FIRST + 57)
const int LVM_UPDATE = (LVM_FIRST + 42)
const int LVN_FIRST = (0-100)
const int LVN_LAST = (0-199)
const int MAX_JOYSTICKOEMVXDNAME = 260
const int MAX_PATH = 260
const DWORD MAXIMUM_ALLOWED = 0x2000000
const DWORD MAXIMUM_REPARSE_DATA_BUFFER_SIZE = 16384
const int MAXPNAMELEN = 32
const int MCM_FIRST = 0x1000
const int MCM_GETCOLOR = (MCM_FIRST + 11)
const int MCM_GETCURSEL = (MCM_FIRST + 1)
const int MCM_GETFIRSTDAYOFWEEK = (MCM_FIRST + 16)
const int MCM_GETMAXSELCOUNT = (MCM_FIRST + 3)
const int MCM_GETMAXTODAYWIDTH = (MCM_FIRST + 21)
const int MCM_GETMINREQRECT = (MCM_FIRST + 9)
const int MCM_GETMONTHDELTA = (MCM_FIRST + 19)
const int MCM_GETMONTHRANGE = (MCM_FIRST + 7)
const int MCM_GETRANGE = (MCM_FIRST + 17)
const int MCM_GETSELRANGE = (MCM_FIRST + 5)
const int MCM_GETTODAY = (MCM_FIRST + 13)
const int MCM_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT
const int MCM_HITTEST = (MCM_FIRST + 14)
const int MCM_SETCOLOR = (MCM_FIRST + 10)
const int MCM_SETCURSEL = (MCM_FIRST + 2)
const int MCM_SETDAYSTATE = (MCM_FIRST + 8)
const int MCM_SETFIRSTDAYOFWEEK = (MCM_FIRST + 15)
const int MCM_SETMAXSELCOUNT = (MCM_FIRST + 4)
const int MCM_SETMONTHDELTA = (MCM_FIRST + 20)
const int MCM_SETRANGE = (MCM_FIRST + 18)
const int MCM_SETSELRANGE = (MCM_FIRST + 6)
const int MCM_SETTODAY = (MCM_FIRST + 12)
const int MCM_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT
const int MCN_FIRST = (0-750)
const int MCN_LAST = (0-759)
const uint MF_APPEND = 256U
const uint MF_BITMAP = 4U
const uint MF_CHANGE = 128U
const uint MF_CHECKED = 8U
const uint MF_DEFAULT = 4096U
const uint MF_DELETE = 512U
const uint MF_DISABLED = 2U
const uint MF_ENABLED = 0U
const uint MF_END = 128U
const uint MF_GRAYED = 1U
const uint MF_HELP = 0x4000U
const uint MF_HILITE = 128U
const uint MF_INSERT = 0U
const uint MF_MENUBARBREAK = 32U
const uint MF_MENUBREAK = 64U
const uint MF_MOUSESELECT = 0x8000U
const uint MF_OWNERDRAW = 256U
const uint MF_POPUP = 16U
const uint MF_REMOVE = 4096U
const uint MF_RIGHTJUSTIFY = 0x4000U
const uint MF_SEPARATOR = 0x800U
const uint MF_STRING = 0U
const uint MF_SYSMENU = 0x2000U
const uint MF_UNCHECKED = 0U
const uint MF_UNHILITE = 0U
const uint MF_USECHECKBITMAPS = 512U
const uint MIIM_BITMAP = 128U
const uint MIIM_CHECKMARKS = 8U
const uint MIIM_DATA = 32U
const uint MIIM_FTYPE = 256U
const uint MIIM_ID = 2U
const uint MIIM_STATE = 1U
const uint MIIM_STRING = 64U
const uint MIIM_SUBMENU = 4U
const uint MIIM_TYPE = 16U
const int MK_CONTROL = 8
const int MK_LBUTTON = 1
const int MK_MBUTTON = 16
const int MK_RBUTTON = 2
const int MK_SHIFT = 4
const int MK_XBUTTON1 = 32
const int MK_XBUTTON2 = 64
const ushort MM_MCINOTIFY = 0x3B9
const ushort MM_MIM_CLOSE = 0x3C2
const ushort MM_MIM_DATA = 0x3C3
const ushort MM_MIM_ERROR = 0x3C5
const ushort MM_MIM_LONGDATA = 0x3C4
const ushort MM_MIM_LONGERROR = 0x3C6
const ushort MM_MIM_OPEN = 0x3C1
const ushort MM_MOM_CLOSE = 0x3C8
const ushort MM_MOM_DONE = 0x3C9
const ushort MM_MOM_OPEN = 0x3C7
const ushort MM_WIM_CLOSE = 0x3BF
const ushort MM_WIM_DATA = 0x3C0
const ushort MM_WIM_OPEN = 0x3BE
const ushort MM_WOM_CLOSE = 0x3BC
const ushort MM_WOM_DONE = 0x3BD
const ushort MM_WOM_OPEN = 0x3BB
const uint MMSYSERR_ALLOCATED = 4
const uint MMSYSERR_BADDB = 14
const uint MMSYSERR_BADDEVICEID = 2
const uint MMSYSERR_BADERRNUM = 9
const uint MMSYSERR_DELETEERROR = 18
const uint MMSYSERR_ERROR = 1
const uint MMSYSERR_HANDLEBUSY = 12
const uint MMSYSERR_INVALFLAG = 10
const uint MMSYSERR_INVALHANDLE = 5
const uint MMSYSERR_INVALIDALIAS = 13
const uint MMSYSERR_INVALPARAM = 11
const uint MMSYSERR_KEYNOTFOUND = 15
const uint MMSYSERR_LASTERROR = 20
const uint MMSYSERR_NODRIVER = 6
const uint MMSYSERR_NODRIVERCB = 20
const uint MMSYSERR_NOERROR = 0
const uint MMSYSERR_NOMEM = 7
const uint MMSYSERR_NOTENABLED = 3
const uint MMSYSERR_NOTSUPPORTED = 8
const uint MMSYSERR_READERROR = 16
const uint MMSYSERR_VALNOTFOUND = 19
const uint MMSYSERR_WRITEERROR = 17
const int MN_LAST = (0-1200)
const int NM_FIRST = (0- 0)
const int NM_LAST = (0- 99)
const int OF_CREATE = 4096
const int OF_READ = 0
const int OF_READWRITE = 2
const int OF_SHARE_COMPAT = 0
const int OF_SHARE_DENY_NONE = 64
const int OF_SHARE_DENY_READ = 48
const int OF_SHARE_DENY_WRITE = 32
const int OF_SHARE_EXCLUSIVE = 16
const int OF_WRITE = 1
const DWORD OPEN_ALWAYS = 4
const DWORD OPEN_EXISTING = 3
const int PBM_DELTAPOS = (WM_USER+3)
const int PBM_GETPOS = (WM_USER+8)
const int PBM_GETRANGE = (WM_USER+7)
const int PBM_SETBARCOLOR = (WM_USER+9)
const int PBM_SETBKCOLOR = CCM_SETBKCOLOR
const int PBM_SETPOS = (WM_USER+2)
const int PBM_SETRANGE = (WM_USER+1)
const int PBM_SETRANGE32 = (WM_USER+6)
const int PBM_SETSTEP = (WM_USER+4)
const int PBM_STEPIT = (WM_USER+5)
const int PGM_FIRST = 0x1400
const int PGM_FORWARDMOUSE = (PGM_FIRST + 3)
const int PGM_GETBKCOLOR = (PGM_FIRST + 5)
const int PGM_GETBORDER = (PGM_FIRST + 7)
const int PGM_GETBUTTONSIZE = (PGM_FIRST + 11)
const int PGM_GETBUTTONSTATE = (PGM_FIRST + 12)
const int PGM_GETDROPTARGET = CCM_GETDROPTARGET
const int PGM_GETPOS = (PGM_FIRST + 9)
const int PGM_RECALCSIZE = (PGM_FIRST + 2)
const int PGM_SETBKCOLOR = (PGM_FIRST + 4)
const int PGM_SETBORDER = (PGM_FIRST + 6)
const int PGM_SETBUTTONSIZE = (PGM_FIRST + 10)
const int PGM_SETCHILD = (PGM_FIRST + 1)
const int PGM_SETPOS = (PGM_FIRST + 8)
const int PGN_FIRST = (0-900)
const int PGN_LAST = (0-950)
const int RB_BEGINDRAG = (WM_USER + 24)
const int RB_DELETEBAND = (WM_USER + 2)
const int RB_DRAGMOVE = (WM_USER + 26)
const int RB_ENDDRAG = (WM_USER + 25)
const int RB_GETBANDBORDERS = (WM_USER + 34)
const int RB_GETBANDCOUNT = (WM_USER + 12)
const int RB_GETBANDINFO = (WM_USER + 5)
const int RB_GETBANDINFOA = (WM_USER + 29)
const int RB_GETBANDINFOW = (WM_USER + 28)
const int RB_GETBANDMARGINS = (WM_USER + 40)
const int RB_GETBARHEIGHT = (WM_USER + 27)
const int RB_GETBARINFO = (WM_USER + 3)
const int RB_GETBKCOLOR = (WM_USER + 20)
const int RB_GETCOLORSCHEME = CCM_GETCOLORSCHEME
const int RB_GETDROPTARGET = (CCM_GETDROPTARGET)
const int RB_GETPALETTE = (WM_USER + 38)
const int RB_GETRECT = (WM_USER + 9)
const int RB_GETROWCOUNT = (WM_USER + 13)
const int RB_GETROWHEIGHT = (WM_USER + 14)
const int RB_GETTEXTCOLOR = (WM_USER + 22)
const int RB_GETTOOLTIPS = (WM_USER + 17)
const int RB_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT
const int RB_HITTEST = (WM_USER + 8)
const int RB_IDTOINDEX = (WM_USER + 16)
const int RB_INSERTBANDA = (WM_USER + 1)
const int RB_INSERTBANDW = (WM_USER + 10)
const int RB_MAXIMIZEBAND = (WM_USER + 31)
const int RB_MINIMIZEBAND = (WM_USER + 30)
const int RB_MOVEBAND = (WM_USER + 39)
const int RB_PUSHCHEVRON = (WM_USER + 43)
const int RB_SETBANDINFOA = (WM_USER + 6)
const int RB_SETBANDINFOW = (WM_USER + 11)
const int RB_SETBARINFO = (WM_USER + 4)
const int RB_SETBKCOLOR = (WM_USER + 19)
const int RB_SETCOLORSCHEME = CCM_SETCOLORSCHEME
const int RB_SETPALETTE = (WM_USER + 37)
const int RB_SETPARENT = (WM_USER + 7)
const int RB_SETTEXTCOLOR = (WM_USER + 21)
const int RB_SETTOOLTIPS = (WM_USER + 18)
const int RB_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT
const int RB_SETWINDOWTHEME = CCM_SETWINDOWTHEME
const int RB_SHOWBAND = (WM_USER + 35)
const int RB_SIZETORECT = (WM_USER + 23)
const int RBBIM_BACKGROUND = 128
const int RBBIM_CHILD = 16
const int RBBIM_CHILDSIZE = 32
const int RBBIM_COLORS = 2
const int RBBIM_HEADERSIZE = 2048
const int RBBIM_ID = 256
const int RBBIM_IDEALSIZE = 512
const int RBBIM_IMAGE = 8
const int RBBIM_LPARAM = 1024
const int RBBIM_SIZE = 64
const int RBBIM_STYLE = 1
const int RBBIM_TEXT = 4
const int RBBS_BREAK = 0x0001
const int RBBS_CHILDEDGE = 0x0004
const int RBBS_FIXEDBMP = 0x0020
const int RBBS_FIXEDSIZE = 0x0002
const int RBBS_GRIPPERALWAYS = 0x0080
const int RBBS_HIDDEN = 0x0008
const int RBBS_HIDETITLE = 0x0400
const int RBBS_NOGRIPPER = 0x0100
const int RBBS_NOVERT = 0x0010
const int RBBS_TOPALIGN = 0x0800
const int RBBS_USECHEVRON = 0x0200
const int RBBS_VARIABLEHEIGHT = 0x0040
const int RBIM_IMAGELIST = 1
const int RBN_AUTOBREAK = (RBN_FIRST - 22)
const int RBN_AUTOSIZE = (RBN_FIRST - 3)
const int RBN_BEGINDRAG = (RBN_FIRST - 4)
const int RBN_CHEVRONPUSHED = (RBN_FIRST - 10)
const int RBN_CHILDSIZE = (RBN_FIRST - 8)
const int RBN_DELETEDBAND = (RBN_FIRST - 7)
const int RBN_DELETINGBAND = (RBN_FIRST - 6)
const int RBN_ENDDRAG = (RBN_FIRST - 5)
const int RBN_FIRST = (0-831)
const int RBN_GETOBJECT = (RBN_FIRST - 1)
const int RBN_HEIGHTCHANGE = (RBN_FIRST - 0)
const int RBN_LAST = (0-859)
const int RBN_LAYOUTCHANGED = (RBN_FIRST - 2)
const int RBN_MINMAX = (RBN_FIRST - 21)
const uint RBS_AUTOSIZE = 0x2000
const uint RBS_BANDBORDERS = 0x0400
const uint RBS_DBLCLKTOGGLE = 0x8000
const uint RBS_FIXEDORDER = 0x0800
const uint RBS_REGISTERDROP = 0x1000
const uint RBS_TOOLTIPS = 0x0100
const uint RBS_VARHEIGHT = 0x0200
const uint RBS_VERTICALGRIPPER = 0x4000
const int REG_BINARY = 3
const int REG_DWORD = 4
const int REG_DWORD_BIG_ENDIAN = 5
const int REG_DWORD_LITTLE_ENDIAN = 4
const int REG_EXPAND_SZ = 2
const int REG_FULL_RESOURCE_DESCRIPTOR = 9
const int REG_LINK = 6
const int REG_MULTI_SZ = 7
const int REG_NONE = 0
const int REG_QWORD = 11
const int REG_QWORD_LITTLE_ENDIAN = 11
const int REG_RESOURCE_LIST = 8
const int REG_RESOURCE_REQUIREMENTS_LIST = 10
const int REG_SZ = 1
const int SB_GETBORDERS = (WM_USER+7)
const int SB_GETICON = (WM_USER+20)
const int SB_GETPARTS = (WM_USER+6)
const int SB_GETRECT = (WM_USER+10)
const int SB_GETTEXTA = (WM_USER+2)
const int SB_GETTEXTLENGTHA = (WM_USER+3)
const int SB_GETTEXTLENGTHW = (WM_USER+12)
const int SB_GETTEXTW = (WM_USER+13)
const int SB_GETTIPTEXTA = (WM_USER+18)
const int SB_GETTIPTEXTW = (WM_USER+19)
const int SB_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT
const int SB_ISSIMPLE = (WM_USER+14)
const int SB_SETBKCOLOR = CCM_SETBKCOLOR
const int SB_SETICON = (WM_USER+15)
const int SB_SETMINHEIGHT = (WM_USER+8)
const int SB_SETPARTS = (WM_USER+4)
const int SB_SETTEXTA = (WM_USER+1)
const int SB_SETTEXTW = (WM_USER+11)
const int SB_SETTIPTEXTA = (WM_USER+16)
const int SB_SETTIPTEXTW = (WM_USER+17)
const int SB_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT
const int SB_SIMPLE = (WM_USER+9)
const int SB_SIMPLEID = 0x00ff
const int SBM_ENABLE_ARROWS = 0x00E4
const int SBM_GETPOS = 0x00E1
const int SBM_GETRANGE = 0x00E3
const int SBM_GETSCROLLBARINFO = 0x00EB
const int SBM_GETSCROLLINFO = 0x00EA
const int SBM_SETPOS = 0x00E0
const int SBM_SETRANGE = 0x00E2
const int SBM_SETRANGEREDRAW = 0x00E6
const int SBM_SETSCROLLINFO = 0x00E9
const int SBN_FIRST = (0-880)
const int SBN_LAST = (0-899)
const uint SHGFI_ICON = 0x100
const uint SHGFI_LARGEICON = 0x0
const uint SHGFI_SMALLICON = 0x1
const int STM_GETICON = 0x0171
const int STM_GETIMAGE = 0x0173
const int STM_MSGMAX = 0x0174
const int STM_SETICON = 0x0170
const int STM_SETIMAGE = 0x0172
const int TB_ADDBITMAP = (WM_USER + 19)
const int TB_ADDBUTTONS = (WM_USER + 20)
const int TB_ADDBUTTONSA = (WM_USER + 20)
const int TB_ADDBUTTONSW = (WM_USER + 68)
const int TB_ADDSTRINGA = (WM_USER + 28)
const int TB_ADDSTRINGW = (WM_USER + 77)
const int TB_AUTOSIZE = (WM_USER + 33)
const int TB_BUTTONCOUNT = (WM_USER + 24)
const int TB_BUTTONSTRUCTSIZE = (WM_USER + 30)
const int TB_CHANGEBITMAP = (WM_USER + 43)
const int TB_CHECKBUTTON = (WM_USER + 2)
const int TB_COMMANDTOINDEX = (WM_USER + 25)
const int TB_CUSTOMIZE = (WM_USER + 27)
const int TB_DELETEBUTTON = (WM_USER + 22)
const int TB_ENABLEBUTTON = (WM_USER + 1)
const int TB_GETANCHORHIGHLIGHT = (WM_USER + 74)
const int TB_GETBITMAP = (WM_USER + 44)
const int TB_GETBITMAPFLAGS = (WM_USER + 41)
const int TB_GETBUTTON = (WM_USER + 23)
const int TB_GETBUTTONINFOA = (WM_USER + 65)
const int TB_GETBUTTONINFOW = (WM_USER + 63)
const int TB_GETBUTTONSIZE = (WM_USER + 58)
const int TB_GETBUTTONTEXTA = (WM_USER + 45)
const int TB_GETBUTTONTEXTW = (WM_USER + 75)
const int TB_GETCOLORSCHEME = CCM_GETCOLORSCHEME
const int TB_GETDISABLEDIMAGELIST = (WM_USER + 55)
const int TB_GETEXTENDEDSTYLE = (WM_USER + 85)
const int TB_GETHOTIMAGELIST = (WM_USER + 53)
const int TB_GETHOTITEM = (WM_USER + 71)
const int TB_GETIMAGELIST = (WM_USER + 49)
const int TB_GETINSERTMARK = (WM_USER + 79)
const int TB_GETINSERTMARKCOLOR = (WM_USER + 89)
const int TB_GETITEMRECT = (WM_USER + 29)
const int TB_GETMAXSIZE = (WM_USER + 83)
const int TB_GETMETRICS = (WM_USER + 101)
const int TB_GETOBJECT = (WM_USER + 62)
const int TB_GETPADDING = (WM_USER + 86)
const int TB_GETRECT = (WM_USER + 51)
const int TB_GETROWS = (WM_USER + 40)
const int TB_GETSTATE = (WM_USER + 18)
const int TB_GETSTRINGA = (WM_USER + 92)
const int TB_GETSTRINGW = (WM_USER + 91)
const int TB_GETSTYLE = (WM_USER + 57)
const int TB_GETTEXTROWS = (WM_USER + 61)
const int TB_GETTOOLTIPS = (WM_USER + 35)
const int TB_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT
const int TB_HIDEBUTTON = (WM_USER + 4)
const int TB_HITTEST = (WM_USER + 69)
const int TB_INDETERMINATE = (WM_USER + 5)
const int TB_INSERTBUTTON = (WM_USER + 21)
const int TB_INSERTBUTTONA = (WM_USER + 21)
const int TB_INSERTBUTTONW = (WM_USER + 67)
const int TB_INSERTMARKHITTEST = (WM_USER + 81)
const int TB_ISBUTTONCHECKED = (WM_USER + 10)
const int TB_ISBUTTONENABLED = (WM_USER + 9)
const int TB_ISBUTTONHIDDEN = (WM_USER + 12)
const int TB_ISBUTTONHIGHLIGHTED = (WM_USER + 14)
const int TB_ISBUTTONINDETERMINATE = (WM_USER + 13)
const int TB_ISBUTTONPRESSED = (WM_USER + 11)
const int TB_LOADIMAGES = (WM_USER + 50)
const int TB_MAPACCELERATORA = (WM_USER + 78)
const int TB_MAPACCELERATORW = (WM_USER + 90)
const int TB_MARKBUTTON = (WM_USER + 6)
const int TB_MOVEBUTTON = (WM_USER + 82)
const int TB_PRESSBUTTON = (WM_USER + 3)
const int TB_REPLACEBITMAP = (WM_USER + 46)
const int TB_SAVERESTOREA = (WM_USER + 26)
const int TB_SAVERESTOREW = (WM_USER + 76)
const int TB_SETANCHORHIGHLIGHT = (WM_USER + 73)
const int TB_SETBITMAPSIZE = (WM_USER + 32)
const int TB_SETBUTTONINFOA = (WM_USER + 66)
const int TB_SETBUTTONINFOW = (WM_USER + 64)
const int TB_SETBUTTONSIZE = (WM_USER + 31)
const int TB_SETBUTTONWIDTH = (WM_USER + 59)
const int TB_SETCMDID = (WM_USER + 42)
const int TB_SETCOLORSCHEME = CCM_SETCOLORSCHEME
const int TB_SETDISABLEDIMAGELIST = (WM_USER + 54)
const int TB_SETDRAWTEXTFLAGS = (WM_USER + 70)
const int TB_SETEXTENDEDSTYLE = (WM_USER + 84)
const int TB_SETHOTIMAGELIST = (WM_USER + 52)
const int TB_SETHOTITEM = (WM_USER + 72)
const int TB_SETIMAGELIST = (WM_USER + 48)
const int TB_SETINDENT = (WM_USER + 47)
const int TB_SETINSERTMARK = (WM_USER + 80)
const int TB_SETINSERTMARKCOLOR = (WM_USER + 88)
const int TB_SETMAXTEXTROWS = (WM_USER + 60)
const int TB_SETMETRICS = (WM_USER + 102)
const int TB_SETPADDING = (WM_USER + 87)
const int TB_SETPARENT = (WM_USER + 37)
const int TB_SETROWS = (WM_USER + 39)
const int TB_SETSTATE = (WM_USER + 17)
const int TB_SETSTYLE = (WM_USER + 56)
const int TB_SETTOOLTIPS = (WM_USER + 36)
const int TB_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT
const int TB_SETWINDOWTHEME = CCM_SETWINDOWTHEME
const DWORD TBIF_BYINDEX = 0x80000000U
const DWORD TBIF_COMMAND = 32U
const DWORD TBIF_IMAGE = 1U
const DWORD TBIF_LPARAM = 16U
const DWORD TBIF_SIZE = 64U
const DWORD TBIF_STATE = 4U
const DWORD TBIF_STYLE = 8U
const DWORD TBIF_TEXT = 2U
const int TBM_CLEARSEL = (WM_USER+19)
const int TBM_CLEARTICS = (WM_USER+9)
const int TBM_GETBUDDY = (WM_USER+33)
const int TBM_GETCHANNELRECT = (WM_USER+26)
const int TBM_GETLINESIZE = (WM_USER+24)
const int TBM_GETNUMTICS = (WM_USER+16)
const int TBM_GETPAGESIZE = (WM_USER+22)
const int TBM_GETPOS = (WM_USER)
const int TBM_GETPTICS = (WM_USER+14)
const int TBM_GETRANGEMAX = (WM_USER+2)
const int TBM_GETRANGEMIN = (WM_USER+1)
const int TBM_GETSELEND = (WM_USER+18)
const int TBM_GETSELSTART = (WM_USER+17)
const int TBM_GETTHUMBLENGTH = (WM_USER+28)
const int TBM_GETTHUMBRECT = (WM_USER+25)
const int TBM_GETTIC = (WM_USER+3)
const int TBM_GETTICPOS = (WM_USER+15)
const int TBM_GETTOOLTIPS = (WM_USER+30)
const int TBM_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT
const int TBM_SETBUDDY = (WM_USER+32)
const int TBM_SETLINESIZE = (WM_USER+23)
const int TBM_SETPAGESIZE = (WM_USER+21)
const int TBM_SETPOS = (WM_USER+5)
const int TBM_SETRANGE = (WM_USER+6)
const int TBM_SETRANGEMAX = (WM_USER+8)
const int TBM_SETRANGEMIN = (WM_USER+7)
const int TBM_SETSEL = (WM_USER+10)
const int TBM_SETSELEND = (WM_USER+12)
const int TBM_SETSELSTART = (WM_USER+11)
const int TBM_SETTHUMBLENGTH = (WM_USER+27)
const int TBM_SETTIC = (WM_USER+4)
const int TBM_SETTICFREQ = (WM_USER+20)
const int TBM_SETTIPSIDE = (WM_USER+31)
const int TBM_SETTOOLTIPS = (WM_USER+29)
const int TBM_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT
const int TBN_FIRST = (0-700)
const int TBN_LAST = (0-720)
const int TCM_ADJUSTRECT = (TCM_FIRST + 40)
const int TCM_DELETEALLITEMS = (TCM_FIRST + 9)
const int TCM_DELETEITEM = (TCM_FIRST + 8)
const int TCM_DESELECTALL = (TCM_FIRST + 50)
const int TCM_FIRST = 0x1300
const int TCM_GETCURFOCUS = (TCM_FIRST + 47)
const int TCM_GETCURSEL = (TCM_FIRST + 11)
const int TCM_GETEXTENDEDSTYLE = (TCM_FIRST + 53)
const int TCM_GETIMAGELIST = (TCM_FIRST + 2)
const int TCM_GETITEMA = (TCM_FIRST + 5)
const int TCM_GETITEMCOUNT = (TCM_FIRST + 4)
const int TCM_GETITEMRECT = (TCM_FIRST + 10)
const int TCM_GETITEMW = (TCM_FIRST + 60)
const int TCM_GETROWCOUNT = (TCM_FIRST + 44)
const int TCM_GETTOOLTIPS = (TCM_FIRST + 45)
const int TCM_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT
const int TCM_HIGHLIGHTITEM = (TCM_FIRST + 51)
const int TCM_HITTEST = (TCM_FIRST + 13)
const int TCM_INSERTITEMA = (TCM_FIRST + 7)
const int TCM_INSERTITEMW = (TCM_FIRST + 62)
const int TCM_REMOVEIMAGE = (TCM_FIRST + 42)
const int TCM_SETCURFOCUS = (TCM_FIRST + 48)
const int TCM_SETCURSEL = (TCM_FIRST + 12)
const int TCM_SETEXTENDEDSTYLE = (TCM_FIRST + 52)
const int TCM_SETIMAGELIST = (TCM_FIRST + 3)
const int TCM_SETITEMA = (TCM_FIRST + 6)
const int TCM_SETITEMEXTRA = (TCM_FIRST + 14)
const int TCM_SETITEMSIZE = (TCM_FIRST + 41)
const int TCM_SETITEMW = (TCM_FIRST + 61)
const int TCM_SETMINTABWIDTH = (TCM_FIRST + 49)
const int TCM_SETPADDING = (TCM_FIRST + 43)
const int TCM_SETTOOLTIPS = (TCM_FIRST + 46)
const int TCM_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT
const int TCN_FIRST = (0-550)
const int TCN_LAST = (0-580)
const int TIME_BYTES = 0x0004
const int TIME_MIDI = 0x0010
const int TIME_MS = 0x0001
const int TIME_SAMPLES = 0x0002
const int TIME_SMPTE = 0x0008
const int TIME_TICKS = 0x0020
const uint TPM_BOTTOMALIGN = 32U
const uint TPM_CENTERALIGN = 4U
const uint TPM_HORIZONTAL = 0U
const uint TPM_LEFTALIGN = 0U
const uint TPM_LEFTBUTTON = 0U
const uint TPM_NONOTIFY = 128U
const uint TPM_RECURSE = 1U
const uint TPM_RETURNCMD = 256U
const uint TPM_RIGHTALIGN = 8U
const uint TPM_RIGHTBUTTON = 2U
const uint TPM_TOPALIGN = 0U
const uint TPM_VCENTERALIGN = 16U
const uint TPM_VERTICAL = 64U
const DWORD TRUNCATE_EXISTING = 5
const int TTM_ACTIVATE = (WM_USER + 1)
const int TTM_ADDTOOLA = (WM_USER + 4)
const int TTM_ADDTOOLW = (WM_USER + 50)
const int TTM_ADJUSTRECT = (WM_USER + 31)
const int TTM_DELTOOLA = (WM_USER + 5)
const int TTM_DELTOOLW = (WM_USER + 51)
const int TTM_ENUMTOOLSA = (WM_USER +14)
const int TTM_ENUMTOOLSW = (WM_USER +58)
const int TTM_GETBUBBLESIZE = (WM_USER + 30)
const int TTM_GETCURRENTTOOLA = (WM_USER + 15)
const int TTM_GETCURRENTTOOLW = (WM_USER + 59)
const int TTM_GETDELAYTIME = (WM_USER + 21)
const int TTM_GETMARGIN = (WM_USER + 27)
const int TTM_GETMAXTIPWIDTH = (WM_USER + 25)
const int TTM_GETTEXTA = (WM_USER +11)
const int TTM_GETTEXTW = (WM_USER +56)
const int TTM_GETTIPBKCOLOR = (WM_USER + 22)
const int TTM_GETTIPTEXTCOLOR = (WM_USER + 23)
const int TTM_GETTITLE = (WM_USER + 35)
const int TTM_GETTOOLCOUNT = (WM_USER +13)
const int TTM_GETTOOLINFOA = (WM_USER + 8)
const int TTM_GETTOOLINFOW = (WM_USER + 53)
const int TTM_HITTESTA = (WM_USER +10)
const int TTM_HITTESTW = (WM_USER +55)
const int TTM_NEWTOOLRECTA = (WM_USER + 6)
const int TTM_NEWTOOLRECTW = (WM_USER + 52)
const int TTM_POP = (WM_USER + 28)
const int TTM_POPUP = (WM_USER + 34)
const int TTM_RELAYEVENT = (WM_USER + 7)
const int TTM_SETDELAYTIME = (WM_USER + 3)
const int TTM_SETMARGIN = (WM_USER + 26)
const int TTM_SETMAXTIPWIDTH = (WM_USER + 24)
const int TTM_SETTIPBKCOLOR = (WM_USER + 19)
const int TTM_SETTIPTEXTCOLOR = (WM_USER + 20)
const int TTM_SETTITLEA = (WM_USER + 32)
const int TTM_SETTITLEW = (WM_USER + 33)
const int TTM_SETTOOLINFOA = (WM_USER + 9)
const int TTM_SETTOOLINFOW = (WM_USER + 54)
const int TTM_SETWINDOWTHEME = CCM_SETWINDOWTHEME
const int TTM_TRACKACTIVATE = (WM_USER + 17)
const int TTM_TRACKPOSITION = (WM_USER + 18)
const int TTM_UPDATE = (WM_USER + 29)
const int TTM_UPDATETIPTEXTA = (WM_USER +12)
const int TTM_UPDATETIPTEXTW = (WM_USER +57)
const int TTM_WINDOWFROMPOINT = (WM_USER + 16)
const int TTN_FIRST = (0-520)
const int TTN_LAST = (0-549)
const int TV_FIRST = 0x1100
const int TVM_CREATEDRAGIMAGE = (TV_FIRST + 18)
const int TVM_DELETEITEM = (TV_FIRST + 1)
const int TVM_EDITLABELA = (TV_FIRST + 14)
const int TVM_EDITLABELW = (TV_FIRST + 65)
const int TVM_ENDEDITLABELNOW = (TV_FIRST + 22)
const int TVM_ENSUREVISIBLE = (TV_FIRST + 20)
const int TVM_EXPAND = (TV_FIRST + 2)
const int TVM_GETBKCOLOR = (TV_FIRST + 31)
const int TVM_GETCOUNT = (TV_FIRST + 5)
const int TVM_GETEDITCONTROL = (TV_FIRST + 15)
const int TVM_GETIMAGELIST = (TV_FIRST + 8)
const int TVM_GETINDENT = (TV_FIRST + 6)
const int TVM_GETINSERTMARKCOLOR = (TV_FIRST + 38)
const int TVM_GETISEARCHSTRINGA = (TV_FIRST + 23)
const int TVM_GETISEARCHSTRINGW = (TV_FIRST + 64)
const int TVM_GETITEMA = (TV_FIRST + 12)
const int TVM_GETITEMHEIGHT = (TV_FIRST + 28)
const int TVM_GETITEMRECT = (TV_FIRST + 4)
const int TVM_GETITEMSTATE = (TV_FIRST + 39)
const int TVM_GETITEMW = (TV_FIRST + 62)
const int TVM_GETLINECOLOR = (TV_FIRST + 41)
const int TVM_GETNEXTITEM = (TV_FIRST + 10)
const int TVM_GETSCROLLTIME = (TV_FIRST + 34)
const int TVM_GETTEXTCOLOR = (TV_FIRST + 32)
const int TVM_GETTOOLTIPS = (TV_FIRST + 25)
const int TVM_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT
const int TVM_GETVISIBLECOUNT = (TV_FIRST + 16)
const int TVM_HITTEST = (TV_FIRST + 17)
const int TVM_INSERTITEMA = (TV_FIRST + 0)
const int TVM_INSERTITEMW = (TV_FIRST + 50)
const int TVM_MAPACCIDTOHTREEITEM = (TV_FIRST + 42)
const int TVM_MAPHTREEITEMTOACCID = (TV_FIRST + 43)
const int TVM_SELECTITEM = (TV_FIRST + 11)
const int TVM_SETBKCOLOR = (TV_FIRST + 29)
const int TVM_SETIMAGELIST = (TV_FIRST + 9)
const int TVM_SETINDENT = (TV_FIRST + 7)
const int TVM_SETINSERTMARK = (TV_FIRST + 26)
const int TVM_SETINSERTMARKCOLOR = (TV_FIRST + 37)
const int TVM_SETITEMA = (TV_FIRST + 13)
const int TVM_SETITEMHEIGHT = (TV_FIRST + 27)
const int TVM_SETITEMW = (TV_FIRST + 63)
const int TVM_SETLINECOLOR = (TV_FIRST + 40)
const int TVM_SETSCROLLTIME = (TV_FIRST + 33)
const int TVM_SETTEXTCOLOR = (TV_FIRST + 30)
const int TVM_SETTOOLTIPS = (TV_FIRST + 24)
const int TVM_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT
const int TVM_SORTCHILDREN = (TV_FIRST + 19)
const int TVM_SORTCHILDRENCB = (TV_FIRST + 21)
const int TVN_FIRST = (0-400)
const int TVN_LAST = (0-499)
const int UDM_GETACCEL = (WM_USER+108)
const int UDM_GETBASE = (WM_USER+110)
const int UDM_GETBUDDY = (WM_USER+106)
const int UDM_GETPOS = (WM_USER+104)
const int UDM_GETPOS32 = (WM_USER+114)
const int UDM_GETRANGE = (WM_USER+102)
const int UDM_GETRANGE32 = (WM_USER+112)
const int UDM_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT
const int UDM_SETACCEL = (WM_USER+107)
const int UDM_SETBASE = (WM_USER+109)
const int UDM_SETBUDDY = (WM_USER+105)
const int UDM_SETPOS = (WM_USER+103)
const int UDM_SETPOS32 = (WM_USER+113)
const int UDM_SETRANGE = (WM_USER+101)
const int UDM_SETRANGE32 = (WM_USER+111)
const int UDM_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT
const int UDN_FIRST = (0-721)
const int UDN_LAST = (0-740)
const int UNICODE_NOCHAR = 0xFFFF
const int WAVE_FORMAT_PCM = 1
const int WAVE_MAPPER = -1
const int WHDR_BEGINLOOP = 0x00000004
const int WHDR_DONE = 0x00000001
const int WHDR_ENDLOOP = 0x00000008
const int WHDR_INQUEUE = 0x00000010
const int WHDR_PREPARED = 0x00000002
const int WM_ACTIVATE = 0x0006
const int WM_ACTIVATEAPP = 0x001C
const int WM_AFXFIRST = 0x0360
const int WM_AFXLAST = 0x037F
const int WM_APP = 0x8000
const int WM_APPCOMMAND = 0x0319
const int WM_ASKCBFORMATNAME = 0x030C
const int WM_CANCELJOURNAL = 0x004B
const int WM_CANCELMODE = 0x001F
const int WM_CAPTURECHANGED = 0x0215
const int WM_CHANGECBCHAIN = 0x030D
const int WM_CHANGEUISTATE = 0x0127
const int WM_CHAR = 0x0102
const int WM_CHARTOITEM = 0x002F
const int WM_CHILDACTIVATE = 0x0022
const int WM_CLEAR = 0x0303
const int WM_CLOSE = 0x0010
const int WM_COMMAND = 0x0111
const int WM_COMMNOTIFY = 0x0044
const int WM_COMPACTING = 0x0041
const int WM_COMPAREITEM = 0x0039
const int WM_CONTEXTMENU = 0x007B
const int WM_CONVERTREQUESTEX = 0x108
const int WM_COPY = 0x0301
const int WM_COPYDATA = 0x004A
const int WM_CREATE = 0x0001
const int WM_CTLCOLORDLG = 0x0136
const int WM_CTLCOLOREDIT = 0x0133
const int WM_CTLCOLORLISTBOX = 0x0134
const int WM_CTLCOLORMSGBOX = 0x0132
const int WM_CTLCOLORSCROLLBAR = 0x0137
const int WM_CTLCOLORSTATIC = 0x0138
const int WM_CUT = 0x0300
const int WM_DEADCHAR = 0x0103
const int WM_DELETEITEM = 0x002D
const int WM_DESTROY = 0x0002
const int WM_DESTROYCLIPBOARD = 0x0307
const int WM_DEVICECHANGE = 0x0219
const int WM_DEVMODECHANGE = 0x001B
const int WM_DISPLAYCHANGE = 0x007E
const int WM_DRAWCLIPBOARD = 0x0308
const int WM_DRAWITEM = 0x002B
const int WM_DROPFILES = 0x0233
const int WM_ENABLE = 0x000A
const int WM_ENDSESSION = 0x0016
const int WM_ENTERIDLE = 0x0121
const int WM_ENTERMENULOOP = 0x0211
const int WM_ENTERSIZEMOVE = 0x0231
const int WM_ERASEBKGND = 0x0014
const int WM_EXITMENULOOP = 0x0212
const int WM_EXITSIZEMOVE = 0x0232
const int WM_FONTCHANGE = 0x001D
const int WM_GETDLGCODE = 0x0087
const int WM_GETFONT = 0x0031
const int WM_GETHOTKEY = 0x0033
const int WM_GETICON = 0x007F
const int WM_GETMINMAXINFO = 0x0024
const int WM_GETOBJECT = 0x003D
const int WM_GETTEXT = 0x000D
const int WM_GETTEXTLENGTH = 0x000E
const int WM_HANDHELDFIRST = 0x0358
const int WM_HANDHELDLAST = 0x035F
const int WM_HELP = 0x0053
const int WM_HOTKEY = 0x0312
const int WM_HSCROLL = 0x0114
const int WM_HSCROLLCLIPBOARD = 0x030E
const int WM_ICONERASEBKGND = 0x0027
const int WM_IME_CHAR = 0x286
const int WM_IME_COMPOSITION = 0x10F
const int WM_IME_COMPOSITIONFULL = 0x284
const int WM_IME_CONTROL = 0x283
const int WM_IME_ENDCOMPOSITION = 0x10E
const int WM_IME_KEYDOWN = 0x290
const int WM_IME_KEYLAST = 0x10F
const int WM_IME_KEYUP = 0x291
const int WM_IME_NOTIFY = 0x282
const int WM_IME_SELECT = 0x285
const int WM_IME_SETCONTEXT = 0x281
const int WM_IME_STARTCOMPOSITION = 0x10D
const int WM_INITDIALOG = 0x0110
const int WM_INITMENU = 0x0116
const int WM_INITMENUPOPUP = 0x0117
const int WM_INPUT = 0x00FF
const int WM_INPUTLANGCHANGE = 0x0051
const int WM_INPUTLANGCHANGEREQUEST = 0x0050
const int WM_KEYDOWN = 0x0100
const int WM_KEYFIRST = 0x0100
const int WM_KEYLAST_NT501 = 0x0109
const int WM_KEYLAST_PRE501 = 0x0108
const int WM_KEYUP = 0x0101
const int WM_KILLFOCUS = 0x0008
const int WM_LBUTTONDBLCLK = 0x0203
const int WM_LBUTTONDOWN = 0x0201
const int WM_LBUTTONUP = 0x0202
const int WM_MBUTTONDBLCLK = 0x0209
const int WM_MBUTTONDOWN = 0x0207
const int WM_MBUTTONUP = 0x0208
const int WM_MDIACTIVATE = 0x0222
const int WM_MDICASCADE = 0x0227
const int WM_MDICREATE = 0x0220
const int WM_MDIDESTROY = 0x0221
const int WM_MDIGETACTIVE = 0x0229
const int WM_MDIICONARRANGE = 0x0228
const int WM_MDIMAXIMIZE = 0x0225
const int WM_MDINEXT = 0x0224
const int WM_MDIREFRESHMENU = 0x0234
const int WM_MDIRESTORE = 0x0223
const int WM_MDISETMENU = 0x0230
const int WM_MDITILE = 0x0226
const int WM_MEASUREITEM = 0x002C
const int WM_MENUCHAR = 0x0120
const int WM_MENUCOMMAND = 0x0126
const int WM_MENUDRAG = 0x0123
const int WM_MENUGETOBJECT = 0x0124
const int WM_MENURBUTTONUP = 0x0122
const int WM_MENUSELECT = 0x011F
const int WM_MOUSEACTIVATE = 0x0021
const int WM_MOUSEFIRST = 0x0200
const int WM_MOUSEHOVER = 0x02A1
const int WM_MOUSELAST_4 = 0x020A
const int WM_MOUSELAST_5 = 0x020D
const int WM_MOUSELAST_PRE_4 = 0x0209
const int WM_MOUSELEAVE = 0x02A3
const int WM_MOUSEMOVE = 0x0200
const int WM_MOUSEWHEEL = 0x020A
const int WM_MOVE = 0x0003
const int WM_MOVING = 0x0216
const int WM_NCACTIVATE = 0x0086
const int WM_NCCALCSIZE = 0x0083
const int WM_NCCREATE = 0x0081
const int WM_NCDESTROY = 0x0082
const int WM_NCHITTEST = 0x0084
const int WM_NCLBUTTONDBLCLK = 0x00A3
const int WM_NCLBUTTONDOWN = 0x00A1
const int WM_NCLBUTTONUP = 0x00A2
const int WM_NCMBUTTONDBLCLK = 0x00A9
const int WM_NCMBUTTONDOWN = 0x00A7
const int WM_NCMBUTTONUP = 0x00A8
const int WM_NCMOUSEHOVER = 0x02A0
const int WM_NCMOUSELEAVE = 0x02A2
const int WM_NCMOUSEMOVE = 0x00A0
const int WM_NCPAINT = 0x0085
const int WM_NCRBUTTONDBLCLK = 0x00A6
const int WM_NCRBUTTONDOWN = 0x00A4
const int WM_NCRBUTTONUP = 0x00A5
const int WM_NCXBUTTONDBLCLK = 0x00AD
const int WM_NCXBUTTONDOWN = 0x00AB
const int WM_NCXBUTTONUP = 0x00AC
const int WM_NEXTDLGCTL = 0x0028
const int WM_NEXTMENU = 0x0213
const int WM_NOTIFY = 0x004E
const int WM_NOTIFYFORMAT = 0x0055
const int WM_NULL = 0x0000
const int WM_PAINT = 0x000F
const int WM_PAINTCLIPBOARD = 0x0309
const int WM_PAINTICON = 0x0026
const int WM_PALETTECHANGED = 0x0311
const int WM_PALETTEISCHANGING = 0x0310
const int WM_PARENTNOTIFY = 0x0210
const int WM_PASTE = 0x0302
const int WM_PENWINFIRST = 0x0380
const int WM_PENWINLAST = 0x038F
const int WM_POWER = 0x0048
const int WM_POWERBROADCAST = 0x0218
const int WM_PRINT = 0x0317
const int WM_PRINTCLIENT = 0x0318
const int WM_QUERYDRAGICON = 0x0037
const int WM_QUERYENDSESSION = 0x0011
const int WM_QUERYNEWPALETTE = 0x030F
const int WM_QUERYOPEN = 0x0013
const int WM_QUERYUISTATE = 0x0129
const int WM_QUEUESYNC = 0x0023
const int WM_QUIT = 0x0012
const int WM_RBUTTONDBLCLK = 0x0206
const int WM_RBUTTONDOWN = 0x0204
const int WM_RBUTTONUP = 0x0205
const int WM_RENDERALLFORMATS = 0x0306
const int WM_RENDERFORMAT = 0x0305
const int WM_SETCURSOR = 0x0020
const int WM_SETFOCUS = 0x0007
const int WM_SETFONT = 0x0030
const int WM_SETHOTKEY = 0x0032
const int WM_SETICON = 0x0080
const int WM_SETREDRAW = 0x000B
const int WM_SETTEXT = 0x000C
const int WM_SETTINGCHANGE = 0x001A
const int WM_SHOWWINDOW = 0x0018
const int WM_SIZE = 0x0005
const int WM_SIZECLIPBOARD = 0x030B
const int WM_SIZING = 0x0214
const int WM_SPOOLERSTATUS = 0x002A
const int WM_STYLECHANGED = 0x007D
const int WM_STYLECHANGING = 0x007C
const int WM_SYNCPAINT = 0x0088
const int WM_SYSCHAR = 0x0106
const int WM_SYSCOLORCHANGE = 0x0015
const int WM_SYSCOMMAND = 0x0112
const int WM_SYSDEADCHAR = 0x0107
const int WM_SYSKEYDOWN = 0x0104
const int WM_SYSKEYUP = 0x0105
const int WM_TABLET_FIRST = 0x02c0
const int WM_TABLET_LAST = 0x02df
const int WM_TCARD = 0x0052
const int WM_THEMECHANGED = 0x031A
const int WM_TIMECHANGE = 0x001E
const int WM_TIMER = 0x0113
const int WM_UNDO = 0x0304
const int WM_UNICHAR = 0x0109
const int WM_UNINITMENUPOPUP = 0x0125
const int WM_UPDATEUISTATE = 0x0128
const int WM_USER = 0x0400
const int WM_USERCHANGED = 0x0054
const int WM_VKEYTOITEM = 0x002E
const int WM_VSCROLL = 0x0115
const int WM_VSCROLLCLIPBOARD = 0x030A
const int WM_WINDOWPOSCHANGED = 0x0047
const int WM_WINDOWPOSCHANGING = 0x0046
const int WM_WININICHANGE = 0x001A
const int WM_WTSSESSION_CHANGE = 0x02B1
const int WM_XBUTTONDBLCLK = 0x020D
const int WM_XBUTTONDOWN = 0x020B
const int WM_XBUTTONUP = 0x020C
const int WMN_FIRST = (0-1000)
const uint WS_BORDER = 0x00800000U
const uint WS_CAPTION = 0x00C00000U
const uint WS_CHILD = 0x40000000U
const uint WS_CHILDWINDOW = (WS_CHILD)
const uint WS_CLIPCHILDREN = 0x02000000U
const uint WS_CLIPSIBLINGS = 0x04000000U
const uint WS_DISABLED = 0x08000000U
const uint WS_DLGFRAME = 0x00400000U
const int WS_EX_ACCEPTFILES = 16
const int WS_EX_APPWINDOW = 0x40000
const int WS_EX_CLIENTEDGE = 512
const int WS_EX_COMPOSITED = 0x2000000
const int WS_EX_CONTEXTHELP = 0x400
const int WS_EX_CONTROLPARENT = 0x10000
const int WS_EX_DLGMODALFRAME = 1
const int WS_EX_LAYERED = 0x80000
const int WS_EX_LAYOUTRTL = 0x400000
const int WS_EX_LEFT = 0
const int WS_EX_LEFTSCROLLBAR = 0x4000
const int WS_EX_LTRREADING = 0
const int WS_EX_MDICHILD = 64
const int WS_EX_NOACTIVATE = 0x8000000
const int WS_EX_NOINHERITLAYOUT = 0x100000
const int WS_EX_NOPARENTNOTIFY = 4
const int WS_EX_OVERLAPPEDWINDOW = 0x300
const int WS_EX_PALETTEWINDOW = 0x188
const int WS_EX_RIGHT = 0x1000
const int WS_EX_RIGHTSCROLLBAR = 0
const int WS_EX_RTLREADING = 0x2000
const int WS_EX_STATICEDGE = 0x20000
const int WS_EX_TOOLWINDOW = 128
const int WS_EX_TOPMOST = 8
const int WS_EX_TRANSPARENT = 32
const int WS_EX_WINDOWEDGE = 256
const uint WS_GROUP = 0x00020000U
const uint WS_HSCROLL = 0x00100000U
const uint WS_ICONIC = WS_MINIMIZE
const uint WS_MAXIMIZE = 0x01000000U
const uint WS_MAXIMIZEBOX = 0x00010000U
const uint WS_MINIMIZE = 0x20000000U
const uint WS_MINIMIZEBOX = 0x00020000U
const uint WS_OVERLAPPED = 0x00000000U
const uint WS_OVERLAPPEDWINDOW
const uint WS_POPUP = 0x80000000U
const uint WS_POPUPWINDOW
const uint WS_SIZEBOX = WS_THICKFRAME
const uint WS_SYSMENU = 0x00080000U
const uint WS_TABSTOP = 0x00010000U
const uint WS_THICKFRAME = 0x00040000U
const uint WS_TILED = WS_OVERLAPPED
const uint WS_TILEDWINDOW = WS_OVERLAPPEDWINDOW
const uint WS_VISIBLE = 0x10000000U
const uint WS_VSCROLL = 0x00200000U

Static Public Attributes

static readonly HANDLE INVALID_HANDLE_VALUE = new HANDLE( -1 )

Private Types

enum  DllStatus { Unknown, Found, NotFound }

Private Member Functions

static uint __joyGetDevCapsW (uint uJoyID, ref JOYCAPSW pjc, uint cbjc)
static uint __joyGetNumDevs ()
static uint __joyGetPos (uint uJoyID, ref JOYINFO pji)
static uint __joyGetPosEx (uint uJoyID, ref JOYINFOEX pji)
static uint __midiInClose (uint hMidiIn)
static uint __midiInGetDevCaps ([MarshalAs(UnmanagedType.U4)]uint uDeviceID, ref MIDIINCAPS lpMidiInCaps,[MarshalAs(UnmanagedType.U4)]uint cbMidiInCaps)
static uint __midiInGetNumDevs ()
static uint __midiInOpen (ref uint lphMidiIn, int uDeviceID, IntPtr dwCallback, int dwCallbackInstance, int dwFlags)
static uint __midiInReset (uint hMidiIn)
static uint __midiInStart (uint hMidiIn)
static uint __midiOutClose ([MarshalAs(UnmanagedType.SysUInt)] IntPtr hMidiOut)
static uint __midiOutGetDevCapsA ([MarshalAs(UnmanagedType.U4)] uint uDeviceID, ref MIDIOUTCAPSA pMidiOutCaps,[MarshalAs(UnmanagedType.U4)] uint cbMidiOutCaps)
static uint __midiOutGetNumDevs ()
static uint __midiOutLongMsg ([MarshalAs(UnmanagedType.SysUInt)] IntPtr hMidiOut, ref MIDIHDR lpMidiOutHdr,[MarshalAs(UnmanagedType.U4)] uint uSize)
static uint __midiOutOpen ([MarshalAs(UnmanagedType.SysUInt)] ref IntPtr lphMidiOut,[MarshalAs(UnmanagedType.U4)] uint uDeviceID,[MarshalAs(UnmanagedType.FunctionPtr)] Delegate dwCallback,[MarshalAs(UnmanagedType.U4)] uint dwInstance,[MarshalAs(UnmanagedType.U4)] uint dwFlags)
static uint __midiOutPrepareHeader ([MarshalAs(UnmanagedType.SysUInt)] IntPtr hMidiOut, ref MIDIHDR lpMidiOutHdr,[MarshalAs(UnmanagedType.U4)] uint uSize)
static uint __midiOutShortMsg ([MarshalAs(UnmanagedType.SysUInt)] IntPtr hMidiOut,[MarshalAs(UnmanagedType.U4)] uint dwMsg)
static uint __midiOutUnprepareHeader ([MarshalAs(UnmanagedType.SysUInt)] IntPtr hMidiOut, ref MIDIHDR lpMidiOutHdr,[MarshalAs(UnmanagedType.U4)] uint uSize)
static uint __so_midiInClose (uint hMidiIn)
static uint __so_midiInGetDevCaps ([MarshalAs(UnmanagedType.U4)]uint uDeviceID, ref MIDIINCAPS lpMidiInCaps,[MarshalAs(UnmanagedType.U4)]uint cbMidiInCaps)
static uint __so_midiInGetNumDevs ()
static uint __so_midiInOpen (ref uint lphMidiIn, int uDeviceID, IntPtr dwCallback, int dwCallbackInstance, int dwFlags)
static uint __so_midiInReset (uint hMidiIn)
static uint __so_midiInStart (uint hMidiIn)
static uint __so_midiOutClose ([MarshalAs(UnmanagedType.SysUInt)] IntPtr hMidiOut)
static uint __so_midiOutGetDevCapsA ([MarshalAs(UnmanagedType.U4)] uint uDeviceID, ref MIDIOUTCAPSA pMidiOutCaps,[MarshalAs(UnmanagedType.U4)] uint cbMidiOutCaps)
static uint __so_midiOutGetNumDevs ()
static uint __so_midiOutLongMsg ([MarshalAs(UnmanagedType.SysUInt)] IntPtr hMidiOut, ref MIDIHDR lpMidiOutHdr,[MarshalAs(UnmanagedType.U4)] uint uSize)
static uint __so_midiOutOpen ([MarshalAs(UnmanagedType.SysUInt)] ref IntPtr lphMidiOut,[MarshalAs(UnmanagedType.U4)] uint uDeviceID,[MarshalAs(UnmanagedType.FunctionPtr)] Delegate dwCallback,[MarshalAs(UnmanagedType.U4)] uint dwInstance,[MarshalAs(UnmanagedType.U4)] uint dwFlags)
static uint __so_midiOutPrepareHeader ([MarshalAs(UnmanagedType.SysUInt)] IntPtr hMidiOut, ref MIDIHDR lpMidiOutHdr,[MarshalAs(UnmanagedType.U4)] uint uSize)
static uint __so_midiOutShortMsg ([MarshalAs(UnmanagedType.SysUInt)] IntPtr hMidiOut,[MarshalAs(UnmanagedType.U4)] uint dwMsg)
static uint __so_midiOutUnprepareHeader ([MarshalAs(UnmanagedType.SysUInt)] IntPtr hMidiOut, ref MIDIHDR lpMidiOutHdr,[MarshalAs(UnmanagedType.U4)] uint uSize)

Private Attributes

const string kernel32 = "kernel32.dll"

Static Private Attributes

static DllStatus status_winmm = DllStatus.Unknown
static DllStatus status_winmm_so = DllStatus.Unknown

Detailed Description

Definition at line 28 of file windows.cs.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index