Skip to content

Latest commit

 

History

History
108 lines (88 loc) · 3.87 KB

nf-devicetopology-idevicespecificproperty-get4brange.md

File metadata and controls

108 lines (88 loc) · 3.87 KB
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.
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
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
IDeviceSpecificProperty::Get4BRange
devicetopology/IDeviceSpecificProperty::Get4BRange
c++
APIRef
kbSyntax
COM
Devicetopology.h
IDeviceSpecificProperty.Get4BRange

IDeviceSpecificProperty::Get4BRange

-description

The Get4BRange method gets the 4-byte range of the device-specific property value.

-parameters

-param plMin [out]

Pointer to a LONG variable into which the method writes the minimum property value.

-param plMax [out]

Pointer to a LONG variable into which the method writes the maximum property value.

-param plStepping [out]

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.

-returns

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
E_POINTER
Pointer plMin, plMax, or plStepping is NULL.
HRESULT_FROM_WIN32(ERROR_NOT_SUPPORTED)
The property value is not a 32-bit signed or unsigned integer. For information about this macro, see the Windows SDK documentation.

-remarks

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.

-see-also

IDeviceSpecificProperty Interface