mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
966 B
1 lines
966 B
// ===========================================================================
// UAMDebug.c © 1997 Microsoft Corp. All rights reserved.
// ===========================================================================
// Debugging routines for MS UAM.
// ===========================================================================
#include "UAMDebug.h"
#ifdef UAMDebug
// ---------------------------------------------------------------------------
// ¥ 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
|