JCL Help:PathIsDiskDevice

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Tests whether a path denotes a disk device.


Pascal

 function PathIsDiskDevice(const Path: string): Boolean;


Parameters

Parameters Description
const Path: string The path to test.


Return Value

If the path denotes a disk device the result is True, otherwise the result is False.


Description

PathIsDiskDevice tests whether the supplied path denotes a disk device. On Win32 systems the path to a disk device is always prepended with '\.' and that's what the function tests.


See Also

PathIsUnc PathIsAbsolute


About

Unit

JclFileUtils


Donator

Robert Marquardt (Win32) André Snepvangers (Unix)


Contributors

Robert Rossmair


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