WdsTransportProviderInitialize function (wdstpdi.h)

Initializes a content provider.

Syntax

HRESULT WDSTRANSPORTPROVIDERAPI WdsTransportProviderInitialize(
  [in]  PWDS_TRANSPORTPROVIDER_INIT_PARAMS pInParameters,
  [out] PWDS_TRANSPORTPROVIDER_SETTINGS    pSettings,
  [in]  ULONG                              ulLength
);

Parameters

[in] pInParameters

A pointer to a WDS_TRANSPORTPROVIDER_INIT_PARAMS structure that informs the content provider about the server.

[out] pSettings

A pointer to a WDS_TRANSPORTPROVIDER_SETTINGS structure that informs the server about the content provider.

[in] ulLength

The size in bytes of the buffer at the location specified by the pSettings parameter.

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