Devices
This page covers IDevice, IDevices, IDeviceChangeEvent, and IDeviceChangeEventHandler. Use these interfaces to describe machine limits, strip-cut behavior, slant support, cut-depth handling, and device-side cost modifiers.
Minimum cut constraints
MinCutDistance is the minimum kerf-excluded material gap between span-overlapping parallel cuts, calculated as line spacing minus kerf. It is independent of MinCutSize. AllowEdgeCuts on the material conflicts with either a positive MinCutSize or a positive MinCutDistance on its device; edge cuts can be enabled only when both device values are zero. Legacy MinCutWidth is only an alias for MinCutSize, never for MinCutDistance. MinEdgeDistance carries per-edge constraints in an IRectangle; a negative side means that edge is inherited or unspecified.
Each device also owns mutable ITcAlgorithmData. Its payload is opaque and implementation-defined; no public key/value schema or compatibility guarantee is provided.
Interfaces
Declarations are shown in Pascal and, where the SDK's generated language-support manifest lists the member for C++, in C++; the build fails if that manifest no longer matches TonCutPluginSdk.hpp. There is no C# declaration: C# plugins are native-shim-only, so a C++ shim owns every interface on this page. Methods are listed with their accessors folded into properties; open Vtable order for the exact slot sequence, and see ABI and marshalling for type sizes and ownership rules.
IDevice
Mutable device definition describing machine constraints, cut rules, and cost-related tuning.
- IID
- {2A6F1B84-9C37-4E52-B1D6-4F8A0C97E361}
- Parent
- IUnknown (implicit: a Delphi interface without a parent is IUnknown)
- Unit
- uIDevice
Vtable order (72 methods, slots 3 to 74, after the three IUnknown slots)
- function Clone(): IDevice;
- procedure Assign(const aOther: IDevice);
- function GetId(): Int64;
- procedure SetId(aId: Int64);
- function GetTitle(): WideString;
- procedure SetTitle(const aTitle: WideString);
- function GetDriver(): WideString;
- procedure SetDriver(const aDriver: WideString);
- function GetCanCutAnyShapes(): Boolean;
- procedure SetCanCutAnyShapes(aCanCutAnyShapes: Boolean);
- function GetCanCrossCuts(): Boolean;
- procedure SetCanCrossCuts(aCanCrossCuts: Boolean);
- function GetFullCutsOnly(): Boolean;
- procedure SetFullCutsOnly(aFullCutsOnly: Boolean);
- function GetStripCuts(): TStripCutting;
- procedure SetStripCuts(aStripCuts: TStripCutting);
- function GetMaxStripeWidth(): Integer;
- procedure SetMaxStripeWidth(aMaxWidth: Integer);
- function GetMinCutSize(): Cardinal;
- procedure SetMinCutSize(aSize: Cardinal);
- function GetMinCutDistance(): Cardinal;
- procedure SetMinCutDistance(aDistance: Cardinal);
- function GetMinEdgeDistance(): IRectangle;
- function GetEdgingCuts(): TEdgingCuts;
- procedure SetEdgingCuts(aEdgingCuts: TEdgingCuts);
- function GetOriginEdgingCuts(): TOriginEdgingCuts;
- procedure SetOriginEdgingCuts(aOriginEdgingCuts: TOriginEdgingCuts);
- function GetMaxCutDepthOn(): Boolean;
- procedure SetMaxCutDepthOn(aOn: Boolean);
- function GetMaxCutDepth(): Cardinal;
- procedure SetMaxCutDepth(aDepth: Cardinal);
- function GetFirstCutDirection(): TCutDirections;
- procedure SetFirstCutDirection(aDirection: TCutDirections);
- function GetMaxCutDepthIncludeSheetEdging(): Boolean;
- procedure SetMaxCutDepthIncludeSheetEdging(aInclude: Boolean);
- function GetMaxCutLengthByLengthOn(): Boolean;
- procedure SetMaxCutLengthByLengthOn(aOn: Boolean);
- function GetMaxCutLengthByLength(): Cardinal;
- procedure SetMaxCutLengthByLength(aLength: Cardinal);
- function GetMaxCutLengthByWidthOn(): Boolean;
- procedure SetMaxCutLengthByWidthOn(aOn: Boolean);
- function GetMaxCutLengthByWidth(): Cardinal;
- procedure SetMaxCutLengthByWidth(aLength: Cardinal);
- function GetMaterialKind(): TMaterialKind;
- procedure SetMaterialKind(aKind: TMaterialKind);
- function GetCanCutSlants(): Boolean;
- procedure SetCanCutSlants(aCan: Boolean);
- function GetLeftSlantMeasurement(): TSlantMeasurement;
- procedure SetLeftSlantMeasurement(aSlantMeasurement: TSlantMeasurement);
- function GetRightSlantMeasurement(): TSlantMeasurement;
- procedure SetRightSlantMeasurement(aSlantMeasurement: TSlantMeasurement);
- function GetCutCostPerMeter(): TTcPrice;
- procedure SetCutCostPerMeter(aCost: TTcPrice);
- function GetReuseCost(): TTcPrice;
- procedure SetReuseCost(aCost: TTcPrice);
- function GetUtilizationCost(): TTcPrice;
- procedure SetUtilizationCost(aCost: TTcPrice);
- function GetSegmentShiftCost(): TTcPrice;
- procedure SetSegmentShiftCost(aCost: TTcPrice);
- function GetSegmentRotationCost(): TTcPrice;
- procedure SetSegmentRotationCost(aCost: TTcPrice);
- function GetCustomData(): WideString;
- procedure SetCustomData(const aData: WideString);
- function GetAlgorithmData(): ITcAlgorithmData;
- function GetOnChange(): INotifyEvent;
- function GetOnIdChange(): IIdChangeEvent;
- procedure BeginUpdate();
- procedure EndUpdate();
- function GetDefaultRotation(): Integer;
- procedure SetDefaultRotation(aRotation: Integer);
- function GetDefaultMirror(): TMirrors;
- procedure SetDefaultMirror(aMirror: TMirrors);
Properties
- Property name
- DefaultRotation
- Type
- Integer
- Description
Gets or sets the default (initial) rotation of the device, in degrees, and it is persisted with the device. Allowed values are 0, 90, 180 and 270; any other value raises
EArgumentOutOfRangeException. The default is 0. New in TonCut 8.5.GetDefaultRotation/SetDefaultRotationare vtable slots appended at the end of the interface under the same interface GUID, so no existing slot moves. TonCut implementsIDevice; a plugin only calls these accessors. Engine version 24 carries these slots.Declaration
property DefaultRotation: Integer read GetDefaultRotation write SetDefaultRotation;
- Property name
- DefaultMirror
- Type
- Description
Gets or sets the default (initial) mirroring of the device as a
TMirrorsset, and it is persisted with the device. The flags aremHorizontalandmVertical; the default is the empty set (no mirroring), and a set with an unknown flag raises an exception. New in TonCut 8.5.GetDefaultMirror/SetDefaultMirrorare vtable slots appended at the end of the interface under the same interface GUID, so no existing slot moves. TonCut implementsIDevice; a plugin only calls these accessors. Engine version 24 carries these slots.Declaration
property DefaultMirror: TMirrors read GetDefaultMirror write SetDefaultMirror;
- Property name
- Id
- Type
- Int64
- Description
Persistent numeric identifier used by TonCut to track the object.
Declaration
property Id: Int64 read GetId write SetId;
- Property name
- Title
- Type
- WideString
- Description
Human-readable title shown to users.
Declaration
property Title: WideString read GetTitle write SetTitle;
- Property name
- Driver
- Type
- WideString
- Description
Plugin
Nameassigned to the device driver. When set, TonCut treats the device as plugin-backed and can constrain plugin-controlled settings fromITcPlotterInfo.Declaration
property Driver: WideString read GetDriver write SetDriver;
- Property name
- CanCutAnyShapes
- Type
- Boolean
- Description
Whether non-rectangular shapes are supported.
Declaration
property CanCutAnyShapes: Boolean read GetCanCutAnyShapes write SetCanCutAnyShapes;
- Property name
- CanCrossCuts
- Type
- Boolean
- Description
Whether cuts are allowed to cross each other.
Declaration
property CanCrossCuts: Boolean read GetCanCrossCuts write SetCanCrossCuts;
- Property name
- FullCutsOnly
- Type
- Boolean
- Description
Whether only full-through cuts are supported.
Declaration
property FullCutsOnly: Boolean read GetFullCutsOnly write SetFullCutsOnly;
- Property name
- StripCuts
- Type
- Description
Strip-cutting capability mode.
Declaration
property StripCuts: TStripCutting read GetStripCuts write SetStripCuts;
- Property name
- MaxStripeWidth
- Type
- Integer
- Description
Maximum width of one strip cut.
Declaration
property MaxStripeWidth: Integer read GetMaxStripeWidth write SetMaxStripeWidth;
- Property name
- MinCutSize
- Type
- Cardinal
- Description
Minimum cut size. This is the current name and migration target for the legacy
MinCutWidthvalue.Declaration
property MinCutSize: Cardinal read GetMinCutSize write SetMinCutSize;
- Property name
- MinCutDistance
- Type
- Cardinal
- Description
Minimum kerf-excluded material gap between span-overlapping parallel cuts, calculated as line spacing minus kerf. This is independent of
MinCutSize; legacyMinCutWidthmaps only toMinCutSize, never to this property.Declaration
property MinCutDistance: Cardinal read GetMinCutDistance write SetMinCutDistance;
- Property name
- MinEdgeDistance
- Type
- IRectangle
- Description
Per-edge minimum distance exposed as a signed rectangle; a negative side means inherited or unspecified.
Declaration
property MinEdgeDistance: IRectangle read GetMinEdgeDistance;
- Property name
- EdgingCuts
- Type
- Description
Gets or sets edging cuts.
Declaration
property EdgingCuts: TEdgingCuts read GetEdgingCuts write SetEdgingCuts;
- Property name
- OriginEdgingCuts
- Type
- Description
Gets or sets origin edging cuts.
Declaration
property OriginEdgingCuts: TOriginEdgingCuts read GetOriginEdgingCuts write SetOriginEdgingCuts;
- Property name
- MaxCutDepthOn
- Type
- Boolean
- Description
Gets or sets whether max cut depth on.
Declaration
property MaxCutDepthOn: Boolean read GetMaxCutDepthOn write SetMaxCutDepthOn;
- Property name
- MaxCutDepth
- Type
- Cardinal
- Description
Gets or sets max cut depth.
Declaration
property MaxCutDepth: Cardinal read GetMaxCutDepth write SetMaxCutDepth;
- Property name
- FirstCutDirection
- Type
- Description
Gets or sets first cut direction.
Declaration
property FirstCutDirection: TCutDirections read GetFirstCutDirection write SetFirstCutDirection;
- Property name
- MaxCutDepthIncludeSheetEdging
- Type
- Boolean
- Description
Gets or sets whether max cut depth include sheet edging.
Declaration
property MaxCutDepthIncludeSheetEdging: Boolean read GetMaxCutDepthIncludeSheetEdging write SetMaxCutDepthIncludeSheetEdging;
- Property name
- MaxCutLengthByLengthOn
- Type
- Boolean
- Description
Gets or sets whether max cut length by length on.
Declaration
property MaxCutLengthByLengthOn: Boolean read GetMaxCutLengthByLengthOn write SetMaxCutLengthByLengthOn;
- Property name
- MaxCutLengthByLength
- Type
- Cardinal
- Description
Gets or sets max cut length by length.
Declaration
property MaxCutLengthByLength: Cardinal read GetMaxCutLengthByLength write SetMaxCutLengthByLength;
- Property name
- MaxCutLengthByWidthOn
- Type
- Boolean
- Description
Gets or sets whether max cut length by width on.
Declaration
property MaxCutLengthByWidthOn: Boolean read GetMaxCutLengthByWidthOn write SetMaxCutLengthByWidthOn;
- Property name
- MaxCutLengthByWidth
- Type
- Cardinal
- Description
Gets or sets max cut length by width.
Declaration
property MaxCutLengthByWidth: Cardinal read GetMaxCutLengthByWidth write SetMaxCutLengthByWidth;
- Property name
- MaterialKind
- Type
- Description
Gets or sets material kind.
Declaration
property MaterialKind: TMaterialKind read GetMaterialKind write SetMaterialKind;
- Property name
- CanCutSlants
- Type
- Boolean
- Description
Whether slanted cuts are supported.
Declaration
property CanCutSlants: Boolean read GetCanCutSlants write SetCanCutSlants;
- Property name
- LeftSlantMeasurement
- Type
- Description
The device’s convention (
TSlantMeasurement) for measuring the left slant angle. TheILinearShapeangles use a fixed convention, and TonCut uses this setting to convert them when it talks to this device.Declaration
property LeftSlantMeasurement: TSlantMeasurement read GetLeftSlantMeasurement write SetLeftSlantMeasurement;
- Property name
- RightSlantMeasurement
- Type
- Description
The device’s convention (
TSlantMeasurement) for measuring the right slant angle. TheILinearShapeangles use a fixed convention, and TonCut uses this setting to convert them when it talks to this device.Declaration
property RightSlantMeasurement: TSlantMeasurement read GetRightSlantMeasurement write SetRightSlantMeasurement;
- Property name
- CutCostPerMeter
- Type
- TTcPrice
- Description
Cost per running meter of cut.
Declaration
property CutCostPerMeter: TTcPrice read GetCutCostPerMeter write SetCutCostPerMeter;
- Property name
- ReuseCost
- Type
- TTcPrice
- Description
Reuse-related cost value.
Declaration
property ReuseCost: TTcPrice read GetReuseCost write SetReuseCost;
- Property name
- UtilizationCost
- Type
- TTcPrice
- Description
Utilization cost stored on the object.
Declaration
property UtilizationCost: TTcPrice read GetUtilizationCost write SetUtilizationCost;
- Property name
- SegmentShiftCost
- Type
- TTcPrice
- Description
Cost assigned to segment shifts.
Declaration
property SegmentShiftCost: TTcPrice read GetSegmentShiftCost write SetSegmentShiftCost;
- Property name
- SegmentRotationCost
- Type
- TTcPrice
- Description
Cost assigned to segment rotation.
Declaration
property SegmentRotationCost: TTcPrice read GetSegmentRotationCost write SetSegmentRotationCost;
- Property name
- CustomData
- Type
- WideString
- Description
Opaque custom text payload stored with the object.
Declaration
property CustomData: WideString read GetCustomData write SetCustomData;
- Property name
- AlgorithmData
- Type
- ITcAlgorithmData
- Description
Mutable access to opaque, implementation-defined algorithm data owned by the current device, material, piece, or stock sheet. No public payload schema or compatibility guarantee is provided.
Declaration
property AlgorithmData: ITcAlgorithmData read GetAlgorithmData;No C++ declaration in the SDK's language-support manifest. If your
TonCutPluginSdk.hpplacks it, declare it in the vtable order shown above.
- Property name
- OnChange
- Type
- INotifyEvent
- Description
Event fired when the object or collection changes.
Declaration
property OnChange: INotifyEvent read GetOnChange;
- Property name
- OnIdChange
- Type
- IIdChangeEvent
- Description
Event fired when an identifier changes.
Declaration
property OnIdChange: IIdChangeEvent read GetOnIdChange;
Methods
- Method name
- Clone()
- Type
- IDevice
- Description
Create a copy of the current object.
Declaration
function Clone(): IDevice; safecall;ReturnsA copied device interface instance.
- Method name
- Assign()
- Type
- procedure
- Description
Copy values from another object of the same type.
Declaration
procedure Assign(const aOther: IDevice); safecall;Parameters
- Method name
- BeginUpdate()
- Type
- procedure
- Description
Start a batched update so change notifications can be delayed.
Declaration
procedure BeginUpdate(); safecall;
- Method name
- EndUpdate()
- Type
- procedure
- Description
Finish a batched update and allow deferred notifications to resume.
Declaration
procedure EndUpdate(); safecall;
IDevices
Collection interface used to create, enumerate, query, and reload a shared Desktop object set.
- IID
- {3384FFDE-7FF9-4B30-8C4E-F4F723FA08E2}
- Parent
- IUnknown (implicit: a Delphi interface without a parent is IUnknown)
- Unit
- uIDevices
Vtable order (22 methods, slots 3 to 24, after the three IUnknown slots)
- function CreateDevice(): IDevice;
- procedure Add(aDevice: IDevice);
- procedure DeleteByIndex(aIndex: Cardinal);
- procedure DeleteById(aId: Int64);
- procedure Remove(const aDevice: IDevice);
- function IndexOf(const aDevice: IDevice): Integer; overload;
- function IndexOf(aId: Int64): Integer; overload;
- function FindDuplicate(const aDevice: IDevice; aCheckTitle: Boolean = False): IDevice;
- function FindByTitle(const aTitle: WideString): IDevice;
- function FindUniqueName(const aBaseName: WideString): WideString;
- function CheckUniqueName(const aTitle: WideString; const aIgnoreDevice: IDevice): Boolean; overload;
- function CheckUniqueName(aDevice: IDevice; aAutoFix: Boolean = False): Boolean; overload;
- function GetCount(): Integer;
- function GetByIndex(aIndex: Cardinal): IDevice;
- function GetById(aId: Int64): IDevice;
- function GetOnAdd(): IDeviceChangeEvent;
- function GetOnRemove(): IDeviceChangeEvent;
- function GetOnChange(): INotifyEvent;
- procedure BeginUpdate();
- procedure EndUpdate();
- function IsUpdating(): Boolean;
- procedure Reload();
Properties
- Property name
- Count
- Type
- Integer
- Description
Number of items currently exposed by the interface.
Declaration
property Count: Integer read GetCount;
- Property name
- Items
- Type
- IDevice
- Description
Indexed property used to read one item from the collection.
Declaration
property Items[aIndex: Cardinal]: IDevice read GetByIndex; default;Index ParametersaIndexCardinalZero-based position within a collection.ValueThe collection item located at the supplied index.
- Property name
- OnAdd
- Type
- IDeviceChangeEvent
- Description
Event fired when an item is added.
Declaration
property OnAdd: IDeviceChangeEvent read GetOnAdd;
- Property name
- OnRemove
- Type
- IDeviceChangeEvent
- Description
Event fired when an item is removed.
Declaration
property OnRemove: IDeviceChangeEvent read GetOnRemove;
- Property name
- OnChange
- Type
- INotifyEvent
- Description
Event fired when the object or collection changes.
Declaration
property OnChange: INotifyEvent read GetOnChange;
Methods
- Method name
- CreateDevice()
- Type
- IDevice
- Description
Create a new, empty device. No dialog opens, the result is never
null, and the object is not in the collection until you pass it toAdd. A new object has a temporary negativeId.Declaration
function CreateDevice(): IDevice; safecall;ReturnsA new, empty device that is not yet in the collection; nevernull.
- Method name
- Add()
- Type
- procedure
- Description
Add an object created by this collection’s factory method. In
LoadFile, add to the staging collection you received.Adddoes not check title uniqueness, and adding an object that is already in the collection raises an error.Declaration
procedure Add(aDevice: IDevice); safecall;Parameters
- Method name
- DeleteByIndex()
- Type
- procedure
- Description
Delete the item at the specified zero-based index.
Declaration
procedure DeleteByIndex(aIndex: Cardinal); safecall;ParametersaIndexCardinalZero-based position within a collection.
- Method name
- DeleteById()
- Type
- procedure
- Description
Delete the item with the specified TonCut identifier.
Declaration
procedure DeleteById(aId: Int64); safecall;ParametersaIdInt64TonCut object identifier.
- Method name
- Remove()
- Type
- procedure
- Description
Remove an item or handler.
Declaration
procedure Remove(const aDevice: IDevice); safecall;Parameters
- Method name
- IndexOf()
- Type
- Integer
- Description
Return the zero-based index of the matching item.
Declaration
function IndexOf(const aDevice: IDevice): Integer; overload; safecall;C++ name:
IndexOfByObject. The C++ header gives each Pascal overload its own name; the vtable slot is the same.ParametersReturnsZero-based index of the matching item, or-1when no match exists.
- Method name
- IndexOf()
- Type
- Integer
- Description
Return the zero-based index of the matching item.
Declaration
function IndexOf(aId: Int64): Integer; overload; safecall;C++ name:
IndexOfById. The C++ header gives each Pascal overload its own name; the vtable slot is the same.ParametersaIdInt64TonCut object identifier.ReturnsZero-based index of the matching item, or-1when no match exists.
- Method name
- FindDuplicate()
- Type
- IDevice
- Description
Search for an existing item that duplicates the supplied object.
Declaration
function FindDuplicate(const aDevice: IDevice; aCheckTitle: Boolean = False): IDevice; safecall;ParametersaCheckTitleBooleanWhether title collisions should count as duplicates.ReturnsThe matching device interface instance, ornullwhen not found.
- Method name
- FindByTitle()
- Type
- IDevice
- Description
Find an item by its title and any additional matching fields.
Declaration
function FindByTitle(const aTitle: WideString): IDevice; safecall;ParametersaTitleconstWideStringHuman-readable title.ReturnsThe matching device interface instance, ornullwhen not found.
- Method name
- FindUniqueName()
- Type
- WideString
- Description
Generate or return a title that is unique within the collection.
Declaration
function FindUniqueName(const aBaseName: WideString): WideString; safecall;ParametersaBaseNameconstWideStringBase title used while generating a unique name.ReturnsA title string that is unique within the collection.
- Method name
- CheckUniqueName()
- Type
- Boolean
- Description
Check whether a proposed title is unique within the collection.
Declaration
function CheckUniqueName(const aTitle: WideString; const aIgnoreDevice: IDevice): Boolean; overload; safecall;ParametersaTitleconstWideStringHuman-readable title.ReturnsReturnstrueif the proposed title is unique within the collection.
- Method name
- CheckUniqueName()
- Type
- Boolean
- Description
Check whether a proposed title is unique within the collection.
Declaration
function CheckUniqueName(aDevice: IDevice; aAutoFix: Boolean = False): Boolean; overload; safecall;C++ name:
CheckUniqueNameByDevice. The C++ header gives each Pascal overload its own name; the vtable slot is the same.ParametersaAutoFixBooleanWhether the method may adjust data automatically.ReturnsReturnstrueif the proposed title is unique within the collection.
- Method name
- GetById()
- Type
- IDevice
- Description
Return the item stored under the specified TonCut identifier.
Declaration
function GetById(aId: Int64): IDevice; safecall;ParametersaIdInt64TonCut object identifier.ReturnsThe matching device interface instance.
- Method name
- BeginUpdate()
- Type
- procedure
- Description
Start a batched update so change notifications can be delayed.
Declaration
procedure BeginUpdate(); safecall;
- Method name
- EndUpdate()
- Type
- procedure
- Description
Finish a batched update and allow deferred notifications to resume.
Declaration
procedure EndUpdate(); safecall;
- Method name
- IsUpdating()
- Type
- Boolean
- Description
Report whether the interface is currently inside an update batch.
Declaration
function IsUpdating(): Boolean; safecall;ReturnsReturnstruewhile the interface is inside aBeginUpdate/EndUpdatebatch.
- Method name
- Reload()
- Type
- procedure
- Description
Reload the underlying data from the host or storage layer.
Declaration
procedure Reload(); safecall;
IDeviceChangeEventHandler
Callback sink consumed by the matching change-event interface.
- IID
- {C86D52C2-9AE9-4181-AF01-AB38187F3DAD}
- Parent
- IUnknown
- Unit
- uIDeviceChangeEvent
The SDK's language-support manifest lists no C++ member of this interface. If your TonCutPluginSdk.hpp leaves it opaque, declare the interface yourself in the vtable order below.
Vtable order (1 methods, slots 3 to 3, after the three IUnknown slots)
- procedure Invoke(aSender: IUnknown; aDevice: IDevice; aIndex: Integer);
Methods
- Method name
- Invoke()
- Type
- procedure
- Description
Handle the event callback when the owning event interface invokes it.
Declaration
procedure Invoke(aSender: IUnknown; aDevice: IDevice; aIndex: Integer); safecall;ParametersaSenderIUnknownObject that raised the event.aIndexIntegerZero-based position within a collection.
IDeviceChangeEvent
Event interface with Add, Remove, and Invoke hooks for collection or entity change notifications.
- IID
- {45FD90F2-ED2D-4C35-A89E-33B61C12DBB4}
- Parent
- IUnknown
- Unit
- uIDeviceChangeEvent
The SDK's language-support manifest lists no C++ member of this interface. If your TonCutPluginSdk.hpp leaves it opaque, declare the interface yourself in the vtable order below.
Vtable order (3 methods, slots 3 to 5, after the three IUnknown slots)
- procedure Add(aHandler: IDeviceChangeEventHandler);
- procedure Remove(aHandler: IDeviceChangeEventHandler);
- procedure Invoke(aSender: IUnknown; aDevice: IDevice; aIndex: Integer);
Methods
- Method name
- Add()
- Type
- procedure
- Description
Add an item or handler.
Declaration
procedure Add(aHandler: IDeviceChangeEventHandler); safecall;Parameters
- Method name
- Remove()
- Type
- procedure
- Description
Remove an item or handler.
Declaration
procedure Remove(aHandler: IDeviceChangeEventHandler); safecall;Parameters
- Method name
- Invoke()
- Type
- procedure
- Description
Raise the typed change event for the current payload.
Declaration
procedure Invoke(aSender: IUnknown; aDevice: IDevice; aIndex: Integer); safecall;ParametersaSenderIUnknownObject that raised the event.aIndexIntegerEvent payload field for index.