Difference between revisions of "Unit ShellUSB"

From Ultibo.org
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
----
 
----
  
'''Ultibo USB Shell extension unit'''
+
'''Ultibo USB Shell Extension unit'''
  
 
=== Constants ===
 
=== Constants ===
Line 69: Line 69:
 
----
 
----
  
''To be documented''
+
 
 +
'''Shell USB data'''
 +
 
 +
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;">
 +
<code>PShellUSBData = ^TShellUSBData;</code>
 +
 
 +
<code>TShellUSBData = record</code>
 +
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 +
{| class="wikitable" style="font-size: 14px; background: white;"
 +
|-
 +
| <code>Shell:TShell;</code>
 +
| style="width: 50%;"|&nbsp;
 +
|-
 +
| <code>Session:TShellSession;</code>
 +
| &nbsp;
 +
|-
 +
| <code>Parameters:TStrings;</code>
 +
| &nbsp;
 +
|-
 +
| <code>Data:Pointer;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</div></div>
 +
<br />
 +
 
 +
=== Class definitions ===
 +
----
 +
 
 +
 
 +
'''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 ===

Latest revision as of 06:07, 31 August 2021

Return to Unit Reference


Description


Ultibo USB Shell Extension unit

Constants



[Expand]
Shell USB command SHELL_USB_COMMAND_*


[Expand]
Shell USB action SHELL_USB_ACTION_*


[Expand]
Shell USB item SHELL_USB_ITEM_*


Type definitions



Shell USB data

[Expand]

PShellUSBData = ^TShellUSBData;

TShellUSBData = record


Class definitions



Shell USB specific classes

TShellUSB = class(TShellCommand)


Public variables


None defined

Function declarations



Initialization functions

[Expand]
procedure ShellUSBInit;
Description: To be documented


Shell USB helper functions

[Expand]
function ShellUSBLogDeviceCallback(Device:PUSBDevice; Data:Pointer):LongWord;
Description: To be documented


[Expand]
function ShellUSBLogTreeCallback(Device:PUSBDevice; Data:Pointer):LongWord;
Description: To be documented


[Expand]
function ShellUSBHostEnumerate(Host:PUSBHost; Data:Pointer):LongWord;
Description: To be documented


[Expand]
function ShellUSBDeviceEnumerate(Device:PUSBDevice; Data:Pointer):LongWord;
Description: To be documented


[Expand]
function ShellUSBDriverEnumerate(Driver:PUSBDriver; Data:Pointer):LongWord;
Description: To be documented


Return to Unit Reference