|
| #define | RFF_NOBROWSE 0x0001 |
| |
| #define | RFF_NODEFAULT 0x0002 |
| |
| #define | RFF_CALCDIRECTORY 0x0004 |
| |
| #define | RFF_NOLABEL 0x0008 |
| |
| #define | RFF_NOSEPARATEMEM 0x0020 |
| |
| #define | RFN_VALIDATE (-510) |
| |
| #define | RF_OK 0x0000 |
| |
| #define | RF_CANCEL 0x0001 |
| |
| #define | RF_RETRY 0x0002 |
| |
| #define | WM_REFLECT 0x2000 |
| |
| #define | REFLECT_MESSAGE(hwnd, msg, wParam, lParam) |
| |
| #define | REFLECT_MESSAGE_DLG(hwndDlg, hwnd, msg, wParam, lParam) |
| |
| #define | PH_DEFINE_MAKE_ATOM(AtomName) |
| |
| #define | PhaGetDlgItemText(hwndDlg, id) ((PPH_STRING)PhAutoDereferenceObject(PhGetWindowText(GetDlgItem(hwndDlg, id)))) |
| |
| #define | PH_GET_WINDOW_TEXT_INTERNAL 0x1 |
| |
| #define | PH_GET_WINDOW_TEXT_LENGTH_ONLY 0x2 |
| |
| #define | PH_ANCHOR_LEFT 0x1 |
| |
| #define | PH_ANCHOR_TOP 0x2 |
| |
| #define | PH_ANCHOR_RIGHT 0x4 |
| |
| #define | PH_ANCHOR_BOTTOM 0x8 |
| |
| #define | PH_ANCHOR_ALL 0xf |
| |
| #define | PH_LAYOUT_FORCE_INVALIDATE 0x1000 |
| |
| #define | PH_LAYOUT_TAB_CONTROL 0x2000 |
| |
| #define | PH_LAYOUT_IMMEDIATE_RESIZE 0x4000 |
| |
| #define | PH_LAYOUT_DUMMY_MASK (PH_LAYOUT_TAB_CONTROL) |
| |
| #define | PH_ALIGN_CENTER 0x0 |
| |
| #define | PH_ALIGN_LEFT 0x1 |
| |
| #define | PH_ALIGN_RIGHT 0x2 |
| |
| #define | PH_ALIGN_TOP 0x4 |
| |
| #define | PH_ALIGN_BOTTOM 0x8 |
| |
| #define | ELVM_ADDFALLBACKCOLUMN (WM_APP + 1106) |
| |
| #define | ELVM_ADDFALLBACKCOLUMNS (WM_APP + 1109) |
| |
| #define | ELVM_RESERVED5 (WM_APP + 1120) |
| |
| #define | ELVM_INIT (WM_APP + 1102) |
| |
| #define | ELVM_SETCOLUMNWIDTH (WM_APP + 1121) |
| |
| #define | ELVM_SETCOMPAREFUNCTION (WM_APP + 1104) |
| |
| #define | ELVM_SETCONTEXT (WM_APP + 1103) |
| |
| #define | ELVM_SETCURSOR (WM_APP + 1114) |
| |
| #define | ELVM_RESERVED4 (WM_APP + 1118) |
| |
| #define | ELVM_SETITEMCOLORFUNCTION (WM_APP + 1111) |
| |
| #define | ELVM_SETITEMFONTFUNCTION (WM_APP + 1117) |
| |
| #define | ELVM_RESERVED1 (WM_APP + 1112) |
| |
| #define | ELVM_SETREDRAW (WM_APP + 1116) |
| |
| #define | ELVM_RESERVED2 (WM_APP + 1113) |
| |
| #define | ELVM_SETSORT (WM_APP + 1108) |
| |
| #define | ELVM_SETSORTFAST (WM_APP + 1119) |
| |
| #define | ELVM_RESERVED0 (WM_APP + 1110) |
| |
| #define | ELVM_SETTRISTATE (WM_APP + 1107) |
| |
| #define | ELVM_SETTRISTATECOMPAREFUNCTION (WM_APP + 1105) |
| |
| #define | ELVM_SORTITEMS (WM_APP + 1101) |
| |
| #define | ELVM_RESERVED3 (WM_APP + 1115) |
| |
| #define | ExtendedListView_AddFallbackColumn(hWnd, Column) SendMessage((hWnd), ELVM_ADDFALLBACKCOLUMN, (WPARAM)(Column), 0) |
| |
| #define | ExtendedListView_AddFallbackColumns(hWnd, NumberOfColumns, Columns) SendMessage((hWnd), ELVM_ADDFALLBACKCOLUMNS, (WPARAM)(NumberOfColumns), (LPARAM)(Columns)) |
| |
| #define | ExtendedListView_Init(hWnd) SendMessage((hWnd), ELVM_INIT, 0, 0) |
| |
| #define | ExtendedListView_SetColumnWidth(hWnd, Column, Width) SendMessage((hWnd), ELVM_SETCOLUMNWIDTH, (WPARAM)(Column), (LPARAM)(Width)) |
| |
| #define | ExtendedListView_SetCompareFunction(hWnd, Column, CompareFunction) SendMessage((hWnd), ELVM_SETCOMPAREFUNCTION, (WPARAM)(Column), (LPARAM)(CompareFunction)) |
| |
| #define | ExtendedListView_SetContext(hWnd, Context) SendMessage((hWnd), ELVM_SETCONTEXT, 0, (LPARAM)(Context)) |
| |
| #define | ExtendedListView_SetCursor(hWnd, Cursor) SendMessage((hWnd), ELVM_SETCURSOR, 0, (LPARAM)(Cursor)) |
| |
| #define | ExtendedListView_SetItemColorFunction(hWnd, ItemColorFunction) SendMessage((hWnd), ELVM_SETITEMCOLORFUNCTION, 0, (LPARAM)(ItemColorFunction)) |
| |
| #define | ExtendedListView_SetItemFontFunction(hWnd, ItemFontFunction) SendMessage((hWnd), ELVM_SETITEMFONTFUNCTION, 0, (LPARAM)(ItemFontFunction)) |
| |
| #define | ExtendedListView_SetRedraw(hWnd, Redraw) SendMessage((hWnd), ELVM_SETREDRAW, (WPARAM)(Redraw), 0) |
| |
| #define | ExtendedListView_SetSort(hWnd, Column, Order) SendMessage((hWnd), ELVM_SETSORT, (WPARAM)(Column), (LPARAM)(Order)) |
| |
| #define | ExtendedListView_SetSortFast(hWnd, Fast) SendMessage((hWnd), ELVM_SETSORTFAST, (WPARAM)(Fast), 0) |
| |
| #define | ExtendedListView_SetTriState(hWnd, TriState) SendMessage((hWnd), ELVM_SETTRISTATE, (WPARAM)(TriState), 0) |
| |
| #define | ExtendedListView_SetTriStateCompareFunction(hWnd, CompareFunction) SendMessage((hWnd), ELVM_SETTRISTATECOMPAREFUNCTION, 0, (LPARAM)(CompareFunction)) |
| |
| #define | ExtendedListView_SortItems(hWnd) SendMessage((hWnd), ELVM_SORTITEMS, 0, 0) |
| |
| #define | ELVSCW_AUTOSIZE (-1) |
| |
| #define | ELVSCW_AUTOSIZE_USEHEADER (-2) |
| |
| #define | ELVSCW_AUTOSIZE_REMAININGSPACE (-3) |
| |
|
| typedef BOOL(WINAPI * | _ChangeWindowMessageFilter )(_In_ UINT message, _In_ DWORD dwFlag) |
| |
| typedef BOOL(WINAPI * | _IsImmersiveProcess )(_In_ HANDLE hProcess) |
| |
| typedef struct _NMRUNFILEDLGW | NMRUNFILEDLGW |
| |
| typedef struct _NMRUNFILEDLGW * | LPNMRUNFILEDLGW |
| |
| typedef struct _NMRUNFILEDLGW * | PNMRUNFILEDLGW |
| |
| typedef NMRUNFILEDLGW | NMRUNFILEDLG |
| |
| typedef PNMRUNFILEDLGW | PNMRUNFILEDLG |
| |
| typedef LPNMRUNFILEDLGW | LPNMRUNFILEDLG |
| |
| typedef HANDLE | HTHEME |
| |
| typedef BOOL(WINAPI * | _RunFileDlg )(_In_ HWND hwndOwner, _In_opt_ HICON hIcon, _In_opt_ LPCWSTR lpszDirectory, _In_opt_ LPCWSTR lpszTitle, _In_opt_ LPCWSTR lpszDescription, _In_ ULONG uFlags) |
| |
| typedef BOOL(WINAPI * | _IsThemeActive )(VOID) |
| |
| typedef HTHEME(WINAPI * | _OpenThemeData )(_In_ HWND hwnd, _In_ LPCWSTR pszClassList) |
| |
| typedef HRESULT(WINAPI * | _CloseThemeData )(_In_ HTHEME hTheme) |
| |
| typedef BOOL(WINAPI * | _IsThemePartDefined )(_In_ HTHEME hTheme, _In_ int iPartId, _In_ int iStateId) |
| |
| typedef HRESULT(WINAPI * | _DrawThemeBackground )(_In_ HTHEME hTheme, _In_ HDC hdc, _In_ int iPartId, _In_ int iStateId, _In_ const RECT *pRect, _In_ const RECT *pClipRect) |
| |
| typedef HRESULT(WINAPI * | _DrawThemeText )(_In_ HTHEME hTheme, _In_ HDC hdc, _In_ int iPartId, _In_ int iStateId, _In_reads_(cchText) LPCWSTR pszText, _In_ int cchText, _In_ DWORD dwTextFlags, _Reserved_ DWORD dwTextFlags2, _In_ LPCRECT pRect) |
| |
| typedef HRESULT(WINAPI * | _GetThemeInt )(_In_ HTHEME hTheme, _In_ int iPartId, _In_ int iStateId, _In_ int iPropId, _Out_ int *piVal) |
| |
| typedef HRESULT(WINAPI * | _SHAutoComplete )(_In_ HWND hwndEdit, _In_ DWORD dwFlags) |
| |
| typedef HRESULT(WINAPI * | _TaskDialogIndirect )(_In_ const TASKDIALOGCONFIG *pTaskConfig, _In_ int *pnButton, _In_ int *pnRadioButton, _In_ BOOL *pfVerificationFlagChecked) |
| |
| typedef struct _DLGTEMPLATEEX | DLGTEMPLATEEX |
| |
| typedef struct _DLGTEMPLATEEX * | PDLGTEMPLATEEX |
| |
| typedef struct _PH_LAYOUT_ITEM | PH_LAYOUT_ITEM |
| |
| typedef struct _PH_LAYOUT_ITEM * | PPH_LAYOUT_ITEM |
| |
| typedef struct _PH_LAYOUT_MANAGER | PH_LAYOUT_MANAGER |
| |
| typedef struct _PH_LAYOUT_MANAGER * | PPH_LAYOUT_MANAGER |
| |
| typedef enum _PH_ITEM_STATE | PH_ITEM_STATE |
| |
| typedef COLORREF(NTAPI * | PPH_EXTLV_GET_ITEM_COLOR )(_In_ INT Index, _In_ PVOID Param, _In_opt_ PVOID Context) |
| |
| typedef HFONT(NTAPI * | PPH_EXTLV_GET_ITEM_FONT )(_In_ INT Index, _In_ PVOID Param, _In_opt_ PVOID Context) |
| |
|
| VOID | PhGuiSupportInitialization (VOID) |
| |
| PHLIBAPI VOID | PhSetControlTheme (_In_ HWND Handle, _In_ PWSTR Theme) |
| |
| FORCEINLINE VOID | PhSetWindowStyle (_In_ HWND Handle, _In_ LONG_PTR Mask, _In_ LONG_PTR Value) |
| |
| FORCEINLINE VOID | PhSetWindowExStyle (_In_ HWND Handle, _In_ LONG_PTR Mask, _In_ LONG_PTR Value) |
| |
| FORCEINLINE LRESULT | PhReflectMessage (_In_ HWND Handle, _In_ UINT Message, _In_ WPARAM wParam, _In_ LPARAM lParam) |
| |
| FORCEINLINE VOID | PhSetListViewStyle (_In_ HWND Handle, _In_ BOOLEAN AllowDragDrop, _In_ BOOLEAN ShowLabelTips) |
| |
| PHLIBAPI INT | PhAddListViewColumn (_In_ HWND ListViewHandle, _In_ INT Index, _In_ INT DisplayIndex, _In_ INT SubItemIndex, _In_ INT Format, _In_ INT Width, _In_ PWSTR Text) |
| |
| PHLIBAPI INT | PhAddListViewItem (_In_ HWND ListViewHandle, _In_ INT Index, _In_ PWSTR Text, _In_opt_ PVOID Param) |
| |
| PHLIBAPI INT | PhFindListViewItemByFlags (_In_ HWND ListViewHandle, _In_ INT StartIndex, _In_ ULONG Flags) |
| |
| PHLIBAPI INT | PhFindListViewItemByParam (_In_ HWND ListViewHandle, _In_ INT StartIndex, _In_opt_ PVOID Param) |
| |
| PHLIBAPI LOGICAL | PhGetListViewItemImageIndex (_In_ HWND ListViewHandle, _In_ INT Index, _Out_ PINT ImageIndex) |
| |
| PHLIBAPI LOGICAL | PhGetListViewItemParam (_In_ HWND ListViewHandle, _In_ INT Index, _Out_ PVOID *Param) |
| |
| PHLIBAPI VOID | PhRemoveListViewItem (_In_ HWND ListViewHandle, _In_ INT Index) |
| |
| PHLIBAPI VOID | PhSetListViewItemImageIndex (_In_ HWND ListViewHandle, _In_ INT Index, _In_ INT ImageIndex) |
| |
| PHLIBAPI VOID | PhSetListViewSubItem (_In_ HWND ListViewHandle, _In_ INT Index, _In_ INT SubItemIndex, _In_ PWSTR Text) |
| |
| PHLIBAPI BOOLEAN | PhLoadListViewColumnSettings (_In_ HWND ListViewHandle, _In_ PPH_STRING Settings) |
| |
| PHLIBAPI PPH_STRING | PhSaveListViewColumnSettings (_In_ HWND ListViewHandle) |
| |
| PHLIBAPI INT | PhAddTabControlTab (_In_ HWND TabControlHandle, _In_ INT Index, _In_ PWSTR Text) |
| |
| PHLIBAPI PPH_STRING | PhGetWindowText (_In_ HWND hwnd) |
| |
| PHLIBAPI ULONG | PhGetWindowTextEx (_In_ HWND hwnd, _In_ ULONG Flags, _Out_opt_ PPH_STRING *Text) |
| |
| PHLIBAPI VOID | PhAddComboBoxStrings (_In_ HWND hWnd, _In_ PWSTR *Strings, _In_ ULONG NumberOfStrings) |
| |
| PHLIBAPI PPH_STRING | PhGetComboBoxString (_In_ HWND hwnd, _In_ INT Index) |
| |
| PHLIBAPI INT | PhSelectComboBoxString (_In_ HWND hwnd, _In_ PWSTR String, _In_ BOOLEAN Partial) |
| |
| PHLIBAPI PPH_STRING | PhGetListBoxString (_In_ HWND hwnd, _In_ INT Index) |
| |
| PHLIBAPI VOID | PhSetStateAllListViewItems (_In_ HWND hWnd, _In_ ULONG State, _In_ ULONG Mask) |
| |
| PHLIBAPI PVOID | PhGetSelectedListViewItemParam (_In_ HWND hWnd) |
| |
| PHLIBAPI VOID | PhGetSelectedListViewItemParams (_In_ HWND hWnd, _Out_ PVOID **Items, _Out_ PULONG NumberOfItems) |
| |
| PHLIBAPI VOID | PhSetImageListBitmap (_In_ HIMAGELIST ImageList, _In_ INT Index, _In_ HINSTANCE InstanceHandle, _In_ LPCWSTR BitmapName) |
| |
| PHLIBAPI VOID | PhGetStockApplicationIcon (_Out_opt_ HICON *SmallIcon, _Out_opt_ HICON *LargeIcon) |
| | Gets the default icon used for executable files.
|
| |
| PHLIBAPI HICON | PhGetFileShellIcon (_In_opt_ PWSTR FileName, _In_opt_ PWSTR DefaultExtension, _In_ BOOLEAN LargeIcon) |
| |
| PHLIBAPI VOID | PhSetClipboardString (_In_ HWND hWnd, _In_ PPH_STRINGREF String) |
| |
| HWND | PhCreateDialogFromTemplate (_In_ HWND Parent, _In_ ULONG Style, _In_ PVOID Instance, _In_ PWSTR Template, _In_ DLGPROC DialogProc, _In_ PVOID Parameter) |
| |
| PHLIBAPI VOID | PhInitializeLayoutManager (_Out_ PPH_LAYOUT_MANAGER Manager, _In_ HWND RootWindowHandle) |
| |
| PHLIBAPI VOID | PhDeleteLayoutManager (_Inout_ PPH_LAYOUT_MANAGER Manager) |
| |
| PHLIBAPI PPH_LAYOUT_ITEM | PhAddLayoutItem (_Inout_ PPH_LAYOUT_MANAGER Manager, _In_ HWND Handle, _In_opt_ PPH_LAYOUT_ITEM ParentItem, _In_ ULONG Anchor) |
| |
| PHLIBAPI PPH_LAYOUT_ITEM | PhAddLayoutItemEx (_Inout_ PPH_LAYOUT_MANAGER Manager, _In_ HWND Handle, _In_opt_ PPH_LAYOUT_ITEM ParentItem, _In_ ULONG Anchor, _In_ RECT Margin) |
| |
| PHLIBAPI VOID | PhLayoutManagerLayout (_Inout_ PPH_LAYOUT_MANAGER Manager) |
| |
| FORCEINLINE VOID | PhResizingMinimumSize (_Inout_ PRECT Rect, _In_ WPARAM Edge, _In_ LONG MinimumWidth, _In_ LONG MinimumHeight) |
| |
| FORCEINLINE VOID | PhCopyControlRectangle (_In_ HWND ParentWindowHandle, _In_ HWND FromControlHandle, _In_ HWND ToControlHandle) |
| |
| PHLIBAPI HBITMAP NTAPI | PhIconToBitmap (_In_ HICON Icon, _In_ ULONG Width, _In_ ULONG Height) |
| |
| PHLIBAPI VOID NTAPI | PhSetExtendedListView (_In_ HWND hWnd) |
| | Enables extended list view support for a list view control.
|
| |
| PHLIBAPI VOID NTAPI | PhSetHeaderSortIcon (_In_ HWND hwnd, _In_ INT Index, _In_ PH_SORT_ORDER Order) |
| | Visually indicates the sort order of a header control item.
|
| |
| FORCEINLINE ULONG | PhGetColorBrightness (_In_ COLORREF Color) |
| | Gets the brightness of a color.
|
| |
| FORCEINLINE COLORREF | PhHalveColorBrightness (_In_ COLORREF Color) |
| |
| FORCEINLINE COLORREF | PhMakeColorBrighter (_In_ COLORREF Color, _In_ UCHAR Increment) |
| |