In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Volume Management Windows API Functions

Xailer English public forum
Responder
Avatar de Usuario
André Corrêa
Mensajes: 1
Registrado: Mié Oct 07, 2015 5:02 pm

Volume Management Windows API Functions

Mensaje por André Corrêa »

Hi,

I have an application in Delphi that allows you to list and change the drive letter assigned to a USB stick, for example.
It uses Functions from Volume Management Windows API.
The functions are "GetVolumeNameForVolumeMountPoint ()", "DeleteVolumeMountPoint" "SetVolumeMountPoint ()"
and "GetDriveType ()".
The point is that I am unable to call these functions from Xailer. Just found a replacement for "GetDriveType"
which would be the "GetDrives ()".
Does anyone know how I do to call these functions?
I've tried to #include the Windows from \Include directory, but the IDE does not recognize the functions.

Thank you,

Andre Luiz
André Corrêa

"Que a liberdade seja a nossa própria essência."
Responder