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
-
None= 0
Indicates that the enclosure location is not specified or unknown.
-
Top= 1
Indicates the device is located in the top enclosure, commonly seen in desktop PC towers.
-
Bottom= 2
Indicates the device is located in the bottom enclosure, such as a base of a laptop or a lower section of a desktop.
-
Front= 3
Indicates the device is located in the front enclosure, for example, a front-facing port or component.
-
Back= 4
Indicates the device is located in the back enclosure, such as a rear-facing port or component.
-
Left= 5
Indicates the device is located in the left enclosure, from a standard front-facing perspective.
-
Right= 6
Indicates the device is located in the right enclosure, from a standard front-facing perspective.
-
Outer= 7
Indicates the device is located in an outer enclosure, such as the casing of a removable drive.
-
Inner= 8
Indicates the device is located in an inner enclosure, within another component.
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