FindStringOrdinal function kernel32

int FindStringOrdinal(
  1. int dwFindStringOrdinalFlags,
  2. Pointer<Utf16> lpStringSource,
  3. int cchSource,
  4. Pointer<Utf16> lpStringValue,
  5. int cchValue,
  6. int bIgnoreCase,
)

Locates a Unicode string (wide characters) in another Unicode string for a non-linguistic comparison.

int FindStringOrdinal(
  [in] DWORD   dwFindStringOrdinalFlags,
  [in] LPCWSTR lpStringSource,
  [in] int     cchSource,
  [in] LPCWSTR lpStringValue,
  [in] int     cchValue,
  [in] BOOL    bIgnoreCase
);

Implementation

int FindStringOrdinal(
        int dwFindStringOrdinalFlags,
        Pointer<Utf16> lpStringSource,
        int cchSource,
        Pointer<Utf16> lpStringValue,
        int cchValue,
        int bIgnoreCase) =>
    _FindStringOrdinal(dwFindStringOrdinalFlags, lpStringSource, cchSource,
        lpStringValue, cchValue, bIgnoreCase);