GetVolumeNameForVolumeMountPointW method

int GetVolumeNameForVolumeMountPointW(
  1. Pointer<Uint16> lpszVolumeMountPoint,
  2. Pointer<Uint16> lpszVolumeName,
  3. int cchBufferLength
)

Implementation

int GetVolumeNameForVolumeMountPointW(
  ffi.Pointer<ffi.Uint16> lpszVolumeMountPoint,
  ffi.Pointer<ffi.Uint16> lpszVolumeName,
  int cchBufferLength,
) {
  return (_GetVolumeNameForVolumeMountPointW ??= _dylib.lookupFunction<
          _c_GetVolumeNameForVolumeMountPointW,
          _dart_GetVolumeNameForVolumeMountPointW>(
      'GetVolumeNameForVolumeMountPointW'))(
    lpszVolumeMountPoint,
    lpszVolumeName,
    cchBufferLength,
  );
}