stdafx.h

来自「mysee网络直播源代码Mysee Lite是Mysee独立研发的网络视频流媒体」· C头文件 代码 · 共 70 行

H
70
字号
// stdafx.h : 标准系统包含文件的包含文件,
// 或是常用但不常更改的项目特定的包含文件
//

#pragma once

#pragma warning(disable: 4995)

#define WIN32_LEAN_AND_MEAN		// 从 Windows 头中排除极少使用的资料
// Windows 头文件:
#include <windows.h>

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

// Insert your headers here
#define WIN32_LEAN_AND_MEAN		// Exclude rarely-used stuff from Windows headers

#include <streams.h>

#include <winsock2.h>			// Winsock2
#include <string>
#include <ASSERT.H>
#include <TIME.H>
#include <tchar.H>

#include "Structs.h"
#include "../layer1/LayerDefine.h"

using namespace std;

#ifndef SAFE_DELETE
#define SAFE_DELETE( x) \
	if( NULL != x )        \
{                      \
	delete x;       \
	x = NULL;          \
}
#endif

#ifndef SAFE_ARRAYDELETE
#define SAFE_ARRAYDELETE( x )  \
	if( NULL != x )        \
{                      \
	delete [] x;       \
	x = NULL;          \
}
#endif

enum {
	MAX_PATH_EX = 1024,		// 文件路径长度
};
//
#define MEDIATYPE_CHANGED WM_APP + 100
#define MEDIA_ERROR_STOP  WM_APP + 101

#include "uuids.h"
#include "ISettings.h"
#include "ZZLFileReader.h"
#include "networkproxy.h"
#include "http_fetcher.h"
#include "resource.h"
//
#include "TVPinStream.h"
#include "TVPinvideo.h"
#include "TVPinaudio.h"
#include "tvsourcefilter.h"

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

⌨️ 快捷键说明

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