IPrintSchemaParameterDefinition::get_RangeMax method (printerextension.h)
The RangeMax property gets the maximum value of the allowed data range.
This property is read-only.
Syntax
HRESULT get_RangeMax(
INT *pRangeMax
);
Parameters
pRangeMax
Defines the INT parameter pRangeMax.
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 RangeMax maps to the psf:MaxValue property value of the Print Schema parameter definition. This maximum value shows the maximum integer value that the driver supports.
For the PrintSchemaParameterDataType_NumericString and PrintSchemaParameterDataType_String data types, this maps to the psf:MaxLength property value of the Print Schema parameter definition. This maximum value shows the maximum 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 |