Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygencdlg.h
Go to the documentation of this file.
00001 /* 00002 * Common Dialog Boxes interface (32 bit) 00003 * 00004 * Copyright 1998 Bertho A. Stultiens 00005 * 00006 * This library is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Lesser General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2.1 of the License, or (at your option) any later version. 00010 * 00011 * This library is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Lesser General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public 00017 * License along with this library; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 00019 */ 00020 00021 #ifndef _WINE_DLL_CDLG_H 00022 #define _WINE_DLL_CDLG_H 00023 00024 #include "dlgs.h" 00025 00026 /* Common dialogs implementation globals */ 00027 #define COMDLG32_Atom ((ATOM)0xa000) /* MS uses this one to identify props */ 00028 00029 extern HINSTANCE COMDLG32_hInstance DECLSPEC_HIDDEN; 00030 00031 void COMDLG32_SetCommDlgExtendedError(DWORD err) DECLSPEC_HIDDEN; 00032 LPVOID COMDLG32_AllocMem(int size) __WINE_ALLOC_SIZE(1) DECLSPEC_HIDDEN; 00033 00034 /* handle<-handle16 conversion */ 00035 #define HINSTANCE_32(h16) ((HINSTANCE)(ULONG_PTR)(h16)) 00036 00037 /* Find/Replace local definitions */ 00038 00039 #define FR_WINE_UNICODE 0x80000000 00040 #define FR_WINE_REPLACE 0x40000000 00041 00042 typedef struct { 00043 FINDREPLACEA fr; /* Internally used structure */ 00044 union { 00045 FINDREPLACEA *fra; /* Reference to the user supplied structure */ 00046 FINDREPLACEW *frw; 00047 } user_fr; 00048 } COMDLG32_FR_Data; 00049 00050 #define PD32_PRINT_TITLE 7000 00051 00052 #define PD32_VALUE_UREADABLE 1104 00053 #define PD32_INVALID_PAGE_RANGE 1105 00054 #define PD32_FROM_NOT_ABOVE_TO 1106 00055 #define PD32_MARGINS_OVERLAP 1107 00056 #define PD32_NR_OF_COPIES_EMPTY 1108 00057 #define PD32_TOO_LARGE_COPIES 1109 00058 #define PD32_PRINT_ERROR 1110 00059 #define PD32_NO_DEFAULT_PRINTER 1111 00060 #define PD32_CANT_FIND_PRINTER 1112 00061 #define PD32_OUT_OF_MEMORY 1113 00062 #define PD32_GENERIC_ERROR 1114 00063 #define PD32_DRIVER_UNKNOWN 1115 00064 #define PD32_NO_DEVICES 1121 00065 00066 #define PD32_PRINTER_STATUS_READY 1536 00067 #define PD32_PRINTER_STATUS_PAUSED 1537 00068 #define PD32_PRINTER_STATUS_ERROR 1538 00069 #define PD32_PRINTER_STATUS_PENDING_DELETION 1539 00070 #define PD32_PRINTER_STATUS_PAPER_JAM 1540 00071 #define PD32_PRINTER_STATUS_PAPER_OUT 1541 00072 #define PD32_PRINTER_STATUS_MANUAL_FEED 1542 00073 #define PD32_PRINTER_STATUS_PAPER_PROBLEM 1543 00074 #define PD32_PRINTER_STATUS_OFFLINE 1544 00075 #define PD32_PRINTER_STATUS_IO_ACTIVE 1545 00076 #define PD32_PRINTER_STATUS_BUSY 1546 00077 #define PD32_PRINTER_STATUS_PRINTING 1547 00078 #define PD32_PRINTER_STATUS_OUTPUT_BIN_FULL 1548 00079 #define PD32_PRINTER_STATUS_NOT_AVAILABLE 1549 00080 #define PD32_PRINTER_STATUS_WAITING 1550 00081 #define PD32_PRINTER_STATUS_PROCESSING 1551 00082 #define PD32_PRINTER_STATUS_INITIALIZING 1552 00083 #define PD32_PRINTER_STATUS_WARMING_UP 1553 00084 #define PD32_PRINTER_STATUS_TONER_LOW 1554 00085 #define PD32_PRINTER_STATUS_NO_TONER 1555 00086 #define PD32_PRINTER_STATUS_PAGE_PUNT 1556 00087 #define PD32_PRINTER_STATUS_USER_INTERVENTION 1557 00088 #define PD32_PRINTER_STATUS_OUT_OF_MEMORY 1558 00089 #define PD32_PRINTER_STATUS_DOOR_OPEN 1559 00090 #define PD32_PRINTER_STATUS_SERVER_UNKNOWN 1560 00091 #define PD32_PRINTER_STATUS_POWER_SAVE 1561 00092 00093 #define PD32_DEFAULT_PRINTER 1582 00094 #define PD32_NR_OF_DOCUMENTS_IN_QUEUE 1583 00095 00096 #define PD32_MARGINS_IN_INCHES 1585 00097 #define PD32_MARGINS_IN_MILLIMETERS 1586 00098 #define PD32_MILLIMETERS 1587 00099 00100 /* Charset names string IDs */ 00101 00102 #define IDS_CHARSET_ANSI 200 00103 #define IDS_CHARSET_SYMBOL 201 00104 #define IDS_CHARSET_JIS 202 00105 #define IDS_CHARSET_HANGUL 203 00106 #define IDS_CHARSET_GB2312 204 00107 #define IDS_CHARSET_BIG5 205 00108 #define IDS_CHARSET_GREEK 206 00109 #define IDS_CHARSET_TURKISH 207 00110 #define IDS_CHARSET_HEBREW 208 00111 #define IDS_CHARSET_ARABIC 209 00112 #define IDS_CHARSET_BALTIC 210 00113 #define IDS_CHARSET_VIETNAMESE 211 00114 #define IDS_CHARSET_RUSSIAN 212 00115 #define IDS_CHARSET_EE 213 00116 #define IDS_CHARSET_THAI 214 00117 #define IDS_CHARSET_JOHAB 215 00118 #define IDS_CHARSET_MAC 216 00119 #define IDS_CHARSET_OEM 217 00120 #define IDS_CHARSET_VISCII 218 00121 #define IDS_CHARSET_TCVN 219 00122 #define IDS_CHARSET_KOI8 220 00123 #define IDS_CHARSET_ISO3 221 00124 #define IDS_CHARSET_ISO4 222 00125 #define IDS_CHARSET_ISO10 223 00126 #define IDS_CHARSET_CELTIC 224 00127 00128 /* Font styles */ 00129 00130 #define IDS_FONT_REGULAR 256 00131 #define IDS_FONT_BOLD 257 00132 #define IDS_FONT_ITALIC 258 00133 #define IDS_FONT_BOLD_ITALIC 259 00134 00135 /* Color names string IDs */ 00136 00137 #define IDS_COLOR_BLACK 1040 00138 #define IDS_COLOR_MAROON 1041 00139 #define IDS_COLOR_GREEN 1042 00140 #define IDS_COLOR_OLIVE 1043 00141 #define IDS_COLOR_NAVY 1044 00142 #define IDS_COLOR_PURPLE 1045 00143 #define IDS_COLOR_TEAL 1046 00144 #define IDS_COLOR_GRAY 1047 00145 #define IDS_COLOR_SILVER 1048 00146 #define IDS_COLOR_RED 1049 00147 #define IDS_COLOR_LIME 1050 00148 #define IDS_COLOR_YELLOW 1051 00149 #define IDS_COLOR_BLUE 1052 00150 #define IDS_COLOR_FUCHSIA 1053 00151 #define IDS_COLOR_AQUA 1054 00152 #define IDS_COLOR_WHITE 1055 00153 00154 #define IDS_FONT_SIZE 1200 00155 #define IDS_SAVE_BUTTON 1201 00156 #define IDS_SAVE_IN 1202 00157 #define IDS_SAVE 1203 00158 #define IDS_SAVE_AS 1204 00159 #define IDS_OPEN_FILE 1205 00160 00161 #define IDS_FAKEDOCTEXT 1300 00162 00163 #include "windef.h" 00164 #include "winbase.h" 00165 #include "wingdi.h" 00166 #include "winuser.h" 00167 #include "winnls.h" 00168 #include "commctrl.h" 00169 #include "shlobj.h" 00170 #include "shellapi.h" 00171 00172 /* Constructors */ 00173 HRESULT FileOpenDialog_Constructor(IUnknown *pUnkOuter, REFIID riid, void **ppv) DECLSPEC_HIDDEN; 00174 HRESULT FileSaveDialog_Constructor(IUnknown *pUnkOuter, REFIID riid, void **ppv) DECLSPEC_HIDDEN; 00175 00176 /* Shared helper functions */ 00177 void COMDLG32_GetCanonicalPath(PCIDLIST_ABSOLUTE pidlAbsCurrent, LPWSTR lpstrFile, LPWSTR lpstrPathAndFile) DECLSPEC_HIDDEN; 00178 int FILEDLG95_ValidatePathAction(LPWSTR lpstrPathAndFile, IShellFolder **ppsf, 00179 HWND hwnd, DWORD flags, BOOL isSaveDlg, int defAction) DECLSPEC_HIDDEN; 00180 int COMDLG32_SplitFileNames(LPWSTR lpstrEdit, UINT nStrLen, LPWSTR *lpstrFileList, UINT *sizeUsed) DECLSPEC_HIDDEN; 00181 void FILEDLG95_OnOpenMessage(HWND hwnd, int idCaption, int idText) DECLSPEC_HIDDEN; 00182 00183 /* ITEMIDLIST */ 00184 00185 extern LPITEMIDLIST (WINAPI *COMDLG32_PIDL_ILClone) (LPCITEMIDLIST); 00186 extern LPITEMIDLIST (WINAPI *COMDLG32_PIDL_ILCombine)(LPCITEMIDLIST,LPCITEMIDLIST); 00187 extern LPITEMIDLIST (WINAPI *COMDLG32_PIDL_ILGetNext)(LPITEMIDLIST); 00188 extern BOOL (WINAPI *COMDLG32_PIDL_ILRemoveLastID)(LPCITEMIDLIST); 00189 extern BOOL (WINAPI *COMDLG32_PIDL_ILIsEqual)(LPCITEMIDLIST, LPCITEMIDLIST); 00190 extern UINT (WINAPI *COMDLG32_PIDL_ILGetSize)(LPCITEMIDLIST); 00191 00192 /* SHELL */ 00193 extern LPVOID (WINAPI *COMDLG32_SHAlloc)(DWORD); 00194 extern DWORD (WINAPI *COMDLG32_SHFree)(LPVOID); 00195 extern BOOL (WINAPI *COMDLG32_SHGetFolderPathW)(HWND,int,HANDLE,DWORD,LPWSTR); 00196 extern LPITEMIDLIST (WINAPI *COMDLG32_SHSimpleIDListFromPathAW)(LPCVOID); 00197 00198 #define ONOPEN_BROWSE 1 00199 #define ONOPEN_OPEN 2 00200 #define ONOPEN_SEARCH 3 00201 00202 #endif /* _WINE_DLL_CDLG_H */ Generated on Sat May 26 2012 04:21:41 for ReactOS by
1.7.6.1
|