Changeset 132 for trunk/include/helpers
- Timestamp:
- Jan 19, 2002, 11:50:39 AM (24 years ago)
- Location:
- trunk/include/helpers
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/dialog.h
r117 r132 63 63 #define SZL_AUTOSIZE (-1) 64 64 65 #define CTL_COMMON_FONT (( const char *)-1)65 #define CTL_COMMON_FONT ((PCSZ)-1) 66 66 67 67 #define ROW_VALIGN_MASK 0x0003 … … 117 117 118 118 } CONTROLDEF, *PCONTROLDEF; 119 120 typedef const struct _CONTROLDEF *PCCONTROLDEF; 119 121 120 122 /* … … 178 180 } DLGHITEM, *PDLGHITEM; 179 181 182 typedef const struct _DLGHITEM *PCDLGHITEM; 183 180 184 /* ****************************************************************** 181 185 * … … 256 260 ULONG flCreateFlags, 257 261 PFNWP pfnwpDialogProc, 258 const char *pcszDlgTitle,259 P DLGHITEM paDlgItems,262 PCSZ pcszDlgTitle, 263 PCDLGHITEM paDlgItems, 260 264 ULONG cDlgItems, 261 265 PVOID pCreateParams, 262 const char *pcszControlsFont);266 PCSZ pcszControlsFont); 263 267 typedef APIRET XWPENTRY DLGHCREATEDLG(HWND *phwndDlg, 264 268 HWND hwndOwner, 265 269 ULONG flCreateFlags, 266 270 PFNWP pfnwpDialogProc, 267 const char *pcszDlgTitle,268 P DLGHITEM paDlgItems,271 PCSZ pcszDlgTitle, 272 PCDLGHITEM paDlgItems, 269 273 ULONG cDlgItems, 270 274 PVOID pCreateParams, 271 const char *pcszControlsFont);275 PCSZ pcszControlsFont); 272 276 typedef DLGHCREATEDLG *PDLGHCREATEDLG; 273 277 274 278 APIRET dlghFormatDlg(HWND hwndDlg, 275 P DLGHITEM paDlgItems,279 PCDLGHITEM paDlgItems, 276 280 ULONG cDlgItems, 277 const char *pcszControlsFont,281 PCSZ pcszControlsFont, 278 282 ULONG flFlags); 279 283 … … 311 315 312 316 APIRET dlghAppendToArray(PDLGARRAY pArray, 313 DLGHITEM *paItems,317 PCDLGHITEM paItems, 314 318 ULONG cItems); 315 319 … … 368 372 HWND hwndOwner, 369 373 HPOINTER hptrIcon, 370 const char *pcszTitle,371 const char *pcszMessage,374 PCSZ pcszTitle, 375 PCSZ pcszMessage, 372 376 ULONG flFlags, 373 const char *pcszFont,377 PCSZ pcszFont, 374 378 const MSGBOXSTRINGS *pStrings, 375 379 PULONG pulAlarmFlag); … … 377 381 ULONG dlghMessageBox(HWND hwndOwner, 378 382 HPOINTER hptrIcon, 379 const char *pcszTitle,380 const char *pcszMessage,383 PCSZ pcszTitle, 384 PCSZ pcszMessage, 381 385 ULONG flFlags, 382 const char *pcszFont,386 PCSZ pcszFont, 383 387 const MSGBOXSTRINGS *pStrings); 384 388 … … 388 392 389 393 PSZ dlghTextEntryBox(HWND hwndOwner, 390 const char *pcszTitle,391 const char *pcszDescription,392 const char *pcszDefault,393 const char *pcszOK,394 const char *pcszCancel,394 PCSZ pcszTitle, 395 PCSZ pcszDescription, 396 PCSZ pcszDefault, 397 PCSZ pcszOK, 398 PCSZ pcszCancel, 395 399 ULONG ulMaxLen, 396 400 ULONG fl, 397 const char *pcszFont);401 PCSZ pcszFont); 398 402 399 403 /* ****************************************************************** -
trunk/include/helpers/dosh.h
r131 r132 219 219 ********************************************************************/ 220 220 221 APIRET doshQueryProcAddr(PCSZ pcszModuleName, 222 ULONG ulOrdinal, 223 PFN *ppfn); 224 221 225 /* 222 226 *@@ RESOLVEFUNCTION: … … 233 237 } RESOLVEFUNCTION, *PRESOLVEFUNCTION; 234 238 235 APIRET doshResolveImports(PSZ pszModuleName, 239 typedef const struct _RESOLVEFUNCTION *PCRESOLVEFUNCTION; 240 241 APIRET doshResolveImports(PCSZ pcszModuleName, 236 242 HMODULE *phmod, 237 P RESOLVEFUNCTION paResolves,243 PCRESOLVEFUNCTION paResolves, 238 244 ULONG cResolves); 239 245 … … 694 700 ********************************************************************/ 695 701 696 BOOL doshMatch( const char *pcszMask,697 const char *pcszName);702 BOOL doshMatch(PCSZ pcszMask, 703 PCSZ pcszName); 698 704 699 705 #endif -
trunk/include/helpers/standards.h
r129 r132 81 81 */ 82 82 83 #define FREE(ptr) if ((ptr)) { free(ptr); ptr = NULL;}83 #define FREE(ptr) { if ((ptr)) { free(ptr); ptr = NULL; } } 84 84 85 85 /* … … 104 104 */ 105 105 106 #define ARRAYITEMCOUNT(array) sizeof(array) / sizeof(array[0])106 #define ARRAYITEMCOUNT(array) (sizeof(array) / sizeof(array[0])) 107 107 108 108 /* -
trunk/include/helpers/xstring.h
r129 r132 86 86 typedef void XWPENTRY XSTRINIT(PXSTRING pxstr, ULONG ulPreAllocate); 87 87 typedef XSTRINIT *PXSTRINIT; */ 88 89 void xstrInitSet2(PXSTRING pxstr, PSZ pszNew, ULONG ulNewLength); 88 90 89 91 void XWPENTRY xstrInitSet(PXSTRING pxstr, PSZ pszNew); … … 132 134 typedef XSTRFREE *PXSTRFREE; 133 135 136 ULONG XWPENTRY xstrset2(PXSTRING pxstr, PSZ pszNew, ULONG ulNewLength); 137 134 138 ULONG XWPENTRY xstrset(PXSTRING pxstr, PSZ pszNew); 135 139 typedef ULONG XWPENTRY XSTRSET(PXSTRING pxstr, PSZ pszNew);
Note:
See TracChangeset
for help on using the changeset viewer.