WdsTransportServerCompleteRead function

Provides status of read operation.

Syntax


HRESULT WDSMCSAPI WdsTransportServerCompleteRead(
  _In_ HANDLE  hProvider,
  _In_ ULONG   ulBytesRead,
  _In_ PVOID   pvUserData,
  _In_ HRESULT hReadResult
);

Parameters

hProvider [in]

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

ulBytesRead [in]

The number of bytes read.

pvUserData [in]

User data specified by WdsTransportProviderReadContent.

hReadResult [in]

The status of this read operation.

Return value

If the function succeeds, the return is S_OK.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008, Windows Server 2003 with SP2 [desktop apps only]

Header

Wdstpdi.h

Library

Wdsmc.lib

DLL

Wdsmc.dll

 

 

Community Additions

ADD
Show: