102 lines
2.3 KiB
C++
102 lines
2.3 KiB
C++
// 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 "apps.h"
|
|
|
|
// Dispatch interfaces referenced by this interface
|
|
#include "font.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CApps
|
|
|
|
IMPLEMENT_DYNCREATE(CApps, CWnd)
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CApps properties
|
|
|
|
short CApps::GetBorderStyle()
|
|
{
|
|
short result;
|
|
GetProperty(DISPID_BORDERSTYLE, VT_I2, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CApps::SetBorderStyle(short propVal)
|
|
{
|
|
SetProperty(DISPID_BORDERSTYLE, VT_I2, propVal);
|
|
}
|
|
|
|
CString CApps::GetCaption()
|
|
{
|
|
CString result;
|
|
GetProperty(DISPID_CAPTION, VT_BSTR, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CApps::SetCaption(LPCTSTR propVal)
|
|
{
|
|
SetProperty(DISPID_CAPTION, VT_BSTR, propVal);
|
|
}
|
|
|
|
BOOL CApps::GetEnabled()
|
|
{
|
|
BOOL result;
|
|
GetProperty(DISPID_ENABLED, VT_BOOL, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CApps::SetEnabled(BOOL propVal)
|
|
{
|
|
SetProperty(DISPID_ENABLED, VT_BOOL, propVal);
|
|
}
|
|
|
|
COleFont CApps::GetFont()
|
|
{
|
|
LPDISPATCH pDispatch;
|
|
GetProperty(DISPID_FONT, VT_DISPATCH, (void*)&pDispatch);
|
|
return COleFont(pDispatch);
|
|
}
|
|
|
|
void CApps::SetFont(LPDISPATCH propVal)
|
|
{
|
|
SetProperty(DISPID_FONT, VT_DISPATCH, propVal);
|
|
}
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CApps operations
|
|
|
|
void CApps::DeleteParameters()
|
|
{
|
|
InvokeHelper(0x1, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
|
|
}
|
|
|
|
void CApps::SetAdminTarget(LPCTSTR szMachineName, LPCTSTR szMetaTarget, BOOL fLocalMachine)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_BSTR VTS_BSTR VTS_BOOL;
|
|
InvokeHelper(0x2, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
|
|
szMachineName, szMetaTarget, fLocalMachine);
|
|
}
|
|
|
|
void CApps::SetShowProcOptions(BOOL fShowProcOptions)
|
|
{
|
|
static BYTE parms[] =
|
|
VTS_BOOL;
|
|
InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
|
|
fShowProcOptions);
|
|
}
|
|
|
|
void CApps::DeleteProcParameters()
|
|
{
|
|
InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
|
|
}
|
|
|
|
void CApps::DoClick()
|
|
{
|
|
InvokeHelper(DISPID_DOCLICK, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
|
|
}
|