Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

42 lines
1.0 KiB

#ifndef __VIDEODS_H_
#define __VIDEODS_H_
class CWiaVideoDS : public CWiaDataSrc
{
protected:
//
// overridden function definitions
//
virtual TW_UINT16 OpenDS(PTWAIN_MSG ptwMsg);
virtual TW_UINT16 CloseDS(PTWAIN_MSG ptwMsg);
virtual TW_UINT16 SetCapability(CCap *pCap, TW_CAPABILITY *ptwCap);
virtual TW_UINT16 EnableDS(TW_USERINTERFACE *pUI);
virtual TW_UINT16 OnPendingXfersMsg (PTWAIN_MSG ptwMsg);
virtual TW_UINT16 OnImageInfoMsg (PTWAIN_MSG ptwMsg);
virtual TW_UINT16 TransferToDIB(HGLOBAL *phDIB);
private:
//
// camera specific function definitions
//
TW_UINT16 SetArrayOfImageIndexes(TW_CAPABILITY *ptwCap);
TW_UINT16 SetRangeOfImageIndexes(TW_CAPABILITY *ptwCap);
//
// camera specific member variables
//
BOOL m_bArrayModeAcquisition;
LONG *m_pulImageIndexes;
LONG m_lNumValidIndexes;
LONG m_lCurrentArrayIndex;
BOOL m_bRangeModeAcquisition;
TW_RANGE m_twImageRange;
};
#endif // __VIDEODS_H_