Difference between revisions of "Unit ShellUSB"

From Ultibo.org
Jump to: navigation, search
Line 10: Line 10:
 
----
 
----
  
''To be documented''
+
 
 +
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">
 +
<div style="font-size: 14px; padding-left: 12px;">'''Shell USB command''' <code> SHELL_USB_COMMAND_* </code></div>
 +
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 +
{| class="wikitable" style="font-size: 14px; background: white;"
 +
|-
 +
| <code>SHELL_USB_COMMAND_USB = 'USB';</code>
 +
| style="width: 50%;"|&nbsp;
 +
|-
 +
|}
 +
</div></div>
 +
<br />
 +
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">
 +
<div style="font-size: 14px; padding-left: 12px;">'''Shell USB action''' <code> SHELL_USB_ACTION_* </code></div>
 +
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 +
{| class="wikitable" style="font-size: 14px; background: white;"
 +
|-
 +
| <code>SHELL_USB_ACTION_START = 'START';</code>
 +
| style="width: 50%;"|&nbsp;
 +
|-
 +
| <code>SHELL_USB_ACTION_STOP = 'STOP';</code>
 +
| &nbsp;
 +
|-
 +
| <code>SHELL_USB_ACTION_LIST = 'LIST';</code>
 +
| &nbsp;
 +
|-
 +
| <code>SHELL_USB_ACTION_TREE = 'TREE';</code>
 +
| &nbsp;
 +
|-
 +
| <code>SHELL_USB_ACTION_INFO = 'INFO';</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</div></div>
 +
<br />
 +
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">
 +
<div style="font-size: 14px; padding-left: 12px;">'''Shell USB item''' <code> SHELL_USB_ITEM_* </code></div>
 +
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 +
{| class="wikitable" style="font-size: 14px; background: white;"
 +
|-
 +
| <code>SHELL_USB_ITEM_ALL = 'ALL';</code>
 +
| style="width: 50%;"|&nbsp;
 +
|-
 +
| <code>SHELL_USB_ITEM_HOSTS = 'HOSTS';</code>
 +
| &nbsp;
 +
|-
 +
| <code>SHELL_USB_ITEM_DEVICES = 'DEVICES';</code>
 +
| &nbsp;
 +
|-
 +
| <code>SHELL_USB_ITEM_DRIVERS = 'DRIVERS';</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</div></div>
 +
<br />
  
 
=== Type definitions ===
 
=== Type definitions ===

Revision as of 04:18, 19 June 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


To be documented

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