140
Programming
Guide
Below is the example code for adding property pages:
// pFilter points to the capture 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
(IUnknown **)&m_pFilter,// Pointer to
the filter
caGUID.cElems,// Number of property
pages
caGUID.pElems,// Pointer to property
page CLSIDs
0,
// Locale identifier
0,
// Reserved
NULL // Reserved
);
CoTaskMemFree(caGUID.pElems);
}
Summary of Contents for cRTV-24
Page 4: ......
Page 8: ...List of Tables iv Table 5 2 C C Data Types 83 Table 5 3 Pixel Data 122 ...
Page 10: ......
Page 18: ...8 Introduction ...
Page 34: ...24 Hardware Reference Figure 2 8 STRG Address Jumpers ...
Page 55: ...Installation Guide 45 Figure 3 2 cRTV 24 3U cPCI ...
Page 61: ...Installation Guide 51 ...
Page 62: ...52 Installation Guide ...
Page 64: ...54 Installation Guide The Device Manager should be as follows ...
Page 67: ...Installation Guide 57 ...
Page 68: ...58 Installation Guide 3 When the following window appears please click Con tinue Anyway ...
Page 70: ...60 Installation Guide The Device Manager should be as follows ...
Page 72: ...62 Installation Guide 3 Click the Finish button to finish the installation ...
Page 76: ...66 Installation Guide ...
Page 144: ...134 Function Library ...
Page 174: ...164 Programming Guide ...