DELETE_OBJECT_OPTIONS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// portabledevice.h

typedef enum tagDELETE_OBJECT_OPTIONS {
  PORTABLE_DEVICE_DELETE_NO_RECURSION,
  PORTABLE_DEVICE_DELETE_WITH_RECURSION
} DELETE_OBJECT_OPTIONS;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-portabledevice-tagdelete_object_options)

tagDELETE_OBJECT_OPTIONS enumeration

Description

The DELETE_OBJECT_OPTIONS enumeration type describes options that are supported by a device when deleting an object.

Constants

PORTABLE_DEVICE_DELETE_NO_RECURSION

Delete the object only and fail if it has children.

PORTABLE_DEVICE_DELETE_WITH_RECURSION

Delete the object and all its children.

Remarks

An application can retrieve the deletion options that the device supports by calling the IPortableDeviceCapabilities::GetCommandOptions method for the WPD_COMMAND_OBJECT_MANAGEMENT_DELETE_OBJECTS command. It should examine the WPD_OPTION_OBJECT_MANAGEMENT_RECURSIVE_DELETE_SUPPORTED option value that this method returns in an IPortableDeviceValuesCollection object.

See also

Structures and Enumeration Types