Search results for 'Drive Type'. 1 post(s) found.
- 2007/08/25 Get The Drive Type
Shows how to identify the type of the drive you are acessing.
procedure TForm1.Button1Click(Sender: TObject);
var
typ:Integer;
s: string;
begin
s:='C:\';
typ:=GetDriveType(PChar(s));
if Typ <> 0 then case typ of
DRIVE_REMOVABLE:
begin
ShowMessage('Drive Removable / Diskette');
end;
DRIVE_FIXED:
begin
ShowMessage('Drive fixed / Festplatte');
end;
DRIVE_CDROM:
begin
ShowMessage('CD ROM Drive');
end;
DRIVE_RAMDISK:
begin
ShowMessage('RAM Drive');
end;
DRIVE_REMOTE:
begin
ShowMessage('Remote Drive / Netzlaufwerk');
end;
end;
end;
var
typ:Integer;
s: string;
begin
s:='C:\';
typ:=GetDriveType(PChar(s));
if Typ <> 0 then case typ of
DRIVE_REMOVABLE:
begin
ShowMessage('Drive Removable / Diskette');
end;
DRIVE_FIXED:
begin
ShowMessage('Drive fixed / Festplatte');
end;
DRIVE_CDROM:
begin
ShowMessage('CD ROM Drive');
end;
DRIVE_RAMDISK:
begin
ShowMessage('RAM Drive');
end;
DRIVE_REMOTE:
begin
ShowMessage('Remote Drive / Netzlaufwerk');
end;
end;
end;
Another posts included in "Delphi"
| How To Get Windows And System Directory (0) | 2007/08/25 |
| How To Get Volume Name (0) | 2007/08/25 |
| How To Register Own File Types (0) | 2007/08/25 |
| How can I modify aliases programmatically ? (0) | 2007/08/25 |
| Setting TQuery SQL Statement (0) | 2007/08/25 |
Trackback : Cannot send a trackbact to this post.
-
Subject Buy vicodin online next day delivery.
2008/12/14 11:14
Forum vicodin buy vicodin online. Buy vicodin online next day delivery. Buy vicodin online. Buy vicodin online without a prescription. Buy vicodin online without.
-
Subject Amoxicillin blood sugar.
2008/12/16 20:49
Amoxicillin clavulanate potassium. Amoxicillin. Amoxicillin for acne. Dosing of amoxicillin for sinus infection.
-
Subject Amoxicillin order mexico mexican.
2008/12/17 17:23
Amoxicillin dosage. Amoxicillin price. Amoxicillin. Amoxicillin side effects. Buy amoxicillin online cheap amoxicillin. Amoxicillin yeast infection. Amoxicillin allergy itch.
-
Subject Phentermine.
2008/12/17 18:05
Phentermine. Phentermine capsule. Phentermine side effects.
-
Subject Valium.
2009/01/23 21:34
Valium blue 10mg. Valium picture.
-
Subject Snorting adderall.
2009/01/25 00:31
Buy adderall without a prescription. Adderall. Adderall 7.5.
-
Subject What is clarinex-d.
2009/03/28 04:37
Clarinex. Is clarinex better.
-
Subject different money making ideas
2010/01/28 22:38
moneyideas
-
Subject different money making ideas
2010/01/29 06:50
moneyideas
-
Subject different money making ideas
2010/01/31 16:43
moneyideas

Prev

Rss Feed