GetVolumePathNamesForVolumeNameW method

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

Implementation

int GetVolumePathNamesForVolumeNameW(
  ffi.Pointer<ffi.Uint16> lpszVolumeName,
  ffi.Pointer<ffi.Uint16> lpszVolumePathNames,
  int cchBufferLength,
  ffi.Pointer<ffi.Uint64> lpcchReturnLength,
) {
  return (_GetVolumePathNamesForVolumeNameW ??= _dylib.lookupFunction<
          _c_GetVolumePathNamesForVolumeNameW,
          _dart_GetVolumePathNamesForVolumeNameW>(
      'GetVolumePathNamesForVolumeNameW'))(
    lpszVolumeName,
    lpszVolumePathNames,
    cchBufferLength,
    lpcchReturnLength,
  );
}