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

📄 stdafx.h

📁 C语言编程的不错工具
💻 H
字号:
/*
*	Copyright (c) Microsoft Corportation. All rights reserved.
*/

// stdafx.h : include file for standard system include files,
//  or project specific include files that are used frequently, but
//      are changed infrequently
//

#if !defined(AFX_STDAFX_H__C382F3EE_96AC_11D2_9012_00C04FC2D3B8__INCLUDED_)
#define AFX_STDAFX_H__C382F3EE_96AC_11D2_9012_00C04FC2D3B8__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define VC_EXTRALEAN		// Exclude rarely-used stuff from Windows headers

#include <afxwin.h>         // MFC core and standard components
#include <afxext.h>         // MFC extensions
//#include <afxdtctl.h>		// MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>			// MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT

#include <afxtempl.h>
#include <mmsystem.h>
#include <ks.h>
#include <ksmedia.h>


// macros ------------------------------------------------------------------------------
#define IsValidHandle(h)    ((h) != NULL && (h) != INVALID_HANDLE_VALUE)

#define SafeCloseHandle(h)  if(IsValidHandle((h))) CloseHandle((h)); (h) = NULL

#define SafeLocalFree(p)    if((p)) LocalFree((p)); (p) = NULL

#define ARRAY_ELEMENTS(a)   (sizeof((a)) / sizeof((a)[0]))


// structs ------------------------------------------------------------------------------
typedef struct
{
    const GUID* pguidConstant;
    LPCSTR      pstrRep;

} CONST_GUID_REP, *PCONST_GUID_REP;

typedef struct
{
    DWORD   dwConstant;
    LPCSTR  pstrRep;

} CONST_DWORD_REP, *PCONST_DWORD_REP;

typedef struct
{
    WORD        wTag;
    LPCSTR      szRep;
} CONST_WORD_REP, *PCONST_WORD_REP;

extern CONST_DWORD_REP cdrSpeakers[];


//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STDAFX_H__C382F3EE_96AC_11D2_9012_00C04FC2D3B8__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -