[DllImport(IOKit)] // plane = IOService
 public static extern IOReturn IORegistryEntryGetPath(int entry, [MarshalAs(UnmanagedType.LPStr)] string plane, out io_string_t path);
Exemple #2
0
 [DllImport(IOKit, EntryPoint = "IORegistryEntryGetPath")] // plane = IOService
 public static extern IOReturn IORegistryEntryGetPath(int entry, [MarshalAs(UnmanagedType.LPStr)] string plane, out io_string_t path);
 public static extern int IORegistryEntryFromPath(int masterPort, ref io_string_t path);
Exemple #4
0
 public static extern int IORegistryEntryFromPath(int masterPort, ref io_string_t path);