);
extern "C" void IOMobileFramebufferGetDisplaySize(IOMobileFramebufferRef connect, CGSize *size);
-extern "C" void IOMobileFramebufferIsMainDisplay(IOMobileFramebufferRef connect, int *main);
+void (*$IOMobileFramebufferIsMainDisplay)(IOMobileFramebufferRef, BOOL *);
extern "C" {
IOHIDEventRef IOHIDEventCreateKeyboardEvent(CFAllocatorRef allocator, uint64_t time, uint16_t page, uint16_t usage, Boolean down, IOHIDEventOptionBits flags);
VNCEnabled();
}
-void (*$IOMobileFramebufferIsMainDisplay)(IOMobileFramebufferRef, int *);
static IOMobileFramebufferRef main_;
static IOSurfaceRef layer_;
CGRect frame,
int flags
) {
- int main(false);
+ BOOL main;
if (_unlikely(buffer == NULL))
main = fb == main_;