WSDCreateDiscoveryProvider (Compact 2013)
3/26/2014
This function creates an IWSDiscoveryProvider object by calling the COM CoCreateInstance function.
Syntax
HRESULT WSDCreateDiscoveryProvider(
IWSDXMLContext* pContext,
IWSDiscoveryProvider** ppProvider
);
Parameters
pContext
[in] An IWSDXMLContext object that defines custom message types or namespaces.If NULL, a default context representing the built-in message types and namespaces is used.
- ppProvider
[out] Returns a reference to the initialized IWSDiscoveryProvider object. Cannot be NULL.
Return Value
The following table shows the possible error code return values.
Error Code |
Description |
---|---|
S_OK |
The function succeeded. |
Requirements
Header |
wsdapi.h |
Library |
wsdapi.lib |
See Also
Reference
Web Services on Devices Functions
Web Services on Devices Reference