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

📄 directshow帮助文档学习笔记之directshow base classes - zhangxinbin的专栏 - csdnblog.htm

📁 directshow的开发过程的详细介绍
💻 HTM
📖 第 1 页 / 共 5 页
字号:
<SCRIPT>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();}</SCRIPT>

<DIV class=post>
<DIV class=postTitle><A 
href="http://blog.csdn.net/ZhangXinbin/archive/2006/10/22/1345066.aspx"><IMG 
height=13 
src="DirectShow帮助文档学习笔记之DirectShow Base Classes - ZhangXinbin的专栏 - CSDNBlog.files/authorship.gif" 
width=15 border=0>&nbsp;DirectShow帮助文档学习笔记之DirectShow Base Classes</A> </DIV>
<DIV class=postText>
<DIV class=Section1 style="LAYOUT-GRID:  15.6pt none">
<P class=MsoNormal 
style="TEXT-ALIGN: center; mso-pagination: widow-orphan; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-outline-level: 1" 
align=center><A name=directshowbaseclasses></A><STRONG><SPAN lang=EN-US 
style="FONT-SIZE: 16pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 18.0pt"><A 
title=DirectShow 
href="http://blog.csdn.net/zhangxinbin/archive/2006/10/22/DirectShow">DirectShow</A> 
Base Classes<O:P></O:P></SPAN></STRONG></P>
<P class=MsoNormal 
style="TEXT-ALIGN: left; mso-pagination: widow-orphan; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" 
align=left><SPAN lang=EN-US 
style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt">The 
Microsoft® <A title=DirectShow 
href="http://blog.csdn.net/zhangxinbin/archive/2006/10/22/DirectShow">DirectShow</A>® 
base classes are a set of <SPAN style="COLOR: fuchsia">C++ classes and utility 
functions </SPAN>designed for implementing <A title=DirectShow 
href="http://blog.csdn.net/zhangxinbin/archive/2006/10/22/DirectShow">DirectShow</A> 
filters. Several of the helper classes are also useful for application 
developers.<O:P></O:P></SPAN></P>
<P class=MsoNormal 
style="TEXT-ALIGN: left; mso-pagination: widow-orphan; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" 
align=left><SPAN lang=EN-US 
style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt">This 
section describes the base classes. It contains the following sections: 
<O:P></O:P></SPAN></P>
<UL type=disc>
  <LI class=MsoNormal 
  style="TEXT-ALIGN: left; mso-pagination: widow-orphan; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l3 level1 lfo3; tab-stops: list 36.0pt"><SPAN 
  lang=EN-US 
  style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt"><A 
  href="mk:@MSITStore:C:\DXSDK\Doc\DirectX9\DirectX9_c.chm::/directx/htm/introductiontothefilterbaseclasses.htm">Introduction 
  to the Filter Base Classes</A> <O:P></O:P></SPAN>
  <LI class=MsoNormal 
  style="TEXT-ALIGN: left; mso-pagination: widow-orphan; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l3 level1 lfo3; tab-stops: list 36.0pt"><SPAN 
  lang=EN-US 
  style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt"><A 
  href="mk:@MSITStore:C:\DXSDK\Doc\DirectX9\DirectX9_c.chm::/directx/htm/baseclassreference.htm">Base 
  Class Reference</A> <O:P></O:P></SPAN>
  <LI class=MsoNormal 
  style="TEXT-ALIGN: left; mso-pagination: widow-orphan; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l3 level1 lfo3; tab-stops: list 36.0pt"><SPAN 
  lang=EN-US 
  style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt"><A 
  href="mk:@MSITStore:C:\DXSDK\Doc\DirectX9\DirectX9_c.chm::/directx/htm/utilityfunctions.htm">Utility 
  Functions</A> <O:P></O:P></SPAN>
  <LI class=MsoNormal 
  style="TEXT-ALIGN: left; mso-pagination: widow-orphan; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l3 level1 lfo3; tab-stops: list 36.0pt"><SPAN 
  lang=EN-US 
  style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt"><A 
  href="mk:@MSITStore:C:\DXSDK\Doc\DirectX9\DirectX9_c.chm::/directx/htm/debuggingutilities.htm">Debugging 
  Utilities</A> <O:P></O:P></SPAN></LI></UL>
<P class=MsoNormal><SPAN lang=EN-US><O:P></O:P></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><O:P></O:P></SPAN></P>
<P class=MsoNormal 
style="TEXT-ALIGN: left; mso-pagination: widow-orphan; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-outline-level: 1" 
align=left><A name=introductiontothefilterbaseclasses></A><STRONG><SPAN 
lang=EN-US 
style="FONT-SIZE: 16pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 18.0pt">Introduction 
to the <A title=Filter 
href="http://blog.csdn.net/zhangxinbin/archive/2006/10/22/Filter">Filter</A> 
Base Classes<O:P></O:P></SPAN></STRONG></P>
<P class=MsoNormal 
style="TEXT-ALIGN: left; mso-pagination: widow-orphan; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" 
align=left><SPAN lang=EN-US 
style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt">This 
article describes the Microsoft <A title=DirectShow 
href="http://blog.csdn.net/zhangxinbin/archive/2006/10/22/DirectShow">DirectShow</A> 
base class library. This library is intended for <A title=Filter 
href="http://blog.csdn.net/zhangxinbin/archive/2006/10/22/Filter">Filter</A> 
developers, but application writers might find some of the helper classes and 
debugging utilities useful. <SPAN style="COLOR: fuchsia">The base class library 
is not required for <A title=DirectShow 
href="http://blog.csdn.net/zhangxinbin/archive/2006/10/22/DirectShow">DirectShow</A> 
programming, however.<O:P></O:P></SPAN></SPAN></P>
<P class=MsoNormal 
style="TEXT-ALIGN: left; mso-pagination: widow-orphan; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" 
align=left><SPAN lang=EN-US 
style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt">The 
following sections summarize the most important base classes in the 
library.<O:P></O:P></SPAN></P>
<P class=MsoNormal 
style="TEXT-ALIGN: left; mso-pagination: widow-orphan; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" 
align=left><STRONG><SPAN lang=EN-US 
style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt"><A 
title="" href="http://blog.csdn.net/zhangxinbin/archive/2006/10/22/COM">COM</A> 
Object Classes</SPAN></STRONG><SPAN lang=EN-US 
style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt"><O:P></O:P></SPAN></P>
<P class=MsoNormal 
style="TEXT-ALIGN: left; mso-pagination: widow-orphan; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" 
align=left><SPAN lang=EN-US 
style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt">The 
following classes support the creation of <A title="" 
href="http://blog.csdn.net/zhangxinbin/archive/2006/10/22/COM">COM</A> 
objects:<O:P></O:P></SPAN></P>
<TABLE class=MsoNormalTable 
style="mso-padding-alt: 3.75pt 3.75pt 3.75pt 3.75pt; mso-cellspacing: 1.5pt" 
cellPadding=0 border=0>
  <TBODY>
  <TR style="mso-yfti-irow: 0">
    <TD 
    style="PADDING-RIGHT: 3.75pt; PADDING-LEFT: 3.75pt; PADDING-BOTTOM: 3.75pt; PADDING-TOP: 3.75pt" 
    vAlign=top>
      <P class=MsoNormal style="TEXT-ALIGN: left; mso-pagination: widow-orphan" 
      align=left><STRONG><SPAN lang=EN-US 
      style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt">Class</SPAN></STRONG><SPAN 
      lang=EN-US 
      style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt"><O:P></O:P></SPAN></P></TD>
    <TD 
    style="PADDING-RIGHT: 3.75pt; PADDING-LEFT: 3.75pt; PADDING-BOTTOM: 3.75pt; PADDING-TOP: 3.75pt" 
    vAlign=top>
      <P class=MsoNormal style="TEXT-ALIGN: left; mso-pagination: widow-orphan" 
      align=left><STRONG><SPAN lang=EN-US 
      style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt">Description</SPAN></STRONG><SPAN 
      lang=EN-US 
      style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt"><O:P></O:P></SPAN></P></TD></TR>
  <TR style="mso-yfti-irow: 1">
    <TD 
    style="PADDING-RIGHT: 3.75pt; PADDING-LEFT: 3.75pt; PADDING-BOTTOM: 3.75pt; PADDING-TOP: 3.75pt" 
    vAlign=top>
      <P class=MsoNormal style="TEXT-ALIGN: left; mso-pagination: widow-orphan" 
      align=left><SPAN lang=EN-US 
      style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt"><A 
      href="mk:@MSITStore:C:\DXSDK\Doc\DirectX9\DirectX9_c.chm::/directx/htm/cbaseobjectclass.htm"><STRONG>CBaseObject</STRONG></A><O:P></O:P></SPAN></P></TD>
    <TD 
    style="PADDING-RIGHT: 3.75pt; PADDING-LEFT: 3.75pt; PADDING-BOTTOM: 3.75pt; PADDING-TOP: 3.75pt" 
    vAlign=top>
      <P class=MsoNormal style="TEXT-ALIGN: left; mso-pagination: widow-orphan" 
      align=left><SPAN lang=EN-US 
      style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt">Base 
      object class.<O:P></O:P></SPAN></P></TD></TR>
  <TR style="mso-yfti-irow: 2; mso-yfti-lastrow: yes">
    <TD 
    style="PADDING-RIGHT: 3.75pt; PADDING-LEFT: 3.75pt; PADDING-BOTTOM: 3.75pt; PADDING-TOP: 3.75pt" 
    vAlign=top>
      <P class=MsoNormal style="TEXT-ALIGN: left; mso-pagination: widow-orphan" 
      align=left><SPAN lang=EN-US 
      style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt"><A 
      href="mk:@MSITStore:C:\DXSDK\Doc\DirectX9\DirectX9_c.chm::/directx/htm/cunknownclass.htm"><STRONG>CUnknown</STRONG></A><O:P></O:P></SPAN></P></TD>
    <TD 
    style="PADDING-RIGHT: 3.75pt; PADDING-LEFT: 3.75pt; PADDING-BOTTOM: 3.75pt; PADDING-TOP: 3.75pt" 
    vAlign=top>
      <P class=MsoNormal style="TEXT-ALIGN: left; mso-pagination: widow-orphan" 
      align=left><SPAN lang=EN-US 
      style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt">Implements 
      the <SPAN class=SpellE><STRONG>IUnknown</STRONG></SPAN> 
      interface.<O:P></O:P></SPAN></P></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="TEXT-ALIGN: left; mso-pagination: widow-orphan" 
align=left><SPAN lang=EN-US 
style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt"><O:P></O:P></SPAN></P>
<P class=MsoNormal 
style="TEXT-ALIGN: left; mso-pagination: widow-orphan; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" 
align=left><SPAN lang=EN-US 
style="FONT-SIZE: 12pt; COLOR: fuchsia; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt">Most 
of the <A title=DirectShow 
href="http://blog.csdn.net/zhangxinbin/archive/2006/10/22/DirectShow">DirectShow</A> 
classes derive from <SPAN class=SpellE><STRONG>CBaseObject</STRONG></SPAN>. This 
class provides debugging assistance by keeping a count of all the active objects 
in the DLL at run time.</SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt"> 
In debug builds, the DLL asserts if it is unloaded while the object count is 
greater than zero. This makes it easier to track down leaks caused by 
reference-counting problems.<O:P></O:P></SPAN></P>
<P class=MsoNormal 
style="TEXT-ALIGN: left; mso-pagination: widow-orphan; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" 
align=left><SPAN lang=EN-US 
style="FONT-SIZE: 12pt; COLOR: fuchsia; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt">All 
of the base classes that support <A title="" 
href="http://blog.csdn.net/zhangxinbin/archive/2006/10/22/COM">COM</A> 
interfaces derive from <SPAN class=SpellE><STRONG>CUnknown</STRONG></SPAN>, 
which inherits <SPAN class=SpellE><STRONG>CBaseObject</STRONG></SPAN>. 
</SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt">The 
<SPAN class=SpellE><STRONG>CUnknown</STRONG></SPAN> class supports reference 
counting, <SPAN class=SpellE><STRONG>QueryInterface</STRONG></SPAN>, and <SPAN 
class=SpellE>aggregration</SPAN>. For more information, see <A 
href="mk:@MSITStore:C:\DXSDK\Doc\DirectX9\DirectX9_c.chm::/directx/htm/howtoimplementiunknown.htm">How 
to Implement <STRONG>IUnknown</STRONG></A>.<O:P></O:P></SPAN></P>
<P class=MsoNormal 
style="TEXT-ALIGN: left; mso-pagination: widow-orphan; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" 
align=left><STRONG><SPAN lang=EN-US 
style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt"><A 
title=Filter 
href="http://blog.csdn.net/zhangxinbin/archive/2006/10/22/Filter">Filter</A> and 
Pin Classes</SPAN></STRONG><SPAN lang=EN-US 
style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt"><O:P></O:P></SPAN></P>
<P class=MsoNormal 
style="TEXT-ALIGN: left; mso-pagination: widow-orphan; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" 
align=left><SPAN lang=EN-US 
style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 0pt">The 
following classes support the creation of <A title=DirectShow 
href="http://blog.csdn.net/zhangxinbin/archive/2006/10/22/DirectShow">DirectShow</A> 
<A title=Filter 

⌨️ 快捷键说明

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