WdsTransportClientInitializeSession function (wdstci.h)

Initiates a multicast file transfer.


DWORD WDSTCIAPI WdsTransportClientInitializeSession(
  [in]  PVOID                        pCallerData,
  [out] PHANDLE                      hSessionKey


[in] pSessionRequest

Pointer to a WDS_TRANSPORTCLIENT_REQUEST structure that contains all the details required to initiate the multicast session. The format of this structure is described below.

[in] pCallerData

User supplied pointer that will be provided with every callback for this session.

[out] hSessionKey

Buffer that will receive the address of a handle that the consumer can use to uniquely identify this session to the client.

Return value

If the function succeeds, the return value is ERROR_SUCCESS.


This function only sets up the session, it does not start the transfer. To start the transfer, call WdsTransportClientStartSession.


Minimum supported client Windows Vista with SP1 [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wdstci.h
Library Wdstptc.lib
DLL Wdstptc.dll