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
Содержание HDV62
Страница 11: ...vi List of Figures...
Страница 25: ...14 Installation Guide...
Страница 26: ...Installation Guide 15...
Страница 27: ...16 Installation Guide 4 Click next until driver installation is complete...
Страница 105: ...94 Programming Guide Video Proc Amp...
Страница 143: ...132 ViewCreatorPro Utility 6 2 Component Description Launch ViewCreatorPro and you can see the following view...
Страница 153: ...142 ViewCreatorPro Utility View menu Device Hide or unhide Devices panel Adjustment Hide or unhide Adjustment panel...
Страница 163: ...152 ViewCreatorPro Utility...