WsVerifyXmlNCName function (webservices.h)

Verifies whether the input string is a valid XML NCName.

Syntax

HRESULT WsVerifyXmlNCName(
  const WCHAR *ncNameChars,
  ULONG       ncNameCharCount,
  WS_ERROR    *error
);

Parameters

ncNameChars

The string to be verified.

ncNameCharCount

The length of the ncNameChars string.

error

Specifies where additional error information should be stored if the function fails.

Return value

This function can return one of these values.

Return code Description
WS_E_INVALID_FORMAT
The string is not a valid NCName.

Requirements

   
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