Windows NT 4.0 source code leak
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.
 
 
 
 
 
 

27 lines
643 B

/****************************Module*Header***********************************\
* Module Name: WASSERT
*
* Module Descripton: Quick Win32 assert code.
*
* Warnings:
*
* Created: 15 July 1993
*
* Author: Raymond E. Endres [[email protected]]
\****************************************************************************/
#include <windows.h>
#include "wassert.h"
#ifndef NODEBUG
void vAssert(PTSTR pszExp, PTSTR pszFile, int iLine)
{
TCHAR szTmp[1024];
wsprintf(szTmp, TEXT("Assertion (%s) at line %d, file %s failed."),
pszExp, iLine, pszFile);
MessageBox(NULL, szTmp, TEXT("Assertion failed:"), MB_OK);
}
#endif