mirror of https://github.com/tongzx/nt5src
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.
64 lines
1.5 KiB
64 lines
1.5 KiB
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
|
|
|
|
// NOTE: Do not modify the contents of this file. If this class is regenerated by
|
|
// Microsoft Visual C++, your modifications will be overwritten.
|
|
|
|
|
|
#include "stdafx.h"
|
|
#include "preview.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CPreview
|
|
|
|
IMPLEMENT_DYNCREATE(CPreview, CWnd)
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CPreview properties
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CPreview operations
|
|
|
|
void CPreview::ShowFile(LPCTSTR bstrFileName, long iSelectCount)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_BSTR VTS_I4;
|
|
InvokeHelper(0x1, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
|
|
bstrFileName, iSelectCount);
|
|
}
|
|
|
|
long CPreview::GetPrintable()
|
|
{
|
|
long result;
|
|
InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
return result;
|
|
}
|
|
|
|
void CPreview::SetPrintable(long nNewValue)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_I4;
|
|
InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
|
|
nNewValue);
|
|
}
|
|
|
|
long CPreview::GetCxImage()
|
|
{
|
|
long result;
|
|
InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
return result;
|
|
}
|
|
|
|
long CPreview::GetCyImage()
|
|
{
|
|
long result;
|
|
InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
return result;
|
|
}
|
|
|
|
void CPreview::Show(const VARIANT& var)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_VARIANT;
|
|
InvokeHelper(0x5, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
|
|
&var);
|
|
}
|