Source code of Windows XP (NT5)
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.
|
|
// ===========================================================================
// 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
|