Windows Dev Center

PeerDistGetOverlappedResult function

The PeerDistGetOverlappedResult function retrieves the results of asynchronous operations. This function replaces the GetOverlappedResult function for Peer Distribution asynchronous operations.

Syntax


BOOL WINAPI PeerDistGetOverlappedResult(
  _In_  LPOVERLAPPED lpOverlapped,
  _Out_ LPDWORD      lpNumberOfBytesTransferred,
  _In_  BOOL         bWait
);

Parameters

lpOverlapped [in]

A pointer to an OVERLAPPED structure that was specified when the overlapped operation was started.

lpNumberOfBytesTransferred [out]

A pointer to a variable that receives the number of bytes that were actually transferred by a read or write operation.

bWait [in]

If this parameter is TRUE, the function does not return until the operation has been completed. If this parameter is FALSE and the operation is still pending, the function returns FALSE.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Peerdist.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft