Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.05 KB

File metadata and controls

49 lines (34 loc) · 1.05 KB
description Learn more about: CompareStringOrdinal Method
title CompareStringOrdinal Method
ms.date 11/04/2016
ms.topic reference
f1_keywords
corewrappers/Microsoft::WRL::Wrappers::Details::CompareStringOrdinal
ms.assetid ffa997fd-8cd7-40a5-b9e7-f55d40b072f4

CompareStringOrdinal Method

Supports the WRL infrastructure and is not intended to be used directly from your code.

Syntax

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

See also

Microsoft::WRL::Wrappers::Details Namespace