English
Forum

Volume name GUID Bereitstellungspunkt

 

maroro
I have one Program geschieben the encrypted Festplatten managt.
The Verschlüsselung self Done Truecrypt.
with verschlüsselten Festplatten need one whom Volume name z.B.
\\?\Volume\{2eca078d-5cbc-43d3-aff8-7e8511f60d0e}\
whom one with the Program Mountvol [...]  read can.
momentarily use I the too in the I Mountvol a File produce let
The I then with XProfan choose. there the jedesmal a Festplattenaktivität
created have I one niedriges Aktualisierungsinterval chosen.
i want but often update and so I after a Possibility Search
these Volume name with XProfan auszulesen. any Recherchen were bislang
but erfolglos.
has someone a idea How one there ran comes?
 
05/10/14  
 




H.Brill
Date is your friend
Volume + GUID association and the dritte hits
was the right. Microsofts MSDN :

something like ? :
 
Benutze XPROFAN X3 + FREEPROFAN
Wir sind die XProfaner.
Sie werden von uns assimiliert.
Widerstand ist zwecklos!
Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.

Was die Borg können, können wir schon lange.
05/11/14  
 




maroro
Yes almost and many Thanks. even if I The Page self found had would I do not in the site been from it what in XProfan To basteln. I come on C++ not ran. to that others can I me with the Program only The already eingehangenen Volumename Show let. I need but too The where Mountvol "*** no Bereitstellungspunte ***" says. I have with my bescheidenen Kenntnissen attempts whom View source weiterzuentwickeln slopes but at a Error Message (Lesefehler Kernel32)

Error self found Findnextvolume wants always the same lever.
To early gefreut windows7 functions WinXP not...
 
05/11/14  
 




H.Brill
with whom C++ Deklarationen is it Yes integrally slight.

Numerische Parameter weg any. with Strings must You hold
by Def - Deklaration The address (Addr(s)) transfer or
You take even too a area or Pointer.
If you a Parameter übergebist, the from the API-function
described becomes (_Out_), take You best a area.

this is the sicherste lane.
one could of course too a String take, the with Space(n)
vorbelegt becomes, this is but not always so sure like a area,
there the String Nullterminiert is and some API-functions the
dislike.

is then too difficult, The Fehlerquelle traceable To make,
ifs not functions.

means observe : if one buffer and a moreover Parameter with which
length desires becomes, best a area take.

PS: If it with various. windows versions not functions,
can it thoroughly his, that MS The function wegoptimiert has
or The Parameter changed. the standing but mostly in the Doku
the MSDN thereby.
 
Benutze XPROFAN X3 + FREEPROFAN
Wir sind die XProfaner.
Sie werden von uns assimiliert.
Widerstand ist zwecklos!
Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.

Was die Borg können, können wir schon lange.
05/11/14  
 




maroro
means the Error XP arise therefore the FindFirstVolume -1 as lever
zurückgibt with which FindNextVolume nothing begin can. both functions
are too for XP indicated.
I have times the FindFirstVolumeW (Unicode) instead of FindFirstVolumeA (ANSI)
uses too for Findnext. now runs it too XP through only contains the Buffer only one "\" gibt's ne Solution the The "W" the ausspuckt or is still by by XP angesagt.
 
05/11/14  
 




H.Brill
Nimm time at Reading the Buffers StringW$().
this is usually for Unicode (UTF-8) certainly.

means

there could you even $WinVer Verify, whether it
XP is and then properly The A or W - Version
. Call

presupposed, The Unicode - Variante wouldn't
with WIN7 functions.
 
Benutze XPROFAN X3 + FREEPROFAN
Wir sind die XProfaner.
Sie werden von uns assimiliert.
Widerstand ist zwecklos!
Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.

Was die Borg können, können wir schon lange.
05/11/14  
 




maroro
ready. functions so under Win7 and XP. Vielen Thanks on H.Brill.
'tested under Window7 32bit and XP 32bit
Declare Mem buffer
Declare String s
Declare vh& ,er&'lever ,Return Value
Dim buffer, 60
Def @GetVolumeNameForVolumeMountPoint(3) !"KERNEL32","GetVolumeNameForVolumeMountPointA"
Def @FindFirstVolume(2) !"KERNEL32","FindFirstVolumeW"
Def @FindNextVolume(3) !"KERNEL32","FindNextVolumeA"
Def @FindVolumeClose(1) !"KERNEL32","FindVolumeClose"
'Volume GUID The in a Mountpoint eingehangen are

whileloop 8

    print chr $(&loop+66)+":\"
    s = chr $(&loop+66)+":\"'"C:\"
    @GetVolumeNameForVolumeMountPoint(Addr(s), buffer, SizeOf(buffer))
    Print String $(buffer, 0)
    clear buffer

endwhile

Print "-----------------------------------------------------------"
'any Volume GUID
vh& = @FindFirstVolume( buffer, SizeOf(buffer))
Print "V: "+st$(vh&)'Volumehandle

If vh& > 0

    'Print String$(buffer, 0)
    Print StringW$(buffer, 0)
    clear buffer
    er& = 1

    while er& = 1

        er& = @FindNextVolume( vh&, buffer, SizeOf(buffer))
        Print "E: "+st$(er&)'Volume found
        Print String $(buffer, 0)
        'Print StringW$(buffer, 0)
        clear buffer

    endwhile

    er& = @FindVolumeClose(vh&)
    Print "C: "+st$(er&)'closed

endif

Waitkey
Dispose buffer
End
 
05/11/14  
 




H.Brill
Freut me, that I there correctly. vermutete
and it's running.
 
Benutze XPROFAN X3 + FREEPROFAN
Wir sind die XProfaner.
Sie werden von uns assimiliert.
Widerstand ist zwecklos!
Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.

Was die Borg können, können wir schon lange.
05/11/14  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

9.305 Views

Untitledvor 0 min.
Martin Kempf11/10/19
maroro07/07/16
H.Brill12/24/14
Georg Hovenbitzer09/26/14
More...

Themeninformationen

this Topic has 2 subscriber:

H.Brill (4x)
maroro (4x)


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