/usr/i686-w64-mingw32/include/umx.h is in mingw-w64-i686-dev 2.0.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 | /**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _UMX_H_
#define _UMX_H_
#include <_mingw_unicode.h>
#define UME_MENU_TEXT_LEN 50
#define UME_VERSION 0
#define UMS_LISTBOX_USERS 0
#define UMS_LISTBOX_GROUPS 1
#define UM_GETSELCOUNT (WM_USER + 1000)
#define UM_GETUSERSELA (WM_USER + 1001)
#define UM_GETUSERSELW (WM_USER + 1002)
#define UM_GETGROUPSELA (WM_USER + 1003)
#define UM_GETGROUPSELW (WM_USER + 1004)
#define UM_GETCURFOCUSA (WM_USER + 1005)
#define UM_GETCURFOCUSW (WM_USER + 1006)
#define UM_GETOPTIONS (WM_USER + 1007)
#define UM_GETOPTIONS2 (WM_USER + 1008)
#define UM_GETUSERSEL __MINGW_NAME_AW(UM_GETUSERSEL)
#define UM_GETGROUPSEL __MINGW_NAME_AW(UM_GETGROUPSEL)
#define UM_GETCURFOCUS __MINGW_NAME_AW(UM_GETCURFOCUS)
typedef struct _UMS_LOADMENUA {
DWORD dwVersion;
CHAR szMenuName[UME_MENU_TEXT_LEN + 1];
HMENU hMenu;
CHAR szHelpFileName[MAX_PATH];
DWORD dwMenuDelta;
} UMS_LOADMENUA,*PUMS_LOADMENUA;
typedef struct _UMS_LOADMENUW {
DWORD dwVersion;
WCHAR szMenuName[UME_MENU_TEXT_LEN + 1];
HMENU hMenu;
WCHAR szHelpFileName[MAX_PATH];
DWORD dwMenuDelta;
} UMS_LOADMENUW,*PUMS_LOADMENUW;
#define UMS_LOADMENU __MINGW_NAME_AW(UMS_LOADMENU)
#define PUMS_LOADMENU __MINGW_NAME_AW(PUMS_LOADMENU)
#define UM_SELTYPE_USER 0x10
#define UM_SELTYPE_NORMALUSER 0x1 | UM_SELTYPE_USER
#define UM_SELTYPE_REMOTEUSER 0x2 | UM_SELTYPE_USER
#define UM_SELTYPE_GROUP 0x20
#define UM_SELTYPE_LOCALGROUP 0x4 | UM_SELTYPE_GROUP
#define UM_SELTYPE_GLOBALGROUP 0x8 | UM_SELTYPE_GROUP
typedef struct _UMS_GETSELA {
DWORD dwRID;
LPSTR pchName;
DWORD dwSelType;
LPSTR pchFullName;
LPSTR pchComment;
} UMS_GETSELA,*PUMS_GETSELA;
typedef struct _UMS_GETSELW {
DWORD dwRID;
LPWSTR pchName;
DWORD dwSelType;
LPWSTR pchFullName;
LPWSTR pchComment;
} UMS_GETSELW,*PUMS_GETSELW;
#define UMS_GETSEL __MINGW_NAME_AW(UMS_GETSEL)
#define PUMS_GETSEL __MINGW_NAME_AW(PUMS_GETSEL)
typedef struct _UMS_GETSELCOUNT {
DWORD dwItems;
} UMS_GETSELCOUNT,*PUMS_GETSELCOUNT;
#define UM_FOCUS_TYPE_DOMAIN 1
#define UM_FOCUS_TYPE_WINNT 2
#define UM_FOCUS_TYPE_LM 3
#define UM_FOCUS_TYPE_UNKNOWN 4
typedef struct _UMS_GETCURFOCUSA {
CHAR szFocus[MAX_PATH];
DWORD dwFocusType;
CHAR szFocusPDC[MAX_PATH];
PVOID psidFocus;
} UMS_GETCURFOCUSA,*PUMS_GETCURFOCUSA;
typedef struct _UMS_GETCURFOCUSW {
WCHAR szFocus[MAX_PATH];
DWORD dwFocusType;
WCHAR szFocusPDC[MAX_PATH];
PVOID psidFocus;
} UMS_GETCURFOCUSW,*PUMS_GETCURFOCUSW;
#define UMS_GETCURFOCUS __MINGW_NAME_AW(UMS_GETCURFOCUS)
#define PUMS_GETCURFOCUS __MINGW_NAME_AW(PUMS_GETCURFOCUS)
typedef struct _UMS_GETOPTIONS {
WINBOOL fSaveSettingsOnExit;
WINBOOL fConfirmation;
WINBOOL fSortByFullName;
} UMS_GETOPTIONS,*PUMS_GETOPTIONS;
typedef struct _UMS_GETOPTIONS2 {
WINBOOL fSaveSettingsOnExit;
WINBOOL fConfirmation;
WINBOOL fSortByFullName;
WINBOOL fMiniUserManager;
WINBOOL fLowSpeedConnection;
} UMS_GETOPTIONS2,*PUMS_GETOPTIONS2;
#define SZ_UME_UNLOADMENU "UMEUnloadMenu"
#define SZ_UME_INITIALIZEMENU "UMEInitializeMenu"
#define SZ_UME_REFRESH "UMERefresh"
#define SZ_UME_MENUACTION "UMEMenuAction"
#define SZ_UME_LOADMENUW "UMELoadMenuW"
#define SZ_UME_GETEXTENDEDERRORSTRINGW "UMEGetExtendedErrorStringW"
#define SZ_UME_CREATEW "UMECreateW"
#define SZ_UME_DELETEW "UMEDeleteW"
#define SZ_UME_RENAMEW "UMERenameW"
#define SZ_UME_LOADMENUA "UMELoadMenuA"
#define SZ_UME_GETEXTENDEDERRORSTRINGA "UMEGetExtendedErrorStringA"
#define SZ_UME_CREATEA "UMECreateA"
#define SZ_UME_DELETEA "UMEDeleteA"
#define SZ_UME_RENAMEA "UMERenameA"
#define SZ_UME_LOADMENU __MINGW_NAME_AW(SZ_UME_LOADMENU)
#define SZ_UME_GETEXTENDEDERRORSTRING __MINGW_NAME_AW(SZ_UME_GETEXTENDEDERRORSTRING)
#define SZ_UME_CREATE __MINGW_NAME_AW(SZ_UME_CREATE)
#define SZ_UME_DELETE __MINGW_NAME_AW(SZ_UME_DELETE)
#define SZ_UME_RENAME __MINGW_NAME_AW(SZ_UME_RENAME)
typedef DWORD (WINAPI *PUMX_LOADMENUW)(HWND hWnd,PUMS_LOADMENUW pumsload);
typedef DWORD (WINAPI *PUMX_LOADMENUA)(HWND hWnd,PUMS_LOADMENUA pumsload);
typedef LPWSTR (WINAPI *PUMX_GETEXTENDEDERRORSTRINGW)(VOID);
typedef LPSTR (WINAPI *PUMX_GETEXTENDEDERRORSTRINGA)(VOID);
typedef VOID (WINAPI *PUMX_UNLOADMENU)(VOID);
typedef VOID (WINAPI *PUMX_INITIALIZEMENU)(VOID);
typedef VOID (WINAPI *PUMX_REFRESH)(HWND hwndParent);
typedef VOID (WINAPI *PUMX_MENUACTION)(HWND hwndParent,DWORD dwEventId);
typedef VOID (WINAPI *PUMX_CREATEW)(HWND hwndParent,PUMS_GETSELW pumsSelection);
typedef VOID (WINAPI *PUMX_CREATEA)(HWND hwndParent,PUMS_GETSELA pumsSelection);
typedef VOID (WINAPI *PUMX_DELETEW)(HWND hwndParent,PUMS_GETSELW pumsSelection);
typedef VOID (WINAPI *PUMX_DELETEA)(HWND hwndParent,PUMS_GETSELA pumsSelection);
typedef VOID (WINAPI *PUMX_RENAMEW)(HWND hwndParent,PUMS_GETSELW pumsSelection,LPWSTR pchNewName);
typedef VOID (WINAPI *PUMX_RENAMEA)(HWND hwndParent,PUMS_GETSELA pumsSelection,LPSTR pchNewName);
#define PUMX_LOADMENU __MINGW_NAME_AW(PUMX_LOADMENU)
#define PUMX_GETEXTENDEDERRORSTRING __MINGW_NAME_AW(PUMX_GETEXTENDEDERRORSTRING)
#define PUMX_CREATE __MINGW_NAME_AW(PUMX_CREATE)
#define PUMX_DELETE __MINGW_NAME_AW(PUMX_DELETE)
#define PUMX_RENAME __MINGW_NAME_AW(PUMX_RENAME)
DWORD WINAPI UMELoadMenuA(HWND hwndMessage,PUMS_LOADMENUA pumsload);
DWORD WINAPI UMELoadMenuW(HWND hwndMessage,PUMS_LOADMENUW pumsload);
LPSTR WINAPI UMEGetExtendedErrorStringA(VOID);
LPWSTR WINAPI UMEGetExtendedErrorStringW(VOID);
VOID WINAPI UMEUnloadMenu(VOID);
VOID WINAPI UMEInitializeMenu(VOID);
VOID WINAPI UMERefresh(HWND hwndParent);
VOID WINAPI UMEMenuAction(HWND hwndParent,DWORD dwEventId);
VOID WINAPI UMECreateA(HWND hwndParent,PUMS_GETSELA pumsSelection);
VOID WINAPI UMECreateW(HWND hwndParent,PUMS_GETSELW pumsSelection);
VOID WINAPI UMEDeleteA(HWND hwndParent,PUMS_GETSELA pumsSelection);
VOID WINAPI UMEDeleteW(HWND hwndParent,PUMS_GETSELW pumsSelection);
VOID WINAPI UMERenameA(HWND hwndParent,PUMS_GETSELA pumsSelection,LPSTR pchNewName);
VOID WINAPI UMERenameW(HWND hwndParent,PUMS_GETSELW pumsSelection,LPWSTR pchNewName);
#endif
|