StdAfx.h
资源名称:p2p_vod.rar [点击查看]
上传用户:liguizhu
上传日期:2015-11-01
资源大小:2422k
文件大小:1k
源码类别:
P2P编程
开发平台:
Visual C++
- // 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.