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 |
| Minimum supported server | Windows Server 2008 |
| Header | Wdstci.h |
| Library | Wdstptc.lib |
| DLL | Wdstptc.dll |
Send comments about this topic to Microsoft
Build date: 8/27/2009