const CVisioApplication FAR & operator=(const CVisioApplication FAR &other)
{
if ( &other != this )
CopyIP(other.GetUnknown());
return *this;
}
const CVisioApplication FAR & operator=(const IVApplication FAR * other)
{
if ( (LPUNKNOWN)other != GetUnknown() )
CopyIP((LPUNKNOWN)other);
return *this;
}
virtual ~CVisioApplication() { }
IVApplication FAR * GetIP() const { return (IVApplication FAR *) GetUnknown(); }
operator IVApplication FAR * () { return (IVApplication FAR *) GetUnknown(); }
VW_PUBLIC:
HRESULT ActiveDocument(CVisioDocument FAR &rWrap);
HRESULT ActivePage(CVisioPage FAR &rWrap);
HRESULT ActiveWindow(CVisioWindow FAR &rWrap);
HRESULT Application(CVisioApplication FAR &rWrap);
HRESULT Documents(CVisioDocuments FAR &rWrap);
HRESULT ObjectType(short FAR *lpRet);
HRESULT getOnDataChangeDelay(long FAR *lpRet);
HRESULT putOnDataChangeDelay(VW_CONST long param01);
HRESULT ProcessID(long FAR *lpRet);
HRESULT Quit();
HRESULT Redo();
HRESULT getScreenUpdating(short FAR *lpRet);
HRESULT putScreenUpdating(VW_CONST short param01);
HRESULT Stat(short FAR *lpRet);
HRESULT Undo();
HRESULT Version(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT WindowHandle(short FAR *lpRet);
HRESULT Windows(CVisioWindows FAR &rWrap);
HRESULT Language(long FAR *lpRet);
HRESULT IsVisio16(short FAR *lpRet);
HRESULT IsVisio32(short FAR *lpRet);
HRESULT WindowHandle32(long FAR *lpRet);
HRESULT InstanceHandle(short FAR *lpRet);
HRESULT InstanceHandle32(long FAR *lpRet);
HRESULT BuiltInMenus(CVisioUIObject FAR &rWrap);
HRESULT BuiltInToolbars(short fIgnored, CVisioUIObject FAR &rWrap);
HRESULT CustomMenus(CVisioUIObject FAR &rWrap);
HRESULT SetCustomMenus(CVisioUIObject FAR &MenusObject);
HRESULT getCustomMenusFile(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putCustomMenusFile(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT ClearCustomMenus();
HRESULT CustomToolbars(CVisioUIObject FAR &rWrap);
HRESULT SetCustomToolbars(CVisioUIObject FAR &ToolbarsObject);
HRESULT getCustomToolbarsFile(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putCustomToolbarsFile(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT ClearCustomToolbars();
HRESULT getAddonPaths(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putAddonPaths(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getDrawingPaths(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putDrawingPaths(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getFilterPaths(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putFilterPaths(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getHelpPaths(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putHelpPaths(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getStartupPaths(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putStartupPaths(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getStencilPaths(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putStencilPaths(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getTemplatePaths(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putTemplatePaths(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getUserName(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putUserName(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getPromptForSummary(short FAR *lpRet);
HRESULT putPromptForSummary(VW_CONST short param01);
HRESULT Addons(CVisioAddons FAR &rWrap);
HRESULT SaveWorkspaceAs(BSTR_HELPER_CLASS FAR &FileName);
HRESULT DoCmd(short CommandID);
HRESULT ProfileName(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT EventInfo(long reservedPass0, BSTR_HELPER_CLASS FAR &rWrap);
HRESULT EventList(CVisioEventList FAR &rWrap);
HRESULT PersistsEvents(short FAR *lpRet);
HRESULT Active(short FAR *lpRet);
HRESULT getDeferRecalc(short FAR *lpRet);
HRESULT putDeferRecalc(VW_CONST short param01);
HRESULT getAlertResponse(short FAR *lpRet);
HRESULT putAlertResponse(VW_CONST short param01);
HRESULT getShowProgress(short FAR *lpRet);
HRESULT putShowProgress(VW_CONST short param01);
HRESULT Vbe(IDispatch FAR *FAR *lpRet);
HRESULT getShowMenus(short FAR *lpRet);
HRESULT putShowMenus(VW_CONST short param01);
HRESULT getToolbarStyle(short FAR *lpRet);
HRESULT putToolbarStyle(VW_CONST short param01);
HRESULT getShowStatusBar(short FAR *lpRet);
HRESULT putShowStatusBar(VW_CONST short param01);
HRESULT getEventsEnabled(short FAR *lpRet);
HRESULT putEventsEnabled(VW_CONST short param01);
HRESULT FormatResult(VARIANT_HELPER_CLASS FAR &StringOrNumber, VARIANT_HELPER_CLASS FAR &UnitsIn, VARIANT_HELPER_CLASS FAR &UnitsOut, BSTR_HELPER_CLASS FAR &Format, BSTR_HELPER_CLASS FAR &rWrap);
HRESULT ConvertResult(VARIANT_HELPER_CLASS FAR &StringOrNumber, VARIANT_HELPER_CLASS FAR &UnitsIn, VARIANT_HELPER_CLASS FAR &UnitsOut, double FAR *lpRet);
HRESULT Path(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT EnumDirectories(BSTR_HELPER_CLASS FAR &PathsString, /*BSTR*/ SAFEARRAY FAR * FAR *NameArray);
HRESULT getTraceFlags(long FAR *lpRet);
HRESULT putTraceFlags(VW_CONST long param01);
HRESULT PurgeUndo();
HRESULT QueueMarkerEvent(BSTR_HELPER_CLASS FAR &ContextString, long FAR *lpRet);
const CVisioDocument FAR & operator=(const CVisioDocument FAR &other)
{
if ( &other != this )
CopyIP(other.GetUnknown());
return *this;
}
const CVisioDocument FAR & operator=(const IVDocument FAR * other)
{
if ( (LPUNKNOWN)other != GetUnknown() )
CopyIP((LPUNKNOWN)other);
return *this;
}
virtual ~CVisioDocument() { }
IVDocument FAR * GetIP() const { return (IVDocument FAR *) GetUnknown(); }
operator IVDocument FAR * () { return (IVDocument FAR *) GetUnknown(); }
VW_PUBLIC:
HRESULT Application(CVisioApplication FAR &rWrap);
HRESULT Stat(short FAR *lpRet);
HRESULT ObjectType(short FAR *lpRet);
HRESULT InPlace(short FAR *lpRet);
HRESULT Masters(CVisioMasters FAR &rWrap);
HRESULT Pages(CVisioPages FAR &rWrap);
HRESULT Styles(CVisioStyles FAR &rWrap);
HRESULT Name(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT Path(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT FullName(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT Drop(IUnknown FAR *ObjectToDrop, short xPos, short yPos, CVisioMaster FAR &rWrap);
HRESULT Index(short FAR *lpRet);
HRESULT getSaved(short FAR *lpRet);
HRESULT putSaved(VW_CONST short param01);
HRESULT ReadOnly(short FAR *lpRet);
HRESULT Save(short FAR *lpRet);
HRESULT SaveAs(BSTR_HELPER_CLASS FAR &FileName, short FAR *lpRet);
HRESULT getVersion(long FAR *lpRet);
HRESULT putVersion(VW_CONST long param01);
HRESULT getTitle(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putTitle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getSubject(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putSubject(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getCreator(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putCreator(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getKeywords(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putKeywords(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getDescription(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putDescription(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT Print();
HRESULT Close();
HRESULT CustomMenus(CVisioUIObject FAR &rWrap);
HRESULT SetCustomMenus(CVisioUIObject FAR &MenusObject);
HRESULT getCustomMenusFile(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putCustomMenusFile(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT ClearCustomMenus();
HRESULT CustomToolbars(CVisioUIObject FAR &rWrap);
HRESULT SetCustomToolbars(CVisioUIObject FAR &ToolbarsObject);
HRESULT getCustomToolbarsFile(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putCustomToolbarsFile(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT ClearCustomToolbars();
HRESULT Fonts(CVisioFonts FAR &rWrap);
HRESULT Colors(CVisioColors FAR &rWrap);
HRESULT EventList(CVisioEventList FAR &rWrap);
HRESULT Template(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT SaveAsEx(BSTR_HELPER_CLASS FAR &FileName, short SaveFlags);
HRESULT getSavePreviewMode(short FAR *lpRet);
HRESULT putSavePreviewMode(VW_CONST short param01);
HRESULT GetIcon(short ID, BSTR_HELPER_CLASS FAR &FileName);
HRESULT SetIcon(short ID, short Index, BSTR_HELPER_CLASS FAR &FileName);
HRESULT getLeftMargin(VARIANT_HELPER_CLASS FAR &UnitsNameOrCode, double FAR *lpRet);
HRESULT putLeftMargin(VW_CONST VARIANT_HELPER_CLASS FAR &UnitsNameOrCode, VW_CONST double param02);
HRESULT getRightMargin(VARIANT_HELPER_CLASS FAR &UnitsNameOrCode, double FAR *lpRet);
HRESULT putRightMargin(VW_CONST VARIANT_HELPER_CLASS FAR &UnitsNameOrCode, VW_CONST double param02);
HRESULT getTopMargin(VARIANT_HELPER_CLASS FAR &UnitsNameOrCode, double FAR *lpRet);
HRESULT putTopMargin(VW_CONST VARIANT_HELPER_CLASS FAR &UnitsNameOrCode, VW_CONST double param02);
HRESULT getBottomMargin(VARIANT_HELPER_CLASS FAR &UnitsNameOrCode, double FAR *lpRet);
HRESULT putBottomMargin(VW_CONST VARIANT_HELPER_CLASS FAR &UnitsNameOrCode, VW_CONST double param02);
HRESULT getPrintLandscape(short FAR *lpRet);
HRESULT putPrintLandscape(VW_CONST short param01);
HRESULT getPrintCenteredH(short FAR *lpRet);
HRESULT putPrintCenteredH(VW_CONST short param01);
HRESULT getPrintCenteredV(short FAR *lpRet);
HRESULT putPrintCenteredV(VW_CONST short param01);
HRESULT getPrintScale(double FAR *lpRet);
HRESULT putPrintScale(VW_CONST double param01);
HRESULT getPrintFitOnPages(short FAR *lpRet);
HRESULT putPrintFitOnPages(VW_CONST short param01);
HRESULT getPrintPagesAcross(short FAR *lpRet);
HRESULT putPrintPagesAcross(VW_CONST short param01);
HRESULT getPrintPagesDown(short FAR *lpRet);
HRESULT putPrintPagesDown(VW_CONST short param01);
HRESULT getDefaultStyle(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putDefaultStyle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getDefaultLineStyle(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putDefaultLineStyle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getDefaultFillStyle(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putDefaultFillStyle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getDefaultTextStyle(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putDefaultTextStyle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT PersistsEvents(short FAR *lpRet);
HRESULT OpenStencilWindow(CVisioWindow FAR &rWrap);
HRESULT ParseLine(BSTR_HELPER_CLASS FAR &Line);
HRESULT ExecuteLine(BSTR_HELPER_CLASS FAR &Line);
HRESULT VBProject(IDispatch FAR *FAR *lpRet);
HRESULT PaperWidth(VARIANT_HELPER_CLASS FAR &UnitsNameOrCode, double FAR *lpRet);
HRESULT PaperHeight(VARIANT_HELPER_CLASS FAR &UnitsNameOrCode, double FAR *lpRet);
HRESULT getPaperSize(short FAR *lpRet);
HRESULT putPaperSize(VW_CONST short param01);
HRESULT FollowHyperlink45(BSTR_HELPER_CLASS FAR &Target, BSTR_HELPER_CLASS FAR &Location);
HRESULT CodeName(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT getMode(short FAR *lpRet);
HRESULT putMode(VW_CONST short param01);
HRESULT OLEObjects(CVisioOLEObjects FAR &rWrap);
HRESULT FollowHyperlink(BSTR_HELPER_CLASS FAR &Address, BSTR_HELPER_CLASS FAR &SubAddress, VARIANT_HELPER_CLASS FAR &ExtraInfo, VARIANT_HELPER_CLASS FAR &Frame, VARIANT_HELPER_CLASS FAR &NewWindow, VARIANT_HELPER_CLASS FAR &res1, VARIANT_HELPER_CLASS FAR &res2, VARIANT_HELPER_CLASS FAR &res3);
HRESULT getManager(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putManager(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getCompany(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putCompany(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getCategory(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putCategory(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getHyperlinkBase(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putHyperlinkBase(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT DrawSpline(/*double*/ SAFEARRAY FAR * FAR *xyArray, double Tolerance, short Flags, CVisioShape FAR &rWrap);
HRESULT DrawBezier(/*double*/ SAFEARRAY FAR * FAR *xyArray, short degree, short Flags, CVisioShape FAR &rWrap);
HRESULT DrawPolyline(/*double*/ SAFEARRAY FAR * FAR *xyArray, short Flags, CVisioShape FAR &rWrap);
HRESULT Import(BSTR_HELPER_CLASS FAR &FileName, CVisioShape FAR &rWrap);
HRESULT Export(BSTR_HELPER_CLASS FAR &FileName);
HRESULT InsertFromFile(BSTR_HELPER_CLASS FAR &FileName, short Flags, CVisioShape FAR &rWrap);
HRESULT InsertObject(BSTR_HELPER_CLASS FAR &ClassOrProgID, short Flags, CVisioShape FAR &rWrap);
HRESULT OpenDrawWindow(CVisioWindow FAR &rWrap);
HRESULT OpenIconWindow(CVisioWindow FAR &rWrap);
HRESULT Open(CVisioMaster FAR &rWrap);
HRESULT Close();
HRESULT DropMany(/*VARIANT*/ SAFEARRAY FAR * FAR *ObjectsToInstance, /*double*/ SAFEARRAY FAR * FAR *xyArray, /*short*/ SAFEARRAY FAR * FAR *IDArray, short FAR *lpRet);
HRESULT GetFormulas(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray);
HRESULT GetResults(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, short Flags, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray);
HRESULT SetFormulas(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray, short Flags, short FAR *lpRet);
HRESULT SetResults(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray, short Flags, short FAR *lpRet);
HRESULT Connects(CVisioConnects FAR &rWrap);
HRESULT ImportIcon(BSTR_HELPER_CLASS FAR &FileName);
HRESULT ExportIcon(BSTR_HELPER_CLASS FAR &FileName, short Flags);
HRESULT Layout();
HRESULT BoundingBox(short Flags, double FAR *lpr8Left, double FAR *lpr8Bottom, double FAR *lpr8Right, double FAR *lpr8Top);
HRESULT putName(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT Shapes(CVisioShapes FAR &rWrap);
HRESULT Drop(IUnknown FAR *ObjectToDrop, double xPos, double yPos, CVisioShape FAR &rWrap);
HRESULT AddGuide(short Type, double xPos, double yPos, CVisioShape FAR &rWrap);
HRESULT BackPageAsObj(CVisioPage FAR &rWrap);
HRESULT BackPageFromName(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT Print();
HRESULT Import(BSTR_HELPER_CLASS FAR &FileName, CVisioShape FAR &rWrap);
HRESULT Export(BSTR_HELPER_CLASS FAR &FileName);
HRESULT Layers(CVisioLayers FAR &rWrap);
HRESULT PageSheet(CVisioShape FAR &rWrap);
HRESULT Delete(short fRenumberPages);
HRESULT CenterDrawing();
HRESULT EventList(CVisioEventList FAR &rWrap);
HRESULT PersistsEvents(short FAR *lpRet);
HRESULT DrawSpline(/*double*/ SAFEARRAY FAR * FAR *xyArray, double Tolerance, short Flags, CVisioShape FAR &rWrap);
HRESULT DrawBezier(/*double*/ SAFEARRAY FAR * FAR *xyArray, short degree, short Flags, CVisioShape FAR &rWrap);
HRESULT DrawPolyline(/*double*/ SAFEARRAY FAR * FAR *xyArray, short Flags, CVisioShape FAR &rWrap);
HRESULT InsertFromFile(BSTR_HELPER_CLASS FAR &FileName, short Flags, CVisioShape FAR &rWrap);
HRESULT InsertObject(BSTR_HELPER_CLASS FAR &ClassOrProgID, short Flags, CVisioShape FAR &rWrap);
HRESULT OpenDrawWindow(CVisioWindow FAR &rWrap);
HRESULT DropMany(/*VARIANT*/ SAFEARRAY FAR * FAR *ObjectsToInstance, /*double*/ SAFEARRAY FAR * FAR *xyArray, /*short*/ SAFEARRAY FAR * FAR *IDArray, short FAR *lpRet);
HRESULT GetFormulas(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray);
HRESULT GetResults(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, short Flags, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray);
HRESULT SetFormulas(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray, short Flags, short FAR *lpRet);
HRESULT SetResults(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray, short Flags, short FAR *lpRet);
HRESULT Connects(CVisioConnects FAR &rWrap);
HRESULT getBackPage(VARIANT_HELPER_CLASS FAR &rWrap);
HRESULT putBackPage(VW_CONST VARIANT_HELPER_CLASS FAR ¶m01);
HRESULT Layout();
HRESULT BoundingBox(short Flags, double FAR *lpr8Left, double FAR *lpr8Bottom, double FAR *lpr8Right, double FAR *lpr8Top);
HRESULT DrawSpline(/*double*/ SAFEARRAY FAR * FAR *xyArray, double Tolerance, short Flags, CVisioShape FAR &rWrap);
HRESULT DrawBezier(/*double*/ SAFEARRAY FAR * FAR *xyArray, short degree, short Flags, CVisioShape FAR &rWrap);
HRESULT DrawPolyline(/*double*/ SAFEARRAY FAR * FAR *xyArray, short Flags, CVisioShape FAR &rWrap);
HRESULT FitCurve(double Tolerance, short Flags);
HRESULT Import(BSTR_HELPER_CLASS FAR &FileName, CVisioShape FAR &rWrap);
HRESULT CenterDrawing();
HRESULT InsertFromFile(BSTR_HELPER_CLASS FAR &FileName, short Flags, CVisioShape FAR &rWrap);
HRESULT InsertObject(BSTR_HELPER_CLASS FAR &ClassOrProgID, short Flags, CVisioShape FAR &rWrap);
HRESULT ClassID(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT ForeignType(short FAR *lpRet);
HRESULT Object(IDispatch FAR *FAR *lpRet);
HRESULT OpenDrawWindow(CVisioWindow FAR &rWrap);
HRESULT OpenSheetWindow(CVisioWindow FAR &rWrap);
HRESULT ID(short FAR *lpRet);
HRESULT DropMany(/*VARIANT*/ SAFEARRAY FAR * FAR *ObjectsToInstance, /*double*/ SAFEARRAY FAR * FAR *xyArray, /*short*/ SAFEARRAY FAR * FAR *IDArray, short FAR *lpRet);
HRESULT GetFormulas(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray);
HRESULT GetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, short Flags, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray);
HRESULT SetFormulas(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray, short Flags, short FAR *lpRet);
HRESULT SetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray, short Flags, short FAR *lpRet);
HRESULT FromConnects(CVisioConnects FAR &rWrap);
HRESULT Layout();
HRESULT BoundingBox(short Flags, double FAR *lpr8Left, double FAR *lpr8Bottom, double FAR *lpr8Right, double FAR *lpr8Top);
HRESULT HitTest(double xPos, double yPos, double Tolerance, short FAR *lpRet);
const CVisioStyle FAR & operator=(const CVisioStyle FAR &other)
{
if ( &other != this )
CopyIP(other.GetUnknown());
return *this;
}
const CVisioStyle FAR & operator=(const IVStyle FAR * other)
{
if ( (LPUNKNOWN)other != GetUnknown() )
CopyIP((LPUNKNOWN)other);
return *this;
}
virtual ~CVisioStyle() { }
IVStyle FAR * GetIP() const { return (IVStyle FAR *) GetUnknown(); }
operator IVStyle FAR * () { return (IVStyle FAR *) GetUnknown(); }
VW_PUBLIC:
HRESULT Application(CVisioApplication FAR &rWrap);
HRESULT Stat(short FAR *lpRet);
HRESULT ObjectType(short FAR *lpRet);
HRESULT getName(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putName(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT Index(short FAR *lpRet);
HRESULT Document(CVisioDocument FAR &rWrap);
HRESULT getBasedOn(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putBasedOn(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getTextBasedOn(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putTextBasedOn(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getLineBasedOn(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putLineBasedOn(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getFillBasedOn(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putFillBasedOn(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getIncludesText(short FAR *lpRet);
HRESULT putIncludesText(VW_CONST short param01);
HRESULT getIncludesLine(short FAR *lpRet);
HRESULT putIncludesLine(VW_CONST short param01);
HRESULT getIncludesFill(short FAR *lpRet);
HRESULT putIncludesFill(VW_CONST short param01);
HRESULT Cells(BSTR_HELPER_CLASS FAR &CellName, CVisioCell FAR &rWrap);
HRESULT Delete();
HRESULT EventList(CVisioEventList FAR &rWrap);
HRESULT PersistsEvents(short FAR *lpRet);
HRESULT ID(short FAR *lpRet);
HRESULT GetFormulas(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray);
HRESULT GetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, short Flags, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray);
HRESULT SetFormulas(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray, short Flags, short FAR *lpRet);
HRESULT SetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray, short Flags, short FAR *lpRet);
const CVisioStyles FAR & operator=(const CVisioStyles FAR &other)
{
if ( &other != this )
CopyIP(other.GetUnknown());
return *this;
}
const CVisioStyles FAR & operator=(const IVStyles FAR * other)
{
if ( (LPUNKNOWN)other != GetUnknown() )
CopyIP((LPUNKNOWN)other);
return *this;
}
virtual ~CVisioStyles() { }
IVStyles FAR * GetIP() const { return (IVStyles FAR *) GetUnknown(); }
operator IVStyles FAR * () { return (IVStyles FAR *) GetUnknown(); }
VW_PUBLIC:
HRESULT Application(CVisioApplication FAR &rWrap);
HRESULT ObjectType(short FAR *lpRet);
HRESULT Item(VARIANT_HELPER_CLASS FAR &NameOrIndex, CVisioStyle FAR &rWrap);
HRESULT Count(short FAR *lpRet);
HRESULT Document(CVisioDocument FAR &rWrap);
HRESULT Add(BSTR_HELPER_CLASS FAR &StyleName, BSTR_HELPER_CLASS FAR &BasedOn, short fIncludesText, short fIncludesLine, short fIncludesFill, CVisioStyle FAR &rWrap);
HRESULT Stat(short FAR *lpRet);
HRESULT EventList(CVisioEventList FAR &rWrap);
HRESULT PersistsEvents(short FAR *lpRet);
HRESULT ItemFromID(short ObjectID, CVisioStyle FAR &rWrap);
HRESULT GetNames(/*BSTR*/ SAFEARRAY FAR * FAR *NameArray);
const CVisioEventList FAR & operator=(const CVisioEventList FAR &other)
{
if ( &other != this )
CopyIP(other.GetUnknown());
return *this;
}
const CVisioEventList FAR & operator=(const IVEventList FAR * other)
{
if ( (LPUNKNOWN)other != GetUnknown() )
CopyIP((LPUNKNOWN)other);
return *this;
}
virtual ~CVisioEventList() { }
IVEventList FAR * GetIP() const { return (IVEventList FAR *) GetUnknown(); }
operator IVEventList FAR * () { return (IVEventList FAR *) GetUnknown(); }
VW_PUBLIC:
HRESULT Application(CVisioApplication FAR &rWrap);
HRESULT ObjectType(short FAR *lpRet);
HRESULT Item(short Index, CVisioEvent FAR &rWrap);
HRESULT Count(short FAR *lpRet);
HRESULT Add(short EventCode, short Action, BSTR_HELPER_CLASS FAR &Target, BSTR_HELPER_CLASS FAR &TargetArgs, CVisioEvent FAR &rWrap);
HRESULT AddAdvise(short EventCode, VARIANT_HELPER_CLASS FAR &SinkIUnkOrIDisp, BSTR_HELPER_CLASS FAR &IIDSink, BSTR_HELPER_CLASS FAR &TargetArgs, CVisioEvent FAR &rWrap);
HRESULT ItemFromID(long ObjectID, CVisioEvent FAR &rWrap);
const CVisioCurve FAR & operator=(const CVisioCurve FAR &other)
{
if ( &other != this )
CopyIP(other.GetUnknown());
return *this;
}
const CVisioCurve FAR & operator=(const IVCurve FAR * other)
{
if ( (LPUNKNOWN)other != GetUnknown() )
CopyIP((LPUNKNOWN)other);
return *this;
}
virtual ~CVisioCurve() { }
IVCurve FAR * GetIP() const { return (IVCurve FAR *) GetUnknown(); }
operator IVCurve FAR * () { return (IVCurve FAR *) GetUnknown(); }
VW_PUBLIC:
HRESULT Application(CVisioApplication FAR &rWrap);
HRESULT ObjectType(short FAR *lpRet);
HRESULT Closed(short FAR *lpRet);
HRESULT Points(double Tolerance, /*double*/ SAFEARRAY FAR * FAR *xyArray);
HRESULT Start(double FAR *lpRet);
HRESULT End(double FAR *lpRet);
HRESULT Point(double t, double FAR *x, double FAR *y);
HRESULT PointAndDerivatives(double t, short n, double FAR *x, double FAR *y, double FAR *dxdt, double FAR *dydt, double FAR *ddxdt, double FAR *ddydt);
const CVisioExtender FAR & operator=(const CVisioExtender FAR &other)
{
if ( &other != this )
CopyIP(other.GetUnknown());
return *this;
}
const CVisioExtender FAR & operator=(const IVExtender FAR * other)
{
if ( (LPUNKNOWN)other != GetUnknown() )
CopyIP((LPUNKNOWN)other);
return *this;
}
virtual ~CVisioExtender() { }
IVExtender FAR * GetIP() const { return (IVExtender FAR *) GetUnknown(); }
operator IVExtender FAR * () { return (IVExtender FAR *) GetUnknown(); }
VW_PUBLIC:
HRESULT getName(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putName(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT Object(IUnknown FAR *FAR *lpRet);
HRESULT Parent(IUnknown FAR *FAR *lpRet);
HRESULT Delete();
HRESULT Index();
HRESULT Shape(CVisioShape FAR &rWrap);
HRESULT Group();
HRESULT BringForward();
HRESULT BringToFront();
HRESULT ConvertToGroup();
HRESULT SendBackward();
HRESULT SendToBack();
HRESULT Document(CVisioDocument FAR &rWrap);
HRESULT ShapeParent(IDispatch FAR *FAR *lpRet);
HRESULT Application(CVisioApplication FAR &rWrap);
HRESULT Master(CVisioMaster FAR &rWrap);
HRESULT Cells(BSTR_HELPER_CLASS FAR &CellName, CVisioCell FAR &rWrap);
HRESULT CellsSRC(short Section, short Row, short Column, CVisioCell FAR &rWrap);
HRESULT getData1(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putData1(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getData2(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putData2(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getData3(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putData3(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getHelp(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putHelp(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT NameID(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT ShapeCopy();
HRESULT ShapeCut();
HRESULT ShapeDelete();
HRESULT ShapeDuplicate();
HRESULT RowCount(short Section, short FAR *lpRet);
HRESULT AddSection(short Section, short FAR *lpRet);
HRESULT DeleteSection(short Section);
HRESULT AddRow(short Section, short Row, short RowTag, short FAR *lpRet);
HRESULT DeleteRow(short Section, short Row);
HRESULT RowsCellCount(short Section, short Row, short FAR *lpRet);
HRESULT getRowType(short Section, short Row, short FAR *lpRet);
HRESULT putRowType(VW_CONST short Section, VW_CONST short Row, VW_CONST short param03);
HRESULT SetCenter(double xPos, double yPos);
HRESULT Connects(CVisioConnects FAR &rWrap);
HRESULT ShapeIndex(short FAR *lpRet);
HRESULT getStyle(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putStyle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT StyleKeepFmt(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getLineStyle(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putLineStyle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT LineStyleKeepFmt(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getFillStyle(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putFillStyle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT FillStyleKeepFmt(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT Export(BSTR_HELPER_CLASS FAR &FileName);
HRESULT UniqueID(short fUniqueID, BSTR_HELPER_CLASS FAR &rWrap);
HRESULT ContainingPage(CVisioPage FAR &rWrap);
HRESULT ContainingMaster(CVisioMaster FAR &rWrap);
HRESULT ContainingShape(CVisioShape FAR &rWrap);
HRESULT SectionExists(short Section, short fLocalExists, short FAR *lpRet);
HRESULT RowExists(short Section, short Row, short fLocalExists, short FAR *lpRet);
HRESULT CellExists(BSTR_HELPER_CLASS FAR &CellName, short fLocalExists, short FAR *lpRet);
HRESULT CellsSRCExists(short Section, short Row, short Column, short fLocalExists, short FAR *lpRet);
HRESULT LayerCount(short FAR *lpRet);
HRESULT Layer(short Index, CVisioLayer FAR &rWrap);
HRESULT AddNamedRow(short Section, BSTR_HELPER_CLASS FAR &RowName, short RowTag, short FAR *lpRet);
HRESULT AddRows(short Section, short Row, short RowTag, short RowCount, short FAR *lpRet);
HRESULT EventList(CVisioEventList FAR &rWrap);
HRESULT PersistsEvents(short FAR *lpRet);
HRESULT ClassID(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT ShapeObject(IDispatch FAR *FAR *lpRet);
HRESULT OpenSheetWindow(CVisioWindow FAR &rWrap);
HRESULT ShapeID(short FAR *lpRet);
HRESULT GetFormulas(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray);
HRESULT GetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, short Flags, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray);
HRESULT SetFormulas(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray, short Flags, short FAR *lpRet);
HRESULT SetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray, short Flags, short FAR *lpRet);
HRESULT FromConnects(CVisioConnects FAR &rWrap);
HRESULT BoundingBox(short Flags, double FAR *lpr8Left, double FAR *lpr8Bottom, double FAR *lpr8Right, double FAR *lpr8Top);
HRESULT HitTest(double xPos, double yPos, double Tolerance, short FAR *lpRet);
const CVisioDispExtender FAR & operator=(const CVisioDispExtender FAR &other)
{
if ( &other != this )
CopyIP(other.GetUnknown());
return *this;
}
const CVisioDispExtender FAR & operator=(const IVDispExtender FAR * other)
{
if ( (LPUNKNOWN)other != GetUnknown() )
CopyIP((LPUNKNOWN)other);
return *this;
}
virtual ~CVisioDispExtender() { }
IVDispExtender FAR * GetIP() const { return (IVDispExtender FAR *) GetUnknown(); }
operator IVDispExtender FAR * () { return (IVDispExtender FAR *) GetUnknown(); }
VW_PUBLIC:
#if 0
// This method list provided for information only...
void QueryInterface(REFIID riid, void FAR * FAR *ppvObj);
unsigned long AddRef();
unsigned long Release();
void GetTypeInfoCount(unsigned long FAR *pctinfo);
void GetTypeInfo(unsigned long itinfo, unsigned long lcid, ITypeInfo FAR *FAR *pptinfo);
void GetIDsOfNames(REFIID riid, OLECHAR FAR *FAR *rgszNames, unsigned long cNames, unsigned long lcid, long FAR *rgdispid);
void Invoke(long dispidMember, REFIID riid, unsigned long lcid, unsigned short wFlags, DISPPARAMS FAR *pdispparams, VARIANT_HELPER_CLASS FAR &pvarResult, EXCEPINFO FAR *pexcepinfo, unsigned long FAR *puArgErr);
HRESULT getName(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putName(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT Object(IUnknown FAR *FAR *lpRet);
HRESULT Parent(IUnknown FAR *FAR *lpRet);
HRESULT Delete();
HRESULT Index();
HRESULT Shape(CVisioShape FAR &rWrap);
HRESULT Group();
HRESULT BringForward();
HRESULT BringToFront();
HRESULT ConvertToGroup();
HRESULT SendBackward();
HRESULT SendToBack();
HRESULT Document(CVisioDocument FAR &rWrap);
HRESULT ShapeParent(IDispatch FAR *FAR *lpRet);
HRESULT Application(CVisioApplication FAR &rWrap);
HRESULT Master(CVisioMaster FAR &rWrap);
HRESULT Cells(BSTR_HELPER_CLASS FAR &CellName, CVisioCell FAR &rWrap);
HRESULT CellsSRC(short Section, short Row, short Column, CVisioCell FAR &rWrap);
HRESULT getData1(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putData1(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getData2(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putData2(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getData3(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putData3(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getHelp(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putHelp(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT NameID(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT ShapeCopy();
HRESULT ShapeCut();
HRESULT ShapeDelete();
HRESULT ShapeDuplicate();
HRESULT RowCount(short Section, short FAR *lpRet);
HRESULT AddSection(short Section, short FAR *lpRet);
HRESULT DeleteSection(short Section);
HRESULT AddRow(short Section, short Row, short RowTag, short FAR *lpRet);
HRESULT DeleteRow(short Section, short Row);
HRESULT RowsCellCount(short Section, short Row, short FAR *lpRet);
HRESULT getRowType(short Section, short Row, short FAR *lpRet);
HRESULT putRowType(VW_CONST short Section, VW_CONST short Row, VW_CONST short param03);
HRESULT SetCenter(double xPos, double yPos);
HRESULT Connects(CVisioConnects FAR &rWrap);
HRESULT ShapeIndex(short FAR *lpRet);
HRESULT getStyle(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putStyle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT StyleKeepFmt(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getLineStyle(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putLineStyle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT LineStyleKeepFmt(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT getFillStyle(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT putFillStyle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT FillStyleKeepFmt(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
HRESULT Export(BSTR_HELPER_CLASS FAR &FileName);
HRESULT UniqueID(short fUniqueID, BSTR_HELPER_CLASS FAR &rWrap);
HRESULT ContainingPage(CVisioPage FAR &rWrap);
HRESULT ContainingMaster(CVisioMaster FAR &rWrap);
HRESULT ContainingShape(CVisioShape FAR &rWrap);
HRESULT SectionExists(short Section, short fLocalExists, short FAR *lpRet);
HRESULT RowExists(short Section, short Row, short fLocalExists, short FAR *lpRet);
HRESULT CellExists(BSTR_HELPER_CLASS FAR &CellName, short fLocalExists, short FAR *lpRet);
HRESULT CellsSRCExists(short Section, short Row, short Column, short fLocalExists, short FAR *lpRet);
HRESULT LayerCount(short FAR *lpRet);
HRESULT Layer(short Index, CVisioLayer FAR &rWrap);
HRESULT AddNamedRow(short Section, BSTR_HELPER_CLASS FAR &RowName, short RowTag, short FAR *lpRet);
HRESULT AddRows(short Section, short Row, short RowTag, short RowCount, short FAR *lpRet);
HRESULT EventList(CVisioEventList FAR &rWrap);
HRESULT PersistsEvents(short FAR *lpRet);
HRESULT ClassID(BSTR_HELPER_CLASS FAR &rWrap);
HRESULT ShapeObject(IDispatch FAR *FAR *lpRet);
HRESULT OpenSheetWindow(CVisioWindow FAR &rWrap);
HRESULT ShapeID(short FAR *lpRet);
HRESULT GetFormulas(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray);
HRESULT GetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, short Flags, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray);
HRESULT SetFormulas(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray, short Flags, short FAR *lpRet);
HRESULT SetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray, short Flags, short FAR *lpRet);
HRESULT FromConnects(CVisioConnects FAR &rWrap);
HRESULT BoundingBox(short Flags, double FAR *lpr8Left, double FAR *lpr8Bottom, double FAR *lpr8Right, double FAR *lpr8Top);
HRESULT HitTest(double xPos, double yPos, double Tolerance, short FAR *lpRet);
VW_INLINE HRESULT CVisioApplication::FormatResult(VARIANT_HELPER_CLASS FAR &StringOrNumber, VARIANT_HELPER_CLASS FAR &UnitsIn, VARIANT_HELPER_CLASS FAR &UnitsOut, BSTR_HELPER_CLASS FAR &Format, BSTR_HELPER_CLASS FAR &rWrap)
VW_INLINE HRESULT CVisioApplication::ConvertResult(VARIANT_HELPER_CLASS FAR &StringOrNumber, VARIANT_HELPER_CLASS FAR &UnitsIn, VARIANT_HELPER_CLASS FAR &UnitsOut, double FAR *lpRet)
VW_INLINE HRESULT CVisioDocument::CodeName(BSTR_HELPER_CLASS FAR &rWrap)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
BSTR lpObj= NULL;
CHECK_IP(GetIP(), CVisioDocument, CodeName);
if (NULL!=GetIP())
hr= GetIP()->get_CodeName(&lpObj);
CHECK_HRESULT(hr, CVisioDocument, CodeName);
rWrap= lpObj;
#ifndef NO_BSTR_HELPER
if (NULL!=lpObj)
SysFreeString(lpObj);
#endif // NO_BSTR_HELPER
return hr;
}
VW_INLINE HRESULT CVisioDocument::getMode(short FAR *lpRet)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
CHECK_IP(GetIP(), CVisioDocument, getMode);
if (NULL!=GetIP())
hr= GetIP()->get_Mode(lpRet);
CHECK_HRESULT(hr, CVisioDocument, getMode);
return hr;
}
VW_INLINE HRESULT CVisioDocument::putMode(VW_CONST short param01)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
CHECK_IP(GetIP(), CVisioDocument, putMode);
if (NULL!=GetIP())
hr= GetIP()->put_Mode(param01);
CHECK_HRESULT(hr, CVisioDocument, putMode);
return hr;
}
VW_INLINE HRESULT CVisioDocument::OLEObjects(CVisioOLEObjects FAR &rWrap)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
IVOLEObjects FAR *lpObj= NULL;
CHECK_IP(GetIP(), CVisioDocument, OLEObjects);
if (NULL!=GetIP())
hr= GetIP()->get_OLEObjects(&lpObj);
CHECK_HRESULT(hr, CVisioDocument, OLEObjects);
rWrap= lpObj;
if (NULL!=lpObj)
lpObj->Release();
return hr;
}
VW_INLINE HRESULT CVisioDocument::FollowHyperlink(BSTR_HELPER_CLASS FAR &Address, BSTR_HELPER_CLASS FAR &SubAddress, VARIANT_HELPER_CLASS FAR &ExtraInfo, VARIANT_HELPER_CLASS FAR &Frame, VARIANT_HELPER_CLASS FAR &NewWindow, VARIANT_HELPER_CLASS FAR &res1, VARIANT_HELPER_CLASS FAR &res2, VARIANT_HELPER_CLASS FAR &res3)
VW_INLINE HRESULT CVisioMaster::OpenDrawWindow(CVisioWindow FAR &rWrap)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
IVWindow FAR *lpObj= NULL;
CHECK_IP(GetIP(), CVisioMaster, OpenDrawWindow);
if (NULL!=GetIP())
hr= GetIP()->OpenDrawWindow(&lpObj);
CHECK_HRESULT(hr, CVisioMaster, OpenDrawWindow);
rWrap= lpObj;
if (NULL!=lpObj)
lpObj->Release();
return hr;
}
VW_INLINE HRESULT CVisioMaster::OpenIconWindow(CVisioWindow FAR &rWrap)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
IVWindow FAR *lpObj= NULL;
CHECK_IP(GetIP(), CVisioMaster, OpenIconWindow);
if (NULL!=GetIP())
hr= GetIP()->OpenIconWindow(&lpObj);
CHECK_HRESULT(hr, CVisioMaster, OpenIconWindow);
rWrap= lpObj;
if (NULL!=lpObj)
lpObj->Release();
return hr;
}
VW_INLINE HRESULT CVisioMaster::Open(CVisioMaster FAR &rWrap)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
IVMaster FAR *lpObj= NULL;
CHECK_IP(GetIP(), CVisioMaster, Open);
if (NULL!=GetIP())
hr= GetIP()->Open(&lpObj);
CHECK_HRESULT(hr, CVisioMaster, Open);
rWrap= lpObj;
if (NULL!=lpObj)
lpObj->Release();
return hr;
}
VW_INLINE HRESULT CVisioMaster::Close()
{
HRESULT hr= VW_INTERFACE_NOT_SET;
CHECK_IP(GetIP(), CVisioMaster, Close);
if (NULL!=GetIP())
hr= GetIP()->Close();
CHECK_HRESULT(hr, CVisioMaster, Close);
return hr;
}
VW_INLINE HRESULT CVisioMaster::DropMany(/*VARIANT*/ SAFEARRAY FAR * FAR *ObjectsToInstance, /*double*/ SAFEARRAY FAR * FAR *xyArray, /*short*/ SAFEARRAY FAR * FAR *IDArray, short FAR *lpRet)
VW_INLINE HRESULT CVisioMaster::GetResults(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, short Flags, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray)
VW_INLINE HRESULT CVisioMaster::SetFormulas(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray, short Flags, short FAR *lpRet)
VW_INLINE HRESULT CVisioMaster::SetResults(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray, short Flags, short FAR *lpRet)
VW_INLINE HRESULT CVisioPage::OpenDrawWindow(CVisioWindow FAR &rWrap)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
IVWindow FAR *lpObj= NULL;
CHECK_IP(GetIP(), CVisioPage, OpenDrawWindow);
if (NULL!=GetIP())
hr= GetIP()->OpenDrawWindow(&lpObj);
CHECK_HRESULT(hr, CVisioPage, OpenDrawWindow);
rWrap= lpObj;
if (NULL!=lpObj)
lpObj->Release();
return hr;
}
VW_INLINE HRESULT CVisioPage::DropMany(/*VARIANT*/ SAFEARRAY FAR * FAR *ObjectsToInstance, /*double*/ SAFEARRAY FAR * FAR *xyArray, /*short*/ SAFEARRAY FAR * FAR *IDArray, short FAR *lpRet)
VW_INLINE HRESULT CVisioPage::GetResults(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, short Flags, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray)
VW_INLINE HRESULT CVisioPage::SetFormulas(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray, short Flags, short FAR *lpRet)
VW_INLINE HRESULT CVisioPage::SetResults(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray, short Flags, short FAR *lpRet)
VW_INLINE HRESULT CVisioShape::ClassID(BSTR_HELPER_CLASS FAR &rWrap)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
BSTR lpObj= NULL;
CHECK_IP(GetIP(), CVisioShape, ClassID);
if (NULL!=GetIP())
hr= GetIP()->get_ClassID(&lpObj);
CHECK_HRESULT(hr, CVisioShape, ClassID);
rWrap= lpObj;
#ifndef NO_BSTR_HELPER
if (NULL!=lpObj)
SysFreeString(lpObj);
#endif // NO_BSTR_HELPER
return hr;
}
VW_INLINE HRESULT CVisioShape::ForeignType(short FAR *lpRet)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
CHECK_IP(GetIP(), CVisioShape, ForeignType);
if (NULL!=GetIP())
hr= GetIP()->get_ForeignType(lpRet);
CHECK_HRESULT(hr, CVisioShape, ForeignType);
return hr;
}
VW_INLINE HRESULT CVisioShape::Object(IDispatch FAR *FAR *lpRet)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
CHECK_IP(GetIP(), CVisioShape, Object);
if (NULL!=GetIP())
hr= GetIP()->get_Object(lpRet);
CHECK_HRESULT(hr, CVisioShape, Object);
return hr;
}
VW_INLINE HRESULT CVisioShape::OpenDrawWindow(CVisioWindow FAR &rWrap)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
IVWindow FAR *lpObj= NULL;
CHECK_IP(GetIP(), CVisioShape, OpenDrawWindow);
if (NULL!=GetIP())
hr= GetIP()->OpenDrawWindow(&lpObj);
CHECK_HRESULT(hr, CVisioShape, OpenDrawWindow);
rWrap= lpObj;
if (NULL!=lpObj)
lpObj->Release();
return hr;
}
VW_INLINE HRESULT CVisioShape::OpenSheetWindow(CVisioWindow FAR &rWrap)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
IVWindow FAR *lpObj= NULL;
CHECK_IP(GetIP(), CVisioShape, OpenSheetWindow);
if (NULL!=GetIP())
hr= GetIP()->OpenSheetWindow(&lpObj);
CHECK_HRESULT(hr, CVisioShape, OpenSheetWindow);
rWrap= lpObj;
if (NULL!=lpObj)
lpObj->Release();
return hr;
}
VW_INLINE HRESULT CVisioShape::ID(short FAR *lpRet)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
CHECK_IP(GetIP(), CVisioShape, ID);
if (NULL!=GetIP())
hr= GetIP()->get_ID(lpRet);
CHECK_HRESULT(hr, CVisioShape, ID);
return hr;
}
VW_INLINE HRESULT CVisioShape::DropMany(/*VARIANT*/ SAFEARRAY FAR * FAR *ObjectsToInstance, /*double*/ SAFEARRAY FAR * FAR *xyArray, /*short*/ SAFEARRAY FAR * FAR *IDArray, short FAR *lpRet)
VW_INLINE HRESULT CVisioShape::GetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, short Flags, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray)
VW_INLINE HRESULT CVisioShape::SetFormulas(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray, short Flags, short FAR *lpRet)
VW_INLINE HRESULT CVisioShape::SetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray, short Flags, short FAR *lpRet)
VW_INLINE HRESULT CVisioStyle::GetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, short Flags, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray)
VW_INLINE HRESULT CVisioStyle::SetFormulas(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray, short Flags, short FAR *lpRet)
VW_INLINE HRESULT CVisioStyle::SetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray, short Flags, short FAR *lpRet)
VW_INLINE HRESULT CVisioStyles::Application(CVisioApplication FAR &rWrap)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
IVApplication FAR *lpObj= NULL;
CHECK_IP(GetIP(), CVisioStyles, Application);
if (NULL!=GetIP())
hr= GetIP()->get_Application(&lpObj);
CHECK_HRESULT(hr, CVisioStyles, Application);
rWrap= lpObj;
if (NULL!=lpObj)
lpObj->Release();
return hr;
}
VW_INLINE HRESULT CVisioStyles::ObjectType(short FAR *lpRet)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
CHECK_IP(GetIP(), CVisioStyles, ObjectType);
if (NULL!=GetIP())
hr= GetIP()->get_ObjectType(lpRet);
CHECK_HRESULT(hr, CVisioStyles, ObjectType);
return hr;
}
VW_INLINE HRESULT CVisioStyles::Item(VARIANT_HELPER_CLASS FAR &NameOrIndex, CVisioStyle FAR &rWrap)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
IVStyle FAR *lpObj= NULL;
CHECK_IP(GetIP(), CVisioStyles, Item);
if (NULL!=GetIP())
hr= GetIP()->get_Item(NameOrIndex, &lpObj);
CHECK_HRESULT(hr, CVisioStyles, Item);
rWrap= lpObj;
if (NULL!=lpObj)
lpObj->Release();
return hr;
}
VW_INLINE HRESULT CVisioStyles::Count(short FAR *lpRet)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
CHECK_IP(GetIP(), CVisioStyles, Count);
if (NULL!=GetIP())
hr= GetIP()->get_Count(lpRet);
CHECK_HRESULT(hr, CVisioStyles, Count);
return hr;
}
VW_INLINE HRESULT CVisioStyles::Document(CVisioDocument FAR &rWrap)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
IVDocument FAR *lpObj= NULL;
CHECK_IP(GetIP(), CVisioStyles, Document);
if (NULL!=GetIP())
hr= GetIP()->get_Document(&lpObj);
CHECK_HRESULT(hr, CVisioStyles, Document);
rWrap= lpObj;
if (NULL!=lpObj)
lpObj->Release();
return hr;
}
VW_INLINE HRESULT CVisioStyles::Add(BSTR_HELPER_CLASS FAR &StyleName, BSTR_HELPER_CLASS FAR &BasedOn, short fIncludesText, short fIncludesLine, short fIncludesFill, CVisioStyle FAR &rWrap)
VW_INLINE HRESULT CVisioEventList::Application(CVisioApplication FAR &rWrap)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
IVApplication FAR *lpObj= NULL;
CHECK_IP(GetIP(), CVisioEventList, Application);
if (NULL!=GetIP())
hr= GetIP()->get_Application(&lpObj);
CHECK_HRESULT(hr, CVisioEventList, Application);
rWrap= lpObj;
if (NULL!=lpObj)
lpObj->Release();
return hr;
}
VW_INLINE HRESULT CVisioEventList::ObjectType(short FAR *lpRet)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
CHECK_IP(GetIP(), CVisioEventList, ObjectType);
if (NULL!=GetIP())
hr= GetIP()->get_ObjectType(lpRet);
CHECK_HRESULT(hr, CVisioEventList, ObjectType);
return hr;
}
VW_INLINE HRESULT CVisioEventList::Item(short Index, CVisioEvent FAR &rWrap)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
IVEvent FAR *lpObj= NULL;
CHECK_IP(GetIP(), CVisioEventList, Item);
if (NULL!=GetIP())
hr= GetIP()->get_Item(Index, &lpObj);
CHECK_HRESULT(hr, CVisioEventList, Item);
rWrap= lpObj;
if (NULL!=lpObj)
lpObj->Release();
return hr;
}
VW_INLINE HRESULT CVisioEventList::Count(short FAR *lpRet)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
CHECK_IP(GetIP(), CVisioEventList, Count);
if (NULL!=GetIP())
hr= GetIP()->get_Count(lpRet);
CHECK_HRESULT(hr, CVisioEventList, Count);
return hr;
}
VW_INLINE HRESULT CVisioEventList::Add(short EventCode, short Action, BSTR_HELPER_CLASS FAR &Target, BSTR_HELPER_CLASS FAR &TargetArgs, CVisioEvent FAR &rWrap)
VW_INLINE HRESULT CVisioEventList::AddAdvise(short EventCode, VARIANT_HELPER_CLASS FAR &SinkIUnkOrIDisp, BSTR_HELPER_CLASS FAR &IIDSink, BSTR_HELPER_CLASS FAR &TargetArgs, CVisioEvent FAR &rWrap)
VW_INLINE HRESULT CVisioCurve::Application(CVisioApplication FAR &rWrap)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
IVApplication FAR *lpObj= NULL;
CHECK_IP(GetIP(), CVisioCurve, Application);
if (NULL!=GetIP())
hr= GetIP()->get_Application(&lpObj);
CHECK_HRESULT(hr, CVisioCurve, Application);
rWrap= lpObj;
if (NULL!=lpObj)
lpObj->Release();
return hr;
}
VW_INLINE HRESULT CVisioCurve::ObjectType(short FAR *lpRet)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
CHECK_IP(GetIP(), CVisioCurve, ObjectType);
if (NULL!=GetIP())
hr= GetIP()->get_ObjectType(lpRet);
CHECK_HRESULT(hr, CVisioCurve, ObjectType);
return hr;
}
VW_INLINE HRESULT CVisioCurve::Closed(short FAR *lpRet)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
CHECK_IP(GetIP(), CVisioCurve, Closed);
if (NULL!=GetIP())
hr= GetIP()->get_Closed(lpRet);
CHECK_HRESULT(hr, CVisioCurve, Closed);
return hr;
}
VW_INLINE HRESULT CVisioCurve::Points(double Tolerance, /*double*/ SAFEARRAY FAR * FAR *xyArray)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
CHECK_IP(GetIP(), CVisioCurve, Points);
if (NULL!=GetIP())
hr= GetIP()->Points(Tolerance, xyArray);
CHECK_HRESULT(hr, CVisioCurve, Points);
return hr;
}
VW_INLINE HRESULT CVisioCurve::Start(double FAR *lpRet)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
CHECK_IP(GetIP(), CVisioCurve, Start);
if (NULL!=GetIP())
hr= GetIP()->get_Start(lpRet);
CHECK_HRESULT(hr, CVisioCurve, Start);
return hr;
}
VW_INLINE HRESULT CVisioCurve::End(double FAR *lpRet)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
CHECK_IP(GetIP(), CVisioCurve, End);
if (NULL!=GetIP())
hr= GetIP()->get_End(lpRet);
CHECK_HRESULT(hr, CVisioCurve, End);
return hr;
}
VW_INLINE HRESULT CVisioCurve::Point(double t, double FAR *x, double FAR *y)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
CHECK_IP(GetIP(), CVisioCurve, Point);
if (NULL!=GetIP())
hr= GetIP()->Point(t, x, y);
CHECK_HRESULT(hr, CVisioCurve, Point);
return hr;
}
VW_INLINE HRESULT CVisioCurve::PointAndDerivatives(double t, short n, double FAR *x, double FAR *y, double FAR *dxdt, double FAR *dydt, double FAR *ddxdt, double FAR *ddydt)
VW_INLINE HRESULT CVisioExtender::GetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, short Flags, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray)
VW_INLINE HRESULT CVisioExtender::SetFormulas(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray, short Flags, short FAR *lpRet)
VW_INLINE HRESULT CVisioExtender::SetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray, short Flags, short FAR *lpRet)