WSDXMLGetNameFromBuiltinNamespace function (wsdxml.h)
Gets a specified name from the built-in namespace.
Syntax
HRESULT WSDXMLGetNameFromBuiltinNamespace(
LPCWSTR pszNamespace,
LPCWSTR pszName,
WSDXML_NAME **ppName
);
Parameters
pszNamespace
The namespace to match with a built-in namespace.
pszName
The name to match with a built-in name.
ppName
Reference to a WSDXML_NAME structure that contains the returned built-in name. The memory usage of ppName is managed elsewhere. Consequently, the calling application should not attempt to deallocate ppName.
Return value
This function can return one of these values.
Return code | Description |
---|---|
|
Method completed successfully. |
|
pszNamespace is NULL, pszName is NULL, the length in characters of pszNamespace exceeds WSD_MAX_TEXT_LENGTH (8192), the length in characters of pszName exceeds WSD_MAX_TEXT_LENGTH (8192), or there was no matching name in the built-in namespace. |
|
ppName is NULL. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | wsdxml.h |
Library | Wsdapi.lib |
DLL | Wsdapi.dll |