IPrintSchemaParameterDefinition::RangeMax property

The RangeMax property Gets the maximum value of the allowed data range.

This property is read-only.

Syntax


HRESULT get_RangeMax(
  [out, retval] INT *pRangeMax
);

Property value

The maximum value.

Error codes

Returns an HRESULT value, if the property call was successful. Otherwise it returns the appropriate 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

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Header

Printerextension.h

See also

IPrintSchemaParameterDefinition

 

 

Send comments about this topic to Microsoft

Show: