IPrintSchemaParameterDefinition::get_RangeMin method (printerextension.h)
The RangeMin property gets the minimum value of the allowed data range.
This property is read-only.
Syntax
HRESULT get_RangeMin(
INT *pRangeMin
);
Parameters
pRangeMin
Defines the INT parameter pRangeMin.
Return value
Returns an HRESULT value. If the property call was not successful, it returns the appropriate HRESULT error code.
Remarks
For the PrintSchemaParameterDataType_Integer data type, the value returned by RangeMin maps to the psf:MinValue property value of the Print Schema parameter definition. This minimum value shows the minimum integer value that the driver supports.
For the PrintSchemaParameterDataType_NumericString and PrintSchemaParameterDataType_String data types, this maps to the psf:MinLength property value of the Print Schema parameter definition. This minimum value shows the minimum length of string that the driver supports.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8.1 |
Minimum supported server | Windows Server 2012 R2 |
Target Platform | Windows |
Header | printerextension.h |