Click or drag to resize

FileSystemEntryGetMountPoint Method (IntPtr, Boolean)

Gets the mount point of a file or directory using its handle. The handle must have been open using FILE_FLAG_OPEN_REPARSE_POINT flag.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static FileSystemMountPoint GetMountPoint(
	IntPtr handle,
	bool throwOnError = true
)

Parameters

handle
Type: SystemIntPtr
The file or directory reparse point handle.
throwOnError (Optional)
Type: SystemBoolean
true to throw errors; otherwise false.

Return Value

Type: FileSystemMountPoint
The mount point or null.
See Also