Unit Devices
From Ultibo.org
Return to Unit Reference
Description
To be documented
Constants
To be documented
Type definitions
To be documented
Public variables
To be documented
Function declarations
Device functions
function function DeviceCreate:PDevice;
Description: Create a new Device entry
Return | Pointer to new Device entry or nil if device could not be created |
---|
function DeviceCreateEx(Size:LongWord):PDevice;
Description: Create a new Device entry
Size | Size in bytes to allocate for new device (Including the device entry) |
---|---|
Return | Pointer to new Device entry or nil if device could not be created |
function DeviceDestroy(Device:PDevice):LongWord;
Description: Destroy an existing Device entry
Note | To be documented |
---|
function DeviceGetName(Device:PDevice):String;
Description: Get the name of the supplied Device
Note | To be documented |
---|
function DeviceSetName(Device:PDevice; const Name:String):LongWord;
Description: Set the name of the supplied Device
Note | To be documented |
---|
function DeviceGetDescription(Device:PDevice):String;
Description: Get the description of the supplied Device
Note | To be documented |
---|
function DeviceSetDescription(Device:PDevice; const Description:String):LongWord;
Description: Set the description of the supplied Device
Note | To be documented |
---|
function DeviceRegister(Device:PDevice):LongWord;
Description: Register a new Device in the Device table
Note | To be documented |
---|
function DeviceDeregister(Device:PDevice):LongWord;
Description: Deregister a Device from the Device table
Note | To be documented |
---|
function DeviceFind(DeviceClass,DeviceId:LongWord):PDevice;
Description: To be documented
Note | To be documented |
---|
function DeviceFindByName(const Name:String):PDevice;
Description: To be documented
Note | To be documented |
---|
function DeviceFindByDescription(const Description:String):PDevice;
Description: To be documented
Note | To be documented |
---|
function DeviceEnumerate(DeviceClass:LongWord; Callback:TDeviceEnumerate; Data:Pointer):LongWord;
Description: To be documented
Note | To be documented |
---|
function DeviceNotification(Device:PDevice; DeviceClass:LongWord; Callback:TDeviceNotification; Data:Pointer; Notification,Flags:LongWord):LongWord;
Description: To be documented
Note | To be documented |
---|
function NotifierAllocate(Device:PDevice; DeviceClass:LongWord; Callback:TDeviceNotification; Data:Pointer; Notification,Flags:LongWord):PNotifier;
Description: Create and Register a new Notifier entry in the Notifier table
Note | To be documented |
---|
function NotifierRelease(Notifier:PNotifier):LongWord;
Description: Deregister and Destroy a Notifier from the Notifier table
Note | To be documented |
---|
function NotifierFind(Device:PDevice; DeviceClass:LongWord; Callback:TDeviceNotification; Data:Pointer):PNotifier;
Description: To be documented
Note | To be documented |
---|
function NotifierNotify(Device:PDevice; Notification:LongWord):LongWord;
Description: To be documented
Note | To be documented |
---|
Return to Unit Reference