CompareStringW method

int CompareStringW(
  1. int Locale,
  2. int dwCmpFlags,
  3. Pointer<Uint16> lpString1,
  4. int cchCount1,
  5. Pointer<Uint16> lpString2,
  6. int cchCount2,
)

Implementation

int CompareStringW(
  int Locale,
  int dwCmpFlags,
  ffi.Pointer<ffi.Uint16> lpString1,
  int cchCount1,
  ffi.Pointer<ffi.Uint16> lpString2,
  int cchCount2,
) {
  return (_CompareStringW ??=
      _dylib.lookupFunction<_c_CompareStringW, _dart_CompareStringW>(
          'CompareStringW'))(
    Locale,
    dwCmpFlags,
    lpString1,
    cchCount1,
    lpString2,
    cchCount2,
  );
}