pub struct SwellFunctionPointers {
Show 336 fields pub lstrcpyn: Option<unsafe extern "C" fn(dest: *mut c_char, src: *const c_char, l: c_int) -> *mut c_char>, pub MulDiv: Option<extern "C" fn(arg1: c_int, arg2: c_int, arg3: c_int) -> c_int>, pub Sleep: Option<extern "C" fn(ms: c_int)>, pub GetTickCount: Option<extern "C" fn() -> c_uint>, pub GetFileTime: Option<unsafe extern "C" fn(filedes: c_int, lpCreationTime: *mut FILETIME, lpLastAccessTime: *mut FILETIME, lpLastWriteTime: *mut FILETIME) -> c_schar>, pub WritePrivateProfileString: Option<unsafe extern "C" fn(appname: *const c_char, keyname: *const c_char, val: *const c_char, fn_: *const c_char) -> c_schar>, pub GetPrivateProfileString: Option<unsafe extern "C" fn(appname: *const c_char, keyname: *const c_char, def: *const c_char, ret: *mut c_char, retsize: c_int, fn_: *const c_char) -> c_uint>, pub GetPrivateProfileInt: Option<unsafe extern "C" fn(appname: *const c_char, keyname: *const c_char, def: c_int, fn_: *const c_char) -> c_int>, pub GetPrivateProfileStruct: Option<unsafe extern "C" fn(appname: *const c_char, keyname: *const c_char, buf: *mut c_void, bufsz: c_int, fn_: *const c_char) -> c_schar>, pub WritePrivateProfileStruct: Option<unsafe extern "C" fn(appname: *const c_char, keyname: *const c_char, buf: *const c_void, bufsz: c_int, fn_: *const c_char) -> c_schar>, pub WritePrivateProfileSection: Option<unsafe extern "C" fn(appname: *const c_char, strings: *const c_char, fn_: *const c_char) -> c_schar>, pub GetPrivateProfileSection: Option<unsafe extern "C" fn(appname: *const c_char, strout: *mut c_char, strout_len: c_uint, fn_: *const c_char) -> c_uint>, pub GetModuleFileName: Option<unsafe extern "C" fn(hInst: HINSTANCE, fn_: *mut c_char, nSize: c_uint) -> c_uint>, pub SWELL_PtInRect: Option<unsafe extern "C" fn(r: *const RECT, p: POINT) -> c_schar>, pub ShellExecute: Option<unsafe extern "C" fn(hwndDlg: HWND, action: *const c_char, content1: *const c_char, content2: *const c_char, content3: *const c_char, blah: c_int) -> c_schar>, pub MessageBox: Option<unsafe extern "C" fn(hwndParent: HWND, text: *const c_char, caption: *const c_char, type_: c_int) -> c_int>, pub BrowseForFiles: Option<unsafe extern "C" fn(text: *const c_char, initialdir: *const c_char, initialfile: *const c_char, allowmul: bool, extlist: *const c_char) -> *mut c_char>, pub BrowseForSaveFile: Option<unsafe extern "C" fn(text: *const c_char, initialdir: *const c_char, initialfile: *const c_char, extlist: *const c_char, fn_: *mut c_char, fnsize: c_int) -> bool>, pub BrowseForDirectory: Option<unsafe extern "C" fn(text: *const c_char, initialdir: *const c_char, fn_: *mut c_char, fnsize: c_int) -> bool>, pub BrowseFile_SetTemplate: Option<unsafe extern "C" fn(dlgid: *const c_char, dlgProc: Option<unsafe extern "C" fn(arg1: HWND, arg2: UINT, arg3: WPARAM, arg4: LPARAM) -> INT_PTR>, reshead: *mut SWELL_DialogResourceIndex)>, pub GetDlgItem: Option<unsafe extern "C" fn(arg1: HWND, arg2: c_int) -> HWND>, pub ShowWindow: Option<unsafe extern "C" fn(arg1: HWND, arg2: c_int)>, pub DestroyWindow: Option<unsafe extern "C" fn(hwnd: HWND)>, pub SWELL_GetGestureInfo: Option<unsafe extern "C" fn(lParam: LPARAM, gi: *mut tagGESTUREINFO) -> c_schar>, pub SWELL_HideApp: Option<extern "C" fn()>, pub SetDlgItemText: Option<unsafe extern "C" fn(arg1: HWND, idx: c_int, text: *const c_char) -> c_schar>, pub SetDlgItemInt: Option<unsafe extern "C" fn(arg1: HWND, idx: c_int, val: c_int, issigned: c_int) -> c_schar>, pub GetDlgItemInt: Option<unsafe extern "C" fn(arg1: HWND, idx: c_int, translated: *mut c_schar, issigned: c_int) -> c_int>, pub GetDlgItemText: Option<unsafe extern "C" fn(arg1: HWND, idx: c_int, text: *mut c_char, textlen: c_int) -> c_schar>, pub GetWindowTextLength: Option<unsafe extern "C" fn(arg1: HWND) -> c_int>, pub CheckDlgButton: Option<unsafe extern "C" fn(hwnd: HWND, idx: c_int, check: c_int)>, pub IsDlgButtonChecked: Option<unsafe extern "C" fn(hwnd: HWND, idx: c_int) -> c_int>, pub EnableWindow: Option<unsafe extern "C" fn(hwnd: HWND, enable: c_int)>, pub SetFocus: Option<unsafe extern "C" fn(hwnd: HWND)>, pub GetFocus: Option<extern "C" fn() -> HWND>, pub SetForegroundWindow: Option<unsafe extern "C" fn(hwnd: HWND)>, pub GetForegroundWindow: Option<extern "C" fn() -> HWND>, pub SetCapture: Option<unsafe extern "C" fn(hwnd: HWND) -> HWND>, pub GetCapture: Option<extern "C" fn() -> HWND>, pub ReleaseCapture: Option<extern "C" fn()>, pub IsChild: Option<unsafe extern "C" fn(hwndParent: HWND, hwndChild: HWND) -> c_int>, pub GetParent: Option<unsafe extern "C" fn(hwnd: HWND) -> HWND>, pub SetParent: Option<unsafe extern "C" fn(hwnd: HWND, newPar: HWND) -> HWND>, pub GetWindow: Option<unsafe extern "C" fn(hwnd: HWND, what: c_int) -> HWND>, pub EnumWindows: Option<unsafe extern "C" fn(proc_: Option<unsafe extern "C" fn(arg1: HWND, arg2: LPARAM) -> c_schar>, lp: LPARAM) -> c_schar>, pub FindWindowEx: Option<unsafe extern "C" fn(par: HWND, lastw: HWND, classname: *const c_char, title: *const c_char) -> HWND>, pub ClientToScreen: Option<unsafe extern "C" fn(hwnd: HWND, p: *mut POINT)>, pub ScreenToClient: Option<unsafe extern "C" fn(hwnd: HWND, p: *mut POINT)>, pub GetWindowRect: Option<unsafe extern "C" fn(hwnd: HWND, r: *mut RECT) -> bool>, pub GetWindowContentViewRect: Option<unsafe extern "C" fn(hwnd: HWND, r: *mut RECT)>, pub GetClientRect: Option<unsafe extern "C" fn(hwnd: HWND, r: *mut RECT)>, pub WindowFromPoint: Option<unsafe extern "C" fn(p: POINT) -> HWND>, pub WinOffsetRect: Option<unsafe extern "C" fn(lprc: *mut RECT, dx: c_int, dy: c_int) -> c_schar>, pub WinSetRect: Option<unsafe extern "C" fn(lprc: *mut RECT, xLeft: c_int, yTop: c_int, xRight: c_int, yBottom: c_int) -> c_schar>, pub WinUnionRect: Option<unsafe extern "C" fn(out: *mut RECT, in1: *const RECT, in2: *const RECT)>, pub WinIntersectRect: Option<unsafe extern "C" fn(out: *mut RECT, in1: *const RECT, in2: *const RECT) -> c_int>, pub SetWindowPos: Option<unsafe extern "C" fn(hwnd: HWND, unused: HWND, x: c_int, y: c_int, cx: c_int, cy: c_int, flags: c_int)>, pub SWELL_SetWindowLevel: Option<unsafe extern "C" fn(hwnd: HWND, newlevel: c_int) -> c_int>, pub InvalidateRect: Option<unsafe extern "C" fn(hwnd: HWND, r: *const RECT, eraseBk: c_int) -> c_schar>, pub UpdateWindow: Option<unsafe extern "C" fn(hwnd: HWND)>, pub GetWindowLong: Option<unsafe extern "C" fn(hwnd: HWND, idx: c_int) -> isize>, pub SetWindowLong: Option<unsafe extern "C" fn(hwnd: HWND, idx: c_int, val: isize) -> isize>, pub ScrollWindow: Option<unsafe extern "C" fn(hwnd: HWND, xamt: c_int, yamt: c_int, lpRect: *const RECT, lpClipRect: *const RECT) -> c_schar>, pub EnumPropsEx: Option<unsafe extern "C" fn(arg1: HWND, arg2: Option<unsafe extern "C" fn(hwnd: HWND, lpszString: *const c_char, hData: HANDLE, lParam: LPARAM) -> c_schar>, arg3: LPARAM) -> c_int>, pub GetProp: Option<unsafe extern "C" fn(arg1: HWND, arg2: *const c_char) -> HANDLE>, pub SetProp: Option<unsafe extern "C" fn(arg1: HWND, arg2: *const c_char, arg3: HANDLE) -> c_schar>, pub RemoveProp: Option<unsafe extern "C" fn(arg1: HWND, arg2: *const c_char) -> HANDLE>, pub IsWindowVisible: Option<unsafe extern "C" fn(hwnd: HWND) -> bool>, pub IsWindow: Option<unsafe extern "C" fn(hwnd: HWND) -> bool>, pub SetTimer: Option<unsafe extern "C" fn(hwnd: HWND, timerid: usize, rate: UINT, tProc: Option<unsafe extern "C" fn(hwnd: HWND, uMsg: UINT, idEvent: usize, dwTime: c_uint)>) -> usize>, pub KillTimer: Option<unsafe extern "C" fn(hwnd: HWND, timerid: usize) -> c_schar>, pub ListView_SetExtendedListViewStyleEx: Option<unsafe extern "C" fn(h: HWND, mask: c_int, style: c_int)>, pub ListView_InsertColumn: Option<unsafe extern "C" fn(h: HWND, pos: c_int, lvc: *const LVCOLUMN)>, pub ListView_DeleteColumn: Option<unsafe extern "C" fn(h: HWND, pos: c_int) -> bool>, pub ListView_SetColumn: Option<unsafe extern "C" fn(h: HWND, pos: c_int, lvc: *const LVCOLUMN)>, pub ListView_GetColumnWidth: Option<unsafe extern "C" fn(h: HWND, pos: c_int) -> c_int>, pub ListView_InsertItem: Option<unsafe extern "C" fn(h: HWND, item: *const LVITEM) -> c_int>, pub ListView_SetItemText: Option<unsafe extern "C" fn(h: HWND, ipos: c_int, cpos: c_int, txt: *const c_char)>, pub ListView_SetItem: Option<unsafe extern "C" fn(h: HWND, item: *mut LVITEM) -> bool>, pub ListView_GetNextItem: Option<unsafe extern "C" fn(h: HWND, istart: c_int, flags: c_int) -> c_int>, pub ListView_GetItem: Option<unsafe extern "C" fn(h: HWND, item: *mut LVITEM) -> bool>, pub ListView_GetItemState: Option<unsafe extern "C" fn(h: HWND, ipos: c_int, mask: UINT) -> c_int>, pub ListView_DeleteItem: Option<unsafe extern "C" fn(h: HWND, ipos: c_int)>, pub ListView_DeleteAllItems: Option<unsafe extern "C" fn(h: HWND)>, pub ListView_GetSelectedCount: Option<unsafe extern "C" fn(h: HWND) -> c_int>, pub ListView_GetItemCount: Option<unsafe extern "C" fn(h: HWND) -> c_int>, pub ListView_GetSelectionMark: Option<unsafe extern "C" fn(h: HWND) -> c_int>, pub ListView_SetColumnWidth: Option<unsafe extern "C" fn(h: HWND, colpos: c_int, wid: c_int)>, pub ListView_SetItemState: Option<unsafe extern "C" fn(h: HWND, item: c_int, state: UINT, statemask: UINT) -> bool>, pub ListView_RedrawItems: Option<unsafe extern "C" fn(h: HWND, startitem: c_int, enditem: c_int)>, pub ListView_SetItemCount: Option<unsafe extern "C" fn(h: HWND, cnt: c_int)>, pub ListView_EnsureVisible: Option<unsafe extern "C" fn(h: HWND, i: c_int, pok: c_schar)>, pub ListView_SetImageList: Option<unsafe extern "C" fn(h: HWND, imagelist: *mut HIMAGELIST__, which: c_int)>, pub ListView_SubItemHitTest: Option<unsafe extern "C" fn(h: HWND, pinf: *mut LVHITTESTINFO) -> c_int>, pub ListView_GetItemText: Option<unsafe extern "C" fn(hwnd: HWND, item: c_int, subitem: c_int, text: *mut c_char, textmax: c_int)>, pub ListView_SortItems: Option<unsafe extern "C" fn(hwnd: HWND, compf: Option<unsafe extern "C" fn(arg1: LPARAM, arg2: LPARAM, arg3: LPARAM) -> c_int>, parm: LPARAM)>, pub ListView_Scroll: Option<unsafe extern "C" fn(h: HWND, xscroll: c_int, yscroll: c_int) -> bool>, pub ListView_GetTopIndex: Option<unsafe extern "C" fn(h: HWND) -> c_int>, pub ListView_GetCountPerPage: Option<unsafe extern "C" fn(h: HWND) -> c_int>, pub ListView_SetColumnOrderArray: Option<unsafe extern "C" fn(h: HWND, cnt: c_int, arr: *mut c_int) -> c_schar>, pub ListView_GetColumnOrderArray: Option<unsafe extern "C" fn(h: HWND, cnt: c_int, arr: *mut c_int) -> c_schar>, pub ListView_GetHeader: Option<unsafe extern "C" fn(h: HWND) -> HWND>, pub Header_GetItemCount: Option<unsafe extern "C" fn(h: HWND) -> c_int>, pub Header_GetItem: Option<unsafe extern "C" fn(h: HWND, col: c_int, hi: *mut HDITEM) -> c_schar>, pub Header_SetItem: Option<unsafe extern "C" fn(h: HWND, col: c_int, hi: *mut HDITEM) -> c_schar>, pub ListView_GetItemRect: Option<unsafe extern "C" fn(h: HWND, item: c_int, r: *mut RECT, code: c_int) -> bool>, pub ListView_GetSubItemRect: Option<unsafe extern "C" fn(h: HWND, item: c_int, subitem: c_int, code: c_int, r: *mut RECT) -> bool>, pub ListView_HitTest: Option<unsafe extern "C" fn(h: HWND, pinf: *mut LVHITTESTINFO) -> c_int>, pub SWELL_GetListViewHeaderHeight: Option<unsafe extern "C" fn(h: HWND) -> c_int>, pub ImageList_CreateEx: Option<extern "C" fn() -> *mut HIMAGELIST__>, pub ImageList_Remove: Option<unsafe extern "C" fn(list: *mut HIMAGELIST__, idx: c_int) -> c_schar>, pub ImageList_ReplaceIcon: Option<unsafe extern "C" fn(list: *mut HIMAGELIST__, offset: c_int, image: *mut HGDIOBJ__) -> c_int>, pub ImageList_Add: Option<unsafe extern "C" fn(list: *mut HIMAGELIST__, image: *mut HGDIOBJ__, mask: *mut HGDIOBJ__) -> c_int>, pub ImageList_Destroy: Option<unsafe extern "C" fn(arg1: *mut HIMAGELIST__)>, pub TabCtrl_GetItemCount: Option<unsafe extern "C" fn(hwnd: HWND) -> c_int>, pub TabCtrl_DeleteItem: Option<unsafe extern "C" fn(hwnd: HWND, idx: c_int) -> c_schar>, pub TabCtrl_InsertItem: Option<unsafe extern "C" fn(hwnd: HWND, idx: c_int, item: *mut TCITEM) -> c_int>, pub TabCtrl_SetCurSel: Option<unsafe extern "C" fn(hwnd: HWND, idx: c_int) -> c_int>, pub TabCtrl_GetCurSel: Option<unsafe extern "C" fn(hwnd: HWND) -> c_int>, pub TabCtrl_AdjustRect: Option<unsafe extern "C" fn(hwnd: HWND, fLarger: c_schar, r: *mut RECT) -> c_schar>, pub TreeView_InsertItem: Option<unsafe extern "C" fn(hwnd: HWND, ins: *mut TVINSERTSTRUCT) -> *mut HTREEITEM__>, pub TreeView_Expand: Option<unsafe extern "C" fn(hwnd: HWND, item: *mut HTREEITEM__, flag: UINT) -> c_schar>, pub TreeView_GetSelection: Option<unsafe extern "C" fn(hwnd: HWND) -> *mut HTREEITEM__>, pub TreeView_DeleteItem: Option<unsafe extern "C" fn(hwnd: HWND, item: *mut HTREEITEM__)>, pub TreeView_DeleteAllItems: Option<unsafe extern "C" fn(hwnd: HWND)>, pub TreeView_SelectItem: Option<unsafe extern "C" fn(hwnd: HWND, item: *mut HTREEITEM__)>, pub TreeView_EnsureVisible: Option<unsafe extern "C" fn(hwnd: HWND, item: *mut HTREEITEM__)>, pub TreeView_GetItem: Option<unsafe extern "C" fn(hwnd: HWND, pitem: *mut TVITEM) -> c_schar>, pub TreeView_SetItem: Option<unsafe extern "C" fn(hwnd: HWND, pitem: *mut TVITEM) -> c_schar>, pub TreeView_HitTest: Option<unsafe extern "C" fn(hwnd: HWND, hti: *mut TVHITTESTINFO) -> *mut HTREEITEM__>, pub TreeView_SetIndent: Option<unsafe extern "C" fn(hwnd: HWND, indent: c_int) -> c_schar>, pub TreeView_GetParent: Option<unsafe extern "C" fn(hwnd: HWND, item: *mut HTREEITEM__) -> *mut HTREEITEM__>, pub TreeView_GetChild: Option<unsafe extern "C" fn(hwnd: HWND, item: *mut HTREEITEM__) -> *mut HTREEITEM__>, pub TreeView_GetNextSibling: Option<unsafe extern "C" fn(hwnd: HWND, item: *mut HTREEITEM__) -> *mut HTREEITEM__>, pub TreeView_GetRoot: Option<unsafe extern "C" fn(hwnd: HWND) -> *mut HTREEITEM__>, pub TreeView_SetBkColor: Option<unsafe extern "C" fn(hwnd: HWND, color: c_int)>, pub TreeView_SetTextColor: Option<unsafe extern "C" fn(hwnd: HWND, color: c_int)>, pub ListView_SetBkColor: Option<unsafe extern "C" fn(hwnd: HWND, color: c_int)>, pub ListView_SetTextBkColor: Option<unsafe extern "C" fn(hwnd: HWND, color: c_int)>, pub ListView_SetTextColor: Option<unsafe extern "C" fn(hwnd: HWND, color: c_int)>, pub ListView_SetGridColor: Option<unsafe extern "C" fn(hwnd: HWND, color: c_int)>, pub ListView_SetSelColors: Option<unsafe extern "C" fn(hwnd: HWND, colors: *mut c_int, ncolors: c_int)>, pub SWELL_ModalWindowStart: Option<unsafe extern "C" fn(hwnd: HWND) -> *mut c_void>, pub SWELL_ModalWindowRun: Option<unsafe extern "C" fn(ctx: *mut c_void, ret: *mut c_int) -> bool>, pub SWELL_ModalWindowEnd: Option<unsafe extern "C" fn(ctx: *mut c_void)>, pub SWELL_CloseWindow: Option<unsafe extern "C" fn(hwnd: HWND)>, pub CreatePopupMenu: Option<extern "C" fn() -> HMENU>, pub CreatePopupMenuEx: Option<unsafe extern "C" fn(title: *const c_char) -> HMENU>, pub DestroyMenu: Option<unsafe extern "C" fn(hMenu: HMENU)>, pub AddMenuItem: Option<unsafe extern "C" fn(hMenu: HMENU, pos: c_int, name: *const c_char, tagid: c_int) -> c_int>, pub GetSubMenu: Option<unsafe extern "C" fn(hMenu: HMENU, pos: c_int) -> HMENU>, pub GetMenuItemCount: Option<unsafe extern "C" fn(hMenu: HMENU) -> c_int>, pub GetMenuItemID: Option<unsafe extern "C" fn(hMenu: HMENU, pos: c_int) -> c_int>, pub SetMenuItemModifier: Option<unsafe extern "C" fn(hMenu: HMENU, idx: c_int, flag: c_int, code: c_int, mask: c_uint) -> bool>, pub SetMenuItemText: Option<unsafe extern "C" fn(hMenu: HMENU, idx: c_int, flag: c_int, text: *const c_char) -> bool>, pub EnableMenuItem: Option<unsafe extern "C" fn(hMenu: HMENU, idx: c_int, en: c_int) -> bool>, pub DeleteMenu: Option<unsafe extern "C" fn(hMenu: HMENU, idx: c_int, flag: c_int) -> bool>, pub CheckMenuItem: Option<unsafe extern "C" fn(hMenu: HMENU, idx: c_int, chk: c_int) -> bool>, pub InsertMenuItem: Option<unsafe extern "C" fn(hMenu: HMENU, pos: c_int, byPos: c_schar, mi: *mut MENUITEMINFO)>, pub SWELL_InsertMenu: Option<unsafe extern "C" fn(menu: HMENU, pos: c_int, flag: c_uint, idx: usize, str: *const c_char)>, pub GetMenuItemInfo: Option<unsafe extern "C" fn(hMenu: HMENU, pos: c_int, byPos: c_schar, mi: *mut MENUITEMINFO) -> c_schar>, pub SetMenuItemInfo: Option<unsafe extern "C" fn(hMenu: HMENU, pos: c_int, byPos: c_schar, mi: *mut MENUITEMINFO) -> c_schar>, pub DrawMenuBar: Option<unsafe extern "C" fn(arg1: HWND)>, pub SWELL_LoadMenu: Option<unsafe extern "C" fn(head: *mut SWELL_MenuResourceIndex, resid: *const c_char) -> HMENU>, pub TrackPopupMenu: Option<unsafe extern "C" fn(hMenu: HMENU, flags: c_int, xpos: c_int, ypos: c_int, resvd: c_int, hwnd: HWND, r: *const RECT) -> c_int>, pub SWELL_SetMenuDestination: Option<unsafe extern "C" fn(menu: HMENU, hwnd: HWND)>, pub SWELL_DuplicateMenu: Option<unsafe extern "C" fn(menu: HMENU) -> HMENU>, pub SetMenu: Option<unsafe extern "C" fn(hwnd: HWND, menu: HMENU) -> c_schar>, pub GetMenu: Option<unsafe extern "C" fn(hwnd: HWND) -> HMENU>, pub SWELL_GetDefaultWindowMenu: Option<extern "C" fn() -> HMENU>, pub SWELL_SetDefaultWindowMenu: Option<unsafe extern "C" fn(arg1: HMENU)>, pub SWELL_GetDefaultModalWindowMenu: Option<extern "C" fn() -> HMENU>, pub SWELL_SetDefaultModalWindowMenu: Option<unsafe extern "C" fn(arg1: HMENU)>, pub SWELL_GetCurrentMenu: Option<extern "C" fn() -> HMENU>, pub SWELL_SetCurrentMenu: Option<unsafe extern "C" fn(arg1: HMENU)>, pub SWELL_DialogBox: Option<unsafe extern "C" fn(reshead: *mut SWELL_DialogResourceIndex, resid: *const c_char, parent: HWND, dlgproc: Option<unsafe extern "C" fn(arg1: HWND, arg2: UINT, arg3: WPARAM, arg4: LPARAM) -> INT_PTR>, param: LPARAM) -> c_int>, pub SWELL_CreateDialog: Option<unsafe extern "C" fn(reshead: *mut SWELL_DialogResourceIndex, resid: *const c_char, parent: HWND, dlgproc: Option<unsafe extern "C" fn(arg1: HWND, arg2: UINT, arg3: WPARAM, arg4: LPARAM) -> INT_PTR>, param: LPARAM) -> HWND>, pub SWELL_RegisterCustomControlCreator: Option<unsafe extern "C" fn(proc_: Option<unsafe extern "C" fn(parent: HWND, cname: *const c_char, idx: c_int, classname: *const c_char, style: c_int, x: c_int, y: c_int, w: c_int, h: c_int) -> HWND>)>, pub SWELL_UnregisterCustomControlCreator: Option<unsafe extern "C" fn(proc_: Option<unsafe extern "C" fn(parent: HWND, cname: *const c_char, idx: c_int, classname: *const c_char, style: c_int, x: c_int, y: c_int, w: c_int, h: c_int) -> HWND>)>, pub DefWindowProc: Option<unsafe extern "C" fn(hwnd: HWND, msg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT>, pub EndDialog: Option<unsafe extern "C" fn(arg1: HWND, arg2: c_int)>, pub SWELL_GetDefaultButtonID: Option<unsafe extern "C" fn(hwndDlg: HWND, onlyIfEnabled: bool) -> c_int>, pub SendMessage: Option<unsafe extern "C" fn(arg1: HWND, arg2: UINT, arg3: WPARAM, arg4: LPARAM) -> LRESULT>, pub SWELL_BroadcastMessage: Option<unsafe extern "C" fn(arg1: UINT, arg2: WPARAM, arg3: LPARAM)>, pub PostMessage: Option<unsafe extern "C" fn(hwnd: HWND, msg: UINT, wParam: WPARAM, lParam: LPARAM) -> c_schar>, pub SWELL_MessageQueue_Flush: Option<extern "C" fn()>, pub SWELL_MessageQueue_Clear: Option<unsafe extern "C" fn(h: HWND)>, pub SWELL_KeyToASCII: Option<unsafe extern "C" fn(wParam: c_int, lParam: c_int, newflags: *mut c_int) -> c_int>, pub GetAsyncKeyState: Option<extern "C" fn(key: c_int) -> c_ushort>, pub GetCursorPos: Option<unsafe extern "C" fn(pt: *mut POINT)>, pub GetMessagePos: Option<extern "C" fn() -> c_uint>, pub SWELL_LoadCursor: Option<unsafe extern "C" fn(idx: *const c_char) -> *mut HCURSOR__>, pub SWELL_SetCursor: Option<unsafe extern "C" fn(curs: *mut HCURSOR__)>, pub SWELL_EnableRightClickEmulate: Option<unsafe extern "C" fn(enable: c_schar)>, pub SWELL_GetCursor: Option<extern "C" fn() -> *mut HCURSOR__>, pub SWELL_GetLastSetCursor: Option<extern "C" fn() -> *mut HCURSOR__>, pub SWELL_IsCursorVisible: Option<extern "C" fn() -> bool>, pub SWELL_ShowCursor: Option<unsafe extern "C" fn(bShow: c_schar) -> c_int>, pub SWELL_SetCursorPos: Option<extern "C" fn(X: c_int, Y: c_int) -> c_schar>, pub SWELL_GetViewPort: Option<unsafe extern "C" fn(r: *mut RECT, sourcerect: *const RECT, wantWork: bool)>, pub OpenClipboard: Option<unsafe extern "C" fn(hwndDlg: HWND) -> bool>, pub CloseClipboard: Option<extern "C" fn()>, pub GetClipboardData: Option<unsafe extern "C" fn(type_: UINT) -> HANDLE>, pub EmptyClipboard: Option<extern "C" fn()>, pub SetClipboardData: Option<unsafe extern "C" fn(type_: UINT, h: HANDLE)>, pub RegisterClipboardFormat: Option<unsafe extern "C" fn(desc: *const c_char) -> UINT>, pub EnumClipboardFormats: Option<unsafe extern "C" fn(lastfmt: UINT) -> UINT>, pub GlobalAlloc: Option<extern "C" fn(flags: c_int, sz: c_int) -> HANDLE>, pub GlobalLock: Option<unsafe extern "C" fn(h: HANDLE) -> *mut c_void>, pub GlobalSize: Option<unsafe extern "C" fn(h: HANDLE) -> c_int>, pub GlobalUnlock: Option<unsafe extern "C" fn(h: HANDLE)>, pub GlobalFree: Option<unsafe extern "C" fn(h: HANDLE)>, pub CreateThread: Option<unsafe extern "C" fn(TA: *mut c_void, stackSize: c_uint, ThreadProc: Option<unsafe extern "C" fn(arg1: *mut c_void) -> c_uint>, parm: *mut c_void, cf: c_uint, tidOut: *mut c_uint) -> HANDLE>, pub CreateEvent: Option<unsafe extern "C" fn(SA: *mut c_void, manualReset: c_schar, initialSig: c_schar, ignored: *const c_char) -> HANDLE>, pub CreateEventAsSocket: Option<unsafe extern "C" fn(SA: *mut c_void, manualReset: c_schar, initialSig: c_schar, ignored: *const c_char) -> HANDLE>, pub GetCurrentThreadId: Option<extern "C" fn() -> c_uint>, pub WaitForSingleObject: Option<unsafe extern "C" fn(hand: HANDLE, msTO: c_uint) -> c_uint>, pub WaitForAnySocketObject: Option<unsafe extern "C" fn(numObjs: c_int, objs: *mut HANDLE, msTO: c_uint) -> c_uint>, pub CloseHandle: Option<unsafe extern "C" fn(hand: HANDLE) -> c_schar>, pub SetThreadPriority: Option<unsafe extern "C" fn(evt: HANDLE, prio: c_int) -> c_schar>, pub SetEvent: Option<unsafe extern "C" fn(evt: HANDLE) -> c_schar>, pub ResetEvent: Option<unsafe extern "C" fn(evt: HANDLE) -> c_schar>, pub SWELL_CreateProcessFromPID: Option<extern "C" fn(pid: c_int) -> HANDLE>, pub SWELL_CreateProcess: Option<unsafe extern "C" fn(exe: *const c_char, nparams: c_int, params: *mut *const c_char) -> HANDLE>, pub SWELL_GetProcessExitCode: Option<unsafe extern "C" fn(hand: HANDLE) -> c_int>, pub LoadLibraryGlobals: Option<unsafe extern "C" fn(fileName: *const c_char, symbolsAsGlobals: bool) -> HINSTANCE>, pub LoadLibrary: Option<unsafe extern "C" fn(fileName: *const c_char) -> HINSTANCE>, pub GetProcAddress: Option<unsafe extern "C" fn(hInst: HINSTANCE, procName: *const c_char) -> *mut c_void>, pub FreeLibrary: Option<unsafe extern "C" fn(hInst: HINSTANCE) -> c_schar>, pub SWELL_GetBundle: Option<unsafe extern "C" fn(hInst: HINSTANCE) -> *mut c_void>, pub SWELL_CreateMemContext: Option<unsafe extern "C" fn(hdc: HDC, w: c_int, h: c_int) -> HDC>, pub SWELL_DeleteGfxContext: Option<unsafe extern "C" fn(arg1: HDC)>, pub SWELL_GetCtxGC: Option<unsafe extern "C" fn(ctx: HDC) -> *mut c_void>, pub SWELL_GetCtxFrameBuffer: Option<unsafe extern "C" fn(ctx: HDC) -> *mut c_void>, pub SWELL_PushClipRegion: Option<unsafe extern "C" fn(ctx: HDC)>, pub SWELL_SetClipRegion: Option<unsafe extern "C" fn(ctx: HDC, r: *const RECT)>, pub SWELL_PopClipRegion: Option<unsafe extern "C" fn(ctx: HDC)>, pub CreateFontIndirect: Option<unsafe extern "C" fn(arg1: *mut LOGFONT) -> *mut HGDIOBJ__>, pub CreateFont: Option<unsafe extern "C" fn(lfHeight: c_int, lfWidth: c_int, lfEscapement: c_int, lfOrientation: c_int, lfWeight: c_int, lfItalic: c_char, lfUnderline: c_char, lfStrikeOut: c_char, lfCharSet: c_char, lfOutPrecision: c_char, lfClipPrecision: c_char, lfQuality: c_char, lfPitchAndFamily: c_char, lfFaceName: *const c_char) -> *mut HGDIOBJ__>, pub CreatePen: Option<extern "C" fn(attr: c_int, wid: c_int, col: c_int) -> *mut HGDIOBJ__>, pub CreateSolidBrush: Option<extern "C" fn(col: c_int) -> HBRUSH>, pub CreatePenAlpha: Option<extern "C" fn(attr: c_int, wid: c_int, col: c_int, alpha: f32) -> *mut HGDIOBJ__>, pub CreateSolidBrushAlpha: Option<extern "C" fn(col: c_int, alpha: f32) -> HBRUSH>, pub SelectObject: Option<unsafe extern "C" fn(ctx: HDC, pen: *mut HGDIOBJ__) -> *mut HGDIOBJ__>, pub GetStockObject: Option<extern "C" fn(wh: c_int) -> *mut HGDIOBJ__>, pub DeleteObject: Option<unsafe extern "C" fn(arg1: *mut HGDIOBJ__)>, pub SWELL_FillRect: Option<unsafe extern "C" fn(ctx: HDC, r: *const RECT, br: HBRUSH)>, pub Rectangle: Option<unsafe extern "C" fn(ctx: HDC, l: c_int, t: c_int, r: c_int, b: c_int)>, pub Ellipse: Option<unsafe extern "C" fn(ctx: HDC, l: c_int, t: c_int, r: c_int, b: c_int)>, pub SWELL_Polygon: Option<unsafe extern "C" fn(ctx: HDC, pts: *mut POINT, npts: c_int)>, pub MoveToEx: Option<unsafe extern "C" fn(ctx: HDC, x: c_int, y: c_int, op: *mut POINT)>, pub SWELL_LineTo: Option<unsafe extern "C" fn(ctx: HDC, x: c_int, y: c_int)>, pub SWELL_SetPixel: Option<unsafe extern "C" fn(ctx: HDC, x: c_int, y: c_int, c: c_int)>, pub PolyBezierTo: Option<unsafe extern "C" fn(ctx: HDC, pts: *mut POINT, np: c_int)>, pub SWELL_DrawText: Option<unsafe extern "C" fn(ctx: HDC, buf: *const c_char, len: c_int, r: *mut RECT, align: c_int) -> c_int>, pub SetTextColor: Option<unsafe extern "C" fn(ctx: HDC, col: c_int)>, pub GetTextColor: Option<unsafe extern "C" fn(ctx: HDC) -> c_int>, pub SetBkColor: Option<unsafe extern "C" fn(ctx: HDC, col: c_int)>, pub SetBkMode: Option<unsafe extern "C" fn(ctx: HDC, col: c_int)>, pub GetGlyphIndicesW: Option<unsafe extern "C" fn(ctx: HDC, buf: *mut u32, len: c_int, indices: *mut c_ushort, flags: c_int) -> c_int>, pub RoundRect: Option<unsafe extern "C" fn(ctx: HDC, x: c_int, y: c_int, x2: c_int, y2: c_int, xrnd: c_int, yrnd: c_int)>, pub PolyPolyline: Option<unsafe extern "C" fn(ctx: HDC, pts: *mut POINT, cnts: *mut c_uint, nseg: c_int)>, pub GetTextMetrics: Option<unsafe extern "C" fn(ctx: HDC, tm: *mut TEXTMETRIC) -> c_schar>, pub GetTextFace: Option<unsafe extern "C" fn(ctx: HDC, nCount: c_int, lpFaceName: *mut c_char) -> c_int>, pub GetObject: Option<unsafe extern "C" fn(icon: *mut HGDIOBJ__, bmsz: c_int, _bm: *mut c_void) -> c_schar>, pub CreateIconIndirect: Option<unsafe extern "C" fn(iconinfo: *mut _ICONINFO) -> *mut HGDIOBJ__>, pub LoadNamedImage: Option<unsafe extern "C" fn(name: *const c_char, alphaFromMask: bool) -> *mut HGDIOBJ__>, pub DrawImageInRect: Option<unsafe extern "C" fn(ctx: HDC, img: *mut HGDIOBJ__, r: *const RECT)>, pub BitBlt: Option<unsafe extern "C" fn(hdcOut: HDC, x: c_int, y: c_int, w: c_int, h: c_int, hdcIn: HDC, xin: c_int, yin: c_int, mode: c_int)>, pub StretchBlt: Option<unsafe extern "C" fn(hdcOut: HDC, x: c_int, y: c_int, w: c_int, h: c_int, hdcIn: HDC, xin: c_int, yin: c_int, srcw: c_int, srch: c_int, mode: c_int)>, pub StretchBltFromMem: Option<unsafe extern "C" fn(hdcOut: HDC, x: c_int, y: c_int, w: c_int, h: c_int, bits: *const c_void, srcw: c_int, srch: c_int, srcspan: c_int)>, pub SWELL_GetScaling256: Option<extern "C" fn() -> c_int>, pub SWELL_ExtendedAPI: Option<unsafe extern "C" fn(key: *const c_char, v: *mut c_void) -> *mut c_void>, pub GetSysColor: Option<extern "C" fn(idx: c_int) -> c_int>, pub CreateBitmap: Option<unsafe extern "C" fn(width: c_int, height: c_int, numplanes: c_int, bitsperpixel: c_int, bits: *mut c_uchar) -> *mut HGDIOBJ__>, pub SetOpaque: Option<unsafe extern "C" fn(h: HWND, isopaque: bool)>, pub SetAllowNoMiddleManRendering: Option<unsafe extern "C" fn(h: HWND, allow: bool)>, pub SWELL_SetViewGL: Option<unsafe extern "C" fn(h: HWND, wantGL: c_char)>, pub SWELL_GetViewGL: Option<unsafe extern "C" fn(h: HWND) -> bool>, pub SWELL_SetGLContextToView: Option<unsafe extern "C" fn(h: HWND) -> bool>, pub BeginPaint: Option<unsafe extern "C" fn(arg1: HWND, arg2: *mut PAINTSTRUCT) -> HDC>, pub EndPaint: Option<unsafe extern "C" fn(arg1: HWND, arg2: *mut PAINTSTRUCT) -> c_schar>, pub GetDC: Option<unsafe extern "C" fn(arg1: HWND) -> HDC>, pub GetWindowDC: Option<unsafe extern "C" fn(arg1: HWND) -> HDC>, pub ReleaseDC: Option<unsafe extern "C" fn(arg1: HWND, arg2: HDC)>, pub SWELL_FillDialogBackground: Option<unsafe extern "C" fn(hdc: HDC, r: *const RECT, level: c_int)>, pub SWELL_CloneGDIObject: Option<unsafe extern "C" fn(a: *mut HGDIOBJ__) -> *mut HGDIOBJ__>, pub GetSystemMetrics: Option<extern "C" fn(arg1: c_int) -> c_int>, pub DragQueryPoint: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut POINT) -> c_schar>, pub DragFinish: Option<unsafe extern "C" fn(arg1: *mut c_void)>, pub DragQueryFile: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: UINT, arg3: *mut c_char, arg4: UINT) -> UINT>, pub SWELL_InitiateDragDrop: Option<unsafe extern "C" fn(arg1: HWND, srcrect: *mut RECT, srcfn: *const c_char, callback: Option<unsafe extern "C" fn(droppath: *const c_char)>)>, pub SWELL_InitiateDragDropOfFileList: Option<unsafe extern "C" fn(arg1: HWND, srcrect: *mut RECT, srclist: *mut *const c_char, srccount: c_int, icon: *mut HGDIOBJ__)>, pub SWELL_FinishDragDrop: Option<extern "C" fn()>, pub SWELL_DrawFocusRect: Option<unsafe extern "C" fn(hwndPar: HWND, rct: *mut RECT, handle: *mut *mut c_void)>, pub SWELL_MakeSetCurParms: Option<unsafe extern "C" fn(xscale: f32, yscale: f32, xtrans: f32, ytrans: f32, parent: HWND, doauto: bool, dosizetofit: bool)>, pub SWELL_MakeButton: Option<unsafe extern "C" fn(def: c_int, label: *const c_char, idx: c_int, x: c_int, y: c_int, w: c_int, h: c_int, flags: c_int) -> HWND>, pub SWELL_MakeEditField: Option<extern "C" fn(idx: c_int, x: c_int, y: c_int, w: c_int, h: c_int, flags: c_int) -> HWND>, pub SWELL_MakeLabel: Option<unsafe extern "C" fn(align: c_int, label: *const c_char, idx: c_int, x: c_int, y: c_int, w: c_int, h: c_int, flags: c_int) -> HWND>, pub SWELL_MakeControl: Option<unsafe extern "C" fn(cname: *const c_char, idx: c_int, classname: *const c_char, style: c_int, x: c_int, y: c_int, w: c_int, h: c_int, exstyle: c_int) -> HWND>, pub SWELL_MakeCombo: Option<extern "C" fn(idx: c_int, x: c_int, y: c_int, w: c_int, h: c_int, flags: c_int) -> HWND>, pub SWELL_MakeGroupBox: Option<unsafe extern "C" fn(name: *const c_char, idx: c_int, x: c_int, y: c_int, w: c_int, h: c_int, style: c_int) -> HWND>, pub SWELL_MakeCheckBox: Option<unsafe extern "C" fn(name: *const c_char, idx: c_int, x: c_int, y: c_int, w: c_int, h: c_int, flags: c_int) -> HWND>, pub SWELL_MakeListBox: Option<extern "C" fn(idx: c_int, x: c_int, y: c_int, w: c_int, h: c_int, styles: c_int) -> HWND>, pub SWELL_Menu_AddMenuItem: Option<unsafe extern "C" fn(hMenu: HMENU, name: *const c_char, idx: c_int, flags: c_uint)>, pub SWELL_GenerateMenuFromList: Option<unsafe extern "C" fn(hMenu: HMENU, list: *const c_void, listsz: c_int) -> c_int>, pub SWELL_GenerateDialogFromList: Option<unsafe extern "C" fn(list: *const c_void, listsz: c_int)>, pub _controlfp: Option<extern "C" fn(flag: c_uint, mask: c_uint) -> c_uint>, pub SWELL_Internal_PostMessage_Init: Option<extern "C" fn()>, pub SWELL_LoadCursorFromFile: Option<unsafe extern "C" fn(fn_: *const c_char) -> *mut HCURSOR__>, pub SWELL_SetWindowWantRaiseAmt: Option<unsafe extern "C" fn(h: HWND, amt: c_int)>, pub SWELL_GetWindowWantRaiseAmt: Option<unsafe extern "C" fn(arg1: HWND) -> c_int>, pub SWELL_SetListViewFastClickMask: Option<unsafe extern "C" fn(hList: HWND, mask: c_int)>, pub GetTempPath: Option<unsafe extern "C" fn(sz: c_int, buf: *mut c_char)>, pub SWELL_initargs: Option<unsafe extern "C" fn(argc: *mut c_int, argv: *mut *mut *mut c_char)>, pub SWELL_RunMessageLoop: Option<extern "C" fn()>, pub SWELL_CreateXBridgeWindow: Option<unsafe extern "C" fn(viewpar: HWND, wref: *mut *mut c_void, arg1: *const RECT) -> HWND>, pub SWELL_GetOSWindow: Option<unsafe extern "C" fn(hwnd: HWND, type_: *const c_char) -> *mut c_void>, pub SWELL_GetOSEvent: Option<unsafe extern "C" fn(type_: *const c_char) -> *mut c_void>, pub SWELL_GenerateGUID: Option<unsafe extern "C" fn(g: *mut c_void) -> bool>, pub EnumChildWindows: Option<unsafe extern "C" fn(hwnd: HWND, cwEnumFunc: Option<unsafe extern "C" fn(arg1: HWND, arg2: LPARAM) -> c_schar>, lParam: LPARAM) -> c_schar>, pub SWELL_IsGroupBox: Option<unsafe extern "C" fn(arg1: HWND) -> c_schar>, pub SWELL_IsButton: Option<unsafe extern "C" fn(arg1: HWND) -> c_schar>, pub SWELL_IsStaticText: Option<unsafe extern "C" fn(arg1: HWND) -> c_schar>, pub SWELL_GetDesiredControlSize: Option<unsafe extern "C" fn(hwnd: HWND, r: *mut RECT)>, pub AddFontResourceEx: Option<unsafe extern "C" fn(str: *const c_char, fl: c_uint, pdv: *mut c_void) -> c_int>, pub SWELL_Register_Cursor_Resource: Option<unsafe extern "C" fn(idx: *const c_char, name: *const c_char, hotspot_x: c_int, hotspot_y: c_int)>, pub SWELL_ChooseColor: Option<unsafe extern "C" fn(arg1: HWND, arg2: *mut c_uint, ncustom: c_int, custom: *mut c_uint) -> bool>, pub SWELL_ChooseFont: Option<unsafe extern "C" fn(arg1: HWND, arg2: *mut LOGFONT) -> bool>, pub IsWindowEnabled: Option<unsafe extern "C" fn(arg1: HWND) -> bool>, pub GetClassName: Option<unsafe extern "C" fn(arg1: HWND, arg2: *mut c_char, arg3: c_int) -> c_int>, pub SWELL_SetClassName: Option<unsafe extern "C" fn(arg1: HWND, arg2: *const c_char)>, pub SWELL_DisableContextMenu: Option<unsafe extern "C" fn(arg1: HWND, arg2: bool)>, pub EnumDisplayMonitors: Option<unsafe extern "C" fn(arg1: HDC, arg2: *mut RECT, arg3: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: HDC, arg3: *mut RECT, arg4: LPARAM) -> c_schar>, arg4: LPARAM) -> c_schar>, pub GetMonitorInfo: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut c_void) -> c_schar>, pub SWELL_osx_is_dark_mode: Option<extern "C" fn(mode: c_int) -> bool>, /* private fields */
}
Expand description

Container for the SWELL function pointers.

Fields

lstrcpyn: Option<unsafe extern "C" fn(dest: *mut c_char, src: *const c_char, l: c_int) -> *mut c_char>MulDiv: Option<extern "C" fn(arg1: c_int, arg2: c_int, arg3: c_int) -> c_int>Sleep: Option<extern "C" fn(ms: c_int)>GetTickCount: Option<extern "C" fn() -> c_uint>GetFileTime: Option<unsafe extern "C" fn(filedes: c_int, lpCreationTime: *mut FILETIME, lpLastAccessTime: *mut FILETIME, lpLastWriteTime: *mut FILETIME) -> c_schar>WritePrivateProfileString: Option<unsafe extern "C" fn(appname: *const c_char, keyname: *const c_char, val: *const c_char, fn_: *const c_char) -> c_schar>GetPrivateProfileString: Option<unsafe extern "C" fn(appname: *const c_char, keyname: *const c_char, def: *const c_char, ret: *mut c_char, retsize: c_int, fn_: *const c_char) -> c_uint>GetPrivateProfileInt: Option<unsafe extern "C" fn(appname: *const c_char, keyname: *const c_char, def: c_int, fn_: *const c_char) -> c_int>GetPrivateProfileStruct: Option<unsafe extern "C" fn(appname: *const c_char, keyname: *const c_char, buf: *mut c_void, bufsz: c_int, fn_: *const c_char) -> c_schar>WritePrivateProfileStruct: Option<unsafe extern "C" fn(appname: *const c_char, keyname: *const c_char, buf: *const c_void, bufsz: c_int, fn_: *const c_char) -> c_schar>WritePrivateProfileSection: Option<unsafe extern "C" fn(appname: *const c_char, strings: *const c_char, fn_: *const c_char) -> c_schar>GetPrivateProfileSection: Option<unsafe extern "C" fn(appname: *const c_char, strout: *mut c_char, strout_len: c_uint, fn_: *const c_char) -> c_uint>GetModuleFileName: Option<unsafe extern "C" fn(hInst: HINSTANCE, fn_: *mut c_char, nSize: c_uint) -> c_uint>SWELL_PtInRect: Option<unsafe extern "C" fn(r: *const RECT, p: POINT) -> c_schar>ShellExecute: Option<unsafe extern "C" fn(hwndDlg: HWND, action: *const c_char, content1: *const c_char, content2: *const c_char, content3: *const c_char, blah: c_int) -> c_schar>MessageBox: Option<unsafe extern "C" fn(hwndParent: HWND, text: *const c_char, caption: *const c_char, type_: c_int) -> c_int>BrowseForFiles: Option<unsafe extern "C" fn(text: *const c_char, initialdir: *const c_char, initialfile: *const c_char, allowmul: bool, extlist: *const c_char) -> *mut c_char>BrowseForSaveFile: Option<unsafe extern "C" fn(text: *const c_char, initialdir: *const c_char, initialfile: *const c_char, extlist: *const c_char, fn_: *mut c_char, fnsize: c_int) -> bool>BrowseForDirectory: Option<unsafe extern "C" fn(text: *const c_char, initialdir: *const c_char, fn_: *mut c_char, fnsize: c_int) -> bool>BrowseFile_SetTemplate: Option<unsafe extern "C" fn(dlgid: *const c_char, dlgProc: Option<unsafe extern "C" fn(arg1: HWND, arg2: UINT, arg3: WPARAM, arg4: LPARAM) -> INT_PTR>, reshead: *mut SWELL_DialogResourceIndex)>GetDlgItem: Option<unsafe extern "C" fn(arg1: HWND, arg2: c_int) -> HWND>ShowWindow: Option<unsafe extern "C" fn(arg1: HWND, arg2: c_int)>DestroyWindow: Option<unsafe extern "C" fn(hwnd: HWND)>SWELL_GetGestureInfo: Option<unsafe extern "C" fn(lParam: LPARAM, gi: *mut tagGESTUREINFO) -> c_schar>SWELL_HideApp: Option<extern "C" fn()>SetDlgItemText: Option<unsafe extern "C" fn(arg1: HWND, idx: c_int, text: *const c_char) -> c_schar>SetDlgItemInt: Option<unsafe extern "C" fn(arg1: HWND, idx: c_int, val: c_int, issigned: c_int) -> c_schar>GetDlgItemInt: Option<unsafe extern "C" fn(arg1: HWND, idx: c_int, translated: *mut c_schar, issigned: c_int) -> c_int>GetDlgItemText: Option<unsafe extern "C" fn(arg1: HWND, idx: c_int, text: *mut c_char, textlen: c_int) -> c_schar>GetWindowTextLength: Option<unsafe extern "C" fn(arg1: HWND) -> c_int>CheckDlgButton: Option<unsafe extern "C" fn(hwnd: HWND, idx: c_int, check: c_int)>IsDlgButtonChecked: Option<unsafe extern "C" fn(hwnd: HWND, idx: c_int) -> c_int>EnableWindow: Option<unsafe extern "C" fn(hwnd: HWND, enable: c_int)>SetFocus: Option<unsafe extern "C" fn(hwnd: HWND)>GetFocus: Option<extern "C" fn() -> HWND>SetForegroundWindow: Option<unsafe extern "C" fn(hwnd: HWND)>GetForegroundWindow: Option<extern "C" fn() -> HWND>SetCapture: Option<unsafe extern "C" fn(hwnd: HWND) -> HWND>GetCapture: Option<extern "C" fn() -> HWND>ReleaseCapture: Option<extern "C" fn()>IsChild: Option<unsafe extern "C" fn(hwndParent: HWND, hwndChild: HWND) -> c_int>GetParent: Option<unsafe extern "C" fn(hwnd: HWND) -> HWND>SetParent: Option<unsafe extern "C" fn(hwnd: HWND, newPar: HWND) -> HWND>GetWindow: Option<unsafe extern "C" fn(hwnd: HWND, what: c_int) -> HWND>EnumWindows: Option<unsafe extern "C" fn(proc_: Option<unsafe extern "C" fn(arg1: HWND, arg2: LPARAM) -> c_schar>, lp: LPARAM) -> c_schar>FindWindowEx: Option<unsafe extern "C" fn(par: HWND, lastw: HWND, classname: *const c_char, title: *const c_char) -> HWND>ClientToScreen: Option<unsafe extern "C" fn(hwnd: HWND, p: *mut POINT)>ScreenToClient: Option<unsafe extern "C" fn(hwnd: HWND, p: *mut POINT)>GetWindowRect: Option<unsafe extern "C" fn(hwnd: HWND, r: *mut RECT) -> bool>GetWindowContentViewRect: Option<unsafe extern "C" fn(hwnd: HWND, r: *mut RECT)>GetClientRect: Option<unsafe extern "C" fn(hwnd: HWND, r: *mut RECT)>WindowFromPoint: Option<unsafe extern "C" fn(p: POINT) -> HWND>WinOffsetRect: Option<unsafe extern "C" fn(lprc: *mut RECT, dx: c_int, dy: c_int) -> c_schar>WinSetRect: Option<unsafe extern "C" fn(lprc: *mut RECT, xLeft: c_int, yTop: c_int, xRight: c_int, yBottom: c_int) -> c_schar>WinUnionRect: Option<unsafe extern "C" fn(out: *mut RECT, in1: *const RECT, in2: *const RECT)>WinIntersectRect: Option<unsafe extern "C" fn(out: *mut RECT, in1: *const RECT, in2: *const RECT) -> c_int>SetWindowPos: Option<unsafe extern "C" fn(hwnd: HWND, unused: HWND, x: c_int, y: c_int, cx: c_int, cy: c_int, flags: c_int)>SWELL_SetWindowLevel: Option<unsafe extern "C" fn(hwnd: HWND, newlevel: c_int) -> c_int>InvalidateRect: Option<unsafe extern "C" fn(hwnd: HWND, r: *const RECT, eraseBk: c_int) -> c_schar>UpdateWindow: Option<unsafe extern "C" fn(hwnd: HWND)>GetWindowLong: Option<unsafe extern "C" fn(hwnd: HWND, idx: c_int) -> isize>SetWindowLong: Option<unsafe extern "C" fn(hwnd: HWND, idx: c_int, val: isize) -> isize>ScrollWindow: Option<unsafe extern "C" fn(hwnd: HWND, xamt: c_int, yamt: c_int, lpRect: *const RECT, lpClipRect: *const RECT) -> c_schar>EnumPropsEx: Option<unsafe extern "C" fn(arg1: HWND, arg2: Option<unsafe extern "C" fn(hwnd: HWND, lpszString: *const c_char, hData: HANDLE, lParam: LPARAM) -> c_schar>, arg3: LPARAM) -> c_int>GetProp: Option<unsafe extern "C" fn(arg1: HWND, arg2: *const c_char) -> HANDLE>SetProp: Option<unsafe extern "C" fn(arg1: HWND, arg2: *const c_char, arg3: HANDLE) -> c_schar>RemoveProp: Option<unsafe extern "C" fn(arg1: HWND, arg2: *const c_char) -> HANDLE>IsWindowVisible: Option<unsafe extern "C" fn(hwnd: HWND) -> bool>IsWindow: Option<unsafe extern "C" fn(hwnd: HWND) -> bool>SetTimer: Option<unsafe extern "C" fn(hwnd: HWND, timerid: usize, rate: UINT, tProc: Option<unsafe extern "C" fn(hwnd: HWND, uMsg: UINT, idEvent: usize, dwTime: c_uint)>) -> usize>KillTimer: Option<unsafe extern "C" fn(hwnd: HWND, timerid: usize) -> c_schar>ListView_SetExtendedListViewStyleEx: Option<unsafe extern "C" fn(h: HWND, mask: c_int, style: c_int)>ListView_InsertColumn: Option<unsafe extern "C" fn(h: HWND, pos: c_int, lvc: *const LVCOLUMN)>ListView_DeleteColumn: Option<unsafe extern "C" fn(h: HWND, pos: c_int) -> bool>ListView_SetColumn: Option<unsafe extern "C" fn(h: HWND, pos: c_int, lvc: *const LVCOLUMN)>ListView_GetColumnWidth: Option<unsafe extern "C" fn(h: HWND, pos: c_int) -> c_int>ListView_InsertItem: Option<unsafe extern "C" fn(h: HWND, item: *const LVITEM) -> c_int>ListView_SetItemText: Option<unsafe extern "C" fn(h: HWND, ipos: c_int, cpos: c_int, txt: *const c_char)>ListView_SetItem: Option<unsafe extern "C" fn(h: HWND, item: *mut LVITEM) -> bool>ListView_GetNextItem: Option<unsafe extern "C" fn(h: HWND, istart: c_int, flags: c_int) -> c_int>ListView_GetItem: Option<unsafe extern "C" fn(h: HWND, item: *mut LVITEM) -> bool>ListView_GetItemState: Option<unsafe extern "C" fn(h: HWND, ipos: c_int, mask: UINT) -> c_int>ListView_DeleteItem: Option<unsafe extern "C" fn(h: HWND, ipos: c_int)>ListView_DeleteAllItems: Option<unsafe extern "C" fn(h: HWND)>ListView_GetSelectedCount: Option<unsafe extern "C" fn(h: HWND) -> c_int>ListView_GetItemCount: Option<unsafe extern "C" fn(h: HWND) -> c_int>ListView_GetSelectionMark: Option<unsafe extern "C" fn(h: HWND) -> c_int>ListView_SetColumnWidth: Option<unsafe extern "C" fn(h: HWND, colpos: c_int, wid: c_int)>ListView_SetItemState: Option<unsafe extern "C" fn(h: HWND, item: c_int, state: UINT, statemask: UINT) -> bool>ListView_RedrawItems: Option<unsafe extern "C" fn(h: HWND, startitem: c_int, enditem: c_int)>ListView_SetItemCount: Option<unsafe extern "C" fn(h: HWND, cnt: c_int)>ListView_EnsureVisible: Option<unsafe extern "C" fn(h: HWND, i: c_int, pok: c_schar)>ListView_SetImageList: Option<unsafe extern "C" fn(h: HWND, imagelist: *mut HIMAGELIST__, which: c_int)>ListView_SubItemHitTest: Option<unsafe extern "C" fn(h: HWND, pinf: *mut LVHITTESTINFO) -> c_int>ListView_GetItemText: Option<unsafe extern "C" fn(hwnd: HWND, item: c_int, subitem: c_int, text: *mut c_char, textmax: c_int)>ListView_SortItems: Option<unsafe extern "C" fn(hwnd: HWND, compf: Option<unsafe extern "C" fn(arg1: LPARAM, arg2: LPARAM, arg3: LPARAM) -> c_int>, parm: LPARAM)>ListView_Scroll: Option<unsafe extern "C" fn(h: HWND, xscroll: c_int, yscroll: c_int) -> bool>ListView_GetTopIndex: Option<unsafe extern "C" fn(h: HWND) -> c_int>ListView_GetCountPerPage: Option<unsafe extern "C" fn(h: HWND) -> c_int>ListView_SetColumnOrderArray: Option<unsafe extern "C" fn(h: HWND, cnt: c_int, arr: *mut c_int) -> c_schar>ListView_GetColumnOrderArray: Option<unsafe extern "C" fn(h: HWND, cnt: c_int, arr: *mut c_int) -> c_schar>ListView_GetHeader: Option<unsafe extern "C" fn(h: HWND) -> HWND>Header_GetItemCount: Option<unsafe extern "C" fn(h: HWND) -> c_int>Header_GetItem: Option<unsafe extern "C" fn(h: HWND, col: c_int, hi: *mut HDITEM) -> c_schar>Header_SetItem: Option<unsafe extern "C" fn(h: HWND, col: c_int, hi: *mut HDITEM) -> c_schar>ListView_GetItemRect: Option<unsafe extern "C" fn(h: HWND, item: c_int, r: *mut RECT, code: c_int) -> bool>ListView_GetSubItemRect: Option<unsafe extern "C" fn(h: HWND, item: c_int, subitem: c_int, code: c_int, r: *mut RECT) -> bool>ListView_HitTest: Option<unsafe extern "C" fn(h: HWND, pinf: *mut LVHITTESTINFO) -> c_int>SWELL_GetListViewHeaderHeight: Option<unsafe extern "C" fn(h: HWND) -> c_int>ImageList_CreateEx: Option<extern "C" fn() -> *mut HIMAGELIST__>ImageList_Remove: Option<unsafe extern "C" fn(list: *mut HIMAGELIST__, idx: c_int) -> c_schar>ImageList_ReplaceIcon: Option<unsafe extern "C" fn(list: *mut HIMAGELIST__, offset: c_int, image: *mut HGDIOBJ__) -> c_int>ImageList_Add: Option<unsafe extern "C" fn(list: *mut HIMAGELIST__, image: *mut HGDIOBJ__, mask: *mut HGDIOBJ__) -> c_int>ImageList_Destroy: Option<unsafe extern "C" fn(arg1: *mut HIMAGELIST__)>TabCtrl_GetItemCount: Option<unsafe extern "C" fn(hwnd: HWND) -> c_int>TabCtrl_DeleteItem: Option<unsafe extern "C" fn(hwnd: HWND, idx: c_int) -> c_schar>TabCtrl_InsertItem: Option<unsafe extern "C" fn(hwnd: HWND, idx: c_int, item: *mut TCITEM) -> c_int>TabCtrl_SetCurSel: Option<unsafe extern "C" fn(hwnd: HWND, idx: c_int) -> c_int>TabCtrl_GetCurSel: Option<unsafe extern "C" fn(hwnd: HWND) -> c_int>TabCtrl_AdjustRect: Option<unsafe extern "C" fn(hwnd: HWND, fLarger: c_schar, r: *mut RECT) -> c_schar>TreeView_InsertItem: Option<unsafe extern "C" fn(hwnd: HWND, ins: *mut TVINSERTSTRUCT) -> *mut HTREEITEM__>TreeView_Expand: Option<unsafe extern "C" fn(hwnd: HWND, item: *mut HTREEITEM__, flag: UINT) -> c_schar>TreeView_GetSelection: Option<unsafe extern "C" fn(hwnd: HWND) -> *mut HTREEITEM__>TreeView_DeleteItem: Option<unsafe extern "C" fn(hwnd: HWND, item: *mut HTREEITEM__)>TreeView_DeleteAllItems: Option<unsafe extern "C" fn(hwnd: HWND)>TreeView_SelectItem: Option<unsafe extern "C" fn(hwnd: HWND, item: *mut HTREEITEM__)>TreeView_EnsureVisible: Option<unsafe extern "C" fn(hwnd: HWND, item: *mut HTREEITEM__)>TreeView_GetItem: Option<unsafe extern "C" fn(hwnd: HWND, pitem: *mut TVITEM) -> c_schar>TreeView_SetItem: Option<unsafe extern "C" fn(hwnd: HWND, pitem: *mut TVITEM) -> c_schar>TreeView_HitTest: Option<unsafe extern "C" fn(hwnd: HWND, hti: *mut TVHITTESTINFO) -> *mut HTREEITEM__>TreeView_SetIndent: Option<unsafe extern "C" fn(hwnd: HWND, indent: c_int) -> c_schar>TreeView_GetParent: Option<unsafe extern "C" fn(hwnd: HWND, item: *mut HTREEITEM__) -> *mut HTREEITEM__>TreeView_GetChild: Option<unsafe extern "C" fn(hwnd: HWND, item: *mut HTREEITEM__) -> *mut HTREEITEM__>TreeView_GetNextSibling: Option<unsafe extern "C" fn(hwnd: HWND, item: *mut HTREEITEM__) -> *mut HTREEITEM__>TreeView_GetRoot: Option<unsafe extern "C" fn(hwnd: HWND) -> *mut HTREEITEM__>TreeView_SetBkColor: Option<unsafe extern "C" fn(hwnd: HWND, color: c_int)>TreeView_SetTextColor: Option<unsafe extern "C" fn(hwnd: HWND, color: c_int)>ListView_SetBkColor: Option<unsafe extern "C" fn(hwnd: HWND, color: c_int)>ListView_SetTextBkColor: Option<unsafe extern "C" fn(hwnd: HWND, color: c_int)>ListView_SetTextColor: Option<unsafe extern "C" fn(hwnd: HWND, color: c_int)>ListView_SetGridColor: Option<unsafe extern "C" fn(hwnd: HWND, color: c_int)>ListView_SetSelColors: Option<unsafe extern "C" fn(hwnd: HWND, colors: *mut c_int, ncolors: c_int)>SWELL_ModalWindowStart: Option<unsafe extern "C" fn(hwnd: HWND) -> *mut c_void>SWELL_ModalWindowRun: Option<unsafe extern "C" fn(ctx: *mut c_void, ret: *mut c_int) -> bool>SWELL_ModalWindowEnd: Option<unsafe extern "C" fn(ctx: *mut c_void)>SWELL_CloseWindow: Option<unsafe extern "C" fn(hwnd: HWND)>CreatePopupMenu: Option<extern "C" fn() -> HMENU>CreatePopupMenuEx: Option<unsafe extern "C" fn(title: *const c_char) -> HMENU>DestroyMenu: Option<unsafe extern "C" fn(hMenu: HMENU)>AddMenuItem: Option<unsafe extern "C" fn(hMenu: HMENU, pos: c_int, name: *const c_char, tagid: c_int) -> c_int>GetSubMenu: Option<unsafe extern "C" fn(hMenu: HMENU, pos: c_int) -> HMENU>GetMenuItemCount: Option<unsafe extern "C" fn(hMenu: HMENU) -> c_int>GetMenuItemID: Option<unsafe extern "C" fn(hMenu: HMENU, pos: c_int) -> c_int>SetMenuItemModifier: Option<unsafe extern "C" fn(hMenu: HMENU, idx: c_int, flag: c_int, code: c_int, mask: c_uint) -> bool>SetMenuItemText: Option<unsafe extern "C" fn(hMenu: HMENU, idx: c_int, flag: c_int, text: *const c_char) -> bool>EnableMenuItem: Option<unsafe extern "C" fn(hMenu: HMENU, idx: c_int, en: c_int) -> bool>DeleteMenu: Option<unsafe extern "C" fn(hMenu: HMENU, idx: c_int, flag: c_int) -> bool>CheckMenuItem: Option<unsafe extern "C" fn(hMenu: HMENU, idx: c_int, chk: c_int) -> bool>InsertMenuItem: Option<unsafe extern "C" fn(hMenu: HMENU, pos: c_int, byPos: c_schar, mi: *mut MENUITEMINFO)>SWELL_InsertMenu: Option<unsafe extern "C" fn(menu: HMENU, pos: c_int, flag: c_uint, idx: usize, str: *const c_char)>GetMenuItemInfo: Option<unsafe extern "C" fn(hMenu: HMENU, pos: c_int, byPos: c_schar, mi: *mut MENUITEMINFO) -> c_schar>SetMenuItemInfo: Option<unsafe extern "C" fn(hMenu: HMENU, pos: c_int, byPos: c_schar, mi: *mut MENUITEMINFO) -> c_schar>DrawMenuBar: Option<unsafe extern "C" fn(arg1: HWND)>SWELL_LoadMenu: Option<unsafe extern "C" fn(head: *mut SWELL_MenuResourceIndex, resid: *const c_char) -> HMENU>TrackPopupMenu: Option<unsafe extern "C" fn(hMenu: HMENU, flags: c_int, xpos: c_int, ypos: c_int, resvd: c_int, hwnd: HWND, r: *const RECT) -> c_int>SWELL_SetMenuDestination: Option<unsafe extern "C" fn(menu: HMENU, hwnd: HWND)>SWELL_DuplicateMenu: Option<unsafe extern "C" fn(menu: HMENU) -> HMENU>SetMenu: Option<unsafe extern "C" fn(hwnd: HWND, menu: HMENU) -> c_schar>GetMenu: Option<unsafe extern "C" fn(hwnd: HWND) -> HMENU>SWELL_GetDefaultWindowMenu: Option<extern "C" fn() -> HMENU>SWELL_SetDefaultWindowMenu: Option<unsafe extern "C" fn(arg1: HMENU)>SWELL_GetDefaultModalWindowMenu: Option<extern "C" fn() -> HMENU>SWELL_SetDefaultModalWindowMenu: Option<unsafe extern "C" fn(arg1: HMENU)>SWELL_GetCurrentMenu: Option<extern "C" fn() -> HMENU>SWELL_SetCurrentMenu: Option<unsafe extern "C" fn(arg1: HMENU)>SWELL_DialogBox: Option<unsafe extern "C" fn(reshead: *mut SWELL_DialogResourceIndex, resid: *const c_char, parent: HWND, dlgproc: Option<unsafe extern "C" fn(arg1: HWND, arg2: UINT, arg3: WPARAM, arg4: LPARAM) -> INT_PTR>, param: LPARAM) -> c_int>SWELL_CreateDialog: Option<unsafe extern "C" fn(reshead: *mut SWELL_DialogResourceIndex, resid: *const c_char, parent: HWND, dlgproc: Option<unsafe extern "C" fn(arg1: HWND, arg2: UINT, arg3: WPARAM, arg4: LPARAM) -> INT_PTR>, param: LPARAM) -> HWND>SWELL_RegisterCustomControlCreator: Option<unsafe extern "C" fn(proc_: Option<unsafe extern "C" fn(parent: HWND, cname: *const c_char, idx: c_int, classname: *const c_char, style: c_int, x: c_int, y: c_int, w: c_int, h: c_int) -> HWND>)>SWELL_UnregisterCustomControlCreator: Option<unsafe extern "C" fn(proc_: Option<unsafe extern "C" fn(parent: HWND, cname: *const c_char, idx: c_int, classname: *const c_char, style: c_int, x: c_int, y: c_int, w: c_int, h: c_int) -> HWND>)>DefWindowProc: Option<unsafe extern "C" fn(hwnd: HWND, msg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT>EndDialog: Option<unsafe extern "C" fn(arg1: HWND, arg2: c_int)>SWELL_GetDefaultButtonID: Option<unsafe extern "C" fn(hwndDlg: HWND, onlyIfEnabled: bool) -> c_int>SendMessage: Option<unsafe extern "C" fn(arg1: HWND, arg2: UINT, arg3: WPARAM, arg4: LPARAM) -> LRESULT>SWELL_BroadcastMessage: Option<unsafe extern "C" fn(arg1: UINT, arg2: WPARAM, arg3: LPARAM)>PostMessage: Option<unsafe extern "C" fn(hwnd: HWND, msg: UINT, wParam: WPARAM, lParam: LPARAM) -> c_schar>SWELL_MessageQueue_Flush: Option<extern "C" fn()>SWELL_MessageQueue_Clear: Option<unsafe extern "C" fn(h: HWND)>SWELL_KeyToASCII: Option<unsafe extern "C" fn(wParam: c_int, lParam: c_int, newflags: *mut c_int) -> c_int>GetAsyncKeyState: Option<extern "C" fn(key: c_int) -> c_ushort>GetCursorPos: Option<unsafe extern "C" fn(pt: *mut POINT)>GetMessagePos: Option<extern "C" fn() -> c_uint>SWELL_LoadCursor: Option<unsafe extern "C" fn(idx: *const c_char) -> *mut HCURSOR__>SWELL_SetCursor: Option<unsafe extern "C" fn(curs: *mut HCURSOR__)>SWELL_EnableRightClickEmulate: Option<unsafe extern "C" fn(enable: c_schar)>SWELL_GetCursor: Option<extern "C" fn() -> *mut HCURSOR__>SWELL_GetLastSetCursor: Option<extern "C" fn() -> *mut HCURSOR__>SWELL_IsCursorVisible: Option<extern "C" fn() -> bool>SWELL_ShowCursor: Option<unsafe extern "C" fn(bShow: c_schar) -> c_int>SWELL_SetCursorPos: Option<extern "C" fn(X: c_int, Y: c_int) -> c_schar>SWELL_GetViewPort: Option<unsafe extern "C" fn(r: *mut RECT, sourcerect: *const RECT, wantWork: bool)>OpenClipboard: Option<unsafe extern "C" fn(hwndDlg: HWND) -> bool>CloseClipboard: Option<extern "C" fn()>GetClipboardData: Option<unsafe extern "C" fn(type_: UINT) -> HANDLE>EmptyClipboard: Option<extern "C" fn()>SetClipboardData: Option<unsafe extern "C" fn(type_: UINT, h: HANDLE)>RegisterClipboardFormat: Option<unsafe extern "C" fn(desc: *const c_char) -> UINT>EnumClipboardFormats: Option<unsafe extern "C" fn(lastfmt: UINT) -> UINT>GlobalAlloc: Option<extern "C" fn(flags: c_int, sz: c_int) -> HANDLE>GlobalLock: Option<unsafe extern "C" fn(h: HANDLE) -> *mut c_void>GlobalSize: Option<unsafe extern "C" fn(h: HANDLE) -> c_int>GlobalUnlock: Option<unsafe extern "C" fn(h: HANDLE)>GlobalFree: Option<unsafe extern "C" fn(h: HANDLE)>CreateThread: Option<unsafe extern "C" fn(TA: *mut c_void, stackSize: c_uint, ThreadProc: Option<unsafe extern "C" fn(arg1: *mut c_void) -> c_uint>, parm: *mut c_void, cf: c_uint, tidOut: *mut c_uint) -> HANDLE>CreateEvent: Option<unsafe extern "C" fn(SA: *mut c_void, manualReset: c_schar, initialSig: c_schar, ignored: *const c_char) -> HANDLE>CreateEventAsSocket: Option<unsafe extern "C" fn(SA: *mut c_void, manualReset: c_schar, initialSig: c_schar, ignored: *const c_char) -> HANDLE>GetCurrentThreadId: Option<extern "C" fn() -> c_uint>WaitForSingleObject: Option<unsafe extern "C" fn(hand: HANDLE, msTO: c_uint) -> c_uint>WaitForAnySocketObject: Option<unsafe extern "C" fn(numObjs: c_int, objs: *mut HANDLE, msTO: c_uint) -> c_uint>CloseHandle: Option<unsafe extern "C" fn(hand: HANDLE) -> c_schar>SetThreadPriority: Option<unsafe extern "C" fn(evt: HANDLE, prio: c_int) -> c_schar>SetEvent: Option<unsafe extern "C" fn(evt: HANDLE) -> c_schar>ResetEvent: Option<unsafe extern "C" fn(evt: HANDLE) -> c_schar>SWELL_CreateProcessFromPID: Option<extern "C" fn(pid: c_int) -> HANDLE>SWELL_CreateProcess: Option<unsafe extern "C" fn(exe: *const c_char, nparams: c_int, params: *mut *const c_char) -> HANDLE>SWELL_GetProcessExitCode: Option<unsafe extern "C" fn(hand: HANDLE) -> c_int>LoadLibraryGlobals: Option<unsafe extern "C" fn(fileName: *const c_char, symbolsAsGlobals: bool) -> HINSTANCE>LoadLibrary: Option<unsafe extern "C" fn(fileName: *const c_char) -> HINSTANCE>GetProcAddress: Option<unsafe extern "C" fn(hInst: HINSTANCE, procName: *const c_char) -> *mut c_void>FreeLibrary: Option<unsafe extern "C" fn(hInst: HINSTANCE) -> c_schar>SWELL_GetBundle: Option<unsafe extern "C" fn(hInst: HINSTANCE) -> *mut c_void>SWELL_CreateMemContext: Option<unsafe extern "C" fn(hdc: HDC, w: c_int, h: c_int) -> HDC>SWELL_DeleteGfxContext: Option<unsafe extern "C" fn(arg1: HDC)>SWELL_GetCtxGC: Option<unsafe extern "C" fn(ctx: HDC) -> *mut c_void>SWELL_GetCtxFrameBuffer: Option<unsafe extern "C" fn(ctx: HDC) -> *mut c_void>SWELL_PushClipRegion: Option<unsafe extern "C" fn(ctx: HDC)>SWELL_SetClipRegion: Option<unsafe extern "C" fn(ctx: HDC, r: *const RECT)>SWELL_PopClipRegion: Option<unsafe extern "C" fn(ctx: HDC)>CreateFontIndirect: Option<unsafe extern "C" fn(arg1: *mut LOGFONT) -> *mut HGDIOBJ__>CreateFont: Option<unsafe extern "C" fn(lfHeight: c_int, lfWidth: c_int, lfEscapement: c_int, lfOrientation: c_int, lfWeight: c_int, lfItalic: c_char, lfUnderline: c_char, lfStrikeOut: c_char, lfCharSet: c_char, lfOutPrecision: c_char, lfClipPrecision: c_char, lfQuality: c_char, lfPitchAndFamily: c_char, lfFaceName: *const c_char) -> *mut HGDIOBJ__>CreatePen: Option<extern "C" fn(attr: c_int, wid: c_int, col: c_int) -> *mut HGDIOBJ__>CreateSolidBrush: Option<extern "C" fn(col: c_int) -> HBRUSH>CreatePenAlpha: Option<extern "C" fn(attr: c_int, wid: c_int, col: c_int, alpha: f32) -> *mut HGDIOBJ__>CreateSolidBrushAlpha: Option<extern "C" fn(col: c_int, alpha: f32) -> HBRUSH>SelectObject: Option<unsafe extern "C" fn(ctx: HDC, pen: *mut HGDIOBJ__) -> *mut HGDIOBJ__>GetStockObject: Option<extern "C" fn(wh: c_int) -> *mut HGDIOBJ__>DeleteObject: Option<unsafe extern "C" fn(arg1: *mut HGDIOBJ__)>SWELL_FillRect: Option<unsafe extern "C" fn(ctx: HDC, r: *const RECT, br: HBRUSH)>Rectangle: Option<unsafe extern "C" fn(ctx: HDC, l: c_int, t: c_int, r: c_int, b: c_int)>Ellipse: Option<unsafe extern "C" fn(ctx: HDC, l: c_int, t: c_int, r: c_int, b: c_int)>SWELL_Polygon: Option<unsafe extern "C" fn(ctx: HDC, pts: *mut POINT, npts: c_int)>MoveToEx: Option<unsafe extern "C" fn(ctx: HDC, x: c_int, y: c_int, op: *mut POINT)>SWELL_LineTo: Option<unsafe extern "C" fn(ctx: HDC, x: c_int, y: c_int)>SWELL_SetPixel: Option<unsafe extern "C" fn(ctx: HDC, x: c_int, y: c_int, c: c_int)>PolyBezierTo: Option<unsafe extern "C" fn(ctx: HDC, pts: *mut POINT, np: c_int)>SWELL_DrawText: Option<unsafe extern "C" fn(ctx: HDC, buf: *const c_char, len: c_int, r: *mut RECT, align: c_int) -> c_int>SetTextColor: Option<unsafe extern "C" fn(ctx: HDC, col: c_int)>GetTextColor: Option<unsafe extern "C" fn(ctx: HDC) -> c_int>SetBkColor: Option<unsafe extern "C" fn(ctx: HDC, col: c_int)>SetBkMode: Option<unsafe extern "C" fn(ctx: HDC, col: c_int)>GetGlyphIndicesW: Option<unsafe extern "C" fn(ctx: HDC, buf: *mut u32, len: c_int, indices: *mut c_ushort, flags: c_int) -> c_int>RoundRect: Option<unsafe extern "C" fn(ctx: HDC, x: c_int, y: c_int, x2: c_int, y2: c_int, xrnd: c_int, yrnd: c_int)>PolyPolyline: Option<unsafe extern "C" fn(ctx: HDC, pts: *mut POINT, cnts: *mut c_uint, nseg: c_int)>GetTextMetrics: Option<unsafe extern "C" fn(ctx: HDC, tm: *mut TEXTMETRIC) -> c_schar>GetTextFace: Option<unsafe extern "C" fn(ctx: HDC, nCount: c_int, lpFaceName: *mut c_char) -> c_int>GetObject: Option<unsafe extern "C" fn(icon: *mut HGDIOBJ__, bmsz: c_int, _bm: *mut c_void) -> c_schar>CreateIconIndirect: Option<unsafe extern "C" fn(iconinfo: *mut _ICONINFO) -> *mut HGDIOBJ__>LoadNamedImage: Option<unsafe extern "C" fn(name: *const c_char, alphaFromMask: bool) -> *mut HGDIOBJ__>DrawImageInRect: Option<unsafe extern "C" fn(ctx: HDC, img: *mut HGDIOBJ__, r: *const RECT)>BitBlt: Option<unsafe extern "C" fn(hdcOut: HDC, x: c_int, y: c_int, w: c_int, h: c_int, hdcIn: HDC, xin: c_int, yin: c_int, mode: c_int)>StretchBlt: Option<unsafe extern "C" fn(hdcOut: HDC, x: c_int, y: c_int, w: c_int, h: c_int, hdcIn: HDC, xin: c_int, yin: c_int, srcw: c_int, srch: c_int, mode: c_int)>StretchBltFromMem: Option<unsafe extern "C" fn(hdcOut: HDC, x: c_int, y: c_int, w: c_int, h: c_int, bits: *const c_void, srcw: c_int, srch: c_int, srcspan: c_int)>SWELL_GetScaling256: Option<extern "C" fn() -> c_int>SWELL_ExtendedAPI: Option<unsafe extern "C" fn(key: *const c_char, v: *mut c_void) -> *mut c_void>GetSysColor: Option<extern "C" fn(idx: c_int) -> c_int>CreateBitmap: Option<unsafe extern "C" fn(width: c_int, height: c_int, numplanes: c_int, bitsperpixel: c_int, bits: *mut c_uchar) -> *mut HGDIOBJ__>SetOpaque: Option<unsafe extern "C" fn(h: HWND, isopaque: bool)>SetAllowNoMiddleManRendering: Option<unsafe extern "C" fn(h: HWND, allow: bool)>SWELL_SetViewGL: Option<unsafe extern "C" fn(h: HWND, wantGL: c_char)>SWELL_GetViewGL: Option<unsafe extern "C" fn(h: HWND) -> bool>SWELL_SetGLContextToView: Option<unsafe extern "C" fn(h: HWND) -> bool>BeginPaint: Option<unsafe extern "C" fn(arg1: HWND, arg2: *mut PAINTSTRUCT) -> HDC>EndPaint: Option<unsafe extern "C" fn(arg1: HWND, arg2: *mut PAINTSTRUCT) -> c_schar>GetDC: Option<unsafe extern "C" fn(arg1: HWND) -> HDC>GetWindowDC: Option<unsafe extern "C" fn(arg1: HWND) -> HDC>ReleaseDC: Option<unsafe extern "C" fn(arg1: HWND, arg2: HDC)>SWELL_FillDialogBackground: Option<unsafe extern "C" fn(hdc: HDC, r: *const RECT, level: c_int)>SWELL_CloneGDIObject: Option<unsafe extern "C" fn(a: *mut HGDIOBJ__) -> *mut HGDIOBJ__>GetSystemMetrics: Option<extern "C" fn(arg1: c_int) -> c_int>DragQueryPoint: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut POINT) -> c_schar>DragFinish: Option<unsafe extern "C" fn(arg1: *mut c_void)>DragQueryFile: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: UINT, arg3: *mut c_char, arg4: UINT) -> UINT>SWELL_InitiateDragDrop: Option<unsafe extern "C" fn(arg1: HWND, srcrect: *mut RECT, srcfn: *const c_char, callback: Option<unsafe extern "C" fn(droppath: *const c_char)>)>SWELL_InitiateDragDropOfFileList: Option<unsafe extern "C" fn(arg1: HWND, srcrect: *mut RECT, srclist: *mut *const c_char, srccount: c_int, icon: *mut HGDIOBJ__)>SWELL_FinishDragDrop: Option<extern "C" fn()>SWELL_DrawFocusRect: Option<unsafe extern "C" fn(hwndPar: HWND, rct: *mut RECT, handle: *mut *mut c_void)>SWELL_MakeSetCurParms: Option<unsafe extern "C" fn(xscale: f32, yscale: f32, xtrans: f32, ytrans: f32, parent: HWND, doauto: bool, dosizetofit: bool)>SWELL_MakeButton: Option<unsafe extern "C" fn(def: c_int, label: *const c_char, idx: c_int, x: c_int, y: c_int, w: c_int, h: c_int, flags: c_int) -> HWND>SWELL_MakeEditField: Option<extern "C" fn(idx: c_int, x: c_int, y: c_int, w: c_int, h: c_int, flags: c_int) -> HWND>SWELL_MakeLabel: Option<unsafe extern "C" fn(align: c_int, label: *const c_char, idx: c_int, x: c_int, y: c_int, w: c_int, h: c_int, flags: c_int) -> HWND>SWELL_MakeControl: Option<unsafe extern "C" fn(cname: *const c_char, idx: c_int, classname: *const c_char, style: c_int, x: c_int, y: c_int, w: c_int, h: c_int, exstyle: c_int) -> HWND>SWELL_MakeCombo: Option<extern "C" fn(idx: c_int, x: c_int, y: c_int, w: c_int, h: c_int, flags: c_int) -> HWND>SWELL_MakeGroupBox: Option<unsafe extern "C" fn(name: *const c_char, idx: c_int, x: c_int, y: c_int, w: c_int, h: c_int, style: c_int) -> HWND>SWELL_MakeCheckBox: Option<unsafe extern "C" fn(name: *const c_char, idx: c_int, x: c_int, y: c_int, w: c_int, h: c_int, flags: c_int) -> HWND>SWELL_MakeListBox: Option<extern "C" fn(idx: c_int, x: c_int, y: c_int, w: c_int, h: c_int, styles: c_int) -> HWND>SWELL_Menu_AddMenuItem: Option<unsafe extern "C" fn(hMenu: HMENU, name: *const c_char, idx: c_int, flags: c_uint)>SWELL_GenerateMenuFromList: Option<unsafe extern "C" fn(hMenu: HMENU, list: *const c_void, listsz: c_int) -> c_int>SWELL_GenerateDialogFromList: Option<unsafe extern "C" fn(list: *const c_void, listsz: c_int)>_controlfp: Option<extern "C" fn(flag: c_uint, mask: c_uint) -> c_uint>SWELL_Internal_PostMessage_Init: Option<extern "C" fn()>SWELL_LoadCursorFromFile: Option<unsafe extern "C" fn(fn_: *const c_char) -> *mut HCURSOR__>SWELL_SetWindowWantRaiseAmt: Option<unsafe extern "C" fn(h: HWND, amt: c_int)>SWELL_GetWindowWantRaiseAmt: Option<unsafe extern "C" fn(arg1: HWND) -> c_int>SWELL_SetListViewFastClickMask: Option<unsafe extern "C" fn(hList: HWND, mask: c_int)>GetTempPath: Option<unsafe extern "C" fn(sz: c_int, buf: *mut c_char)>SWELL_initargs: Option<unsafe extern "C" fn(argc: *mut c_int, argv: *mut *mut *mut c_char)>SWELL_RunMessageLoop: Option<extern "C" fn()>SWELL_CreateXBridgeWindow: Option<unsafe extern "C" fn(viewpar: HWND, wref: *mut *mut c_void, arg1: *const RECT) -> HWND>SWELL_GetOSWindow: Option<unsafe extern "C" fn(hwnd: HWND, type_: *const c_char) -> *mut c_void>SWELL_GetOSEvent: Option<unsafe extern "C" fn(type_: *const c_char) -> *mut c_void>SWELL_GenerateGUID: Option<unsafe extern "C" fn(g: *mut c_void) -> bool>EnumChildWindows: Option<unsafe extern "C" fn(hwnd: HWND, cwEnumFunc: Option<unsafe extern "C" fn(arg1: HWND, arg2: LPARAM) -> c_schar>, lParam: LPARAM) -> c_schar>SWELL_IsGroupBox: Option<unsafe extern "C" fn(arg1: HWND) -> c_schar>SWELL_IsButton: Option<unsafe extern "C" fn(arg1: HWND) -> c_schar>SWELL_IsStaticText: Option<unsafe extern "C" fn(arg1: HWND) -> c_schar>SWELL_GetDesiredControlSize: Option<unsafe extern "C" fn(hwnd: HWND, r: *mut RECT)>AddFontResourceEx: Option<unsafe extern "C" fn(str: *const c_char, fl: c_uint, pdv: *mut c_void) -> c_int>SWELL_Register_Cursor_Resource: Option<unsafe extern "C" fn(idx: *const c_char, name: *const c_char, hotspot_x: c_int, hotspot_y: c_int)>SWELL_ChooseColor: Option<unsafe extern "C" fn(arg1: HWND, arg2: *mut c_uint, ncustom: c_int, custom: *mut c_uint) -> bool>SWELL_ChooseFont: Option<unsafe extern "C" fn(arg1: HWND, arg2: *mut LOGFONT) -> bool>IsWindowEnabled: Option<unsafe extern "C" fn(arg1: HWND) -> bool>GetClassName: Option<unsafe extern "C" fn(arg1: HWND, arg2: *mut c_char, arg3: c_int) -> c_int>SWELL_SetClassName: Option<unsafe extern "C" fn(arg1: HWND, arg2: *const c_char)>SWELL_DisableContextMenu: Option<unsafe extern "C" fn(arg1: HWND, arg2: bool)>EnumDisplayMonitors: Option<unsafe extern "C" fn(arg1: HDC, arg2: *mut RECT, arg3: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: HDC, arg3: *mut RECT, arg4: LPARAM) -> c_schar>, arg4: LPARAM) -> c_schar>GetMonitorInfo: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut c_void) -> c_schar>SWELL_osx_is_dark_mode: Option<extern "C" fn(mode: c_int) -> bool>

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait. Read more
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read more
Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s. Read more
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s. Read more
Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.