Changeset 383 for trunk/dll/error.c


Ignore:
Timestamp:
Jul 27, 2006, 8:41:36 AM (19 years ago)
Author:
root
Message:

Add ..._Error2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/error.c

    r327 r383  
    1818  13 Jul 06 SHL Add Runtime_Error
    1919  22 Jul 06 SHL Optimize calling sequences
     20  26 Jul 06 SHL Add ..._Error2
    2021
    2122***********************************************************************/
     
    102103} // Win_Error
    103104
     105VOID Win_Error2(HWND hwndErr, HWND hwndOwner, PCSZ pszFileName, ULONG ulLineNo, UINT idMsg)
     106{
     107  Win_Error(hwndErr, hwndOwner, pszFileName, ulLineNo, GetPString(idMsg));
     108
     109} // Win_Error2
     110
    104111//== Dos_Error: report Dos...() error ===
    105112
     
    178185} // Dos_Error
    179186
     187//== Dos_Error2: report Dos...() error ===
     188
     189INT Dos_Error2(ULONG mb_type, ULONG ulRC, HWND hwndOwner, PCSZ pszFileName,
     190              ULONG ulLineNo, UINT idMsg)
     191{
     192  return Dos_Error(mb_type, ulRC, hwndOwner, pszFileName,ulLineNo,
     193                    GetPString(idMsg));
     194} // Dos_Error2
     195
    180196//== Runtime_Error: report runtime library error ===
    181197
     
    203219
    204220} // Runtime_Error
     221
     222VOID Runtime_Error2(PCSZ pszSrcFile, UINT uSrcLineNo, UINT idMsg)
     223{
     224  Runtime_Error(pszSrcFile, uSrcLineNo, GetPString(idMsg));
     225
     226} // Runtime_Error2
    205227
    206228// fixme to be rename to Misc_Error
Note: See TracChangeset for help on using the changeset viewer.