This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Carbon/Carbon.h> | |
#import <dlfcn.h> | |
/* | |
* Returns an array of CFDictionaryRef types, each of which contains information about one of the processes. | |
* The processes are ordered in front to back, i.e. in the same order they appear when typing command + tab, from left to right. | |
* See the ProcessInformationCopyDictionary function documentation for the keys used in the dictionaries. | |
* If something goes wrong, then this function returns NULL. | |
*/ | |
CFArrayRef CopyLaunchedApplicationsInFrontToBackOrder(void) |