2 driver control, Driver control, Figure 3-2 – ADLINK PCIe-2602 User Manual
Page 67: Graphedit interface, 1 property pages

DirectShow Programming Guide
57
PCIe-2602-FLR
Figure 3-2: GraphEdit Interface
3.2
Driver Control
The ADLINK SDI Capture filter provides control of video configura-
tion by either property pages or access to COM interfaces.
3.2.1
Property Pages
The driver provides two embedded property pages. To show these
property pages, use Windows API: OleCreatePropertyFrame.
Details about Displaying a Filter’s Property Page can be found on
the Microsoft MSDN homepage.
Sample code for adding property pages is as follows.
// pFilter points to an ADLINK SDI Capture filter
ISpecifyPropertyPages *pSpecify;
HRESULT hr;
hr = pFilter->QueryInter-
face(IID_ISpecifyPropertyPages, (void **)&pSpec-
ify);
if (SUCCEEDED(hr))
{
FILTER_INFO FilterInfo;
pFilter->QueryFilterInfo(&FilterInfo);
FilterInfo.pGraph->Release();
CAUUID caGUID;
pSpecify->GetPages(&caGUID);
pSpecify->Release();
NOTE:
NOTE:
If VMR substitutes for the default Video Renderer, the preview
video shows a vertical mirror video, which can be resolved by
inserting a Color Space Converter filter before.