Contents

PMSessionValidatePrintSettings(_:_:_:)

Validates a print settings object within the context of the specified printing session.

Declaration

func PMSessionValidatePrintSettings(_ printSession: PMPrintSession, _ printSettings: PMPrintSettings, _ changed: UnsafeMutablePointer<DarwinBoolean>?) -> OSStatus

Parameters

  • printSession:

    The printing session for the specified print settings object.

  • printSettings:

    The print settings object to validate.

  • result:

    A pointer to your Boolean variable. On return, true if any parameters changed, or false if no parameters changed.

Return Value

A result code. See Result Codes.

Discussion

You must call this function between the creation and release of a printing session. See the function PMCreateSession(_:).

See Also

Creating and Using Print Settings Objects