WdsTransportClientInitializeSession function

Initiates a multicast file transfer.

Syntax


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 client

Windows Vista with SP1 [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Wdstci.h

Library

Wdstptc.lib

DLL

Wdstptc.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft