//****************************************************************************
// Module: Chappy.EXE
// File: Chtitems.cpp
//
//
// Copyright (c) Microsoft Corporation 1996-1997
//
// 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.
//****************************************************************************
// 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 "chtitems.h"
/////////////////////////////////////////////////////////////////////////////
// CChatItems properties
/////////////////////////////////////////////////////////////////////////////
// CChatItems operations
CString CChatItems::GetAssociatedType()
{
CString result;
InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
return result;
}
void CChatItems::SetAssociatedType(LPCTSTR lpszNewValue)
{
static BYTE parms[] =
VTS_BSTR;
InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
lpszNewValue);
}
VARIANT CChatItems::GetValidItems()
{
VARIANT result;
InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
long CChatItems::GetItemValid(LPCTSTR ItemName)
{
long result;
static BYTE parms[] =
VTS_BSTR;
InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
ItemName);
return result;
}
VARIANT CChatItems::GetItem(LPCTSTR ItemName)
{
VARIANT result;
static BYTE parms[] =
VTS_BSTR;
InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
ItemName);
return result;
}
void CChatItems::SetItem(LPCTSTR ItemName, const VARIANT& newValue)
{
static BYTE parms[] =
VTS_BSTR VTS_VARIANT;
InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
ItemName, &newValue);
}
void CChatItems::InvalidateItem(LPCTSTR ItemName)
{
static BYTE parms[] =
VTS_BSTR;
InvokeHelper(0x37, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
ItemName);
}