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 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
|
Minimum supported client | Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server | Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Header |
|
|
Library |
|
|
DLL |
|
Community Additions
ADD
Show: