GetVolumePathNamesForVolumeNameA method

int GetVolumePathNamesForVolumeNameA(
  1. Pointer<Int8> lpszVolumeName,
  2. Pointer<Int8> lpszVolumePathNames,
  3. int cchBufferLength,
  4. Pointer<Uint64> lpcchReturnLength,
)

Implementation

int GetVolumePathNamesForVolumeNameA(
  ffi.Pointer<ffi.Int8> lpszVolumeName,
  ffi.Pointer<ffi.Int8> lpszVolumePathNames,
  int cchBufferLength,
  ffi.Pointer<ffi.Uint64> lpcchReturnLength,
) {
  return (_GetVolumePathNamesForVolumeNameA ??= _dylib.lookupFunction<
          _c_GetVolumePathNamesForVolumeNameA,
          _dart_GetVolumePathNamesForVolumeNameA>(
      'GetVolumePathNamesForVolumeNameA'))(
    lpszVolumeName,
    lpszVolumePathNames,
    cchBufferLength,
    lpcchReturnLength,
  );
}