DefineDosDeviceFlags Enumeration

Specifies the controllable aspects of the DefineDosDevice(DefineDosDeviceFlags, String, String) function.

Definition

Namespace: DevCase.Win32.Enums
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[FlagsAttribute]
public enum DefineDosDeviceFlags

Remarks

Members

RawTargetPath 1 Uses the targetPath parameter string as is. Otherwise, it is converted from an MS-DOS path to a path.
RemoveDefinition 2 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 parameter 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 parameter 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 RemoveDefinition value is not specified, the string pointed to by the targetPath parameter will become the new mapping for this device.

ExactMatchOnRemove 4 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.

NoBroadcastSystem 8 Do not broadcast the WM_SettingChange message.

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

See Also