Skip to content

Latest commit

 

History

History
83 lines (62 loc) · 3.01 KB

devpkey-device-bustypeguid.md

File metadata and controls

83 lines (62 loc) · 3.01 KB
title description keywords topic_type api_name api_location api_type ms.date ms.topic
DEVPKEY_Device_BusTypeGuid
DEVPKEY_Device_BusTypeGuid
DEVPKEY_Device_BusTypeGuid Device and Driver Installation
apiref
DEVPKEY_Device_BusTypeGuid
Devpkey.h
HeaderDef
10/17/2018
reference

DEVPKEY_Device_BusTypeGuid

The DEVPKEY_Device_BusTypeGuid device property represents the GUID that identifies the bus type of a device instance.

Attribute Value

Property key

DEVPKEY_Device_BusTypeGuid

Property-data-type identifier

DEVPROP_TYPE_GUID

Property access

Read-only access by installation applications and installers

Corresponding SPDRP_Xxx identifier

SPDRP_BUSTYPEGUID

Localized?

No

Remarks

Windows sets the value of DEVPKEY_Device_BusTypeGuid to the value of the BusTypeGuid member of the PNP_BUS_INFORMATION structure that a bus driver returns in response to an IRP_MN_QUERY_BUS_INFORMATION request.

You can call CM_Get_DevNode_Property or SetupDiGetDeviceProperty to retrieve the value of DEVPKEY_Device_BusTypeGuid.

Windows Server 2003, Windows XP, and Windows 2000 support this property, but do not support the DEVPKEY_Device_BusTypeGuid property key. Instead, you can use the corresponding SPDRP_BUSTYPEGUID identifier to access the value of the property on these earlier versions of Windows. For information about how to access this property value on these earlier versions of Windows, see Accessing Device Instance SPDRP_Xxx Properties.

Requirements

Version: Windows Vista and later versions of Windows Header: Devpkey.h (include Devpkey.h)

See also

IRP_MN_QUERY_BUS_INFORMATION

PNP_BUS_INFORMATION

SetupDiGetDeviceProperty