Microsoft Learn

Documentation for Windows Development

EnclosureLocation Enumeration

Namespace: Windows.Devices

The EnclosureLocation enumeration specifies the physical location of a device enclosure. This information can be used to determine the device's placement within a larger system, such as a laptop or a desktop PC.

Members

Remarks

The EnclosureLocation enumeration is useful for applications that need to understand the physical context of a device. For instance, a driver might use this to optimize power management or report device status more accurately.

Requirements

Minimum supported client: Windows 10

Minimum supported server: Windows Server 2016

Namespace: Windows.Devices

NuGet package: Microsoft.Windows.SDK.Contracts