Skip to content

Latest commit

 

History

History
127 lines (100 loc) · 3.35 KB

ns-dbt-dev_broadcast_volume.md

File metadata and controls

127 lines (100 loc) · 3.35 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:dbt._DEV_BROADCAST_VOLUME
DEV_BROADCAST_VOLUME (dbt.h)
Contains information about a logical volume.
DBTF_MEDIA
DBTF_NET
DEV_BROADCAST_VOLUME
DEV_BROADCAST_VOLUME structure
PDEV_BROADCAST_VOLUME
PDEV_BROADCAST_VOLUME structure pointer
_win32_dev_broadcast_volume_str
base.dev_broadcast_volume_str
dbt/DEV_BROADCAST_VOLUME
dbt/PDEV_BROADCAST_VOLUME
base\dev_broadcast_volume_str.htm
base
8ce644d9-1e95-458e-924f-67bd37831048
12/05/2018
DBTF_MEDIA, DBTF_NET, DEV_BROADCAST_VOLUME, DEV_BROADCAST_VOLUME structure, PDEV_BROADCAST_VOLUME, PDEV_BROADCAST_VOLUME structure pointer, _win32_dev_broadcast_volume_str, base.dev_broadcast_volume_str, dbt/DEV_BROADCAST_VOLUME, dbt/PDEV_BROADCAST_VOLUME
dbt.h
Windows
Windows XP
Windows Server 2003
Windows
DEV_BROADCAST_VOLUME
19H1
_DEV_BROADCAST_VOLUME
dbt/_DEV_BROADCAST_VOLUME
DEV_BROADCAST_VOLUME
dbt/DEV_BROADCAST_VOLUME
c++
APIRef
kbSyntax
HeaderDef
Dbt.h
DEV_BROADCAST_VOLUME

DEV_BROADCAST_VOLUME structure

-description

Contains information about a logical volume.

-struct-fields

-field dbcv_size

The size of this structure, in bytes.

-field dbcv_devicetype

Set to DBT_DEVTYP_VOLUME (2).

-field dbcv_reserved

Reserved; do not use.

-field dbcv_unitmask

The logical unit mask identifying one or more logical units. Each bit in the mask corresponds to one logical drive. Bit 0 represents drive A, bit 1 represents drive B, and so on.

-field dbcv_flags

This parameter can be one of the following values.

Value Meaning
DBTF_MEDIA
0x0001
Change affects media in drive. If not set, change affects physical device or drive.
DBTF_NET
0x0002
Indicated logical volume is a network volume.

-remarks

Although the dbcv_unitmask member may specify more than one volume in any message, this does not guarantee that only one message is generated for a specified event. Multiple system features may independently generate messages for logical volumes at the same time.

Messages for media arrival and removal are sent only for media in devices that support a soft-eject mechanism. For example, applications will not see media-related volume messages for floppy disks.

Messages for network drive arrival and removal are not sent whenever network commands are issued, but rather when network connections will disappear as the result of a hardware event.

-see-also

DEV_BROADCAST_HDR

WM_DEVICECHANGE