Click to Rate and Give Feedback
MSDN
MSDN Library
 PFN_WdsTransportClientSessionComple...
PFN_WdsTransportClientSessionComplete Callback Function

The PFN_WdsTransportClientSessionCompete callback is used by the client to indicate that no more callbacks will be sent to the consumer and that the session either completed successfully or encountered a non-recoverable error.

Syntax

C++
VOID CALLBACK PFN_WdsTransportClientSessionComplete(
  __in  HANDLE hSessionKey,
  __in  PVOID pCallerData,
  __in  DWORD dwError
);

Parameters

hSessionKey [in]

The handle belonging to the session that is being started.

pCallerData [in]

Pointer to the caller specific data for this session. This data was specified in the call to WdsTransportClientStartSession function.

dwError [in]

The overall status of the file transfer. If the session succeeded, this value will be set to ERROR_SUCCESS. If the session did not succeed, the error code for the session will be set.

Return Value

This callback function does not return a value.

Remarks

This will be the last callback a consumer receives. The consumer will always receive this callback, even if the session is canceled.

Requirements

Minimum supported clientWindows Vista with SP1
Minimum supported serverWindows Server 2008
HeaderWdstci.h

 

 

Send comments about this topic to Microsoft

Build date: 12/11/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker