Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

86 lines
2.0 KiB

// 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 "certmap.h"
// Dispatch interfaces referenced by this interface
#include "Font.h"
/////////////////////////////////////////////////////////////////////////////
// CCertmap
IMPLEMENT_DYNCREATE(CCertmap, CWnd)
/////////////////////////////////////////////////////////////////////////////
// CCertmap properties
COleFont CCertmap::GetFont()
{
LPDISPATCH pDispatch;
GetProperty(DISPID_FONT, VT_DISPATCH, (void*)&pDispatch);
return COleFont(pDispatch);
}
void CCertmap::SetFont(LPDISPATCH propVal)
{
SetProperty(DISPID_FONT, VT_DISPATCH, propVal);
}
BOOL CCertmap::GetEnabled()
{
BOOL result;
GetProperty(DISPID_ENABLED, VT_BOOL, (void*)&result);
return result;
}
void CCertmap::SetEnabled(BOOL propVal)
{
SetProperty(DISPID_ENABLED, VT_BOOL, propVal);
}
short CCertmap::GetBorderStyle()
{
short result;
GetProperty(DISPID_BORDERSTYLE, VT_I2, (void*)&result);
return result;
}
void CCertmap::SetBorderStyle(short propVal)
{
SetProperty(DISPID_BORDERSTYLE, VT_I2, propVal);
}
CString CCertmap::GetCaption()
{
CString result;
GetProperty(DISPID_CAPTION, VT_BSTR, (void*)&result);
return result;
}
void CCertmap::SetCaption(LPCTSTR propVal)
{
SetProperty(DISPID_CAPTION, VT_BSTR, propVal);
}
/////////////////////////////////////////////////////////////////////////////
// CCertmap operations
void CCertmap::SetServerInstance(LPCTSTR szServerInstance)
{
static BYTE parms[] =
VTS_BSTR;
InvokeHelper(0x1, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
szServerInstance);
}
void CCertmap::SetMachineName(LPCTSTR szMachineName)
{
static BYTE parms[] =
VTS_BSTR;
InvokeHelper(0x2, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
szMachineName);
}