JCL Help:NtfsFindNextStream

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the next stream in a file.


Pascal

 function NtfsFindNextStream(var Data: TFindStreamData): Boolean;


Parameters

Parameters Description
var Data: TFindStreamData Record which, upon successful return, contains information about the next found stream. This information includes the stream name, size and attributes. For more information see the documentation for TFindStreamData.


Return Value

If the function succeeds in finding another stream it returns True, otherwise it returns False. In this latter case you can call GetLastError to retrieve detailed information about the cause of failure.


Description

NtfsFindNextStream returns the next stream which matched the conditions specified in a previous call to FindFirstStream. The Data parameter must be the same variable as the one specified in the call to NtfsFindFirstStream. When there are no more streams in the file, the function fails and GetLastError returns ERROR_NO_MORE_FILES. Note that if the function fails for this or any other reason you must eventually call NtfsFindStreamClose to release the context resources stored in the Data record.


See Also

NtfsFindFirstStream NtfsFindStreamClose TFindStreamData


About

Unit

JclNTFS


Donator

Marcel van Brakel


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page