Changeset 1402 for trunk/dll/errutil.c
- Timestamp:
- Mar 14, 2009, 6:17:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/errutil.c
r1398 r1402 32 32 07 Feb 09 GKY Eliminate Win_Error2 by moving function names to PCSZs used in Win_Error 33 33 07 Feb 09 GKY Allow user to turn off alert and/or error beeps in settings notebook. 34 08 Mar 09 GKY Remove Dos_Error2 (unused) and Runtime_Error2 (no advantage over using Runtime_Error) 34 35 35 36 ***********************************************************************/ … … 50 51 #include "notebook.h" // fErrorBeepOff 51 52 #include "init.h" // Data declares 52 53 #pragma data_seg(GLOBAL2)54 PSZ DEBUG_STRING;55 53 56 54 #pragma data_seg(DATA1) … … 192 190 193 191 } // Dos_Error 194 195 /*== Dos_Error2: report Dos...() error using passed message id ===196 197 INT Dos_Error2(ULONG mb_type, ULONG ulRC, HWND hwndOwner,198 PCSZ pszSrcFile, UINT uSrcLineNo, UINT idMsg)199 {200 return Dos_Error(mb_type, ulRC, hwndOwner, pszSrcFile, uSrcLineNo,201 GetPString(idMsg));202 } // Dos_Error2 */203 192 204 193 /** … … 328 317 } // Runtime_Error 329 318 330 //== Runtime_Error2: report runtime library error using passed message id ===331 332 /*VOID Runtime_Error2(PCSZ pszSrcFile, UINT uSrcLineNo, UINT idMsg)333 {334 Runtime_Error(pszSrcFile, uSrcLineNo, GetPString(idMsg));335 336 } // Runtime_Error2337 338 // fixme to be rename to Misc_Error */339 340 319 //=== saymsg: report misc error using passed message === 341 320 … … 400 379 401 380 } // Win_Error 402 403 /*== Win_Error2: report Win...() error using passed message id ===404 405 VOID Win_Error2(HWND hwndErr, HWND hwndOwner,406 PCSZ pszSrcFile, UINT uSrcLineNo, UINT idMsg)407 {408 Win_Error(hwndErr, hwndOwner, pszSrcFile, uSrcLineNo, GetPString(idMsg));409 410 } // Win_Error2 */411 381 412 382 /** … … 437 407 } // Win_Error_NoMsgBox 438 408 439 #pragma alloc_text(ERROR,Win_Error,Dos_Error,saymsg,showMsg, GetHiresTimeer)409 #pragma alloc_text(ERROR,Win_Error,Dos_Error,saymsg,showMsg,Runtime_Error,GetMSecTimer)
Note:
See TracChangeset
for help on using the changeset viewer.