Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
		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);
		}
Exemplo n.º 3
0
		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);
		}
Exemplo n.º 4
0
		public static IORegistryIterator<IOObject> CreateRootIterator (RegistryPlane plane, RegistryIteratorOptions options)
		{
			return CreateRootIteratorForPort (kIOMasterPortDefault, plane, options);
		}
Exemplo n.º 5
0
 public IORegistryIterator <IOObject> CreateRootIterator(RegistryPlane plane, RegistryIteratorOptions options)
 {
     return(IORegistryEntry.CreateRootIteratorForPort(Handle, plane, options));
 }
Exemplo n.º 6
0
        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));
        }
Exemplo n.º 7
0
 public static IORegistryIterator <IOObject> CreateRootIterator(RegistryPlane plane, RegistryIteratorOptions options)
 {
     return(CreateRootIteratorForPort(kIOMasterPortDefault, plane, options));
 }