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