windows-nt/Source/XPSP1/NT/net/sfm/uam/uam5src/uamsrc/uamdebug.c

1 line
966 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
// =========================================================================== // UAMDebug.c <09> 1997 Microsoft Corp. All rights reserved. // =========================================================================== // Debugging routines for MS UAM. // =========================================================================== #include "UAMDebug.h" #ifdef UAMDebug // --------------------------------------------------------------------------- // <09> UAM_DebugAlert() // --------------------------------------------------------------------------- // Put up a debug alert box. void UAM_DebugAlert(Str255 inErrStr, Str255 inFileName, long inLineNum) { Str15 theLineStr; short theIgnore; #ifdef UAMDebug Handle theAlertResource = Get1Resource('ALRT', ALRT_Debug); Assert_(theAlertResource != NULL); #endif NumToString(inLineNum, theLineStr); ParamText(inErrStr, inFileName, theLineStr, "\p"); theIgnore = StopAlert(ALRT_Debug, NULL); } #endif