windows-nt/Source/XPSP1/NT/printscan/wia/test/wiatest2/wiaeditpropdlg.h

36 lines
1.1 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
// 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_)