pub unsafe extern "C" fn FspFileSystemAddDirInfo(
    DirInfo: *mut FSP_FSCTL_DIR_INFO,
    Buffer: PVOID,
    Length: ULONG,
    PBytesTransferred: PULONG
) -> BOOLEAN
Expand description

Add directory information to a buffer.

This is a helper for implementing the ReadDirectory operation.

@param DirInfo The directory information to add. A value of NULL acts as an EOF marker for a ReadDirectory operation. @param Buffer Pointer to a buffer that will receive the results of the read operation. This should contain the same value passed to the ReadDirectory Buffer parameter. @param Length Length of data to read. This should contain the same value passed to the ReadDirectory Length parameter. @param PBytesTransferred [out] Pointer to a memory location that will receive the actual number of bytes read. This should contain the same value passed to the ReadDirectory PBytesTransferred parameter. FspFileSystemAddDirInfo uses the value pointed by this parameter to track how much of the buffer has been used so far. @return TRUE if the directory information was added, FALSE if there was not enough space to add it. @see ReadDirectory