String_Compare

A case sensitive string comparison that compares two zero terminated strings for a difference.

String_Compare PROTO lpszString1:QWORD, lpszString2:QWORD

Parameters

  • lpszString1 - The address of the first zero terminated string to compare.

  • lpszString2 - The address of the second zero terminated string to compare.

Returns

If the two strings match, the return value is the length of the string. If there is no match, the return value is 0.

Notes

The function can be used on strings that may be of uneven length as the terminator will produce the mismatch even if the rest of the characters match.

Example

Invoke String_Compare

See Also

String_CompareI, String_CompareIEx