home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 February
/
Chip_2004-02_cd1.bin
/
zkuste
/
konfig
/
download
/
msic
/
Help
/
Int
/
MSI_USB.int
< prev
Wrap
Text File
|
2003-08-26
|
1KB
|
42 lines
{*******************************************************}
{ }
{ MiTeC System Information Component }
{ USB Device Enumeration }
{ version 8.3 for Delphi 5,6,7 }
{ }
{ Copyright ⌐ 1997,2003 Michal Mutl }
{ }
{*******************************************************}
{$INCLUDE MITEC_DEF.INC}
unit MSI_USB;
interface
uses SysUtils, Windows, Classes, MiTeC_USB;
type
TUSB= class(TPersistent)
private
FUSBNodes: TUSBNodes;
{$IFNDEF D6PLUS}
FCD: Byte;
{$ENDIF}
function GetConnectedDevices: Byte;
function GetUSBNode(Index: integer): TUSBNode;
function GetUSBNodeCount: Integer;
public
destructor Destroy; override;
procedure GetInfo;
procedure Report(var sl: TStringList; Standalone: Boolean = True); virtual;
property USBNodeCount: Integer read GetUSBNodeCount;
property USBNodes[Index: integer]: TUSBNode read GetUSBNode;
published
property ConnectedDevices: Byte read GetConnectedDevices {$IFNDEF D6PLUS} Write FCD {$ENDIF} stored False;
end;
implementation