?? directshow幫助文檔學習筆記之directshow event notification codes - zhangxinbin的專欄 - csdnblog.htm
字號:
<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><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>
Event Notification Codes<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; mso-outline-level: 1"
align=left><A name=eventnotificationcodes></A><A
name=dvdeventnotificationcodes></A><STRONG><SPAN lang=EN-US
style="FONT-SIZE: 16pt; FONT-FAMILY: 宋體; mso-bidi-font-family: 宋體; mso-font-kerning: 18.0pt">DVD
Event Notification Codes<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><STRONG><SPAN lang=EN-US
style="FONT-SIZE: 12pt; COLOR: fuchsia; FONT-FAMILY: 宋體; mso-bidi-font-family: 宋體; mso-font-kerning: 0pt">Note </SPAN></STRONG><SPAN
lang=EN-US
style="FONT-SIZE: 12pt; COLOR: fuchsia; FONT-FAMILY: 宋體; mso-bidi-font-family: 宋體; mso-font-kerning: 0pt">This
introductory material applies only to C++ 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; COLOR: fuchsia; FONT-FAMILY: 宋體; mso-bidi-font-family: 宋體; mso-font-kerning: 0pt">Microsoft?
<A title=DirectShow
href="http://blog.csdn.net/zhangxinbin/archive/2006/10/22/DirectShow">DirectShow</A>?
supports system-defined events, which filters in the <A title=Filter
href="http://blog.csdn.net/zhangxinbin/archive/2006/10/22/Filter">Filter</A> <A
title=Graph
href="http://blog.csdn.net/zhangxinbin/archive/2006/10/22/Graph">Graph</A> pass
to the <A title=Filter
href="http://blog.csdn.net/zhangxinbin/archive/2006/10/22/Filter">Filter</A> <A
title=Graph
href="http://blog.csdn.net/zhangxinbin/archive/2006/10/22/Graph">Graph</A>
manager. Filters pass these events to the <A title=Filter
href="http://blog.csdn.net/zhangxinbin/archive/2006/10/22/Filter">Filter</A> <A
title=Graph
href="http://blog.csdn.net/zhangxinbin/archive/2006/10/22/Graph">Graph</A>
manager by using the <A
href="mk:@MSITStore:C:\DXSDK\Doc\DirectX9\DirectX9_c.chm::/directx/htm/imediaeventsinknotify.htm"><STRONG><SPAN
style="COLOR: fuchsia">IMediaEventSink::Notify</SPAN></STRONG></A> method, and
the application retrieves them with the <A
href="mk:@MSITStore:C:\DXSDK\Doc\DirectX9\DirectX9_c.chm::/directx/htm/imediaeventgetevent.htm"><STRONG><SPAN
style="COLOR: fuchsia">IMediaEvent::GetEvent</SPAN></STRONG></A> method.
<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">When
you retrieve an event by calling <SPAN
class=SpellE><STRONG>GetEvent</STRONG></SPAN>, the event can contain interface
pointers or pointers to allocated memory. Code that uses <SPAN
class=SpellE><STRONG>GetEvent</STRONG></SPAN> should, therefore, call <A
href="mk:@MSITStore:C:\DXSDK\Doc\DirectX9\DirectX9_c.chm::/directx/htm/imediaeventfreeeventparams.htm"><STRONG>IMediaEvent::FreeEventParams</STRONG></A>
to free any resources associated with the event's parameters after it handles
the event. <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
DVD event notification codes are listed in <SPAN class=SpellE>Dvdevcod.h</SPAN>.
See <A
href="mk:@MSITStore:C:\DXSDK\Doc\DirectX9\DirectX9_c.chm::/directx/htm/eventnotificationcodes.htm">Event
Notification Codes</A> for non-DVD event notification codes. The following list
shows the available DVD event notification codes in alphabetical order.
<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">DVD
event notification code</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/ec_dvd_angle_change.htm">EC_DVD_ANGLE_CHANGE</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">Signals
that either the number of available angles changed or that the current
angle number changed. <O:P></O:P></SPAN></P></TD></TR>
<TR style="mso-yfti-irow: 2">
<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/ec_dvd_angles_available.htm">EC_DVD_ANGLES_AVAILABLE</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">Indicates
whether an angle block is being played and angle changes can be performed.
<O:P></O:P></SPAN></P></TD></TR>
<TR style="mso-yfti-irow: 3">
<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/ec_dvd_audio_stream_change.htm">EC_DVD_AUDIO_STREAM_CHANGE</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">Signals
that the current audio stream number changed for the main title.
<O:P></O:P></SPAN></P></TD></TR>
<TR style="mso-yfti-irow: 4">
<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/ec_dvd_button_auto_activated.htm">EC_DVD_BUTTON_AUTO_ACTIVATED</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">Signals
that a menu button has been automatically activated per instructions on
the disc. <O:P></O:P></SPAN></P></TD></TR>
<TR style="mso-yfti-irow: 5">
<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/ec_dvd_button_change.htm">EC_DVD_BUTTON_CHANGE</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">Signals
that either the number of available buttons changed or that the currently
selected button number changed. <O:P></O:P></SPAN></P></TD></TR>
<TR style="mso-yfti-irow: 6">
<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/ec_dvd_chapter_autostop.htm">EC_DVD_CHAPTER_AUTOSTOP</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">Indicates
that playback stopped as the result of a call to the <A
href="mk:@MSITStore:C:\DXSDK\Doc\DirectX9\DirectX9_c.chm::/directx/htm/idvdcontrol2playchaptersautostop.htm"><STRONG>IDvdControl2::PlayChaptersAutoStop</STRONG></A>
method. <O:P></O:P></SPAN></P></TD></TR>
<TR style="mso-yfti-irow: 7">
<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/ec_dvd_chapter_start.htm">EC_DVD_CHAPTER_START</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">Signals
that the DVD Navigator started playback of a new chapter in the current
title. <O:P></O:P></SPAN></P></TD></TR>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -