BuildGraph.h
资源名称:PCBMatch.rar [点击查看]
上传用户:bxq2008bxq
上传日期:2022-07-18
资源大小:6138k
文件大小:1k
源码类别:
DirextX编程
开发平台:
Visual C++
- #pragma once
- class CBuildGraph
- {
- public:
- CBuildGraph(void);
- public:
- ~CBuildGraph(void);
- IGraphBuilder *pGraph;
- ISampleGrabber *pGrabber;
- IMediaControl *pControl;
- IMediaEventEx *pEvent;
- IBaseFilter *pF;
- IBaseFilter *pNull;
- HRESULT GetUnconnectedPin(
- IBaseFilter *pFilter, // Pointer to the filter.
- PIN_DIRECTION PinDir, // Direction of the pin to find.
- IPin **ppPin); // Receives a pointer to the pin.
- HRESULT ConnectFilters(
- IGraphBuilder *pGraph, // Filter Graph Manager.
- IPin *pOut, // Output pin on the upstream filter.
- IBaseFilter *pDest); // Downstream filter.
- HRESULT ConnectFilters(
- IGraphBuilder *pGraph,
- IBaseFilter *pSrc,
- IBaseFilter *pDest);
- HRESULT GetPinCategory(IPin *pPin, GUID *pPinCategory);
- HRESULT CBuildGraph::GetCapturePin(
- IBaseFilter *pFilter, // Pointer to the filter.
- PIN_DIRECTION PinDir, // Direction of the pin to find.
- IPin **ppPin); // Receives a pointer to the pin.
- HRESULT ConnectCaptureFilters(
- IGraphBuilder *pGraph,
- IBaseFilter *pSrc,
- IBaseFilter *pDest);
- HRESULT InitCaptureVideo(IBaseFilter *pSrc);
- public:
- long cbBuffer;
- };