WsVerifyXmlNCName function
Verifies whether the input string is a valid XML NCName.
Syntax
HRESULT WINAPI WsVerifyXmlNCName(
const WCHAR* ncNameChars,
_In_ ULONG ncNameCharCount,
_In_opt_ WS_ERROR* error
);
Parameters
- ncNameChars
-
The string to be verified.
- ncNameCharCount [in]
-
The length of the ncNameChars string.
- error [in, optional]
-
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 |
|---|---|
|
The string is not a valid NCName. |
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: