Function winfsp_sys::FspFileSystemAddStreamInfo
source · pub unsafe extern "C" fn FspFileSystemAddStreamInfo(
StreamInfo: *mut FSP_FSCTL_STREAM_INFO,
Buffer: PVOID,
Length: ULONG,
PBytesTransferred: PULONG
) -> BOOLEAN
Expand description
Add named stream information to a buffer.
This is a helper for implementing the GetStreamInfo operation.
@param StreamInfo The stream information to add. A value of NULL acts as an EOF marker for a GetStreamInfo operation. @param Buffer Pointer to a buffer that will receive the stream information. This should contain the same value passed to the GetStreamInfo Buffer parameter. @param Length Length of buffer. This should contain the same value passed to the GetStreamInfo Length parameter. @param PBytesTransferred [out] Pointer to a memory location that will receive the actual number of bytes stored. This should contain the same value passed to the GetStreamInfo PBytesTransferred parameter. @return TRUE if the stream information was added, FALSE if there was not enough space to add it. @see GetStreamInfo