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

  • 大小: 39KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-06-11
  • 語言: C/C++
  • 標簽: d3d??video??mfc??

資源簡介

在window下使用d3d技術(shù)實現(xiàn)視頻播放器實現(xiàn),是學(xué)習(xí)d3d以及mfc編程的好例子

資源截圖

代碼片段和文件信息

//?Player.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“Player.h“
#include?“PlayerDlg.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//?CPlayerApp

BEGIN_MESSAGE_MAP(CPlayerApp?CWinApp)
//{{AFX_MSG_MAP(CPlayerApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CPlayerApp?construction

CPlayerApp::CPlayerApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CPlayerApp?object

CPlayerApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CPlayerApp?initialization

BOOL?CPlayerApp::InitInstance()
{
AfxEnableControlContainer();

//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.

#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif

CPlayerDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}

//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}

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

?????目錄??????????0??2005-06-23?15:57??Player

?????文件???????3579??2005-06-23?15:57??Player\ReadMe.txt

?????文件???????1324??2005-06-23?15:57??Player\Player.h

?????文件???????2063??2005-06-23?15:57??Player\Player.cpp

?????文件???????1054??2005-06-23?15:57??Player\StdAfx.h

?????文件????????208??2005-06-23?15:57??Player\StdAfx.cpp

?????目錄??????????0??2005-06-23?15:57??Player\res

?????文件????????398??2005-06-23?15:57??Player\res\Player.rc2

?????文件???????1078??2005-06-23?15:57??Player\res\Player.ico

?????文件????????868??2005-06-23?15:59??Player\Resource.h

?????文件???????5492??2005-06-23?15:59??Player\Player.rc

?????目錄??????????0??2005-06-23?16:00??Player\Moudle

?????文件???????1236??2005-05-17?12:50??Player\Moudle\ColourSpaceConvert.h

?????文件???????1125??2005-06-23?14:12??Player\Moudle\D3DDisplay.h

?????文件????????302??2005-06-23?13:46??Player\Moudle\DEFINE.H

?????文件???????5940??2005-05-17?12:53??Player\Moudle\ColourSpaceConvert.cpp

?????文件???????7476??2005-06-23?16:01??Player\Moudle\D3DDisplay.cpp

?????文件???????1916??2005-06-23?16:08??Player\Moudle\PlayControl.h

?????文件???????2446??2005-06-23?16:11??Player\Moudle\PlayControl.cpp

?????文件???????1518??2005-06-23?16:02??Player\PlayerDlg.h

?????文件????????535??2005-06-23?16:05??Player\Player.dsw

?????文件???????5095??2005-06-23?16:22??Player\PlayerDlg.cpp

?????文件???????4857??2005-06-23?16:24??Player\Player.dsp

?????文件????????246??2005-06-24?20:33??Player\Player.plg

-----------?---------??----------?-----??----

????????????????48756????????????????????24


評論

共有 條評論