• CAMAPI
  • API Documentation
Show / Hide Table of Contents
  • CAMAPI.Application
    • ICamApiApplication
    • ICamApiApplicationSingleton
    • ICamApiHandlerApplicationActiveProjectChanged
    • ICamApiHandlerApplicationAfterClose
    • ICamApiHandlerApplicationAfterLoad
    • ICamApiHandlerApplicationAfterLoadProject
    • ICamApiHandlerApplicationAfterSaveProject
    • ICamApiHandlerApplicationBeforeClose
    • ICamApiHandlerApplicationBeforeLoadProject
    • ICamApiHandlerApplicationBeforeSaveProject
    • ICamApiHandlerApplicationNewProject
    • ICamApiHandlerApplicationUpdateProcessState
    • ICamApiHandlerApplicationUpdateStartProgress
    • IExtensionUtility
    • IExtensionUtilityContext
    • IExtensionUtilityRunner
    • IExtensionUtilityRunnerContext
    • IUtilButtonContext
  • CAMAPI.ApplicationMainForm
    • ICamApiApplicationMainForm
    • ICamApiHandlerApplicationMainFormCloudChatClicked
    • ICamApiHandlerApplicationMainFormIsVisibleChanged
    • ICamApiHandlerApplicationMainFormMinimizeChanged
    • ICamApiHandlerApplicationMainFormReloadCloudProjectClicked
    • ICamApiHandlerApplicationMainFormSaveInCloudClicked
    • ICamApiHandlerApplicationMainFormShareClicked
    • TCloudProjectState
    • TProjectSaveMode
    • enumTCloudProjectState
    • enumTProjectSaveMode
  • CAMAPI.CurveTypes
    • ICamApiAbstractCurve
    • ICamApiAbstractCurveList
    • ICamApiAbstractCurveReceiver
    • ICamApiAbstractNurbsCurve
    • ICamApiCurve
  • CAMAPI.CustomAttributes
    • ICamApiAttributeFloatEnumValues
    • ICamApiAttributeIntegerEnumValues
    • ICamApiAttributeStringEnumValues
    • ICamApiBooleanCustomAttribute
    • ICamApiCustomAttribute
    • ICamApiCustomAttributeCategory
    • ICamApiCustomAttributeClassList
    • ICamApiCustomAttributeFloatBounds
    • ICamApiCustomAttributeIntegerBounds
    • ICamApiCustomAttributeWithValue
    • ICamApiCustomAttributesArray
    • ICamApiCustomAttributesArrayValueIndexer
    • ICamApiCustomAttributesBooleanValueIndexer
    • ICamApiCustomAttributesCollection
    • ICamApiCustomAttributesFloatValueIndexer
    • ICamApiCustomAttributesIntegerValueIndexer
    • ICamApiCustomAttributesLibrary
    • ICamApiCustomAttributesLibraryList
    • ICamApiCustomAttributesManager
    • ICamApiCustomAttributesStringValueIndexer
    • ICamApiCustomAttributesTree
    • ICamApiCustomAttributesTreeIterator
    • ICamApiCustomAttributesTreeNode
    • ICamApiCustomAttributesTreeNodesArray
    • ICamApiFloatCustomAttribute
    • ICamApiIntegerCustomAttribute
    • ICamApiObjectWithAttributes
    • ICamApiStringCustomAttribute
    • TAttributeValueRestriction
    • TCustomAttributeValueType
    • enumTAttributeValueRestriction
    • enumTCustomAttributeValueType
  • CAMAPI.DotnetHelper
    • ComWrapper
    • ComWrapperSettings
    • ComWrapper<T>
    • ExtensionManagerHelper
    • InterfaceInfo
    • ListString
    • MtaTaskScheduler
    • SystemExtensionFactory
  • CAMAPI.EventHandler
    • ICamApiEventHandler
  • CAMAPI.Extension.PLM
    • IExtensionPLM
    • IExtensionTypeInfoPLM
    • IPLMCAMProject
    • IPLMCAMProjectFile
    • IPLMCAMProjectFiles
    • IPLMConnectionParameter
    • IPLMConnectionParameters
    • IPLMDataItem
    • IPLMDataItems
    • IPLMFiles
    • IPLMInterface
    • IPLMItem
    • IPLMItemAttributes
    • IPLMItems
    • IPLMLoginParamListOfValues
    • IPLMLoginParamValue
    • IPLMLoginParameter
    • IPLMLoginParameters
    • IPLMManager
    • IPLMOperation
    • IPLMOperationList
    • IPLMParameterValue
    • IPLMParameterValues
    • IPLMParameters
    • IPLMProjectPreview
    • IPLMProjectStructItem
    • IPLMProjectStructItems
    • IPLMResult
    • IPLMSettingsParameter
    • IPLMSettingsParameters
    • IPLMTool
    • IPLMToolConverter
    • IPLMToolList
    • IPLMTree
    • IPLMTreeItem
    • TPLMFileAction
    • TPLMItemType
    • enumTPLMFileAction
    • enumTPLMItemType
  • CAMAPI.Extensions
    • IExtension
    • IExtensionFactory
    • IExtensionFactoryContext
    • IExtensionGlobal
    • IExtensionInfo
    • IExtensionInstanceInfo
    • IExtensionLazyUnloadable
    • IExtensionLibrary
    • IExtensionLibraryInfo
    • IExtensionLibraryLoader
    • IExtensionLogger
    • IExtensionManager
    • IExtensionOperationSolver
    • IExtensionStorage
    • IExtensionTypeInfo
    • IExtensionTypeInfoGlobal
    • IExtensionTypeInfoOperationPopup
    • IExtensionTypeInfoOperationSolver
    • IExtensionTypeInfoUtility
    • IExtensionTypeInfoUtilityRunner
    • IListExtension
    • IListExtensionLibraryInfo
    • IListExtensionTypeInfo
    • TExtensionLoaderType
    • TExtensionUnloadMode
    • TStorageField
    • TStorageType
    • enumTExtensionLoaderType
    • enumTExtensionUnloadMode
    • enumTStorageField
    • enumTStorageType
  • CAMAPI.Generic.Dictionary
    • IDictionaryStringString
  • CAMAPI.Generic.List
    • IListInteger
    • IListString
  • CAMAPI.GeomImporter
    • ICAMAPIGeometryImporter
  • CAMAPI.GeomLibrary
    • ICAMAPIGeomLibrary
  • CAMAPI.GeomModel
    • ICAMAPIGeometryEntity
    • ICAMAPIGeometryModel
    • ICAMAPIGeometryTreeNode
    • ICAMAPIGeometryTreeNodeIterator
    • TCAMAPIGeometryEntityType
    • TGeometryEntityTypeFlag
    • enumTCAMAPIGeometryEntityType
    • enumTGeometryEntityTypeFlag
  • CAMAPI.GeomPicker
    • ICamApiGeomPicker
    • ICamApiGeomPickerOnClose
  • CAMAPI.Logger
    • LogItem
    • TLogEventType
    • _FILETIME
    • enumTLogEventType
    • tagLogItem
  • CAMAPI.MCDFormerTypes
    • ICamApiCLDReceiver
    • TCLDItemType
    • TCLDPlaneType
    • TExtendedCycleSubCommand
    • TFeedTypeFlag
    • TLengthCompensationMode
    • TRadiusCompensationMode
    • enumTCLDItemType
    • enumTCLDPlaneType
    • enumTLengthCompensationMode
    • tagTExtendedCycleSubCommand
    • tagTFeedTypeFlag
    • tagTRadiusCompensationMode
  • CAMAPI.Machine
    • ICamApiMachine
    • ICamApiMachineEvaluator
    • ICamApiMachineInfo
  • CAMAPI.MachiningToolsImportHelper
    • FinalizeMachiningToolsImportLib
    • GetMachiningToolsImportLibPointer
    • IMTI_AxialToolItemsExtension
    • IMTI_CustomAxialShapeToolExtension
    • IMTI_MachiningToolsImportLibraryExtension
    • IMTI_MachiningToolsItemExtension
    • IMTI_TurnToolItemsExtension
    • MTIMachiningToolsImportHelper
    • NativeLibLoader
    • TPlanarCurveReader
    • TPlanarCurveSpan
  • CAMAPI.MeshTypes
    • ICamApiMesh
    • ICamApiMeshList
  • CAMAPI.ModelFormerTypes
    • ICamApiCoordinateItem
    • ICamApiCurveModelItem
    • ICamApiCurvesArrayModelItem
    • ICamApiFaceModelItem
    • ICamApiFacesArrayModelItem
    • ICamApiLineModelItem
    • ICamApiMeshesArrayModelItem
    • ICamApiModelFormer
    • ICamApiModelFormerMakeSupportedItems
    • ICamApiModelFormerSupportedItems
    • ICamApiModelItem
    • ICamApiPointModelItem
    • TModelCurveType
    • TModelCurveTypeSetFlag
    • TModelFaceType
    • TModelFaceTypeSetFlag
    • TModelFormerType
    • TModelItemType
    • tagTModelCurveType
    • tagTModelCurveTypeFlag
    • tagTModelFaceType
    • tagTModelFaceTypeFlag
    • tagTModelFormerType
    • tagTModelItemType
  • CAMAPI.NCMaker
    • ICamApiMakeCncDotnetSettings
    • ICamApiMakeCncSettings
    • ICamApiMakeCncSppxSettings
    • ICamApiNCMaker
    • TCamApiNCMakerSettingsType
    • enumTCamApiNCMakerSettingsType
  • CAMAPI.Project
    • ICamApiHandlerProjectAfterSave
    • ICamApiHandlerProjectBeforeSave
    • ICamApiProject
  • CAMAPI.ResultStatus
    • TResultStatus
    • TResultStatusCode
    • enumTResultStatusCode
  • CAMAPI.Singletons
    • ICamApiConstants
    • ICamApiFactoryGeometryFile
    • ICamApiPaths
  • CAMAPI.Snapshot
    • ICamApiSnapshot
    • IListCamApiSnapshot
    • _FILETIME
  • CAMAPI.SurfaceTypes
    • ICamApiFace
    • ICamApiFaceList
    • ICamApiLoop
    • ICamApiNurbsSurface
    • ICamApiSurface
  • CAMAPI.TechOperation
    • ICamApiHandlerTechOperationInitModelFormers
    • ICamApiHandlerTechOperationLoadFromXmlProp
    • ICamApiHandlerTechOperationSaveToXmlProp
    • ICamApiHandlerTechOperationToolChanged
    • ICamApiTechOperation
    • ICamApiTechOperationIterator
    • ICamApiTechOperationIteratorFilter
    • ICamApiTechOperationProgressUpdateHandler
    • ICamApiTechOperationSolver
    • ICamApiTechOperationSolverInitializeContext
    • TCamApiReorderingMode
    • enumTCamApiReorderingMode
  • CAMAPI.TechSolvers
    • ICamApiRouteVoyager
    • ICamApiRouteVoyagerGetOptimalRouteCallback
  • CAMAPI.Technologist
    • ICamApiHandlerTechnologistOperationAdded
    • ICamApiPartItem
    • ICamApiTechnologist
  • CAMAPI.TechnologyForm
    • ICamApiTechnologyForm
    • ICamApiTechnologyFormOperationPopup
    • ICamApiTechnologyFormOperationPopupItem
    • ICamApiTechnologyFormOperationPopupItemOnClicked
    • IExtensionOperationPopup
    • IExtensionOperationPopupBuildContext
    • IExtensionOperationPopupItemOnClickedContext
  • CAMAPI.Tools
    • ICamApiMachiningTool
  • CAMAPI.ToolsList
    • ICamApiMachiningToolInfo
    • ICamApiMachiningToolOperationsIterator
    • ICamApiMachiningToolsList
  • CAMAPI.UIDialogs
    • ICAMAPI_UIDialogWindow
    • ICAMAPI_UIDialogWindowOnClose
    • ICAMAPI_UIDialogsHelper
    • IPropIteratorGetter
    • IPropIteratorSetter
    • TMessageDialogType
    • TUIButtonType
    • TUIButtonTypeFlags
    • enumTMessageDialogType
    • enumTUIButtonType
    • enumTUIButtonTypeFlags
  • CAMAPI.UIDialogs.DotnetHelper
    • BooleanValueGetter
    • BooleanValueSetter
    • ButtonClickAction
    • CamApiInspectorWindow
    • CamApiInspectorWindowOnClose
    • DefaultPropValue
    • DoubleValueGetter
    • DoubleValueSetter
    • GetEnumIndexedValues
    • GetEnumValues
    • IntegerValueGetter
    • IntegerValueSetter
    • MessageBoxHelper
    • OnButtonClickAction
    • OnDialogWindowClose
    • OnGetBooleanValue
    • OnGetDoubleValue
    • OnGetIntegerValue
    • OnGetPropIterator
    • OnGetStringValue
    • OnRestoreDefaultPropValue
    • OnSetBooleanValue
    • OnSetDoubleValue
    • OnSetIntegerValue
    • OnSetStringValue
    • PropIteratorGetter
    • SimplePropIterator
    • StringValueGetter
    • StringValueSetter
    • UIDialogs
  • CAMHelper.NativeLibUtils
    • NativeLibLoader
    • NativeLibLoader.ProcCaller<delegateT>
  • CAMIPC.Application
    • ICamIpcApplication
    • ICamIpcHandlerApplicationActiveProjectChanged
    • ICamIpcHandlerApplicationAfterClose
    • ICamIpcHandlerApplicationAfterLoad
    • ICamIpcHandlerApplicationAfterLoadProject
    • ICamIpcHandlerApplicationAfterSaveProject
    • ICamIpcHandlerApplicationBeforeClose
    • ICamIpcHandlerApplicationBeforeLoadProject
    • ICamIpcHandlerApplicationBeforeSaveProject
    • ICamIpcHandlerApplicationNewProject
    • ICamIpcHandlerApplicationUpdateProcessState
    • ICamIpcHandlerApplicationUpdateStartProgress
    • ICamIpcListApplication
  • CAMIPC.ApplicationMainForm
    • ICamIpcApplicationMainForm
    • ICamIpcHandlerApplicationMainFormCloudChatClicked
    • ICamIpcHandlerApplicationMainFormIsVisibleChanged
    • ICamIpcHandlerApplicationMainFormMinimizeChanged
    • ICamIpcHandlerApplicationMainFormReloadCloudProjectClicked
    • ICamIpcHandlerApplicationMainFormSaveInCloudClicked
    • ICamIpcHandlerApplicationMainFormShareClicked
  • CAMIPC.AsyncResult
    • IAsyncAnswersListener
    • IAsyncResult
  • CAMIPC.EventHandler
    • ICamIpcEventHandler
    • ICamIpcEventListener
  • CAMIPC.ExecuteContext
    • TExecuteContext
    • TExecuteSettings
  • CAMIPC.ExtensionManager
    • IIpcExtension
    • IIpcExtensionInfo
    • IIpcExtensionInstanceInfo
    • IIpcExtensionLibraryInfo
    • IIpcExtensionManager
    • IIpcExtensionTypeInfo
    • IIpcListExtension
    • IIpcListExtensionLibraryInfo
    • IIpcListExtensionTypeInfo
  • CAMIPC.Helper
    • IIpcHelper
  • CAMIPC.IpcInteraction
    • IEventJsonParser
    • IIpcEventListenerManager
    • IIpcInteraction
    • IIpcMessageSender
    • IIpcServer
    • IJsonParser
    • IRequestJsonParser
    • IRequestsCommandExecutor
    • IRequestsHandler
    • IRequestsHandlerProceedHelper
    • IResponseJsonParser
    • IWrapperBase
    • IWrappingObject
  • CAMIPC.Logger
    • IIpcLogger
  • CAMIPC.NCMaker
    • ICamIpcMakeCncDotnetSettings
    • ICamIpcMakeCncSettings
    • ICamIpcMakeCncSppxSettings
    • ICamIpcNCMaker
  • CAMIPC.Project
    • ICamIpcHandlerProjectAfterSave
    • ICamIpcHandlerProjectBeforeSave
    • ICamIpcProject
  • CAMIPC.Snapshot
    • ICamIpcSnapshot
    • IListCamIpcSnapshot
    • _FILETIME
  • CAMIPC.TechOperation
    • ICamIpcHandlerTechOperationInitModelFormers
    • ICamIpcHandlerTechOperationLoadFromXmlProp
    • ICamIpcHandlerTechOperationSaveToXmlProp
    • ICamIpcHandlerTechOperationToolChanged
    • ICamIpcMachiningTool
    • ICamIpcTechOperation
  • CAMIPC.Technologist
    • ICamIpcHandlerTechnologistOperationAdded
    • ICamIpcTechOperationIterator
    • ICamIpcTechnologist
  • GeneralUtils.STDefLib
    • AngleUnits
    • STDef
  • Geometry.VecMatrLib
    • EVecMatrLibError
    • GWConsts
    • ISTGeWatch
    • ISTGeWatchClient
    • ISTGeWatchable
    • T2DPoint
    • T3DArc
    • T3DCut
    • T3DMatrix
    • T3DPoint
    • T5DPoint
    • TComplexRotationConvention
    • TLocation
    • TQuaternion
    • TRotation
    • TRotationConvention
    • TRotationsConverter
    • VML
  • MachinigToolsImportTypes
    • IMTI_AxialToolItemWithMaxPlungeAngle
    • IMTI_AxialToolItemWithTeeth
    • IMTI_AxialToolItems
    • IMTI_AxialToolOverhang
    • IMTI_AxialToolStepsAdapter
    • IMTI_AxialToolToolingPoints
    • IMTI_BackBoringBar
    • IMTI_BoringBar
    • IMTI_BoringToolHolderGroup
    • IMTI_CenterDrill
    • IMTI_ConicalMill
    • IMTI_CoolantTubes
    • IMTI_CounterBoreDrill
    • IMTI_CounterSinkDrill
    • IMTI_CustomAxialShapeTool
    • IMTI_CylindricalMill
    • IMTI_DoubleRadialMill
    • IMTI_Drill
    • IMTI_ElipticFlatFanSprayGun
    • IMTI_ElipticLinearFanSprayGun
    • IMTI_EmptyGripper
    • IMTI_Engraver
    • IMTI_ExternalGroovingToolHolderGroup
    • IMTI_ExternalThreadingToolHolderGroup
    • IMTI_ExternalToolHolderGroup
    • IMTI_FaceGroovingToolHolderGroup
    • IMTI_FlatTipCountersink
    • IMTI_FullConeSprayGun
    • IMTI_HollowConeSprayGun
    • IMTI_InternalGroovingToolHolderGroup
    • IMTI_InternalThreadingToolHolderGroup
    • IMTI_JetCutter
    • IMTI_Knife
    • IMTI_LaserJetCutter
    • IMTI_LimitedConicalMill
    • IMTI_LimitedDoubleRadialMill
    • IMTI_MachiningToolCADModelAdapter
    • IMTI_MachiningToolCuttingConditions
    • IMTI_MachiningToolItemWithDurability
    • IMTI_MachiningToolItemWithIdentifier
    • IMTI_MachiningToolItemWithUnits
    • IMTI_MachiningToolsImportLibrary
    • IMTI_MachiningToolsItem
    • IMTI_MachiningToolsItemWithName
    • IMTI_MachiningToolsItemWithNumbers
    • IMTI_MachiningToolsStorage
    • IMTI_NegativeRadiusMill
    • IMTI_PilotCounterbore
    • IMTI_PlanarCurveReader
    • IMTI_PlanarCurveReceiver
    • IMTI_PlazmaJetCutter
    • IMTI_ProbingToolHolderGroup
    • IMTI_Reamer
    • IMTI_RectangularFlatFanSprayGun
    • IMTI_SawBlade
    • IMTI_SingleVacuumGripper
    • IMTI_SphericalMill
    • IMTI_SphericalProbe
    • IMTI_SpotDrill
    • IMTI_Taper
    • IMTI_TaperJetCutter
    • IMTI_ThreadMill
    • IMTI_TorusMill
    • IMTI_TurnToolDimensions
    • IMTI_TurnToolDirections
    • IMTI_TurnToolHand
    • IMTI_TurnToolItems
    • IMTI_TurnToolOverhang
    • IMTI_TurnToolToolingPoints
    • IMTI_TwoStageDrill
    • IMTI_UndercutBarrelMill
    • IMTI_UndercutDoveMill
    • IMTI_UndercutIndexableChamferMill
    • IMTI_UndercutLensBarrelMill
    • IMTI_UndercutLollipopMill
    • IMTI_UndercutRoundGrooveMill
    • IMTI_UndercutRoundedChamferMill
    • IMTI_UndercutSharpChamferMill
    • IMTI_UndercutSlotMill
    • IMTI_UndercutTaperBarrelMill
    • IMTI_UndercutTwoAngleMill
    • TMTI_AxialToolContactPointType
    • TMTI_AxialToolGroup
    • TMTI_AxialToolToolingPointType
    • TMTI_BoringlToolHolderTypes
    • TMTI_CurveSpanType
    • TMTI_CuttingDirections
    • TMTI_CuttingSpeedMode
    • TMTI_ExtGroovingToolHolderTypes
    • TMTI_ExternalToolHolderInsertTypes
    • TMTI_ExternalToolHolderTypes
    • TMTI_FaceGroovingToolHolderTypes
    • TMTI_FeedUnits
    • TMTI_FixingDirection
    • TMTI_GroovingInsertTypes
    • TMTI_Hand
    • TMTI_IntGroovingToolHolderTypes
    • TMTI_LinearUnits
    • TMTI_ProbingInsertTypes
    • TMTI_ProbingToolHolderTypes
    • TMTI_RotationDirection
    • TMTI_ThreadingInsertTypes
    • TMTI_ThreadingToolHolderTypes
    • TMTI_TurnToolAdjustingTypes
    • TMTI_TurnToolHolderDimensionTypes
    • TMTI_TurnToolInsertDimensionTypes
    • tagTMTI_AxialToolContactPointType
    • tagTMTI_AxialToolGroup
    • tagTMTI_AxialToolToolingPointType
    • tagTMTI_BoringlToolHolderTypes
    • tagTMTI_CurveSpanType
    • tagTMTI_CuttingDirections
    • tagTMTI_CuttingSpeedMode
    • tagTMTI_ExtGroovingToolHolderTypes
    • tagTMTI_ExternalToolHolderInsertTypes
    • tagTMTI_ExternalToolHolderTypes
    • tagTMTI_FaceGroovingToolHolderTypes
    • tagTMTI_FeedUnits
    • tagTMTI_FixingDirection
    • tagTMTI_GroovingInsertTypes
    • tagTMTI_Hand
    • tagTMTI_IntGroovingToolHolderTypes
    • tagTMTI_LinearUnits
    • tagTMTI_ProbingInsertTypes
    • tagTMTI_ProbingToolHolderTypes
    • tagTMTI_RotationDirection
    • tagTMTI_ThreadingInsertTypes
    • tagTMTI_ThreadingToolHolderTypes
    • tagTMTI_TurnToolAdjustingTypes
    • tagTMTI_TurnToolHolderDimensionTypes
    • tagTMTI_TurnToolInsertDimensionTypes
  • STCustomPropTypes
    • IBooleanValueGetter
    • IBooleanValueSetter
    • IButtonClickAction
    • IDoubleValueGetter
    • IDoubleValueSetter
    • IIntegerValueGetter
    • IIntegerValueSetter
    • IST_AbstractPropHelper
    • IST_CustomBooleanProp
    • IST_CustomBooleanPropHelper
    • IST_CustomBooleanPropWithEdit
    • IST_CustomComplexPropHelper
    • IST_CustomComplexPropWithText
    • IST_CustomDoubleProp
    • IST_CustomDoublePropHelper
    • IST_CustomDynamicArrayProp
    • IST_CustomEnumIndexedPropHelper
    • IST_CustomEnumWithIDPropHelper
    • IST_CustomEnumerated
    • IST_CustomEnumeratedProp
    • IST_CustomEnumeratedWithID
    • IST_CustomEnumeratedWithStringValue
    • IST_CustomIntegerProp
    • IST_CustomIntegerPropHelper
    • IST_CustomOpenEnumeratedProp
    • IST_CustomProp
    • IST_CustomPropCaption
    • IST_CustomPropComputable
    • IST_CustomPropDefaultable
    • IST_CustomPropExpanded
    • IST_CustomPropFilePath
    • IST_CustomPropFolderPath
    • IST_CustomPropHelpers
    • IST_CustomPropHint
    • IST_CustomPropID
    • IST_CustomPropIcon
    • IST_CustomPropIsInErrorState
    • IST_CustomPropIsStructural
    • IST_CustomPropIterator
    • IST_CustomPropPriority
    • IST_CustomPropReadOnly
    • IST_CustomPropSelectable
    • IST_CustomPropTransparent
    • IST_CustomPropUpdateStamp
    • IST_CustomPropVisible
    • IST_CustomPropWithButtons
    • IST_CustomPropWithUnits
    • IST_CustomRadioEditProp
    • IST_CustomStringProp
    • IST_CustomStringPropHelper
    • IST_SimplePropIterator
    • IStringValueGetter
    • IStringValueSetter
    • TCustomPropButtonState
    • TCustomPropType
    • tagTCustomPropButtonState
    • tagTCustomPropType
  • STGeomApiTypes
    • ISTGeomFiler
    • ISTGeomReceiver
    • TSTBlendedType
    • TSTImportOption
    • TSTLimitType
    • TSTLineType
    • TSTPmiArrowType
    • TSTPmiCurveType
    • TSTPmiTextType
    • TSTPmiType
    • enumTSTBlendedType
    • enumTSTImportOption
    • enumTSTLimitType
    • enumTSTLineType
    • enumTSTPmiArrowType
    • enumTSTPmiCurveType
    • enumTSTPmiTextType
    • enumTSTPmiType
  • STTypes
    • IST_2DBox
    • IST_2DMatrix
    • IST_2DPoint
    • IST_3DBox
    • IST_3DMatrix
    • IST_3DPoint
    • IST_5DPoint
    • IST_MeasurableObject
    • IST_UpdateStamp
    • TST2DBox
    • TST2DLine
    • TST2DMatrix
    • TST2DPoint
    • TST2IPoint
    • TST2SPoint
    • TST3DBox
    • TST3DLine
    • TST3DMatrix
    • TST3DPoint
    • TST3DVec
    • TST3IPoint
    • TST3SMatrix
    • TST3SPoint
    • TST5DPoint
    • TSTLinearUnits
    • TSTSystemUnits
    • TST_LinearMeasure
    • enumTST_LinearMeasure
    • tagTST2DBox
    • tagTST2DLine
    • tagTST2DMatrix
    • tagTST2DPoint
    • tagTST2IPoint
    • tagTST2SPoint
    • tagTST3DBox
    • tagTST3DLine
    • tagTST3DMatrix
    • tagTST3DPoint
    • tagTST3IPoint
    • tagTST3SMatrix
    • tagTST3SPoint
    • tagTST5DPoint
    • tagTSTLinearUnits
    • tagTSTSystemUnits
  • STXMLPropTypes
    • IST_AbstractPropEventsHandler
    • IST_NameSpace
    • IST_NameSpaceManager
    • IST_OnDestroyXMLProp
    • IST_OnGetCopyOfXMLPropHandler
    • IST_PropEventsHandler
    • IST_RealLanguageItem
    • IST_XMLPropArray
    • IST_XMLPropAttributesEnumerator
    • IST_XMLPropAttributesList
    • IST_XMLPropCaseNode
    • IST_XMLPropCustomParser
    • IST_XMLPropDescriptor
    • IST_XMLPropPointer
    • ISequentialStream
    • IStream
    • TSTSimplePropType
    • _FILETIME
    • _LARGE_INTEGER
    • _ULARGE_INTEGER
    • tagSTATSTG
    • tagTSTSimplePropType

Class NativeLibLoader

Inheritance
object
NativeLibLoader
Namespace: CAMHelper.NativeLibUtils
Assembly: NativeLibUtils.dll
Syntax
public static class NativeLibLoader : Object

Methods

CallLibFunc<delegateT>(nint, string, ProcCaller<delegateT>)

Declaration
public static bool CallLibFunc<delegateT>(nint dllHandle, string funcName, NativeLibLoader.ProcCaller<delegateT> caller) where delegateT : class
Parameters
Type Name Description
IntPtr dllHandle
string funcName
NativeLibLoader.ProcCaller<delegateT> caller
Returns
Type Description
bool
Type Parameters
Name Description
delegateT

CallLibFunc<delegateT>(string, string, ProcCaller<delegateT>)

Declaration
public static bool CallLibFunc<delegateT>(string libName, string funcName, NativeLibLoader.ProcCaller<delegateT> caller) where delegateT : class
Parameters
Type Name Description
string libName
string funcName
NativeLibLoader.ProcCaller<delegateT> caller
Returns
Type Description
bool
Type Parameters
Name Description
delegateT

CreateComObjectWithParams<T, TD>(string, string, object?[]?, out nint, out nint)

Create COM object from export DLL function which returns pointer to object

Declaration
public static T? CreateComObjectWithParams<T, TD>(string dllPath, string functionName, object?[]? args, out nint objectPointer, out nint dllPointer) where T : class where TD : Delegate
Parameters
Type Name Description
string dllPath

Path do native DLL with export function

string functionName

Calling function

object[] args

Arguments to be provided in delegate method

IntPtr objectPointer

Pointer to created object, so it could be released later

IntPtr dllPointer

Pointer to DLL, so it could be free later

Returns
Type Description
T
Type Parameters
Name Description
T

Interface of returning object

TD

Delegate to method which will be called inside DLL and return pointer to object

CreateComObject<T, TD>(string, string, out nint, out nint)

Create COM object from export DLL function which returns pointer to object

Declaration
public static T? CreateComObject<T, TD>(string dllPath, string functionName, out nint objectPointer, out nint dllPointer) where T : class where TD : Delegate
Parameters
Type Name Description
string dllPath

Path do native DLL with export function

string functionName

Calling function

IntPtr objectPointer

Pointer to created object, so it could be released later

IntPtr dllPointer

Pointer to DLL, so it could be free later

Returns
Type Description
T
Type Parameters
Name Description
T

Interface of returning object

TD

Delegate to method which will be called inside DLL and return pointer to object

FreeDll(nint)

Declaration
public static void FreeDll(nint handle)
Parameters
Type Name Description
IntPtr handle

FreeDll(object?, nint, nint)

Free DLL after it was called to create COM object

Declaration
public static void FreeDll(object? comObject, nint objectPointer, nint dllPointer)
Parameters
Type Name Description
object comObject

Created object

IntPtr objectPointer

Pointer to created object

IntPtr dllPointer

Pointer to destroying DLL

GetDelegate<T>(nint, string)

Declaration
public static T? GetDelegate<T>(nint dllHandle, string procName) where T : Delegate
Parameters
Type Name Description
IntPtr dllHandle
string procName
Returns
Type Description
T
Type Parameters
Name Description
T

GetLibHandle(string)

Declaration
public static nint GetLibHandle(string LibName)
Parameters
Type Name Description
string LibName
Returns
Type Description
IntPtr

GetProc<delegateT>(nint, string)

Declaration
public static delegateT GetProc<delegateT>(nint dllHandle, string procName) where delegateT : class
Parameters
Type Name Description
IntPtr dllHandle
string procName
Returns
Type Description
delegateT
Type Parameters
Name Description
delegateT

GetResStringFromDll(nint, int)

Declaration
public static string GetResStringFromDll(nint dll, int strid)
Parameters
Type Name Description
IntPtr dll
int strid
Returns
Type Description
string

LoadDll(string)

Declaration
public static nint LoadDll(string libName)
Parameters
Type Name Description
string libName
Returns
Type Description
IntPtr

LoadDll(string, out int)

Declaration
public static nint LoadDll(string libName, out int errorCode)
Parameters
Type Name Description
string libName
int errorCode
Returns
Type Description
IntPtr

LoadDllAsData(string)

Declaration
public static nint LoadDllAsData(string libName)
Parameters
Type Name Description
string libName
Returns
Type Description
IntPtr

LoadDllAsData(string, out int)

Declaration
public static nint LoadDllAsData(string libName, out int errorCode)
Parameters
Type Name Description
string libName
int errorCode
Returns
Type Description
IntPtr
In this article
Back to top Generated by DocFX