WdsTransportClientStartSession function (wdstci.h)

Initiates a multicast file transfer.

Syntax

DWORD WDSTCIAPI WdsTransportClientStartSession(
  [in] HANDLE hSessionKey
);

Parameters

[in] hSessionKey

The handle returned by the WdsTransportClientInitializeSession session.

Return value

If the function succeeds, the return value is ERROR_SUCCESS.

Remarks

All callbacks must be registered before this function is called. If a required callback is not registered, this function will fail.

It is possible for a session to start and complete before this function returns. This means that it is possible to receive a callback with a session handle that has not been seen yet. This also means that a session can start and error out before this function has a chance to complete. In this case, this function may still return success, even if the session itself fails.

Requirements

Requirement Value
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