ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellBrowser.IsDriveReady

Returns True if a drive is available and ready, False if it does not exists or is not ready for use.

Syntax
Pascal
function IsDriveReady(const pPath: String; pInteractive: Boolean = True): Boolean; overload;
Parameters 
Description 
const pPath: String 
The path that should be checked. 
pInteractive: Boolean = True 
Optional, default True. Pass True if dialogs may be shown to enter credentials; pass False if only stored credentials should be used but a UI is unwanted. 

True if a drive is available and ready, False if it does not exists or is not ready for use.