windows-nt/Source/XPSP1/NT/printscan/wia/test/wiatest2/wiaeditpropdlg.h
2020-09-26 16:20:57 +08:00

36 lines
1.1 KiB
C++

// WiaeditpropDlg.h: interface for the CWiaeditpropDlg class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_WIAEDITPROPDLG_H__680CD709_25B9_495E_9FAA_BECB0F97A333__INCLUDED_)
#define AFX_WIAEDITPROPDLG_H__680CD709_25B9_495E_9FAA_BECB0F97A333__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "wiaeditpropflags.h"
#include "wiaeditpropnone.h"
#include "wiaeditproplist.h"
#include "wiaeditproprange.h"
class CWiaeditpropDlg
{
public:
void SetAttributes(ULONG ulAttributes, PROPVARIANT *pPropVar);
void SetVarType(VARTYPE vt);
VARTYPE GetVarType();
void GetPropertyValue(TCHAR *szPropertyValue);
UINT DoModal(TCHAR *szPropertyName, TCHAR *szPropertyValue);
CWiaeditpropDlg();
virtual ~CWiaeditpropDlg();
private:
VARTYPE m_vt; // variant type
PROPVARIANT *m_pPropVar; // valid values propvariant( IN )
ULONG m_ulAttributes; // attributes
CString m_szPropertyValue; // property value
};
#endif // !defined(AFX_WIAEDITPROPDLG_H__680CD709_25B9_495E_9FAA_BECB0F97A333__INCLUDED_)