public IORegistryIterator <IOObject> CreateIterator(RegistryPlane plane, RegistryIteratorOptions options) { ThrowIfDisposed(); var planeString = plane.GetKey(); IntPtr iteratorRef; var result = IORegistryEntryCreateIterator(Handle, planeString, (uint)options, out iteratorRef); ThrowIfError(result); return(new IORegistryIterator <IOObject> (iteratorRef, true)); }
public IORegistryIterator<IOObject> CreateIterator (RegistryPlane plane, RegistryIteratorOptions options) { ThrowIfDisposed (); var planeString = plane.GetKey (); IntPtr iteratorRef; var result = IORegistryEntryCreateIterator (Handle, planeString, (uint)options, out iteratorRef); ThrowIfError (result); return new IORegistryIterator<IOObject> (iteratorRef, true); }
internal static IORegistryIterator<IOObject> CreateRootIteratorForPort (IntPtr machPort, RegistryPlane plane, RegistryIteratorOptions options) { var planeString = plane.GetKey (); IntPtr iteratorRef; var result = IORegistryCreateIterator (machPort, planeString, (uint)options, out iteratorRef); ThrowIfError (result); return new IORegistryIterator<IOObject> (iteratorRef, true); }
public static IORegistryIterator<IOObject> CreateRootIterator (RegistryPlane plane, RegistryIteratorOptions options) { return CreateRootIteratorForPort (kIOMasterPortDefault, plane, options); }
public IORegistryIterator <IOObject> CreateRootIterator(RegistryPlane plane, RegistryIteratorOptions options) { return(IORegistryEntry.CreateRootIteratorForPort(Handle, plane, options)); }
internal static IORegistryIterator <IOObject> CreateRootIteratorForPort(IntPtr machPort, RegistryPlane plane, RegistryIteratorOptions options) { var planeString = plane.GetKey(); IntPtr iteratorRef; var result = IORegistryCreateIterator(machPort, planeString, (uint)options, out iteratorRef); ThrowIfError(result); return(new IORegistryIterator <IOObject> (iteratorRef, true)); }
public static IORegistryIterator <IOObject> CreateRootIterator(RegistryPlane plane, RegistryIteratorOptions options) { return(CreateRootIteratorForPort(kIOMasterPortDefault, plane, options)); }