JCL Help:NtfsGetReparsePoint

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the reparse point data associated with the specified file or directory.


Pascal

 function NtfsGetReparsePoint(const FileName: string; var ReparseData: TReparseGuidDataBuffer): Boolean;


Parameters

Parameters Description
const FileName: string Fully qualified name of the file or directory of which to get the reparse data.
var ReparseData: TReparseGuidDataBuffer A TReparseGuidDataBuffer record which receives the reparse data. Note that the ReparseDataLength and DataBuffer members must be properly intialized by the caller (e.g. allocate memory and initialize ReparseDataLength to the size of this memory).


Return Value

If the function succeeds in retrieving all reparse data it returns True. If the function succeeds in retrieving a part of the reparse data or fails completely it returns False and sets ReparseDataLength to the number of bytes retrieved. You can distinguish between no data and partial data by calling GetLastError which will return ERROR_INSUFFICIENT_BUFFER or ERROR_MORE_DATA respectively.


Description

NtfsGetReparsePoint returns the reparse point data associated with the specified file or directory.


See Also

NtfsDeleteReparsePoint NtfsSetReparsePoint


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