WdsTransportProviderCreateInstance callback function

Opens a new instance of a content provider.

Syntax


HRESULT WDSTRANSPORTPROVIDERAPI WdsTransportProviderCreateInstance(
  _In_  PCWSTR  pwszConfigString,
  _Out_ PHANDLE phInstance
);

Parameters

pwszConfigString [in]

Configuration information for this instance of the content provider.

phInstance [out]

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

Minimum supported client

None supported

Minimum supported server

Windows Server 2008, Windows Server 2003 with SP2 [desktop apps only]

Header

Wdstpdi.h

 

 

Community Additions

ADD
Show: