[DllImport("kernel32.dll")]
// static extern uint GetLogicalDriveStrings(uint nBufferLength,
// [Out] StringBuilder lpBuffer); --- Don't do this!
// if we were to use the StringBuilder, only the first string would be returned
// so, since arrays are reference types, we can pass an array of chars
// just initialize it prior to call the function as
// char[] lpBuffer = new char[nBufferLength];
static extern uint GetLogicalDriveStrings(uint nBufferLength, char[] lpBuffer);
None.
None.
Please add some!
Please add some!
Do you know one? Please contribute it!