home *** CD-ROM | disk | FTP | other *** search
Wrap
// 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 "lead.h" // Dispatch interfaces referenced by this interface #include "Picture.h" ///////////////////////////////////////////////////////////////////////////// // CLead IMPLEMENT_DYNCREATE(CLead, CWnd) ///////////////////////////////////////////////////////////////////////////// // CLead properties OLE_HANDLE CLead::GetHWnd() { OLE_HANDLE result; GetProperty(DISPID_HWND, VT_I2, (void*)&result); return result; } void CLead::SetHWnd(OLE_HANDLE propVal) { SetProperty(DISPID_HWND, VT_I2, propVal); } OLE_COLOR CLead::GetBackColor() { OLE_COLOR result; GetProperty(DISPID_BACKCOLOR, VT_I4, (void*)&result); return result; } void CLead::SetBackColor(OLE_COLOR propVal) { SetProperty(DISPID_BACKCOLOR, VT_I4, propVal); } BOOL CLead::GetEnabled() { BOOL result; GetProperty(DISPID_ENABLED, VT_BOOL, (void*)&result); return result; } void CLead::SetEnabled(BOOL propVal) { SetProperty(DISPID_ENABLED, VT_BOOL, propVal); } short CLead::GetBorderStyle() { short result; GetProperty(DISPID_BORDERSTYLE, VT_I2, (void*)&result); return result; } void CLead::SetBorderStyle(short propVal) { SetProperty(DISPID_BORDERSTYLE, VT_I2, propVal); } long CLead::Get_Bitmap() { long result; GetProperty(0x0, VT_I4, (void*)&result); return result; } void CLead::Set_Bitmap(long propVal) { SetProperty(0x0, VT_I4, propVal); } long CLead::GetBitmap() { long result; GetProperty(0x1, VT_I4, (void*)&result); return result; } void CLead::SetBitmap(long propVal) { SetProperty(0x1, VT_I4, propVal); } BOOL CLead::GetAutoRepaint() { BOOL result; GetProperty(0x2, VT_BOOL, (void*)&result); return result; } void CLead::SetAutoRepaint(BOOL propVal) { SetProperty(0x2, VT_BOOL, propVal); } short CLead::GetPaintEffect() { short result; GetProperty(0x3, VT_I2, (void*)&result); return result; } void CLead::SetPaintEffect(short propVal) { SetProperty(0x3, VT_I2, propVal); } BOOL CLead::GetBackErase() { BOOL result; GetProperty(0x4, VT_BOOL, (void*)&result); return result; } void CLead::SetBackErase(BOOL propVal) { SetProperty(0x4, VT_BOOL, propVal); } BOOL CLead::GetAutoScroll() { BOOL result; GetProperty(0x5, VT_BOOL, (void*)&result); return result; } void CLead::SetAutoScroll(BOOL propVal) { SetProperty(0x5, VT_BOOL, propVal); } short CLead::GetPaintDither() { short result; GetProperty(0x6, VT_I2, (void*)&result); return result; } void CLead::SetPaintDither(short propVal) { SetProperty(0x6, VT_I2, propVal); } BOOL CLead::GetEnableProgressEvent() { BOOL result; GetProperty(0x7, VT_BOOL, (void*)&result); return result; } void CLead::SetEnableProgressEvent(BOOL propVal) { SetProperty(0x7, VT_BOOL, propVal); } short CLead::GetBitonalScaling() { short result; GetProperty(0x8, VT_I2, (void*)&result); return result; } void CLead::SetBitonalScaling(short propVal) { SetProperty(0x8, VT_I2, propVal); } BOOL CLead::GetPaintWhileLoad() { BOOL result; GetProperty(0x9, VT_BOOL, (void*)&result); return result; } void CLead::SetPaintWhileLoad(BOOL propVal) { SetProperty(0x9, VT_BOOL, propVal); } float CLead::GetBitmapWidth() { float result; GetProperty(0xa, VT_R4, (void*)&result); return result; } void CLead::SetBitmapWidth(float propVal) { SetProperty(0xa, VT_R4, propVal); } float CLead::GetBitmapHeight() { float result; GetProperty(0xb, VT_R4, (void*)&result); return result; } void CLead::SetBitmapHeight(float propVal) { SetProperty(0xb, VT_R4, propVal); } short CLead::GetBitmapBits() { short result; GetProperty(0xc, VT_I2, (void*)&result); return result; } void CLead::SetBitmapBits(short propVal) { SetProperty(0xc, VT_I2, propVal); } short CLead::GetVersionLevel() { short result; GetProperty(0xd, VT_I2, (void*)&result); return result; } void CLead::SetVersionLevel(short propVal) { SetProperty(0xd, VT_I2, propVal); } short CLead::GetVersionMajor() { short result; GetProperty(0xe, VT_I2, (void*)&result); return result; } void CLead::SetVersionMajor(short propVal) { SetProperty(0xe, VT_I2, propVal); } short CLead::GetVersionMinor() { short result; GetProperty(0xf, VT_I2, (void*)&result); return result; } void CLead::SetVersionMinor(short propVal) { SetProperty(0xf, VT_I2, propVal); } CString CLead::GetVersionProduct() { CString result; GetProperty(0x10, VT_BSTR, (void*)&result); return result; } void CLead::SetVersionProduct(LPCTSTR propVal) { SetProperty(0x10, VT_BSTR, propVal); } CString CLead::GetVersionDate() { CString result; GetProperty(0x11, VT_BSTR, (void*)&result); return result; } void CLead::SetVersionDate(LPCTSTR propVal) { SetProperty(0x11, VT_BSTR, propVal); } CString CLead::GetVersionTime() { CString result; GetProperty(0x12, VT_BSTR, (void*)&result); return result; } void CLead::SetVersionTime(LPCTSTR propVal) { SetProperty(0x12, VT_BSTR, propVal); } short CLead::GetPaintPalette() { short result; GetProperty(0x13, VT_I2, (void*)&result); return result; } void CLead::SetPaintPalette(short propVal) { SetProperty(0x13, VT_I2, propVal); } BOOL CLead::GetEnableMethodErrors() { BOOL result; GetProperty(0x14, VT_BOOL, (void*)&result); return result; } void CLead::SetEnableMethodErrors(BOOL propVal) { SetProperty(0x14, VT_BOOL, propVal); } float CLead::GetDstLeft() { float result; GetProperty(0x15, VT_R4, (void*)&result); return result; } void CLead::SetDstLeft(float propVal) { SetProperty(0x15, VT_R4, propVal); } float CLead::GetDstTop() { float result; GetProperty(0x16, VT_R4, (void*)&result); return result; } void CLead::SetDstTop(float propVal) { SetProperty(0x16, VT_R4, propVal); } float CLead::GetDstWidth() { float result; GetProperty(0x17, VT_R4, (void*)&result); return result; } void CLead::SetDstWidth(float propVal) { SetProperty(0x17, VT_R4, propVal); } float CLead::GetDstHeight() { float result; GetProperty(0x18, VT_R4, (void*)&result); return result; } void CLead::SetDstHeight(float propVal) { SetProperty(0x18, VT_R4, propVal); } float CLead::GetDstClipLeft() { float result; GetProperty(0x19, VT_R4, (void*)&result); return result; } void CLead::SetDstClipLeft(float propVal) { SetProperty(0x19, VT_R4, propVal); } float CLead::GetDstClipTop() { float result; GetProperty(0x1a, VT_R4, (void*)&result); return result; } void CLead::SetDstClipTop(float propVal) { SetProperty(0x1a, VT_R4, propVal); } float CLead::GetDstClipWidth() { float result; GetProperty(0x1b, VT_R4, (void*)&result); return result; } void CLead::SetDstClipWidth(float propVal) { SetProperty(0x1b, VT_R4, propVal); } float CLead::GetDstClipHeight() { float result; GetProperty(0x1c, VT_R4, (void*)&result); return result; } void CLead::SetDstClipHeight(float propVal) { SetProperty(0x1c, VT_R4, propVal); } float CLead::GetSrcLeft() { float result; GetProperty(0x1d, VT_R4, (void*)&result); return result; } void CLead::SetSrcLeft(float propVal) { SetProperty(0x1d, VT_R4, propVal); } float CLead::GetSrcTop() { float result; GetProperty(0x1e, VT_R4, (void*)&result); return result; } void CLead::SetSrcTop(float propVal) { SetProperty(0x1e, VT_R4, propVal); } float CLead::GetSrcWidth() { float result; GetProperty(0x1f, VT_R4, (void*)&result); return result; } void CLead::SetSrcWidth(float propVal) { SetProperty(0x1f, VT_R4, propVal); } float CLead::GetSrcHeight() { float result; GetProperty(0x20, VT_R4, (void*)&result); return result; } void CLead::SetSrcHeight(float propVal) { SetProperty(0x20, VT_R4, propVal); } float CLead::GetSrcClipLeft() { float result; GetProperty(0x21, VT_R4, (void*)&result); return result; } void CLead::SetSrcClipLeft(float propVal) { SetProperty(0x21, VT_R4, propVal); } float CLead::GetSrcClipTop() { float result; GetProperty(0x22, VT_R4, (void*)&result); return result; } void CLead::SetSrcClipTop(float propVal) { SetProperty(0x22, VT_R4, propVal); } float CLead::GetSrcClipWidth() { float result; GetProperty(0x23, VT_R4, (void*)&result); return result; } void CLead::SetSrcClipWidth(float propVal) { SetProperty(0x23, VT_R4, propVal); } float CLead::GetSrcClipHeight() { float result; GetProperty(0x24, VT_R4, (void*)&result); return result; } void CLead::SetSrcClipHeight(float propVal) { SetProperty(0x24, VT_R4, propVal); } short CLead::GetBitmapXRes() { short result; GetProperty(0x25, VT_I2, (void*)&result); return result; } void CLead::SetBitmapXRes(short propVal) { SetProperty(0x25, VT_I2, propVal); } short CLead::GetBitmapYRes() { short result; GetProperty(0x26, VT_I2, (void*)&result); return result; } void CLead::SetBitmapYRes(short propVal) { SetProperty(0x26, VT_I2, propVal); } short CLead::GetInfoPage() { short result; GetProperty(0x27, VT_I2, (void*)&result); return result; } void CLead::SetInfoPage(short propVal) { SetProperty(0x27, VT_I2, propVal); } float CLead::GetInfoWidth() { float result; GetProperty(0x28, VT_R4, (void*)&result); return result; } void CLead::SetInfoWidth(float propVal) { SetProperty(0x28, VT_R4, propVal); } float CLead::GetInfoHeight() { float result; GetProperty(0x29, VT_R4, (void*)&result); return result; } void CLead::SetInfoHeight(float propVal) { SetProperty(0x29, VT_R4, propVal); } short CLead::GetInfoBits() { short result; GetProperty(0x2a, VT_I2, (void*)&result); return result; } void CLead::SetInfoBits(short propVal) { SetProperty(0x2a, VT_I2, propVal); } short CLead::GetInfoFormat() { short result; GetProperty(0x2b, VT_I2, (void*)&result); return result; } void CLead::SetInfoFormat(short propVal) { SetProperty(0x2b, VT_I2, propVal); } long CLead::GetInfoSizeDisk() { long result; GetProperty(0x2c, VT_I4, (void*)&result); return result; } void CLead::SetInfoSizeDisk(long propVal) { SetProperty(0x2c, VT_I4, propVal); } long CLead::GetInfoSizeMem() { long result; GetProperty(0x2d, VT_I4, (void*)&result); return result; } void CLead::SetInfoSizeMem(long propVal) { SetProperty(0x2d, VT_I4, propVal); } CString CLead::GetInfoCompress() { CString result; GetProperty(0x2e, VT_BSTR, (void*)&result); return result; } void CLead::SetInfoCompress(LPCTSTR propVal) { SetProperty(0x2e, VT_BSTR, propVal); } BOOL CLead::GetEnableTwainEvent() { BOOL result; GetProperty(0x2f, VT_BOOL, (void*)&result); return result; } void CLead::SetEnableTwainEvent(BOOL propVal) { SetProperty(0x2f, VT_BOOL, propVal); } BOOL CLead::GetRubberBandVisible() { BOOL result; GetProperty(0x30, VT_BOOL, (void*)&result); return result; } void CLead::SetRubberBandVisible(BOOL propVal) { SetProperty(0x30, VT_BOOL, propVal); } float CLead::GetRubberBandLeft() { float result; GetProperty(0x31, VT_R4, (void*)&result); return result; } void CLead::SetRubberBandLeft(float propVal) { SetProperty(0x31, VT_R4, propVal); } float CLead::GetRubberBandTop() { float result; GetProperty(0x32, VT_R4, (void*)&result); return result; } void CLead::SetRubberBandTop(float propVal) { SetProperty(0x32, VT_R4, propVal); } float CLead::GetRubberBandWidth() { float result; GetProperty(0x33, VT_R4, (void*)&result); return result; } void CLead::SetRubberBandWidth(float propVal) { SetProperty(0x33, VT_R4, propVal); } float CLead::GetRubberBandHeight() { float result; GetProperty(0x34, VT_R4, (void*)&result); return result; } void CLead::SetRubberBandHeight(float propVal) { SetProperty(0x34, VT_R4, propVal); } short CLead::GetPCDRes() { short result; GetProperty(0x35, VT_I2, (void*)&result); return result; } void CLead::SetPCDRes(short propVal) { SetProperty(0x35, VT_I2, propVal); } short CLead::GetMousePointer() { short result; GetProperty(0x36, VT_I2, (void*)&result); return result; } void CLead::SetMousePointer(short propVal) { SetProperty(0x36, VT_I2, propVal); } CPicture CLead::GetMouseIcon() { LPDISPATCH pDispatch; GetProperty(0x37, VT_DISPATCH, (void*)&pDispatch); return CPicture(pDispatch); } void CLead::SetMouseIcon(LPDISPATCH propVal) { SetProperty(0x37, VT_DISPATCH, propVal); } short CLead::GetScaleMode() { short result; GetProperty(0x38, VT_I2, (void*)&result); return result; } void CLead::SetScaleMode(short propVal) { SetProperty(0x38, VT_I2, propVal); } BOOL CLead::GetAutoSetRects() { BOOL result; GetProperty(0x39, VT_BOOL, (void*)&result); return result; } void CLead::SetAutoSetRects(BOOL propVal) { SetProperty(0x39, VT_BOOL, propVal); } float CLead::GetScaleLeft() { float result; GetProperty(0x3a, VT_R4, (void*)&result); return result; } void CLead::SetScaleLeft(float propVal) { SetProperty(0x3a, VT_R4, propVal); } float CLead::GetScaleTop() { float result; GetProperty(0x3b, VT_R4, (void*)&result); return result; } void CLead::SetScaleTop(float propVal) { SetProperty(0x3b, VT_R4, propVal); } float CLead::GetScaleWidth() { float result; GetProperty(0x3c, VT_R4, (void*)&result); return result; } void CLead::SetScaleWidth(float propVal) { SetProperty(0x3c, VT_R4, propVal); } float CLead::GetScaleHeight() { float result; GetProperty(0x3d, VT_R4, (void*)&result); return result; } void CLead::SetScaleHeight(float propVal) { SetProperty(0x3d, VT_R4, propVal); } BOOL CLead::GetDbCanAppend() { BOOL result; GetProperty(0x3e, VT_BOOL, (void*)&result); return result; } void CLead::SetDbCanAppend(BOOL propVal) { SetProperty(0x3e, VT_BOOL, propVal); } BOOL CLead::GetDbCanRestart() { BOOL result; GetProperty(0x3f, VT_BOOL, (void*)&result); return result; } void CLead::SetDbCanRestart(BOOL propVal) { SetProperty(0x3f, VT_BOOL, propVal); } BOOL CLead::GetDbCanScroll() { BOOL result; GetProperty(0x40, VT_BOOL, (void*)&result); return result; } void CLead::SetDbCanScroll(BOOL propVal) { SetProperty(0x40, VT_BOOL, propVal); } BOOL CLead::GetDbCanUpdate() { BOOL result; GetProperty(0x41, VT_BOOL, (void*)&result); return result; } void CLead::SetDbCanUpdate(BOOL propVal) { SetProperty(0x41, VT_BOOL, propVal); } long CLead::GetDbRecordCount() { long result; GetProperty(0x42, VT_I4, (void*)&result); return result; } void CLead::SetDbRecordCount(long propVal) { SetProperty(0x42, VT_I4, propVal); } BOOL CLead::GetDbIsOpen() { BOOL result; GetProperty(0x43, VT_BOOL, (void*)&result); return result; } void CLead::SetDbIsOpen(BOOL propVal) { SetProperty(0x43, VT_BOOL, propVal); } BOOL CLead::GetDbIsBOF() { BOOL result; GetProperty(0x44, VT_BOOL, (void*)&result); return result; } void CLead::SetDbIsBOF(BOOL propVal) { SetProperty(0x44, VT_BOOL, propVal); } BOOL CLead::GetDbIsEOF() { BOOL result; GetProperty(0x45, VT_BOOL, (void*)&result); return result; } void CLead::SetDbIsEOF(BOOL propVal) { SetProperty(0x45, VT_BOOL, propVal); } BOOL CLead::GetDbIsDeleted() { BOOL result; GetProperty(0x46, VT_BOOL, (void*)&result); return result; } void CLead::SetDbIsDeleted(BOOL propVal) { SetProperty(0x46, VT_BOOL, propVal); } long CLead::GetDbCurrentRecord() { long result; GetProperty(0x47, VT_I4, (void*)&result); return result; } void CLead::SetDbCurrentRecord(long propVal) { SetProperty(0x47, VT_I4, propVal); } short CLead::GetDbEditMode() { short result; GetProperty(0x48, VT_I2, (void*)&result); return result; } void CLead::SetDbEditMode(short propVal) { SetProperty(0x48, VT_I2, propVal); } short CLead::GetDbLockingMode() { short result; GetProperty(0x49, VT_I2, (void*)&result); return result; } void CLead::SetDbLockingMode(short propVal) { SetProperty(0x49, VT_I2, propVal); } short CLead::GetDbLoadBits() { short result; GetProperty(0x4a, VT_I2, (void*)&result); return result; } void CLead::SetDbLoadBits(short propVal) { SetProperty(0x4a, VT_I2, propVal); } BOOL CLead::GetForePalette() { BOOL result; GetProperty(0x4b, VT_BOOL, (void*)&result); return result; } void CLead::SetForePalette(BOOL propVal) { SetProperty(0x4b, VT_BOOL, propVal); } ///////////////////////////////////////////////////////////////////////////// // CLead operations short CLead::Average(short iDim) { short result; static BYTE parms[] = VTS_I2; InvokeHelper(0x4c, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iDim); return result; } short CLead::Median(short iDim) { short result; static BYTE parms[] = VTS_I2; InvokeHelper(0x4d, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iDim); return result; } short CLead::Contrast(short iChange) { short result; static BYTE parms[] = VTS_I2; InvokeHelper(0x4e, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iChange); return result; } short CLead::Despeckle() { short result; InvokeHelper(0x4f, DISPATCH_METHOD, VT_I2, (void*)&result, NULL); return result; } short CLead::Flip() { short result; InvokeHelper(0x50, DISPATCH_METHOD, VT_I2, (void*)&result, NULL); return result; } short CLead::Grayscale() { short result; InvokeHelper(0x51, DISPATCH_METHOD, VT_I2, (void*)&result, NULL); return result; } short CLead::HistoEqualize() { short result; InvokeHelper(0x52, DISPATCH_METHOD, VT_I2, (void*)&result, NULL); return result; } short CLead::Hue(short iAngle) { short result; static BYTE parms[] = VTS_I2; InvokeHelper(0x53, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iAngle); return result; } short CLead::Intensity(short iChange) { short result; static BYTE parms[] = VTS_I2; InvokeHelper(0x54, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iChange); return result; } short CLead::Invert() { short result; InvokeHelper(0x55, DISPATCH_METHOD, VT_I2, (void*)&result, NULL); return result; } short CLead::TwainAcquire(long hWnd) { short result; static BYTE parms[] = VTS_I4; InvokeHelper(0x56, DISPATCH_METHOD, VT_I2, (void*)&result, parms, hWnd); return result; } short CLead::TwainSelect(long hWnd) { short result; static BYTE parms[] = VTS_I4; InvokeHelper(0x57, DISPATCH_METHOD, VT_I2, (void*)&result, parms, hWnd); return result; } short CLead::Sharpen(short iChange) { short result; static BYTE parms[] = VTS_I2; InvokeHelper(0x58, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iChange); return result; } short CLead::Saturation(short iChange) { short result; static BYTE parms[] = VTS_I2; InvokeHelper(0x59, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iChange); return result; } short CLead::Reverse() { short result; InvokeHelper(0x5a, DISPATCH_METHOD, VT_I2, (void*)&result, NULL); return result; } short CLead::ForceRepaint() { short result; InvokeHelper(0x5b, DISPATCH_METHOD, VT_I2, (void*)&result, NULL); return result; } short CLead::Mosaic(short iDim) { short result; static BYTE parms[] = VTS_I2; InvokeHelper(0x5c, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iDim); return result; } short CLead::SpatialFilter(short iType) { short result; static BYTE parms[] = VTS_I2; InvokeHelper(0x5d, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iType); return result; } short CLead::BinaryFilter(short iType) { short result; static BYTE parms[] = VTS_I2; InvokeHelper(0x5e, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iType); return result; } short CLead::Save(LPCTSTR pszName, short iFormat, short iBitsPerPixel, short iQuality, BOOL bMultiPage) { short result; static BYTE parms[] = VTS_BSTR VTS_I2 VTS_I2 VTS_I2 VTS_BOOL; InvokeHelper(0x5f, DISPATCH_METHOD, VT_I2, (void*)&result, parms, pszName, iFormat, iBitsPerPixel, iQuality, bMultiPage); return result; } short CLead::Posterize(short iLevels) { short result; static BYTE parms[] = VTS_I2; InvokeHelper(0x60, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iLevels); return result; } CPicture CLead::GetPicture() { LPDISPATCH pDispatch; InvokeHelper(0x61, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, NULL); return CPicture(pDispatch); } short CLead::SetPicture(LPDISPATCH pPicture) { short result; static BYTE parms[] = VTS_DISPATCH; InvokeHelper(0x62, DISPATCH_METHOD, VT_I2, (void*)&result, parms, pPicture); return result; } short CLead::Rotate(long iAngle, BOOL bResize, unsigned long crFill) { short result; static BYTE parms[] = VTS_I4 VTS_BOOL VTS_I4; InvokeHelper(0x63, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iAngle, bResize, crFill); return result; } short CLead::Emboss(short iDirection, short iDepth) { short result; static BYTE parms[] = VTS_I2 VTS_I2; InvokeHelper(0x64, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iDirection, iDepth); return result; } short CLead::AddNoise(short iRange, short iChannel) { short result; static BYTE parms[] = VTS_I2 VTS_I2; InvokeHelper(0x65, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iRange, iChannel); return result; } short CLead::IntensityDetect(short iLow, short iHigh) { short result; static BYTE parms[] = VTS_I2 VTS_I2; InvokeHelper(0x66, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iLow, iHigh); return result; } short CLead::Fill(unsigned long crFill) { short result; static BYTE parms[] = VTS_I4; InvokeHelper(0x67, DISPATCH_METHOD, VT_I2, (void*)&result, parms, crFill); return result; } short CLead::StretchIntensity() { short result; InvokeHelper(0x68, DISPATCH_METHOD, VT_I2, (void*)&result, NULL); return result; } short CLead::Deskew() { short result; InvokeHelper(0x69, DISPATCH_METHOD, VT_I2, (void*)&result, NULL); return result; } short CLead::GammaCorrect(short iGamma) { short result; static BYTE parms[] = VTS_I2; InvokeHelper(0x6a, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iGamma); return result; } short CLead::Shear(short iAngle, BOOL bHorizontal, unsigned long crFill) { short result; static BYTE parms[] = VTS_I2 VTS_BOOL VTS_I4; InvokeHelper(0x6b, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iAngle, bHorizontal, crFill); return result; } short CLead::CreateBitmap(float fWidth, float fHeight, short iBitsPerPixel) { short result; static BYTE parms[] = VTS_R4 VTS_R4 VTS_I2; InvokeHelper(0x6c, DISPATCH_METHOD, VT_I2, (void*)&result, parms, fWidth, fHeight, iBitsPerPixel); return result; } short CLead::Render(long hDC, float fLeft, float fTop, float fWidth, float fHeight) { short result; static BYTE parms[] = VTS_I4 VTS_R4 VTS_R4 VTS_R4 VTS_R4; InvokeHelper(0x6d, DISPATCH_METHOD, VT_I2, (void*)&result, parms, hDC, fLeft, fTop, fWidth, fHeight); return result; } long CLead::GetBitmapDC() { long result; InvokeHelper(0x6e, DISPATCH_METHOD, VT_I4, (void*)&result, NULL); return result; } short CLead::ReleaseBitmapDC() { short result; InvokeHelper(0x6f, DISPATCH_METHOD, VT_I2, (void*)&result, NULL); return result; } short CLead::Halftone(short iType, long iAngle) { short result; static BYTE parms[] = VTS_I2 VTS_I4; InvokeHelper(0x70, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iType, iAngle); return result; } short CLead::Size(float fWidth, float fHeight, short iFlags) { short result; static BYTE parms[] = VTS_R4 VTS_R4 VTS_I2; InvokeHelper(0x71, DISPATCH_METHOD, VT_I2, (void*)&result, parms, fWidth, fHeight, iFlags); return result; } short CLead::Copy(short iFlags) { short result; static BYTE parms[] = VTS_I2; InvokeHelper(0x72, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iFlags); return result; } short CLead::Paste(short iFlags) { short result; static BYTE parms[] = VTS_I2; InvokeHelper(0x73, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iFlags); return result; } short CLead::Load(LPCTSTR pszName, short iBitsPerPixel, short iPage) { short result; static BYTE parms[] = VTS_BSTR VTS_I2 VTS_I2; InvokeHelper(0x74, DISPATCH_METHOD, VT_I2, (void*)&result, parms, pszName, iBitsPerPixel, iPage); return result; } short CLead::SetDIB(long hDIB) { short result; static BYTE parms[] = VTS_I4; InvokeHelper(0x75, DISPATCH_METHOD, VT_I2, (void*)&result, parms, hDIB); return result; } long CLead::GetDIB() { long result; InvokeHelper(0x76, DISPATCH_METHOD, VT_I4, (void*)&result, NULL); return result; } short CLead::SetDDB(long hDC, long hBitmap, long hPalette) { short result; static BYTE parms[] = VTS_I4 VTS_I4 VTS_I4; InvokeHelper(0x77, DISPATCH_METHOD, VT_I2, (void*)&result, parms, hDC, hBitmap, hPalette); return result; } long CLead::GetDDB(long hDC) { long result; static BYTE parms[] = VTS_I4; InvokeHelper(0x78, DISPATCH_METHOD, VT_I4, (void*)&result, parms, hDC); return result; } short CLead::RemapIntensity(short iChannel) { short result; static BYTE parms[] = VTS_I2; InvokeHelper(0x79, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iChannel); return result; } short CLead::GetHistogram(short iChannel) { short result; static BYTE parms[] = VTS_I2; InvokeHelper(0x7a, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iChannel); return result; } short CLead::ColorRes(short iBitsPerPixel, short iPalette, short iDither, short iColors) { short result; static BYTE parms[] = VTS_I2 VTS_I2 VTS_I2 VTS_I2; InvokeHelper(0x7b, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iBitsPerPixel, iPalette, iDither, iColors); return result; } short CLead::Capture(long hDC, float fLeft, float fTop, float fWidth, float fHeight) { short result; static BYTE parms[] = VTS_I4 VTS_R4 VTS_R4 VTS_R4 VTS_R4; InvokeHelper(0x7c, DISPATCH_METHOD, VT_I2, (void*)&result, parms, hDC, fLeft, fTop, fWidth, fHeight); return result; } short CLead::ColorSeparate(long iFlags) { short result; static BYTE parms[] = VTS_I4; InvokeHelper(0x7d, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iFlags); return result; } short CLead::ColorMerge(long iFlags) { short result; static BYTE parms[] = VTS_I4; InvokeHelper(0x7e, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iFlags); return result; } short CLead::Underlay(long hBitmap, short iFlags) { short result; static BYTE parms[] = VTS_I4 VTS_I2; InvokeHelper(0x7f, DISPATCH_METHOD, VT_I2, (void*)&result, parms, hBitmap, iFlags); return result; } short CLead::Combine(float fLeft, float fTop, float fWidth, float fHeight, long hBitmap, float fSrcLeft, float fSrcTop, long iFlags) { short result; static BYTE parms[] = VTS_R4 VTS_R4 VTS_R4 VTS_R4 VTS_I4 VTS_R4 VTS_R4 VTS_I4; InvokeHelper(0x80, DISPATCH_METHOD, VT_I2, (void*)&result, parms, fLeft, fTop, fWidth, fHeight, hBitmap, fSrcLeft, fSrcTop, iFlags); return result; } short CLead::SetDstRect(float fLeft, float fTop, float fWidth, float fHeight) { short result; static BYTE parms[] = VTS_R4 VTS_R4 VTS_R4 VTS_R4; InvokeHelper(0x81, DISPATCH_METHOD, VT_I2, (void*)&result, parms, fLeft, fTop, fWidth, fHeight); return result; } short CLead::SetDstClipRect(float fLeft, float fTop, float fWidth, float fHeight) { short result; static BYTE parms[] = VTS_R4 VTS_R4 VTS_R4 VTS_R4; InvokeHelper(0x82, DISPATCH_METHOD, VT_I2, (void*)&result, parms, fLeft, fTop, fWidth, fHeight); return result; } short CLead::SetSrcRect(float fLeft, float fTop, float fWidth, float fHeight) { short result; static BYTE parms[] = VTS_R4 VTS_R4 VTS_R4 VTS_R4; InvokeHelper(0x83, DISPATCH_METHOD, VT_I2, (void*)&result, parms, fLeft, fTop, fWidth, fHeight); return result; } short CLead::SetSrcClipRect(float fLeft, float fTop, float fWidth, float fHeight) { short result; static BYTE parms[] = VTS_R4 VTS_R4 VTS_R4 VTS_R4; InvokeHelper(0x84, DISPATCH_METHOD, VT_I2, (void*)&result, parms, fLeft, fTop, fWidth, fHeight); return result; } short CLead::Trim(float fLeft, float fTop, float fWidth, float fHeight) { short result; static BYTE parms[] = VTS_R4 VTS_R4 VTS_R4 VTS_R4; InvokeHelper(0x85, DISPATCH_METHOD, VT_I2, (void*)&result, parms, fLeft, fTop, fWidth, fHeight); return result; } short CLead::HistoContrast(short iChange) { short result; static BYTE parms[] = VTS_I2; InvokeHelper(0x86, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iChange); return result; } short CLead::GetFileInfo(LPCTSTR pszName, short iPage) { short result; static BYTE parms[] = VTS_BSTR VTS_I2; InvokeHelper(0x87, DISPATCH_METHOD, VT_I2, (void*)&result, parms, pszName, iPage); return result; } short CLead::SaveWithStamp(LPCTSTR pszName, short iFormat, short iBitsPerPixel, short iQuality, float fStampWidth, float fStampHeight, short iStampBits) { short result; static BYTE parms[] = VTS_BSTR VTS_I2 VTS_I2 VTS_I2 VTS_R4 VTS_R4 VTS_I2; InvokeHelper(0x88, DISPATCH_METHOD, VT_I2, (void*)&result, parms, pszName, iFormat, iBitsPerPixel, iQuality, fStampWidth, fStampHeight, iStampBits); return result; } short CLead::LoadStamp(LPCTSTR pszName) { short result; static BYTE parms[] = VTS_BSTR; InvokeHelper(0x89, DISPATCH_METHOD, VT_I2, (void*)&result, parms, pszName); return result; } void CLead::SetRubberBandRect(float fLeft, float fTop, float fWidth, float fHeight) { static BYTE parms[] = VTS_R4 VTS_R4 VTS_R4 VTS_R4; InvokeHelper(0x8a, DISPATCH_METHOD, VT_EMPTY, NULL, parms, fLeft, fTop, fWidth, fHeight); } long CLead::GetClientDC() { long result; InvokeHelper(0x8b, DISPATCH_METHOD, VT_I4, (void*)&result, NULL); return result; } short CLead::ReleaseClientDC() { short result; InvokeHelper(0x8c, DISPATCH_METHOD, VT_I2, (void*)&result, NULL); return result; } long CLead::GetPalette(long hDC) { long result; static BYTE parms[] = VTS_I4; InvokeHelper(0x96, DISPATCH_METHOD, VT_I4, (void*)&result, parms, hDC); return result; } void CLead::dbAddNew() { InvokeHelper(0x8d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); } void CLead::dbDelete() { InvokeHelper(0x8e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); } void CLead::dbEdit() { InvokeHelper(0x8f, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); } void CLead::dbMove(long lRows) { static BYTE parms[] = VTS_I4; InvokeHelper(0x90, DISPATCH_METHOD, VT_EMPTY, NULL, parms, lRows); } void CLead::dbMoveFirst() { InvokeHelper(0x91, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); } void CLead::dbMoveLast() { InvokeHelper(0x92, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); } void CLead::dbMoveNext() { InvokeHelper(0x93, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); } void CLead::dbMovePrev() { InvokeHelper(0x94, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); } void CLead::dbClose() { InvokeHelper(0x95, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); } unsigned long CLead::GetBitmapPalette(short iIndex) { unsigned long result; static BYTE parms[] = VTS_I2; InvokeHelper(0x9c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms, iIndex); return result; } void CLead::SetBitmapPalette(short iIndex, unsigned long newValue) { static BYTE parms[] = VTS_I2 VTS_I4; InvokeHelper(0x9c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, iIndex, newValue); } short CLead::GetRemapTable(short iIndex) { short result; static BYTE parms[] = VTS_I2; InvokeHelper(0x9d, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms, iIndex); return result; } void CLead::SetRemapTable(short iIndex, short nNewValue) { static BYTE parms[] = VTS_I2 VTS_I2; InvokeHelper(0x9d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, iIndex, nNewValue); } long CLead::GetHistogramTable(short iIndex) { long result; static BYTE parms[] = VTS_I2; InvokeHelper(0x9e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms, iIndex); return result; } void CLead::SetHistogramTable(short iIndex, long nNewValue) { static BYTE parms[] = VTS_I2 VTS_I4; InvokeHelper(0x9e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, iIndex, nNewValue); } unsigned long CLead::GetUserPalette(short iIndex) { unsigned long result; static BYTE parms[] = VTS_I2; InvokeHelper(0x9f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms, iIndex); return result; } void CLead::SetUserPalette(short iIndex, unsigned long newValue) { static BYTE parms[] = VTS_I2 VTS_I4; InvokeHelper(0x9f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, iIndex, newValue); } long CLead::GetColorPlanes(short iIndex) { long result; static BYTE parms[] = VTS_I2; InvokeHelper(0xa0, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms, iIndex); return result; } void CLead::SetColorPlanes(short iIndex, long nNewValue) { static BYTE parms[] = VTS_I2 VTS_I4; InvokeHelper(0xa0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, iIndex, nNewValue); } BOOL CLead::GetInfoPCDRes(short iIndex) { BOOL result; static BYTE parms[] = VTS_I2; InvokeHelper(0xa1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms, iIndex); return result; } BOOL CLead::dbRequery() { BOOL result; InvokeHelper(0x97, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL); return result; } BOOL CLead::dbOpen(LPCTSTR pszConnect, LPCTSTR pszSQL, LPCTSTR pszField, long iOptions) { BOOL result; static BYTE parms[] = VTS_BSTR VTS_BSTR VTS_BSTR VTS_I4; InvokeHelper(0x98, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, pszConnect, pszSQL, pszField, iOptions); return result; } short CLead::dbUpdate(short iFormat, short iBitsPerPixel, short iQuality) { short result; static BYTE parms[] = VTS_I2 VTS_I2 VTS_I2; InvokeHelper(0x99, DISPATCH_METHOD, VT_I2, (void*)&result, parms, iFormat, iBitsPerPixel, iQuality); return result; } long CLead::PrintStart() { long result; InvokeHelper(0x9a, DISPATCH_METHOD, VT_I4, (void*)&result, NULL); return result; } void CLead::PrintEnd(long hDC) { static BYTE parms[] = VTS_I4; InvokeHelper(0x9b, DISPATCH_METHOD, VT_EMPTY, NULL, parms, hDC); } void CLead::AboutBox() { InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); }