WdsTransportServerCompleteRead function (wdstpdi.h)

Provides status of read operation.

Syntax

HRESULT WDSMCSAPI WdsTransportServerCompleteRead(
  [in] HANDLE  hProvider,
  [in] ULONG   ulBytesRead,
  [in] PVOID   pvUserData,
  [in] HRESULT hReadResult
);

Parameters

[in] hProvider

Handle to the provider. This handle was given to the provider in the WdsTransportProviderInitialize function.

[in] ulBytesRead

The number of bytes read.

[in] pvUserData

User data specified by WdsTransportProviderReadContent.

[in] hReadResult

The status of this read operation.

Return value

If the function succeeds, the return is S_OK.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008, Windows Server 2003 with SP2 [desktop apps only]
Target Platform Windows
Header wdstpdi.h
Library Wdsmc.lib
DLL Wdsmc.dll