Searched refs:g_hSmcConnect (Results 1 - 1 of 1) sorted by relevance
/vbox/src/VBox/Devices/EFI/ |
H A D | VBoxSmcUtil-darwin.cpp | 111 io_connect_t g_hSmcConnect = IO_OBJECT_NULL; variable 120 IOReturn rcIo = IOServiceOpen(g_hSmcService, mach_task_self(), 1, &g_hSmcConnect); 121 if (rcIo == kIOReturnSuccess && g_hSmcConnect != IO_OBJECT_NULL) 123 rcIo = IOConnectCallMethod(g_hSmcConnect, kSMCUserClientOpen, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL); 131 g_hSmcConnect = IO_OBJECT_NULL; 139 if (g_hSmcConnect) 141 IOConnectCallMethod(g_hSmcConnect, kSMCUserClientClose, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL); 142 IOServiceClose(g_hSmcConnect); 143 g_hSmcConnect = IO_OBJECT_NULL; 158 IOReturn rcIo = IOConnectCallStructMethod(g_hSmcConnect, kSMCHandleYPCEven [all...] |
Completed in 155 milliseconds