IPrintSchemaParameterDefinition::get_UserInputRequired method (printerextension.h)

The UserInputRequired property gets the Boolean value that indicates whether or not a user input value is required for the Print Schema parameter.

This property is read-only.

Syntax

HRESULT get_UserInputRequired(
  BOOL *pbIsRequired
);

Parameters

pbIsRequired

Defines the BOOL parameter pbIsRequired.

Return value

Returns an HRESULT value. If the property call was not successful, it returns the appropriate HRESULT error code.

Remarks

The print dialog can use UserInputRequired to determine whether or not it should force the user to enter a valid value for the parameter, before it allows printing to proceed.

Requirements

Requirement Value
Minimum supported client Windows 8.1
Minimum supported server Windows Server 2012 R2
Target Platform Windows
Header printerextension.h

See also

IPrintSchemaParameterDefinition