Class TkdFrameworkAssistant
Unit
kdframeworkassistant
Declaration
type TkdFrameworkAssistant = class(TObject)
Description
Complementary class TkdFrameworkAssistant brings the KylixDriver Application Library to a more pragmatic interface functionality especially for run-time purposes.Methods
Overview
Description
Constructor Create with aforementioned syntax should be called to create an instance of object. The only parameter passed is the path to the directory where the auxiliary device file of the GDD is located. Assistant object always operates through kdmodule1 file - auxiliary device file of the GDD. By default, this is /dev directory. Create establishes all necessary IOCTL codes to communicate with the GDD and performs additional initialization work.
AutodetectLptIrq method automatically detects the IRQ of a PC parallel printer port whose base address is specified as the argument.
ConstructPciCardResources method constructs all resources on PCI hardware device specified by pCard argument on the basis of the information specified by configurational pPciConfig argument. The configuration involved is usually obtained via PciConfig
or PciVidDidConfig
property.
EnumeratePciCards method passes through all non-bridge PCI devices detected in system and fills an internal buffer with the configuration information about each of these devices. Use this method to refresh information about PCI for the moment.
PrintPciCardInfo method arranges the parts of general configuration information about non-bridge PCI device specified by the argument. Use this method to monitor the most important data about PCI requested by its configuration. The configuration involved is usually obtained via PciConfig
or PciVidDidConfig
property.
Properties
Overview
Description
PciConfig property is an accessor for obtaining the non-bridge PCI configuration by its 1-based index in an internal buffer previously filled with EnumeratePciCards
method.
PciCount property is an accessor for obtaining the whole number of non-bridge PCI devices detected in system.
PciDid property specifies the non-bridge PCI device identifier (DeviceId) on which team up with PciVid
property it is required to obtain the information through PciVidDidCount
property and PciVidDidConfig
property.
PciVid property specifies the non-bridge PCI device identifier (VendorId) on which team up with PciDid
property it is required to obtain the information through PciVidDidCount
property and PciVidDidConfig
property.
PciVidDidConfig property is an accessor for obtaining the non-bridge PCI configuration of a device whose VendorId value is specified by PciVid
property and DeviceId value is specified by PciDid
property. Index parameter determines the 1-based index of this device in an internal buffer previously filled with EnumeratePciCards
method in assumption that only cards with the same VendorId and DeviceId values were enumerated.
PciVidDidCount property is an accessor for obtaining the number of non-bridge PCI devices whose VendorId value is specified by PciVid
property and DeviceId value is specified by PciDid
property.