Edit

Volume events

This page contains reference entries in the Events API family. Each entry includes its declaration and requirements.

Volume mount

ESP_VOLUME_MOUNT_CONFIG

The structure ESP_VOLUME_MOUNT_CONFIG is used to configure a volume mount event.

Syntax

typedef struct ESP_VOLUME_MOUNT_CONFIG
{
    ESP_IO_OPERATION_CONFIG OperationConfig;
    ESP_VOLUME_CONFIG VolumeConfig;
    ESP_INTEGER_CONFIG DeviceTypeConfig;
} ESP_VOLUME_MOUNT_CONFIG;

Members

FIELD DESCRIPTION
OperationConfig Specifies configuration for the IO operation.
VolumeConfig Specifies configuration for the volume being mounted.
DeviceTypeConfig Specifies configuration for the device type.

Requirements

Requirement Value
Header esptypes.h

See also

ESP_VOLUME_MOUNT_PARAMETERS

The structure ESP_VOLUME_MOUNT_PARAMETERS contains the parameters associated with a volume mount event notification.

Syntax

typedef struct ESP_VOLUME_MOUNT_PARAMETERS
{
    ESP_IO_OPERATION Operation;
    ESP_VOLUME_INFO Volume;
    UINT32 DeviceType;
} ESP_VOLUME_MOUNT_PARAMETERS;

Members

FIELD DESCRIPTION
Operation The IO operation for the event.
Volume The volume being mounted.
DeviceType Device type of the file system's volume device object for the newly mounted volume. For example:
FILE_DEVICE_CD_ROM_FILE_SYSTEM
FILE_DEVICE_DISK_FILE_SYSTEM
FILE_DEVICE_NETWORK_FILE_SYSTEM

Requirements

Requirement Value
Header esptypes.h

See also

Volume dismount

ESP_VOLUME_DISMOUNT_CONFIG

The structure ESP_VOLUME_DISMOUNT_CONFIG is used to configure a volume dismount event.

Syntax

typedef struct ESP_VOLUME_DISMOUNT_CONFIG
{
    ESP_VOLUME_CONFIG VolumeConfig;
} ESP_VOLUME_DISMOUNT_CONFIG;

Members

FIELD DESCRIPTION
VolumeConfig Specifies configuration for the volume being dismounted.

Requirements

Requirement Value
Header esptypes.h

See also

ESP_VOLUME_DISMOUNT_PARAMETERS

The structure ESP_VOLUME_DISMOUNT_PARAMETERS contains the parameters associated with a volume dismount event notification.

Syntax

typedef struct ESP_VOLUME_DISMOUNT_PARAMETERS
{
    ESP_VOLUME_INFO Volume;
} ESP_VOLUME_DISMOUNT_PARAMETERS;

Members

FIELD DESCRIPTION
Volume The volume being dismounted.

Requirements

Requirement Value
Header esptypes.h

See also

Volume control

ESP_VOLUME_FSCTL_CONFIG

The structure ESP_VOLUME_FSCTL_CONFIG is used to configure a volume FSCTL event.

Syntax

typedef struct ESP_VOLUME_FSCTL_CONFIG
{
    ESP_IO_OPERATION_CONFIG OperationConfig;
    ESP_VOLUME_CONFIG VolumeConfig;
    ESP_INTEGER_CONFIG ControlCodeConfig;
    ESP_INTEGER_CONFIG InputBufferSizeConfig;
    ESP_BINARY_CONFIG InputBufferConfig;
} ESP_VOLUME_FSCTL_CONFIG;

Members

FIELD DESCRIPTION
OperationConfig Specifies configuration for the IO operation.
VolumeConfig Specifies configuration for the volume.
ControlCodeConfig Specifies configuration for the control code.
InputBufferSizeConfig Specifies configuration for the input buffer size.
InputBufferConfig Specifies configuration for the input buffer.

Requirements

Requirement Value
Header esptypes.h

See also

ESP_VOLUME_FSCTL_PARAMETERS

The structure ESP_VOLUME_FSCTL_PARAMETERS contains the parameters associated with a volume FSCTL event notification.

Syntax

typedef struct ESP_VOLUME_FSCTL_PARAMETERS
{
    ESP_IO_OPERATION Operation;
    ESP_VOLUME_INFO Volume;
    UINT32 ControlCode;
    UINT32 InputBufferSize;
    _Field_size_bytes_(InputBufferSize) const void* InputBuffer;
} ESP_VOLUME_FSCTL_PARAMETERS;

Members

FIELD DESCRIPTION
Operation The IO operation for the event.
Volume The volume for the FSCTL operation.
ControlCode The control code.
InputBufferSize The size in bytes of the input buffer.
InputBuffer The input buffer. By default, the input buffer is not supplied. The client must specify to include the input buffer through the "InputBufferConfig" field in the structure ESP_VOLUME_FSCTL_CONFIG.

Requirements

Requirement Value
Header esptypes.h

See also