ADLINK Technology PCI-MPG24 Instrukcja Użytkownika Strona 61

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 160
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 60
Programming Guide 51
5.4 Controlling Driver
Preview
ADLINK Bt878 Video Capture
The ADLINK Bt878 Video Capture Filter provides property
pages and exposes COM interfaces to control video. Hence,
an application has two ways to control video configurations: via
property pages or via the COM interfaces.
Use Property Pages
There are two embedded property pages in the driver. To show
these property pages, use Windows API: OleCreateProperty-
Frame.
Documentation on Displaying a Filter’s Property Page can be
found on Microsoft MSDN homepage.
Below is an 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();
Przeglądanie stron 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 159 160

Komentarze do niniejszej Instrukcji

Brak uwag