auxiliary.cpp
来自「6410BSP1」· C++ 代码 · 共 44 行
CPP
44 行
//------------------------------------------------------------------------------
// File: Auxiliary.cpp
//
// Desc: Useful auxiliaries for the Win32 Application.
//
// Copyright (c) 2000 - 2005, L544⑩ Technology. All rights reserved.
//------------------------------------------------------------------------------
#include "stdafx.h"
#ifdef _DEBUG
#include <stdio.h>
#include <assert.h>
void TRACE(LPCTSTR lpszFormat, ...)
{
va_list args ;
va_start(args, lpszFormat) ;
int nBuf ;
TCHAR szBuffer[1024] ; // Large buffer for very long filenames (like with HTTP)
nBuf = vsprintf(szBuffer, lpszFormat, args) ;
// was there an error? was the expanded string too long?
assert(nBuf >= 0) ;
OutputDebugString(szBuffer) ;
// MessageBox(NULL, szBuffer, "DirectShow", MB_OK) ;
va_end(args) ;
}
#else
void TRACE(LPCTSTR lpszFormat, ...)
{
// TODO: Place code here.
}
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?