Files
Work/dvcap/VideoCapture.hpp
2024-08-07 09:16:27 -04:00

25 lines
467 B
C++

#ifndef _DVCAP_VIDEOCAPTURE_HPP_
#define _DVCAP_VIDEOCAPTURE_HPP_
#ifndef _COM_COM_HPP_
#include <com/com.hpp>
#endif
#ifndef _COM_VARIANT_HPP_
#include <com/variant.hpp>
#endif
#ifndef _COM_COMPOINTER_HPP_
#include <com/comptr.hpp>
#endif
#ifndef _COMMON_DXSDK_HPP_
#include <common/dxsdk.hpp>
#endif
class VideoCapture
{
public:
bool capture(BString &deviceName);
private:
bool locateDevice(ComPointer<IBaseFilter> &baseFilter,BString &deviceName);
};
#endif