DEVICE_DSM_NOTIFICATION_PARAMETERS structure (winioctl.h)

Contains parameters for the DeviceDsmAction_Notification action for the IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES control code.

Syntax

typedef struct _DEVICE_DSM_NOTIFICATION_PARAMETERS {
  DWORD Size;
  DWORD Flags;
  DWORD NumFileTypeIDs;
  GUID  FileTypeID[ANYSIZE_ARRAY];
} DEVICE_DSM_NOTIFICATION_PARAMETERS, *PDEVICE_DSM_NOTIFICATION_PARAMETERS;

Members

Size

Specifies the total size, in bytes, of this structure. The value of this member must include the total size, in bytes, of the FileTypeIDs member.

Flags

Flags specific to the notify operation

Value Meaning
DEVICE_DSM_NOTIFY_FLAG_BEGIN
0x00000001
The ranges specified in the DEVICE_DATA_SET_RANGE structures following the DEVICE_MANAGE_DATA_SET_ATTRIBUTES structure are currently being used by the file types that are specified in the FileTypeIDs member.
DEVICE_DSM_NOTIFY_FLAG_END
0x00000002
The ranges are no longer being used by the file types that are specified in the FileTypeIDs member.

NumFileTypeIDs

The number of entries in the FileTypeIDs member.

FileTypeID[ANYSIZE_ARRAY]

One or more GUID values that specify the file type for the notification operation.

Value Meaning
FILE_TYPE_NOTIFICATION_GUID_PAGE_FILE
0d0a64a1-38fc-4db8-9fe7-3f4352cd7c5c
Specifies a notification operation for a page file.
FILE_TYPE_NOTIFICATION_GUID_HIBERNATION_FILE
b7624d64-b9a3-4cf8-8011-5b86c940e7b7
Specifies a notification operation for the system hibernation file.
FILE_TYPE_NOTIFICATION_GUID_CRASHDUMP_FILE
9d453eb7-d2a6-4dbd-a2e3-fbd0ed9109a9
Specifies a notification operation for a system crash dump file.

Requirements

Requirement Value
Minimum supported client Windows 7
Minimum supported server Windows Server 2008 R2
Header winioctl.h (include Windows.h)

See also

DEVICE_MANAGE_DATA_SET_ATTRIBUTES

Device Management Structures

IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES