Share via


DeviceID Property

Retrieves the DeviceID for this DeviceInfo object.

Syntax

[ pbstrResult = ] DeviceInfo.DeviceID

Possible Values

pbstrResult String value.

The property is read-only. The property has no default value.

Remarks

For example code, see List all Available Devices by Name and DeviceID in Shared Samples.

Property Information

Minimum operating systems Windows XP SP1

See Also

DeviceID (Device), DeviceInfo, OnEvent, RegisterEvent, RegisterPersistentEvent, UnregisterEvent, UnregisterPersistentEvent