/******************************************************************************\
********************************************************************************
* Filename: cpicturectl1.cpp
*
* Description:
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.
*
* This file is provided as part of the Microsoft Transaction Server
* Software Development Kit
*
*THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT
*WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
*INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
*OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
*PURPOSE.
*
* Copyright (C) 1997 Microsoft Corporation, All rights reserved
********************************************************************************
\******************************************************************************/
throw
#include "stdafx.h"
#include "cpicturectl1.h"
/////////////////////////////////////////////////////////////////////////////
// CNewPictureCtl
IMPLEMENT_DYNCREATE(CNewPictureCtl, CWnd)
/////////////////////////////////////////////////////////////////////////////
// CNewPictureCtl properties
/////////////////////////////////////////////////////////////////////////////
// CNewPictureCtl operations
unsigned long CNewPictureCtl::AddRef()
{
unsigned long result;
InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
return result;
}
unsigned long CNewPictureCtl::Release()
{
unsigned long result;
InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
return result;
}
CString CNewPictureCtl::GetPictureFileName()
{
CString result;
InvokeHelper(0x68030000, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
return result;
}
void CNewPictureCtl::SetPictureFileName(LPCTSTR lpszNewValue)
{
static BYTE parms[] =
VTS_BSTR;
InvokeHelper(0x68030000, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
lpszNewValue);
}