Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mehdies

macrumors member
Original poster
Jun 10, 2012
41
0
Hi

Is there any way to get focused window in kexts? I mean,can i get active program's name in kernel space that user working with that in user space?

In user space we can use:

Code:
 [[NSWorkspace sharedWorkspace]activeApplication];

but i don't know in kernel space.

Thanks
 
I admit I know almost nothing about kernel programming, but my instincts tell me you're trying to do something very, very wrong here. :p
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.