Function winfsp_sys::FspFileSystemAddNotifyInfo
source · pub unsafe extern "C" fn FspFileSystemAddNotifyInfo(
NotifyInfo: *mut FSP_FSCTL_NOTIFY_INFO,
Buffer: PVOID,
Length: ULONG,
PBytesTransferred: PULONG
) -> BOOLEAN
Expand description
Add notify information to a buffer.
This is a helper for filling a buffer to use with FspFileSystemNotify.
@param NotifyInfo The notify information to add. @param Buffer Pointer to a buffer that will receive the notify information. @param Length Length of buffer. @param PBytesTransferred [out] Pointer to a memory location that will receive the actual number of bytes stored. This should be initialized to 0 prior to the first call to FspFileSystemAddNotifyInfo for a particular buffer. @return TRUE if the notify information was added, FALSE if there was not enough space to add it. @see FspFileSystemNotify