Difference between revisions of "Unit ShellUSB"

From Ultibo.org
Jump to: navigation, search
Line 74: Line 74:
 
----
 
----
  
''To be documented''
+
 
 +
'''Shell USB specific classes'''
 +
 
 +
{| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"
 +
|-
 +
| [[TShellUSB|<code>TShellUSB = class(TShellCommand)</code>]]
 +
|-
 +
|}
 +
<br />
  
 
=== Public variables ===
 
=== Public variables ===

Revision as of 02:02, 22 July 2021

Return to Unit Reference


Description


Ultibo USB Shell extension unit

Constants



Shell USB command SHELL_USB_COMMAND_*
SHELL_USB_COMMAND_USB = 'USB';  


Shell USB action SHELL_USB_ACTION_*
SHELL_USB_ACTION_START = 'START';  
SHELL_USB_ACTION_STOP = 'STOP';  
SHELL_USB_ACTION_LIST = 'LIST';  
SHELL_USB_ACTION_TREE = 'TREE';  
SHELL_USB_ACTION_INFO = 'INFO';  


Shell USB item SHELL_USB_ITEM_*
SHELL_USB_ITEM_ALL = 'ALL';  
SHELL_USB_ITEM_HOSTS = 'HOSTS';  
SHELL_USB_ITEM_DEVICES = 'DEVICES';  
SHELL_USB_ITEM_DRIVERS = 'DRIVERS';  


Type definitions


To be documented

Class definitions



Shell USB specific classes

TShellUSB = class(TShellCommand)


Public variables


None defined

Function declarations



Initialization functions

procedure ShellUSBInit;
Description: To be documented
Note None documented


Shell USB helper functions

function ShellUSBLogDeviceCallback(Device:PUSBDevice; Data:Pointer):LongWord;
Description: To be documented
Note None documented


function ShellUSBLogTreeCallback(Device:PUSBDevice; Data:Pointer):LongWord;
Description: To be documented
Note None documented


function ShellUSBHostEnumerate(Host:PUSBHost; Data:Pointer):LongWord;
Description: To be documented
Note None documented


function ShellUSBDeviceEnumerate(Device:PUSBDevice; Data:Pointer):LongWord;
Description: To be documented
Note None documented


function ShellUSBDriverEnumerate(Driver:PUSBDriver; Data:Pointer):LongWord;
Description: To be documented
Note None documented


Return to Unit Reference