GetShortPathNameW method

int GetShortPathNameW(
  1. Pointer<Uint16> lpszLongPath,
  2. Pointer<Uint16> lpszShortPath,
  3. int cchBuffer
)

Implementation

int GetShortPathNameW(
  ffi.Pointer<ffi.Uint16> lpszLongPath,
  ffi.Pointer<ffi.Uint16> lpszShortPath,
  int cchBuffer,
) {
  return (_GetShortPathNameW ??=
      _dylib.lookupFunction<_c_GetShortPathNameW, _dart_GetShortPathNameW>(
          'GetShortPathNameW'))(
    lpszLongPath,
    lpszShortPath,
    cchBuffer,
  );
}