.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH CompareStringA 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBCompareStringA\fR (KERNEL32.@) .SH SYNOPSIS INT CompareStringA ( LCID \fIlcid\fR, DWORD \fIstyle\fR, LPCSTR \fIstr1\fR, INT \fIlen1\fR, LPCSTR \fIstr2\fR, INT \fIlen2\fR ) .SH DESCRIPTION .PP Compare two locale sensitive strings. .SH PARAMS \fIlcid\fR \fB[In]\fR \fBLCID\fR for the comparison. .PP \fIstyle\fR \fB[In]\fR Flags for the comparison (\fBNORM_\fR constants from \fB"winnls.h"\fR). .PP \fIstr1\fR \fB[In]\fR First string to compare. .PP \fIlen1\fR \fB[In]\fR Length of \fIstr1\fR, or \fB-1\fR if \fIstr1\fR is \fBNUL\fR terminated. .PP \fIstr2\fR \fB[In]\fR Second string to compare. .PP \fIlen2\fR \fB[In]\fR Length of \fIstr2\fR, or \fB-1\fR if \fIstr2\fR is \fBNUL\fR terminated. .PP .SH RETURNS .PP \fBSuccess:\fR \fBCSTR_LESS_THAN\fR, \fBCSTR_EQUAL\fR or \fBCSTR_GREATER_THAN\fR depending on whether \fIstr1\fR is less than, equal to or greater than \fIstr2\fR respectively. .PP \fBFailure:\fR \fBFALSE\fR. Use \fBGetLastError(3w)\fR to determine the cause. .SH IMPLEMENTATION .PP Declared in \fB"winnls.h"\fR. .PP Implemented in \fB"dlls/kernel32/locale.c"\fR. .PP Debug channel \fB"nls"\fR.