This commit is contained in:
2024-08-07 09:16:27 -04:00
parent fdfadd5c7e
commit 5f971cf684
5200 changed files with 731717 additions and 0 deletions

24
dvcap/VideoCapture.hpp Normal file
View File

@@ -0,0 +1,24 @@
#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