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
Syntax
[FlagsAttribute]
public enum DosDeviceAttributes
Members
  Member nameValueDescription
None0DDD_EXACT_MATCH_ON_REMOVE

Default.

RawTargetPath1DDD_RAW_TARGET_PATH

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

RemoveDefinition2DDD_REMOVE_DEFINITION

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.

ExactMatchOnRemove4DDD_EXACT_MATCH_ON_REMOVE

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.

NoBroadcastSystem8DDD_NO_BROADCAST_SYSTEM

Do not broadcast the WM_SETTINGCHANGE message.

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

See Also