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

📄 bmpmix9.h

📁 最近在学习directshow, Directshow实务精选的源代码
💻 H
字号:
//------------------------------------------------------------------------------
// File: BmpMix9.cpp
//
// Desc: DirectShow sample code - a bitmap-mixing VMR9 media file player
//       using Direct3D9 surfaces
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//------------------------------------------------------------------------------

#if !defined(AFX_BMPMIX9_H__CA30736C_ACAF_4108_A46A_0E8854AF657B__INCLUDED_)
#define AFX_BMPMIX9_H__CA30736C_ACAF_4108_A46A_0E8854AF657B__INCLUDED_

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

// Windows Header Files
#include <windows.h>
#include <objbase.h>
#include <tchar.h>

#include <atlbase.h>
#include <comdef.h>
#include <commdlg.h>
#include <assert.h>

// DirectX header files
#include <dshow.h>
#include <d3d9.h>
#include <d3dx9tex.h> // for D3DXLoadSurfaceFromResource 
#include <vmr9.h>

// Application header files
#include "resource.h"

// Helper macro
#define FAIL_RET(x) if( FAILED( hr = ( x ) ) )     \
                    {                              \
                        assert( SUCCEEDED( hr ) ); \
                        return hr;                 \
                    }

#endif // !defined(AFX_BMPMIX9_H__CA30736C_ACAF_4108_A46A_0E8854AF657B__INCLUDED_)


⌨️ 快捷键说明

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