WSDCreateDiscoveryProvider (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows Embedded CE 6.0 R2

See Also

Reference

Web Services on Devices Functions
Web Services on Devices Reference