| BOOL GetStreamInfo( |
| |
LPINETSTREAMINFO
lpStreamInfo |
|
| ); |
The GetStreamInfo function fills a structure with
information about the current stream I/O operation.
Parameters
- lpSecurityInfo
- A pointer to an INETSTREAMINFO structure which contains
information about the status of the current operation.
Return Value
If the method succeeds, the return value is non-zero. If the
method fails, the return value is zero. To get extended error
information, call GetLastError.
Remarks
The GetStreamInfo method returns information about the
current streaming socket operation, including the average number of
bytes transferred per second and the estimated amount of time until
the operation completes. If there is no operation currently in
progress, this method will return the status of the last successful
streaming read or write performed by the client.
In a multithreaded application, any thread in the current process
may call this method to obtain status information for the specified
socket.
Requirements
Minimum Desktop Platform: Windows 7 (Service Pack 1)
Minimum Server Platform: Windows Server 2008 R2 (Service Pack 1)
Header: Include cswsock10.h
Import Library: cswskv10.lib
See Also
ReadStream,
StoreStream,
WriteStream,
INETSTREAMINFO
|