Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
PlayWnd.h
Package: VC++视频传输.rar [view]
Upload User: hxb_1234
Upload Date: 2010-03-30
Package Size: 8328k
Code Size: 2k
Category:
Visual C++ Books
Development Platform:
Visual C++
- #if !defined(AFX_PLAYWND_H__B5AF2125_844C_11D2_8D53_0000E85214AE__INCLUDED_)
- #define AFX_PLAYWND_H__B5AF2125_844C_11D2_8D53_0000E85214AE__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- // PlayWnd.h : header file
- //
- #include <streams.h>
- #include <stdio.h>
- #include "asyncio.h"
- #include "asyncrdr.h"
- class CMemStream;
- class CMemReader;
- /////////////////////////////////////////////////////////////////////////////
- // CPlayWnd frame
- class CPlayWnd : public CFrameWnd
- {
- DECLARE_DYNCREATE(CPlayWnd)
- public:
- CPlayWnd(); // protected constructor used by dynamic creation
- virtual ~CPlayWnd();
- protected:
- int nScreenX;
- int nScreenY;
- // Attributes
- public:
- void Render ();
- // Operations
- public:
- //private:
- HRESULT hr;
- CMediaType mt;
- CMemStream *m_pStream;
- CMemReader *m_rdr;
- RECT m_rc;
- IVideoWindow *m_pivw;
- IFilterGraph *m_pifg;
- IGraphBuilder *m_pigb;
- IMediaControl *m_pimc;
- void InitFilter ();
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CPlayWnd)
- protected:
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CPlayWnd)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnDestroy();
- afx_msg void OnSize(UINT nType, int cx, int cy);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_PLAYWND_H__B5AF2125_844C_11D2_8D53_0000E85214AE__INCLUDED_)