WdsTransportClientStartSession function

Initiates a multicast file transfer.

Syntax

DWORD WDSTCIAPI WdsTransportClientStartSession(
  HANDLE hSessionKey
);

Parameters

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

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