Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The PeerDistGetOverlappedResult function retrieves the results of asynchronous operations. This function replaces the GetOverlappedResult function for Peer Distribution asynchronous operations.
Syntax
BOOL PeerDistGetOverlappedResult(
[in] LPOVERLAPPED lpOverlapped,
[out] LPDWORD lpNumberOfBytesTransferred,
[in] BOOL bWait
);
Parameters
[in] lpOverlapped
A pointer to an OVERLAPPED structure that was specified when the overlapped operation was started.
[out] lpNumberOfBytesTransferred
A pointer to a variable that receives the number of bytes that were actually transferred by a read or write operation.
[in] bWait
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.
Return value
Type: BOOL
true if the operation has completed. false if the bWait argument is false and the operation is still pending.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps only] |
| Minimum supported server | Windows Server 2012 [desktop apps only] |
| Target Platform | Windows |
| Header | peerdist.h |
| Library | PeerDist.lib |