Changeset 153 for trunk/include/helpers
- Timestamp:
- Apr 14, 2002, 1:42:05 AM (23 years ago)
- Location:
- trunk/include/helpers
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/apps.h
r152 r153 94 94 ********************************************************************/ 95 95 96 97 PSZ appQueryDefaultWin31Environment(VOID); 96 APIRET appQueryDefaultWin31Environment(PSZ *ppsz); 98 97 99 98 #define APP_RUN_FULLSCREEN 0x0001 … … 102 101 #define APP_RUN_SEPARATE 0x0008 103 102 104 #ifdef XSTRING_HEADER_INCLUDED 105 APIRET appFixProgDetails(PPROGDETAILS pDetails, 106 const PROGDETAILS *pcProgDetails, 107 ULONG ulFlags, 108 PXSTRING pstrExecutablePatched, 109 PXSTRING pstrParamsPatched, 110 PSZ *ppszWinOS2Env); 111 #endif 103 APIRET appBuildProgDetails(PPROGDETAILS *ppDetails, 104 const PROGDETAILS *pcProgDetails, 105 ULONG ulFlags); 112 106 113 107 APIRET XWPENTRY appStartApp(HWND hwndNotify, -
trunk/include/helpers/cnrh.h
r147 r153 616 616 HWND cnrhQueryCnrFromFrame(HWND hwndFrame); 617 617 618 BOOL cnrhOpenEdit(HWND hwndCnr); 619 618 620 PDRAGINFO cnrhInitDrag(HWND hwndCnr, 619 621 PRECORDCORE preccDrag, -
trunk/include/helpers/dialog.h
r145 r153 42 42 ********************************************************************/ 43 43 44 #define DLGERR_FIRST 10000 45 #define DLGERR_ROW_BEFORE_TABLE (DLGERR_FIRST) 46 #define DLGERR_CONTROL_BEFORE_ROW (DLGERR_FIRST + 1) 47 #define DLGERR_NULL_CTL_DEF (DLGERR_FIRST + 2) 48 #define DLGERR_CANNOT_CREATE_FRAME (DLGERR_FIRST + 3) 49 #define DLGERR_INVALID_CODE (DLGERR_FIRST + 4) 50 #define DLGERR_TABLE_NOT_CLOSED (DLGERR_FIRST + 5) 51 #define DLGERR_TOO_MANY_TABLES_CLOSED (DLGERR_FIRST + 6) 52 #define DLGERR_CANNOT_CREATE_CONTROL (DLGERR_FIRST + 7) 53 #define DLGERR_ARRAY_TOO_SMALL (DLGERR_FIRST + 8) 54 #define DLGERR_INVALID_CONTROL_TITLE (DLGERR_FIRST + 9) 55 #define DLGERR_INVALID_STATIC_BITMAP (DLGERR_FIRST + 10) 44 #define ERROR_DLG_FIRST 43000 45 46 #define DLGERR_ROW_BEFORE_TABLE (ERROR_DLG_FIRST) 47 #define DLGERR_CONTROL_BEFORE_ROW (ERROR_DLG_FIRST + 1) 48 #define DLGERR_NULL_CTL_DEF (ERROR_DLG_FIRST + 2) 49 #define DLGERR_CANNOT_CREATE_FRAME (ERROR_DLG_FIRST + 3) 50 #define DLGERR_INVALID_CODE (ERROR_DLG_FIRST + 4) 51 #define DLGERR_TABLE_NOT_CLOSED (ERROR_DLG_FIRST + 5) 52 #define DLGERR_TOO_MANY_TABLES_CLOSED (ERROR_DLG_FIRST + 6) 53 #define DLGERR_CANNOT_CREATE_CONTROL (ERROR_DLG_FIRST + 7) 54 #define DLGERR_ARRAY_TOO_SMALL (ERROR_DLG_FIRST + 8) 55 #define DLGERR_INVALID_CONTROL_TITLE (ERROR_DLG_FIRST + 9) 56 #define DLGERR_INVALID_STATIC_BITMAP (ERROR_DLG_FIRST + 10) 57 58 #define ERROR_DLG_LAST (ERROR_DLG_FIRST + 10) 56 59 57 60 /* ****************************************************************** … … 117 120 // type in _DLGHITEM (to specify a group table) 118 121 // and they are not SZL_AUTOSIZE, they specify the 119 // table size (to override the automatic formatting). 122 // size of the inner table of the group (to override 123 // the automatic formatting). Note that the dialog 124 // formatter adds COMMON_SPACING to both the left and 125 // the right of the table to center the table in the 126 // PM group control, so the actual group size will 127 // be the specified size + (2 * COMMON_SPACING). 120 128 121 129 ULONG ulSpacing; // spacing around control … … 195 203 ********************************************************************/ 196 204 197 #define COMMON_SPACING 3 205 #define COMMON_SPACING 3 206 207 #define PM_GROUP_SPACING_X 16 208 #define PM_GROUP_SPACING_TOP 16 198 209 199 210 #define CONTROLDEF_GROUP(pcsz, id, cx, cy) { WC_STATIC, pcsz, \ -
trunk/include/helpers/dosh.h
r135 r153 541 541 ULONG ulAttr); 542 542 543 /* APIRET doshOpenExisting(PCSZ pcszFilename, 544 ULONG ulOpenFlags, 545 HFILE *phf); 546 */ 543 /* ****************************************************************** 544 * 545 * XFILEs 546 * 547 ********************************************************************/ 547 548 548 549 /* … … 555 556 { 556 557 HFILE hf; 557 // ULONG hmtx; // a HMTX really558 558 559 559 PSZ pszFilename; // as given to doshOpen -
trunk/include/helpers/prfh.h
r113 r153 41 41 ********************************************************************/ 42 42 43 #define PRFERR_DATASIZE 10001 // couldn't query data size for key 44 #define PRFERR_READ 10003 // couldn't read data from source (PrfQueryProfileData error) 45 #define PRFERR_WRITE 10004 // couldn't write data to target (PrfWriteProfileData error) 46 #define PRFERR_APPSLIST 10005 // couldn't query apps list 47 #define PRFERR_KEYSLIST 10006 // couldn't query keys list 48 #define PRFERR_ABORTED 10007 // aborted by user 49 #define PRFERR_QUERY 10007 // PrfQueryProfile failed 50 #define PRFERR_INVALID_FILE_NAME 10008 // profile names don't contain .INI 51 #define PRFERR_INVALID_KEY 10009 52 #define PRFERR_KEY_EXISTS 10010 43 #define ERROR_PRF_FIRST 42000 44 45 #define PRFERR_DATASIZE (ERROR_PRF_FIRST + 1) 46 // couldn't query data size for key 47 #define PRFERR_READ (ERROR_PRF_FIRST + 2) 48 // couldn't read data from source (PrfQueryProfileData error) 49 #define PRFERR_WRITE (ERROR_PRF_FIRST + 3) 50 // couldn't write data to target (PrfWriteProfileData error) 51 #define PRFERR_APPSLIST (ERROR_PRF_FIRST + 4) 52 // couldn't query apps list 53 #define PRFERR_KEYSLIST (ERROR_PRF_FIRST + 5) 54 // couldn't query keys list 55 #define PRFERR_ABORTED (ERROR_PRF_FIRST + 6) 56 // aborted by user 57 #define PRFERR_QUERY (ERROR_PRF_FIRST + 7) 58 // PrfQueryProfile failed 59 #define PRFERR_INVALID_FILE_NAME (ERROR_PRF_FIRST + 8) 60 // profile names don't contain .INI 61 #define PRFERR_INVALID_KEY (ERROR_PRF_FIRST + 9) 62 #define PRFERR_KEY_EXISTS (ERROR_PRF_FIRST + 10) 63 64 #define PRFERR_RESET (ERROR_PRF_FIRST + 11) 65 // PrfReset failed V0.9.19 (2002-04-02) [umoeller] 66 67 #define ERROR_PRF_LAST (ERROR_PRF_FIRST + 11) 53 68 54 69 /* ****************************************************************** … … 218 233 const char *pcszNewKey); 219 234 220 BOOLprfhSetUserProfile(HAB hab,221 const char *pcszUserProfile);235 APIRET prfhSetUserProfile(HAB hab, 236 const char *pcszUserProfile); 222 237 223 238 ULONG prfhINIError(ULONG ulOptions, -
trunk/include/helpers/stringh.h
r147 r153 67 67 const char *pszSource, 68 68 ULONG cbSource); 69 70 ULONG XWPENTRY strhlen(PCSZ pcsz); 69 71 70 72 ULONG XWPENTRY strhSize(PCSZ pcsz); -
trunk/include/helpers/wphandle.h
r140 r153 43 43 44 44 #define ERROR_WPH_FIRST 41000 45 45 46 #define ERROR_WPH_CRASHED (ERROR_WPH_FIRST + 0) 46 47 #define ERROR_WPH_NO_BASECLASS_DATA (ERROR_WPH_FIRST + 1) … … 58 59 #define ERROR_WPH_NOT_FILESYSTEM_HANDLE (ERROR_WPH_FIRST + 13) 59 60 61 #define ERROR_WPH_LAST (ERROR_WPH_FIRST + 13) 62 60 63 /* ****************************************************************** 61 64 * -
trunk/include/helpers/xml.h
r98 r153 95 95 #define ERROR_DOM_INVALID_EXTERNAL_HANDLER (ERROR_XML_FIRST + 48) 96 96 97 #define ERROR_XML_LAST (ERROR_XML_FIRST + 48) 98 97 99 const char* xmlDescribeError(int code); 98 100 -
trunk/include/helpers/xstring.h
r137 r153 240 240 typedef XSTRCONVERTLINEFORMAT *PXSTRCONVERTLINEFORMAT; 241 241 242 VOID xstrPrintf(XSTRING *pstr, 243 PCSZ pcszFormat, 244 ...); 245 242 246 #endif 243 247
Note:
See TracChangeset
for help on using the changeset viewer.