Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WsXmlStringEquals function

Compares two WS_XML_STRING objects for equality. The operation performs an ordinal comparison of the character values contained by the String objects.

Syntax


HRESULT WINAPI  WsXmlStringEquals(
  _In_     const WS_XML_STRING* string1,
  _In_     const WS_XML_STRING* string2,
  _In_opt_ WS_ERROR*            error
);

Parameters

string1 [in]

A pointer to the first string to compare.

string2 [in]

A pointer to the second string to compare.

error [in, optional]

A pointer to a WS_ERROR object where additional information about the error should be stored if the function fails.

Return value

This function can return one of these values.

Return codeDescription
S_OK

The strings are equal.

S_FALSE

The strings are not equal.

E_INVALIDARG

One or more parameters are not correct.

 

Remarks

This function is typically used to compare localNames and namespaces in XML.

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

WebServices.h

Library

WebServices.lib

DLL

WebServices.dll

 

 

Community Additions

Show:
© 2017 Microsoft