// 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 "myatldiceob.h" ///////////////////////////////////////////////////////////////////////////// // Cmyatldiceob IMPLEMENT_DYNCREATE(Cmyatldiceob, CWnd) ///////////////////////////////////////////////////////////////////////////// // Cmyatldiceob properties ///////////////////////////////////////////////////////////////////////////// // Cmyatldiceob operations void Cmyatldiceob::SetBackColor(unsigned long newValue) { static BYTE parms[] = VTS_I4; InvokeHelper(DISPID_BACKCOLOR, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue); } unsigned long Cmyatldiceob::GetBackColor() { unsigned long result; InvokeHelper(DISPID_BACKCOLOR, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); return result; } void Cmyatldiceob::RollDice() { InvokeHelper(0x1, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); }