English
Regulars table & Café

GetLogicalDriveStrings.

 


Description:

GetLogicalDriveStrings determined The Rootverzeichnisse all in the system vorhandenen drives.




Deklaration:

Def @GetLogicalDriveStrings(2) !KERNEL32,GetLogicalDriveStringsA




Parameter:

1.Parameter: The maximum Number of letters in Parameter 2 (without abschließendes Nullbyte).
2.Parameter: Memory-Variable, The The vorhandenen drives in Folgender shape aufnimmt:
a: Nullbyte b: Nullbyte c: Nullbyte d: ….. Nullbyte Nullbyte



Return Value:

0 with Error, otherwise The Number of letters, The into Memory-Variable written get.


Examples:

CompileMarkSeparation
Def @GetLogicalDriveStrings(2) !"KERNEL32","GetLogicalDriveStringsA"
Declare Drives#,I%,D$
Dim Drives#,120
@GetLogicalDriveStrings(119,Drives#)
String DRIVES#,0=@Translate$(@CHAR$(Drives#,0,119),@CHR$(0),",")
LET I%=1

While @SubStr$(@String$(Drives#,0),I%,",")<>""

    Let d$=@SubStr$(@String$(Drives#,0),I%,",")
    ADDSTRING d$
    inc I%

wend

Dispose Drives#
@ListBox$("Laufwerke",22>)

[keywords:1d44e4bde1]
drives Festplatte List lists Laufwerksliste create
[/keywords:1d44e4bde1]
 
04/19/05  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.134 Views

Untitledvor 0 min.

Themeninformationen

this Topic has 1 subscriber:

unbekannt (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie