IFileSystemImageResult2::get_ModifiedBlocks method (imapi2fs.h)

Retrieves the list of modified blocks in the result image.


HRESULT get_ModifiedBlocks(
  [out] IBlockRangeList **pVal


[out] pVal

Pointer to an IBlockRangeList interface representing the modified block ranges in the result image.

Return value

S_OK is returned on success, but other success codes may be returned as a result of implementation. The following error codes are commonly returned on operation failure, but do not represent the only possible error values:

Return code Description
Pointer is not valid.

Value: 0x80004003

Not implemented.

Value: 0x80004001


This method returns E_NOTIMPL if the entire result image must be recorded. If this method returns a successful return code, it is sufficient to record only the sectors described by IBlockRangeList returned in pVal. It is highly recommended to record the sector ranges in exactly the same order as they are listed in IBlockRangeList.


Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header imapi2fs.h

See also