Programming Guide
99
5.3
Controlling Driver
The ADLINK HDV62 Video Capture filter provides property pages
and exposes COM interfaces to control video. So an application
can have two ways to control video configurations: using the prop-
erty pages and using the COM interfaces.
5.3.1
Use Property Pages
There are two embedded property pages in the driver. To show
these property pages, use Windows API:
OleCreatePropertyFrame
.
Documentation about Displaying a Filter’s Property Page can be
found on Microsoft MSDN homepage.
Below is the example code for adding property pages:
// pFilter points to an ADLINK HDV62 Video Capture
filter
// or an ADLINK HDV62 Crossbar filter
ISpecifyPropertyPages *pSpecify;
HRESULT hr;
hr = pFilter-
>QueryInterface(IID_ISpecifyPropertyPages, (void
**)&pSpecify);
if (SUCCEEDED(hr))
{
FILTER_INFO FilterInfo;
pFilter->QueryFilterInfo(&FilterInfo);
FilterInfo.pGraph->Release();
CAUUID caGUID;
pSpecify->GetPages(&caGUID);
pSpecify->Release();
OleCreatePropertyFrame(
NULL,
// Parent window
0,
// x (Reserved)
0,
// y (Reserved)
FilterInfo.achName,// Caption for the
dialog box
1,
// Number of filters
Summary of Contents for HDV62
Page 11: ...vi List of Figures...
Page 25: ...14 Installation Guide...
Page 26: ...Installation Guide 15...
Page 27: ...16 Installation Guide 4 Click next until driver installation is complete...
Page 105: ...94 Programming Guide Video Proc Amp...
Page 163: ...152 ViewCreatorPro Utility...