⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 auxiliary.cpp

📁 6410BSP1
💻 CPP
字号:
//------------------------------------------------------------------------------
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -