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 | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:devicetopology.IDeviceSpecificProperty.Get4BRange |
IDeviceSpecificProperty::Get4BRange (devicetopology.h) |
The Get4BRange method gets the 4-byte range of the device-specific property value. |
|
coreaudio\idevicespecificproperty_get4brange.htm |
CoreAudio |
16ca72b5-2de2-4644-9c64-cdc69a9b2c51 |
12/05/2018 |
Get4BRange, Get4BRange method [Core Audio], Get4BRange method [Core Audio],IDeviceSpecificProperty interface, IDeviceSpecificProperty interface [Core Audio],Get4BRange method, IDeviceSpecificProperty.Get4BRange, IDeviceSpecificProperty::Get4BRange, IDeviceSpecificPropertyGet4BRange, coreaudio.idevicespecificproperty_get4brange, devicetopology/IDeviceSpecificProperty::Get4BRange |
devicetopology.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2008 [desktop apps only] |
Windows |
19H1 |
|
|
|
|
|
|
The Get4BRange method gets the 4-byte range of the device-specific property value.
Pointer to a LONG variable into which the method writes the minimum property value.
Pointer to a LONG variable into which the method writes the maximum property value.
Pointer to a LONG variable into which the method writes the stepping value between consecutive property values in the range *plMin to *plMax. If the difference between the maximum and minimum property values is d, and the range is divided into n steps (uniformly sized intervals), then the property can take n + 1 discrete values and the size of the step between consecutive values is d / n.
If the method succeeds, it returns S_OK. If it fails, possible return codes include, but are not limited to, the values shown in the following table.
Return code | Description |
---|---|
|
Pointer plMin, plMax, or plStepping is NULL. |
|
The property value is not a 32-bit signed or unsigned integer. For information about this macro, see the Windows SDK documentation. |
This method reports the range and step size for a property value that is a 32-bit signed or unsigned integer. These two data types are represented by VARENUM enumeration constants VT_I4 and VT_UI4, respectively. If the property value is not a 32-bit integer, then the method returns an error status code. For more information about VARENUM, see the Windows SDK documentation.