PICTURE1.CPP


/******************************************************************************\
********************************************************************************
* Filename: picture1.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
********************************************************************************
\******************************************************************************/


#include "stdafx.h"
#include "picture1.h"


/////////////////////////////////////////////////////////////////////////////
// CPicture properties

long CPicture::GetHandle()
{
long result;
GetProperty(0x0, VT_I4, (void*)&result);
return result;
}

long CPicture::GetHPal()
{
long result;
GetProperty(0x2, VT_I4, (void*)&result);
return result;
}

void CPicture::SetHPal(long propVal)
{
SetProperty(0x2, VT_I4, propVal);
}

short CPicture::GetType()
{
short result;
GetProperty(0x3, VT_I2, (void*)&result);
return result;
}

long CPicture::GetWidth()
{
long result;
GetProperty(0x4, VT_I4, (void*)&result);
return result;
}

long CPicture::GetHeight()
{
long result;
GetProperty(0x5, VT_I4, (void*)&result);
return result;
}

/////////////////////////////////////////////////////////////////////////////
// CPicture operations