CompareStringOrdinal Method
Supports the WRL infrastructure and is not intended to be used directly from your code.
inline INT32 CompareStringOrdinal(
HSTRING lhs,
HSTRING rhs)
Parameters
lhs
The first HSTRING to compare.rhs
The second HSTRING to compare.
Return Value
Value |
Condition |
---|---|
-1 |
lhs is less than rhs. |
0 |
lhs equals rhs. |
1 |
lhs is greater than rhs. |
Remarks
Compares two specified HSTRING objects and returns an integer that indicates their relative position in a sort order.
Requirements
Header: corewrappers.h
Namespace: Microsoft::WRL::Wrappers::Details