VolumeDefineDosDevice Method (String, String, DosDeviceAttributes) |
[AlphaFS] Defines, redefines, or deletes MS-DOS device names.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static void DefineDosDevice(
string deviceName,
string targetPath,
DosDeviceAttributes deviceAttributes
)
Public Shared Sub DefineDosDevice (
deviceName As String,
targetPath As String,
deviceAttributes As DosDeviceAttributes
)
public:
static void DefineDosDevice(
String^ deviceName,
String^ targetPath,
DosDeviceAttributes deviceAttributes
)
static member DefineDosDevice :
deviceName : string *
targetPath : string *
deviceAttributes : DosDeviceAttributes -> unit
Parameters
- deviceName
- Type: SystemString
An MS-DOS device name string specifying the device the function is defining, redefining, or deleting.
- targetPath
- Type: SystemString
>An MS-DOS path that will implement this device. If deviceAttributes parameter has the
RawTargetPath flag specified, targetPath is used as-is.
- deviceAttributes
- Type: Alphaleonis.Win32.FilesystemDosDeviceAttributes
The controllable aspects of the DefineDosDevice function, DosDeviceAttributes flags which will be combined with the
default.
See Also