internal unsafe static extern int GetSortKey(SafeSortHandle sortHandle, string str, int strLength, byte* sortKey, int sortKeyLength, CompareOptions options);
internal unsafe static extern int LastIndexOf(SafeSortHandle sortHandle, string target, int cwTargetLength, char* pSource, int cwSourceLength, CompareOptions options);
internal unsafe static extern bool EndsWith(SafeSortHandle sortHandle, string target, int cwTargetLength, string source, int cwSourceLength, CompareOptions options);
internal unsafe static extern int CompareString(SafeSortHandle sortHandle, char *lpStr1, int cwStr1Len, char *lpStr2, int cwStr2Len, CompareOptions options);
internal unsafe static extern int CompareString(SafeSortHandle sortHandle, char* lpStr1, int cwStr1Len, char* lpStr2, int cwStr2Len, CompareOptions options);
internal unsafe static extern int GetSortKey(SafeSortHandle sortHandle, string str, int strLength, byte *sortKey, int sortKeyLength, CompareOptions options);
internal unsafe static extern ResultCode GetSortHandle(byte[] localeName, out SafeSortHandle sortHandle);
internal unsafe static extern int LastIndexOf(SafeSortHandle sortHandle, string target, int cwTargetLength, char *pSource, int cwSourceLength, CompareOptions options);
internal static extern int GetSortVersion(SafeSortHandle sortHandle);
internal unsafe static extern bool StartsWith(SafeSortHandle sortHandle, char *target, int cwTargetLength, char *source, int cwSourceLength, CompareOptions options);
internal unsafe static extern int IndexOf(SafeSortHandle sortHandle, char *target, int cwTargetLength, char *pSource, int cwSourceLength, CompareOptions options, int *matchLengthPtr);
internal static extern unsafe int GetSortKey(SafeSortHandle sortHandle, char *str, int strLength, byte *sortKey, int sortKeyLength, CompareOptions options);