Partager via


FwpsCopyStreamDataToBuffer0 (Compact 2013)

3/26/2014

This function copies stream data to a buffer.

Syntax

VOID NTAPI
  FwpsCopyStreamDataToBuffer0(
    IN const FWPS_STREAM_DATA0  *calloutStreamData,
    IN OUT PVOID  buffer,
    IN SIZE_T  bytesToCopy,
    OUT SIZE_T  *bytesCopied
    );

Parameters

  • calloutStreamData
    A pointer to a FWPS_STREAM_DATA0 structure that contains the stream data to be copied.
  • buffer
    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
    The amount of data, in bytes, that the caller wants to copy to the receiving buffer.
  • bytesCopied
    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, make sure that the buffer is at least calloutStreamData->dataLength.

Requirements

Header

fwpsk.h

See Also

Reference

Functions Called by Callout Drivers
FWPS_STREAM_DATA0
WFP Callout Driver Functions