www.pudn.com > test_vc_11.rar > occommand.cpp
// 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 "occommand.h"
/////////////////////////////////////////////////////////////////////////////
// COCCommand properties
/////////////////////////////////////////////////////////////////////////////
// COCCommand operations
BOOL COCCommand::GetEnabled()
{
BOOL result;
InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
return result;
}
BOOL COCCommand::GetChecked()
{
BOOL result;
InvokeHelper(0x60020001, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
return result;
}
CString COCCommand::GetTipText()
{
CString result;
InvokeHelper(0x60020002, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
return result;
}
void COCCommand::Execute()
{
InvokeHelper(0x60020003, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}