| description | Learn more about: CompareStringOrdinal Method | |
|---|---|---|
| title | CompareStringOrdinal Method | |
| ms.date | 11/04/2016 | |
| ms.topic | reference | |
| f1_keywords |
|
|
| ms.assetid | ffa997fd-8cd7-40a5-b9e7-f55d40b072f4 |
Supports the WRL infrastructure and is not intended to be used directly from your code.
inline INT32 CompareStringOrdinal(
HSTRING lhs,
HSTRING rhs)lhs
The first HSTRING to compare.
rhs
The second HSTRING to compare.
| Value | Condition |
|---|---|
| -1 | lhs is less than rhs. |
| 0 | lhs equals rhs. |
| 1 | lhs is greater than rhs. |
Compares two specified HSTRING objects and returns an integer that indicates their relative position in a sort order.
Header: corewrappers.h
Namespace: Microsoft::WRL::Wrappers::Details