The FwpsCopyStreamDataToBuffer0 function copies stream data to a buffer.
void FwpsCopyStreamDataToBuffer0( const FWPS_STREAM_DATA0 *calloutStreamData, PVOID buffer, SIZE_T bytesToCopy, SIZE_T *bytesCopied );
A pointer to a FWPS_STREAM_DATA0 structure that contains the stream data to be copied.
A pointer to a location in memory that will store the copy of the stream data pointed to by the calloutStreamData parameter. The size of the buffer must be greater than or equal to bytesToCopy.
The amount of data, in bytes, to be copied into the receiving buffer.
A pointer to a variable that receives the size, in bytes, of the stream data copied to the memory location pointed to by the buffer parameter.
To copy all indicated data to the receiving buffer, ensure that the buffer is at least calloutStreamData -> DataLength in size.
|Minimum supported client||Available starting with Windows Vista.|
|Header||fwpsk.h (include Fwpsk.h)|