Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates an IWSDiscoveryProvider object.
Syntax
HRESULT WSDCreateDiscoveryProvider(
[in] IWSDXMLContext *pContext,
[out] IWSDiscoveryProvider **ppProvider
);
Parameters
[in] pContext
An IWSDXMLContext interface that defines custom message types or namespaces.
If NULL, a default context representing the built-in message types and namespaces is used.
[out] ppProvider
Returns a reference to the initialized IWSDiscoveryProvider object. Cannot be NULL.
Return value
Possible return values include, but are not limited to, the following:
Return code | Description |
---|---|
|
Method completed successfully. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | wsddisco.h (include Wsdapi.h) |
Library | Wsdapi.lib |
DLL | Wsdapi.dll |