PMPresetCopyName(_:_:)
Obtains the localized name for a preset.
Declaration
func PMPresetCopyName(_ preset: PMPreset, _ name: UnsafeMutablePointer<Unmanaged<CFString>?>) -> OSStatusParameters
- preset:
The preset object whose localized name you want to obtain. You can use the function 1459117 Pmprintercopypresets to obtain the presets for a given printer.
- paperID:
A pointer to your Cfstring variable. On return, the variable refers to a Core Foundation string containing the localized name of the specified preset. You are responsible for releasing the string.
Return Value
A result code. See Result Codes.