Trying to enumerate files on a ReFS volume with the FSCTL_ENUM_USN_DATA control code using DeviceIOControl always fails with an error code of 1 : ERROR_INVALID_FUNCTION. But it seems that Microsoft is (or will?) support this, because they extend the MFT_ENUM_DATA_V0 structure that is the input data of this call to MFT_ENUM_DATA_V1 in order to get journal records of version 3 (with 128 bit file reference numbers). In the documentation of theMFT_ENUM_DATA_V1 it is stated that it is for use with the ReFS file system.
Has anybody successfully used that call to enumerate through a ReFS volume? For applications that use the change journal of a volume to monitor file activity, it is essential to keep a data base of all folders of a volume. The strategy to built-up such a volume folder database recommended by Microsoft was enumerating through the MFT (see http://www.microsoft.com/msj/1099/journal2/journal2.aspx ) at the start of the program. Is there now for ReFS volumes another strategy / technique available? Or will the FSCTL_ENUM_USN_DATA be supported in a future version / service pack?