WdsTransportProviderCreateInstance function (wdstpdi.h)

Opens a new instance of a content provider.

Syntax

HRESULT WDSTRANSPORTPROVIDERAPI WdsTransportProviderCreateInstance(
  [in]  PCWSTR  pwszConfigString,
  [out] PHANDLE phInstance
);

Parameters

[in] pwszConfigString

Configuration information for this instance of the content provider.

[out] phInstance

Receives a pointer to a handle that identifies this instance. When the instance is no longer needed, the handle should be closed with the WdsTransportProviderCloseInstance callback.

Return value

If the function succeeds, the return is S_OK.

Remarks

This callback is required.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008, Windows Server 2003 with SP2 [desktop apps only]
Target Platform Windows
Header wdstpdi.h