AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

GetDriveType and DRIVE_REMOTE

Ein Thema von user · begonnen am 17. Jan 2011 · letzter Beitrag vom 17. Jan 2011
 
user

Registriert seit: 13. Jul 2010
25 Beiträge
 
Delphi 2 Desktop
 
#1

GetDriveType and DRIVE_REMOTE

  Alt 17. Jan 2011, 04:06
I want to list all networks drives in a PC. My current code to list local drive is GetDriveType. So I look at MSDN.

From MSDN, if the return value of GetDriveType is 4, that means DRIVE_REMOTE (The drive is a remote (network) drive)

The problem is GetDriveType can not retrieve the network drive. Here my way to produce a network drive (Win 7) : Open Network, Select a shared folder and choose map network drive.. then there will be a new drive in Window Explorer.

I know there are another API to list network drive. My question is, Does GetDriveType can not detect mapped network drive? If yes, that means mapped network drive is different with remote (network) drive?
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 06:19 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz