91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

此程序包含了DirectShow開發的示例程序 有以下幾個子程序: simplest_directshow_player: 最簡單的基于DirectShow的視頻播放器。 simplest_directshow_player_custom: 最簡單的基于DirectShow的視頻播放器(Custom)。 playerGUI: 最簡單的基于DirectShow的播放器-圖形界面版。 simplest_directshow_info: 最簡單的Directshow信息。

資源截圖

代碼片段和文件信息

/**
?*?最簡單的基于DirectShow的播放器-圖形界面版
?*?Simplest?DirectShow?Player?GUI
?*
?*?雷霄驊?Lei?Xiaohua
?*?leixiaohua1020@126.com
?*?中國傳媒大學/數字電視技術
?*?Communication?University?of?China?/?Digital?TV?Technology
?*?http://blog.csdn.net/leixiaohua1020
?*
?*?本程序是一個最簡單的基于DirectShow的圖形界面播放器。
?*?適合初學者學習DirectShow。
?*
?*?This?example?is?the?simplest?Player?based?on?DirectShow.
?*?And?it?has?a?simple?Graphical?User?Interface.
?*?Suitable?for?the?beginner?of?DirectShow.
?*/

#include?“stdafx.h“
#include?“playerGUI.h“
#include?“playerGUIDlg.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#endif


//?CplayerGUIApp

BEGIN_MESSAGE_MAP(CplayerGUIApp?CWinApp)
ON_COMMAND(ID_HELP?&CWinApp::onhelp)
END_MESSAGE_MAP()


//?CplayerGUIApp?構造

CplayerGUIApp::CplayerGUIApp()
{
//?支持重新啟動管理器
m_dwRestartManagerSupportFlags?=?AFX_RESTART_MANAGER_SUPPORT_RESTART;

//?TODO:?在此處添加構造代碼,
//?將所有重要的初始化放置在?InitInstance?中
}


//?唯一的一個?CplayerGUIApp?對象

CplayerGUIApp?theApp;


//?CplayerGUIApp?初始化

BOOL?CplayerGUIApp::InitInstance()
{
//?如果一個運行在?Windows?XP?上的應用程序清單指定要
//?使用?ComCtl32.dll?版本?6?或更高版本來啟用可視化方式,
//則需要?InitCommonControlsEx()。否則,將無法創建窗口。
INITCOMMONCONTROLSEX?InitCtrls;
InitCtrls.dwSize?=?sizeof(InitCtrls);
//?將它設置為包括所有要在應用程序中使用的
//?公共控件類。
InitCtrls.dwICC?=?ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);

CWinApp::InitInstance();


AfxEnableControlContainer();

//?創建?shell?管理器,以防對話框包含
//?任何?shell?樹視圖控件或?shell?列表視圖控件。
CShellManager?*pShellManager?=?new?CShellManager;

//?標準初始化
//?如果未使用這些功能并希望減小
//?最終可執行文件的大小,則應移除下列
//?不需要的特定初始化例程
//?更改用于存儲設置的注冊表項
//?TODO:?應適當修改該字符串,
//?例如修改為公司或組織名
SetRegistryKey(_T(“應用程序向導生成的本地應用程序“));

CplayerGUIDlg?dlg;
m_pMainWnd?=?&dlg;
INT_PTR?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?在此放置處理何時用
//??“確定”來關閉對話框的代碼
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?在此放置處理何時用
//??“取消”來關閉對話框的代碼
}

//?刪除上面創建的?shell?管理器。
if?(pShellManager?!=?NULL)
{
delete?pShellManager;
}

//?由于對話框已關閉,所以將返回?FALSE?以便退出應用程序,
//??而不是啟動應用程序的消息泵。
return?FALSE;
}


?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件?????????46??2014-09-30?17:13??simplest_directshow_example\.gitignore

?????文件?????????25??2014-06-05?19:32??simplest_directshow_example\playerGUI\.gitignore

?????文件?????832516??2015-01-02?00:24??simplest_directshow_example\playerGUI\playerGUI.aps

?????文件???????2512??2015-01-01?22:57??simplest_directshow_example\playerGUI\playerGUI.cpp

?????文件????????933??2015-01-01?22:57??simplest_directshow_example\playerGUI\playerGUI.h

?????文件??????18858??2015-01-02?00:24??simplest_directshow_example\playerGUI\playerGUI.rc

?????文件???????6171??2015-01-02?00:19??simplest_directshow_example\playerGUI\playerGUI.vcxproj

?????文件???????2090??2014-12-31?18:33??simplest_directshow_example\playerGUI\playerGUI.vcxproj.filters

?????文件????????143??2014-10-06?00:17??simplest_directshow_example\playerGUI\playerGUI.vcxproj.user

?????文件??????16395??2015-01-08?21:14??simplest_directshow_example\playerGUI\playerGUIDlg.cpp

?????文件???????2220??2015-01-01?22:57??simplest_directshow_example\playerGUI\playerGUIDlg.h

?????文件????????475??2015-01-01?23:32??simplest_directshow_example\playerGUI\ReadMe.txt

?????文件??????99678??2014-12-30?13:49??simplest_directshow_example\playerGUI\res\playerGUI.ico

?????文件????????674??2014-10-06?00:17??simplest_directshow_example\playerGUI\res\playerGUI.rc2

?????文件?????691254??2015-01-01?14:37??simplest_directshow_example\playerGUI\res\welcome.BMP

?????文件???????3772??2015-01-01?15:49??simplest_directshow_example\playerGUI\resource.h

?????文件????????142??2014-10-06?00:17??simplest_directshow_example\playerGUI\stdafx.cpp

?????文件???????1632??2014-10-06?00:17??simplest_directshow_example\playerGUI\stdafx.h

?????文件????????234??2014-10-06?00:17??simplest_directshow_example\playerGUI\targetver.h

?????文件???????1043??2015-01-02?00:01??simplest_directshow_example\ReadMe.txt

?????文件???????2977??2015-01-01?23:33??simplest_directshow_example\simplest_directshow_example.sln

????..A..H.?????46080??2015-01-08?21:17??simplest_directshow_example\simplest_directshow_example.suo

?????文件?????????25??2014-06-05?19:32??simplest_directshow_example\simplest_directshow_filter\.gitignore

?????文件???????3990??2015-01-01?23:20??simplest_directshow_example\simplest_directshow_filter\simplest_directshow_filter.vcxproj

?????文件????????823??2015-01-01?23:20??simplest_directshow_example\simplest_directshow_filter\simplest_directshow_filter.vcxproj.filters

?????文件????????143??2015-01-01?23:20??simplest_directshow_example\simplest_directshow_filter\simplest_directshow_filter.vcxproj.user

?????文件??????????0??2015-01-01?23:30??simplest_directshow_example\simplest_directshow_filter\unfinished.txt

?????文件?????????25??2014-06-05?19:32??simplest_directshow_example\simplest_directshow_info\.gitignore

?????文件????????510??2015-01-01?23:32??simplest_directshow_example\simplest_directshow_info\ReadMe.txt

?????文件???????6448??2015-01-04?23:35??simplest_directshow_example\simplest_directshow_info\simplest_directshow_info.cpp

............此處省略43個文件信息

評論

共有 條評論