Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than kernel32, prefix the name with the module name and a period.
Declare Function FindFirstVolumeW Lib "kernel32.dll" (ByVal lpszVolumeName As System.Text.StringBuilder, ByVal cchBufferLength As UInteger) As IntPtr
Notes:
None.
Tips & Tricks:
Please add some!
Sample Code:
public static StringCollection GetVolumes()
{
const uint N = 1024;
StringBuilder volume = new StringBuilder((int)N, (int)N);
StringCollection ret = new StringCollection();
IntPtr volume_handle = FindFirstVolume(volume, N);
do
{
ret.Add(volume.ToString());
} while (FindNextVolume(volume_handle, volume, N));
return ret;
}
Alternative Managed API:
Do you know one? Please contribute it!
The FindFirstVolume API
12/31/2010 10:28:50 PM - -173.21.208.49
Please edit this page!
Do you have...
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).