ImDiskAPICreateMountPoint Method (String, UInt32) |
An easy way to turn an empty NTFS directory to a reparsepoint that redirects
requests to an ImDisk device. Acts quite like mount points or symbolic links
in *nix. If MountPoint specifies a character followed by a colon, a drive
letter is instead created to point to Target.
Namespace: LTR.IO.ImDiskAssembly: ImDiskNet (in ImDiskNet.dll) Version: 1.0.0.0 (1.0.007.0)
Syntax public static void CreateMountPoint(
string Directory,
uint DeviceNumber
)
Public Shared Sub CreateMountPoint (
Directory As String,
DeviceNumber As UInteger
)
public:
static void CreateMountPoint(
String^ Directory,
unsigned int DeviceNumber
)
static member CreateMountPoint :
Directory : string *
DeviceNumber : uint32 -> unit
Parameters
- Directory
- Type: SystemString
Path to empty directory on an NTFS volume, or a drive letter
followed by a colon. - DeviceNumber
- Type: SystemUInt32
Device number of an existing ImDisk virtual disk
See Also