How to retrieve all files in a volume use FSCTL_GET_NTFS_FILE_RECORD control code?

How to retrieve all files in a volume use FSCTL_GET_NTFS_FILE_RECORD control code?
I just don’t know how to use the NTFS_FILE_RECORD_OUTPUT_BUFFER structure,
what the FileRecordBuffer mean?
Do someone have the sample code to do this?
Thanks a lot