JCL Help:CloseVolume

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Closes a handle for a previously opened volume.


Pascal

 function CloseVolume(var Volume: THandle): Boolean;


Parameters

Parameters Description
Handle The handle previously returned from OpenVolume. If the function succeeds in closing the volume the handle is closed and no longer valid.


Return Value

If the function succeeds it returns True, otherwise it returns False. The latter case either means that the specified handle was invalid or that the device could not be closed. In either case the Handle parameter is unaffected and retains its value.


Description

CloseVolume closes the handle to a volume previously opened with OpenVolume.


See Also

OpenVolume


About

Unit

JclFileUtils


Donator

Massimo Maria Ghisalberti


Platforms

Windows


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