Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Основная";
Текущий архив: 2002.08.08;
Скачать: [xml.tar.bz2];

Вниз

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

 
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;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.45 MB
Время: 0.006 c
14-24207
^Sanya
2002-07-13 12:59
2002.08.08
EXE-шник в Delphi


1-24023
KPY
2002-07-29 05:38
2002.08.08
Как остановить программу и посмотреть значение переменных


4-24277
Baz
2002-06-03 13:59
2002.08.08
WM_SIZE, WM_SIZING, WM_GETMINMAXINFO


3-23947
Afreet
2002-07-19 07:36
2002.08.08
Есть ли ограничения у TTable на количество принимаемых записей?


3-23868
Китаец Ла Ме
2002-07-19 19:45
2002.08.08
МОЖНО ЛИ выполнить select-query для другого select-query?





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский