pub unsafe extern "C-unwind" fn GetFrontProcess(
p_psn: *mut ProcessSerialNumber,
) -> i16๐Deprecated
Available on crate feature
Processes only.Expand description
Return the ProcessSerialNumber of the front application
DEPRECATED: Use +[NSWorkspace runningApplications] and look for the entry withisActive == YES.
Parameter pPSN: where the front application process serial number is returned
Returns: An operating system status code
ยงSafety
p_psn must be a valid pointer.