Click or drag to resize

DosDeviceAttributes Enumeration

Defines the controllable aspects of the Volume.DefineDosDevice() method.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.0
public enum DosDeviceAttributes
  Member nameValueDescription



Uses the targetPath string as is. Otherwise, it is converted from an MS-DOS path to a path.


Removes the specified definition for the specified device.

To determine which definition to remove, the function walks the list of mappings for the device, looking for a match of targetPath against a prefix of each mapping associated with this device.

The first mapping that matches is the one removed, and then the function returns.

If targetPath is null or a pointer to a null string, the function will remove the first mapping associated with the device and pop the most recent one pushed.If there is nothing left to pop, the device name will be removed.

If this value is not specified, the string pointed to by the targetPath parameter will become the new mapping for this device.


If this value is specified along with RemoveDefinition, the function will use an exact match to determine which mapping to remove.

Use this value to ensure that you do not delete something that you did not define.


Do not broadcast the WM_SETTINGCHANGE message.

By default, this message is broadcast to notify the shell and applications of the change.

See Also