Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2002.08.08;
Скачать: CL | DM;

Вниз

Как программно изменить метку тома винчестера?   Найти похожие ветки 

 
V.Turecky   (2002-07-26 18:17) [0]

Привет, снова я.

Как программно изменить метку тома винчестера не подскажите?
И не плохо бы прочитать метку тома HDD.


 
Странный Прохожий ©   (2002-07-26 18:28) [1]

Ф-я SetVolumeLabel() Win32 API


 
V.Turecky   (2002-07-26 18:33) [2]

Спасибо. А прочитать?


 
Странный Прохожий ©   (2002-07-26 18:36) [3]

:o)

The SetVolumeLabel function sets the label of a file system volume.

BOOL SetVolumeLabel(
LPCTSTR lpRootPathName, // address of name of root directory for volume
LPCTSTR lpVolumeName // name for the volume
);

Parameters

lpRootPathName

Points to a null-terminated string specifying the root directory of a file system volume. This is the volume the function will label. If this parameter is NULL, the root of the current directory is used.

lpVolumeName

Points to a string specifying a name for the volume. If this parameter is NULL, the function deletes the name of the specified volume.


Return Values

If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.

See Also

GetVolumeInformation

---
Воть

А вообще-то оно в Win32 Programmer"s Reference. Должно быть с Delph-ями. Или ищите в сети файл Win32.hlp



Страницы: 1 вся ветка

Текущий архив: 2002.08.08;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.013 c
1-24046
Kviz
2002-07-25 20:06
2002.08.08
Народ, ПОМОГИТЕ!!! Как узнать какие параметры при запуске проге были заданы и присвоить их все в строковую переменную. Ну, типа прога наша “delphi.exe”, юзверь его запустит “delphi.exe rulez, rulez and rulez” мне нужно, чтобы прога переменной “s” пр


3-23855
S_Andy
2002-07-16 16:52
2002.08.08
Как связать 2 BDE Query связать (master-details)


3-23874
Doctor
2002-07-17 10:33
2002.08.08
Помогите з отчетом 2


3-23955
dzmitry
2002-07-02 10:23
2002.08.08
Btrieve for Linux


3-23941
Sergeyy
2002-07-17 09:12
2002.08.08
Invalid variant type conversion при работе с рекордсетом