WdsTransportClientInitializeSession Function

Initiates a multicast file transfer.

Syntax

C++
DWORD WDSTCIAPI WdsTransportClientInitializeSession(
  __in   PWDS_TRANSPORTCLIENT_REQUEST pSessionRequest,
  __in   PVOID pCallerData,
  __out  PHANDLE hSessionKey
);

Parameters

pSessionRequest [in]

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.

pCallerData [in]

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

hSessionKey [out]

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.

Remarks

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

Requirements

Minimum supported clientWindows Vista with SP1
Minimum supported serverWindows Server 2008
HeaderWdstci.h
LibraryWdstptc.lib
DLLWdstptc.dll

Send comments about this topic to Microsoft

Build date: 8/27/2009

Tags :


Page view tracker