Contents

PMSessionGeneral

Maintains compatibility with the PrGeneral function in the classic Printing Manager.

Declaration

OSStatus PMSessionGeneral (
   PMPrintSession printSession,
   Ptr pData
);

Parameters

  • printSession:

    The printing session whose data you want to obtain.

  • pData:

    A pointer to a PrGeneral data structure.

Return Value

A result code. See Result Codes.

Overview

The function PMSessionGeneral is valid for the printing session passed to the function. In macOS, the function PMSessionGeneral makes an attempt to get the requested data if the opcode is getPSInfoOp. Otherwise the result code kPMNotImplemented is returned.

For more information about using the function PMSessionGeneral, see Supporting Printing in Your Carbon Application.

See Also

Accessing Data in Printing Session Objects