255 lines
9.7 KiB
HTML
255 lines
9.7 KiB
HTML
<html xmlns:v="urn:schemas-microsoft-com:vml"
|
||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||
xmlns:w="urn:schemas-microsoft-com:office:word"
|
||
xmlns="http://www.w3.org/TR/REC-html40">
|
||
|
||
<head>
|
||
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
|
||
<meta name=ProgId content=Word.Document>
|
||
<meta name=Generator content="Microsoft Word 10">
|
||
<meta name=Originator content="Microsoft Word 10">
|
||
<link rel=File-List href="readme_files/filelist.xml">
|
||
<title>ADDITIONAL INFORMATION TO THE SAMPLE The private property is
|
||
exposed as a filter property</title>
|
||
<!--[if gte mso 9]><xml>
|
||
<o:DocumentProperties>
|
||
<o:Author>Frank Berreth</o:Author>
|
||
<o:LastAuthor>Frank Berreth</o:LastAuthor>
|
||
<o:Revision>9</o:Revision>
|
||
<o:TotalTime>166</o:TotalTime>
|
||
<o:Created>2001-05-10T16:58:00Z</o:Created>
|
||
<o:LastSaved>2001-11-15T21:03:00Z</o:LastSaved>
|
||
<o:Pages>1</o:Pages>
|
||
<o:Words>375</o:Words>
|
||
<o:Characters>2141</o:Characters>
|
||
<o:Company>Microsoft Corp.</o:Company>
|
||
<o:Lines>17</o:Lines>
|
||
<o:Paragraphs>5</o:Paragraphs>
|
||
<o:CharactersWithSpaces>2511</o:CharactersWithSpaces>
|
||
<o:Version>10.2625</o:Version>
|
||
</o:DocumentProperties>
|
||
</xml><![endif]--><!--[if gte mso 9]><xml>
|
||
<w:WordDocument>
|
||
<w:Zoom>90</w:Zoom>
|
||
<w:SpellingState>Clean</w:SpellingState>
|
||
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
|
||
</w:WordDocument>
|
||
</xml><![endif]-->
|
||
<style>
|
||
<!--
|
||
/* Font Definitions */
|
||
@font-face
|
||
{font-family:Verdana;
|
||
panose-1:2 11 6 4 3 5 4 4 2 4;
|
||
mso-font-charset:0;
|
||
mso-generic-font-family:swiss;
|
||
mso-font-pitch:variable;
|
||
mso-font-signature:536871559 0 0 0 415 0;}
|
||
@font-face
|
||
{font-family:"MS Sans Serif";
|
||
panose-1:0 0 0 0 0 0 0 0 0 0;
|
||
mso-font-charset:0;
|
||
mso-generic-font-family:swiss;
|
||
mso-font-format:other;
|
||
mso-font-pitch:variable;
|
||
mso-font-signature:3 0 0 0 1 0;}
|
||
/* Style Definitions */
|
||
p.MsoNormal, li.MsoNormal, div.MsoNormal
|
||
{mso-style-parent:"";
|
||
margin:0in;
|
||
margin-bottom:.0001pt;
|
||
mso-pagination:widow-orphan;
|
||
font-size:12.0pt;
|
||
font-family:"Times New Roman";
|
||
mso-fareast-font-family:"Times New Roman";}
|
||
h2
|
||
{mso-margin-top-alt:auto;
|
||
margin-right:0in;
|
||
mso-margin-bottom-alt:auto;
|
||
margin-left:0in;
|
||
mso-pagination:widow-orphan;
|
||
mso-outline-level:2;
|
||
font-size:18.0pt;
|
||
font-family:"Times New Roman";
|
||
font-weight:bold;}
|
||
h3
|
||
{mso-margin-top-alt:auto;
|
||
margin-right:0in;
|
||
mso-margin-bottom-alt:auto;
|
||
margin-left:0in;
|
||
mso-pagination:widow-orphan;
|
||
mso-outline-level:3;
|
||
font-size:13.5pt;
|
||
font-family:"Times New Roman";
|
||
font-weight:bold;}
|
||
h4
|
||
{mso-margin-top-alt:auto;
|
||
margin-right:0in;
|
||
mso-margin-bottom-alt:auto;
|
||
margin-left:0in;
|
||
mso-pagination:widow-orphan;
|
||
mso-outline-level:4;
|
||
font-size:12.0pt;
|
||
font-family:"Times New Roman";
|
||
font-weight:bold;}
|
||
a:link, span.MsoHyperlink
|
||
{color:blue;
|
||
text-decoration:underline;
|
||
text-underline:single;}
|
||
a:visited, span.MsoHyperlinkFollowed
|
||
{color:purple;
|
||
text-decoration:underline;
|
||
text-underline:single;}
|
||
p
|
||
{mso-margin-top-alt:auto;
|
||
margin-right:0in;
|
||
mso-margin-bottom-alt:auto;
|
||
margin-left:0in;
|
||
mso-pagination:widow-orphan;
|
||
font-size:12.0pt;
|
||
font-family:"Times New Roman";
|
||
mso-fareast-font-family:"Times New Roman";}
|
||
pre
|
||
{margin:0in;
|
||
margin-bottom:.0001pt;
|
||
mso-pagination:widow-orphan;
|
||
tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
|
||
font-size:10.0pt;
|
||
font-family:"Courier New";
|
||
mso-fareast-font-family:"Courier New";}
|
||
span.SpellE
|
||
{mso-style-name:"";
|
||
mso-spl-e:yes;}
|
||
@page Section1
|
||
{size:8.5in 11.0in;
|
||
margin:1.0in 1.25in 1.0in 1.25in;
|
||
mso-header-margin:.5in;
|
||
mso-footer-margin:.5in;
|
||
mso-paper-source:0;}
|
||
div.Section1
|
||
{page:Section1;}
|
||
-->
|
||
</style>
|
||
<!--[if gte mso 10]>
|
||
<style>
|
||
/* Style Definitions */
|
||
table.MsoNormalTable
|
||
{mso-style-name:"Table Normal";
|
||
mso-tstyle-rowband-size:0;
|
||
mso-tstyle-colband-size:0;
|
||
mso-style-noshow:yes;
|
||
mso-style-parent:"";
|
||
mso-padding-alt:0in 5.4pt 0in 5.4pt;
|
||
mso-para-margin:0in;
|
||
mso-para-margin-bottom:.0001pt;
|
||
mso-pagination:widow-orphan;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman";}
|
||
</style>
|
||
<![endif]-->
|
||
</head>
|
||
|
||
<body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'>
|
||
|
||
<div class=Section1>
|
||
|
||
<h2><span style='font-family:Verdana'>GFX Property Sample<o:p></o:p></span></h2>
|
||
|
||
<p><span style='font-size:10.0pt;font-family:Arial;color:red'>[This is
|
||
preliminary documentation and subject to change.]</span><span style='font-size:
|
||
10.0pt;font-family:Verdana'><o:p></o:p></span></p>
|
||
|
||
<h3><span style='font-family:Verdana'>SUMMARY<o:p></o:p></span></h3>
|
||
|
||
<p><span style='font-size:10.0pt;font-family:Verdana'>This sample demonstrates
|
||
the basics of writing a GFX property page and can be used as a base to write
|
||
your own GFX property dialog. The sample only works together with the audio GFX
|
||
filter sample which is tied to the Microsoft DSS 80 USB speakers. You can apply
|
||
the sample to different USB speakers, however, you need to modify the INF file
|
||
and replace the PnP ID of the Microsoft DSS 80 USB speakers with the PnP ID of
|
||
your USB speakers.<o:p></o:p></span></p>
|
||
|
||
<p><span style='font-size:10.0pt;font-family:Verdana'>After you install the
|
||
audio GFX filter together with this sample, the property dialog will appear
|
||
when you open the <20>Advanced Audio Properties<65> and click on the <20>properties<65>
|
||
button for the USB speakers in the <20>Effects<74> tab. In this dialog you basically can
|
||
enable or disable the <span class=SpellE>GFXSwap</span> functionality.<o:p></o:p></span></p>
|
||
|
||
<h3><span style='font-family:Verdana'>BUILDING THE SAMPLE<o:p></o:p></span></h3>
|
||
|
||
<p><span style='font-size:10.0pt;font-family:Verdana'>To build this sample,
|
||
enter the free or checked Windows XP build environment and run <b>build</b>
|
||
from the parent directory, rather than this subdirectory. This would also
|
||
compile the audio GFX filter sample that is needed for this sample to work.<o:p></o:p></span></p>
|
||
|
||
<p><span style='font-size:10.0pt;font-family:Verdana'>The INF named <20><span
|
||
class=SpellE>gfxswap.inf</span><EFBFBD>, which is included in the parent directory,
|
||
can be used to install the sample after it has been built. Simply copy the INF
|
||
and this sample binary and the GFX filter binary to a floppy disk and right
|
||
click the INF file and choose <20>Install<6C> on your test machine. Please also refer
|
||
to the <20>readme.htm<74> file in the parent directory.<o:p></o:p></span></p>
|
||
|
||
<p><span style='font-size:10.0pt;font-family:Verdana'>Once the sample set has
|
||
been installed with the INF, the binary may be updated by copying the new binary
|
||
into %SystemRoot%\System32 on the target machine, provided that there are no
|
||
INF changes.<o:p></o:p></span></p>
|
||
|
||
<h3><span style='font-family:Verdana'>SAMPLE ISSUES<o:p></o:p></span></h3>
|
||
|
||
<h3><span style='font-size:10.0pt;mso-bidi-font-size:13.5pt;font-family:Verdana;
|
||
font-weight:normal'>This sample only works with </span><span style='font-size:
|
||
10.0pt;font-family:Verdana;font-weight:normal'>Microsoft<EFBFBD> Windows<77> XP (or
|
||
higher)</span><span style='font-size:10.0pt;font-family:Verdana'> </span><span
|
||
style='font-size:10.0pt;font-family:Verdana;font-weight:normal'>operating
|
||
system.</span><span style='font-size:10.0pt;mso-bidi-font-size:13.5pt;
|
||
font-family:Verdana;font-weight:normal'><o:p></o:p></span></h3>
|
||
|
||
<p><b><span style='font-size:13.5pt;mso-bidi-font-size:12.0pt;font-family:Verdana'>ADDITIONAL
|
||
INFORMATION TO THE SAMPLE<o:p></o:p></span></b></p>
|
||
|
||
<p><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Verdana'>The
|
||
GFX Property sample communicates with the GFX filter through a property. This
|
||
property is sent to the only node that the GFX filter has. Since the node is
|
||
new (specific to the GFX filter sample), the property is new (private) too.<o:p></o:p></span></p>
|
||
|
||
<h3><span lang=FR style='font-family:Verdana;mso-ansi-language:FR'>CODE TOUR<o:p></o:p></span></h3>
|
||
|
||
<p><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Verdana'>The
|
||
project was generated using the ATL wizard of Microsoft Visual C++ 6.0. The
|
||
project workspace file still exists, so you can open the project with Microsoft
|
||
Visual C++ 6.0 (or later). If you want to create your own project it is
|
||
probably a good idea to use the wizard and create a new project instead of
|
||
renaming this project and modifying it. If you choose the latter, please make
|
||
sure you read the documents in the parent directory about GUID dependencies.<o:p></o:p></span></p>
|
||
|
||
<p align=center style='margin:0in;margin-bottom:.0001pt;text-align:center;
|
||
tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt'><span
|
||
style='font-size:10.0pt;font-family:Verdana;mso-fareast-font-family:"Courier New";
|
||
mso-bidi-font-family:"Courier New"'><o:p> </o:p></span></p>
|
||
|
||
<pre><o:p> </o:p></pre>
|
||
|
||
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=624
|
||
style='width:6.5in;mso-cellspacing:0in;mso-padding-alt:0in 0in 0in 0in'>
|
||
<tr style='mso-yfti-irow:0;mso-yfti-lastrow:yes;height:1.5pt'>
|
||
<td style='background:aqua;padding:.75pt .75pt .75pt .75pt;height:1.5pt'>
|
||
<p class=MsoNormal><o:p> </o:p></p>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
|
||
<pre><o:p> </o:p></pre><pre><o:p> </o:p></pre>
|
||
|
||
<p style='margin:0in;margin-bottom:.0001pt;tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt'><span
|
||
style='font-size:7.5pt;font-family:"MS Sans Serif";mso-fareast-font-family:
|
||
"Courier New";mso-bidi-font-family:"Courier New"'><EFBFBD> Microsoft Corporation 1999</span><span
|
||
style='font-size:10.0pt;font-family:Verdana;mso-fareast-font-family:"Courier New";
|
||
mso-bidi-font-family:"Courier New"'> <o:p></o:p></span></p>
|
||
|
||
</div>
|
||
|
||
</body>
|
||
|
||
</html>
|
||
|