WsXmlStringEquals function (webservices.h)
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 WsXmlStringEquals(
[in] const WS_XML_STRING *string1,
[in] const WS_XML_STRING *string2,
[in, optional] WS_ERROR *error
);
Parameters
[in] string1
A pointer to the first string to compare.
[in] string2
A pointer to the second string to compare.
[in, optional] error
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 code | Description |
---|---|
|
The strings are equal. |
|
The strings are not equal. |
|
One or more parameters are not correct. |
Remarks
This function is typically used to compare localNames and namespaces in XML.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | webservices.h |
Library | WebServices.lib |
DLL | WebServices.dll |