FwpsCopyStreamDataToBuffer0 function

The FwpsCopyStreamDataToBuffer0 function copies stream data to a buffer.

Note  FwpsCopyStreamDataToBuffer0 is a specific version of FwpsCopyStreamDataToBuffer. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information.
 

Syntax


void NTAPI FwpsCopyStreamDataToBuffer0(
  _In_    const FWPS_STREAM_DATA0 *calloutStreamData,
  _Inout_       PVOID             buffer,
  _In_          SIZE_T            bytesToCopy,
  _Out_         SIZE_T            *bytesCopied
);

Parameters

calloutStreamData [in]

A pointer to a FWPS_STREAM_DATA0 structure that contains the stream data to be copied.

buffer [in, out]

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.

bytesToCopy [in]

The amount of data, in bytes, to be copied into the receiving buffer.

bytesCopied [out]

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.

Return value

None.

Remarks

To copy all indicated data to the receiving buffer, ensure that the buffer is at least calloutStreamData -> DataLength in size.

Requirements

Target platform

Universal

Version

Available starting with Windows Vista.

Header

Fwpsk.h (include Fwpsk.h)

Library

Fwpkclnt.lib

IRQL

<= DISPATCH_LEVEL

See also

FWPS_STREAM_DATA0

 

 

Send comments about this topic to Microsoft

Show: