Global Variable

kCGWindowOwnerPID

Declaration

const CFStringRef kCGWindowOwnerPID;

Discussion

The value for this key is a CFNumberRef type (encoded as kCFNumberIntType) that contains the process ID of the application that owns the window.