Enumeration

typeKernelProcessID

For specifying an application by UNIX process ID.

Declaration

enum : DescType {
    ...
};

Overview

You might use this constant in a situation where you have access to the PID for a process but don’t have a Process Manager connection. Your code for creating the descriptor might look like the following:

pid_t pid = findTheAppPid(); // User supplied routine to get PID. // Now create a descriptor with it: AECreateDesc(typeKernelProcessID, &pid, sizeof(pid), &desc);

Topics

Constants

typeKernelProcessID

Indicates a descriptor containing a UNIX process ID. A process ID is similar to a PSN (processor serial number) but does not require a Process Manager connection. It is analogous to a 32-bit unsigned integer.

typeMachPort

Indicates a descriptor that specifies a Mach port.