public bool IsInPlane(RegistryPlane plane) { ThrowIfDisposed(); var planeString = plane.GetKey(); return(IORegistryEntryInPlane(Handle, planeString)); }
public IORegistryEntry GetParentEntry(RegistryPlane plane) { ThrowIfDisposed(); var planeString = plane.GetKey(); IntPtr parentRef; var result = IORegistryEntryGetParentEntry(Handle, planeString, out parentRef); ThrowIfError(result); return(new IORegistryEntry(parentRef, true)); }
public string GetPathInPlane(RegistryPlane plane) { ThrowIfDisposed(); var planeString = plane.GetKey(); var path = new StringBuilder(512); var result = IORegistryEntryGetPath(Handle, planeString, path); ThrowIfError(result); return(path.ToString()); }
public IORegistryIterator <IOObject> GetParentIterator(RegistryPlane plane) { ThrowIfDisposed(); var planeString = plane.GetKey(); IntPtr iteratorRef; var result = IORegistryEntryGetParentIterator(Handle, planeString, out iteratorRef); ThrowIfError(result); return(new IORegistryIterator <IOObject> (iteratorRef, true)); }
public string GetLocationInPlane(RegistryPlane plane) { ThrowIfDisposed(); var planeString = plane.GetKey(); var location = new StringBuilder(128); var result = IORegistryEntryGetLocationInPlane(Handle, planeString, location); ThrowIfError(result); return(location.ToString()); }
public string GetNameInPlane(RegistryPlane plane) { ThrowIfDisposed(); var planeString = plane.GetKey(); var name = new StringBuilder(128); var result = IORegistryEntryGetNameInPlane(Handle, planeString, name); ThrowIfError(result); return(name.ToString()); }
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 string GetLocationInPlane (RegistryPlane plane) { ThrowIfDisposed (); var planeString = plane.GetKey (); var location = new StringBuilder (128); var result = IORegistryEntryGetLocationInPlane (Handle, planeString, location); ThrowIfError (result); return location.ToString (); }
public string GetNameInPlane (RegistryPlane plane) { ThrowIfDisposed (); var planeString = plane.GetKey (); var name = new StringBuilder (128); var result = IORegistryEntryGetNameInPlane (Handle, planeString, name); ThrowIfError (result); return name.ToString (); }
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); }
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 IORegistryEntry GetParentEntry (RegistryPlane plane) { ThrowIfDisposed (); var planeString = plane.GetKey (); IntPtr parentRef; var result = IORegistryEntryGetParentEntry (Handle, planeString, out parentRef); ThrowIfError (result); return new IORegistryEntry (parentRef, true); }
public string GetPathInPlane (RegistryPlane plane) { ThrowIfDisposed (); var planeString = plane.GetKey (); var path = new StringBuilder (512); var result = IORegistryEntryGetPath (Handle, planeString, path); ThrowIfError (result); return path.ToString (); }
public IORegistryIterator <IOObject> CreateRootIterator(RegistryPlane plane, RegistryIteratorOptions options) { return(IORegistryEntry.CreateRootIteratorForPort(Handle, plane, options)); }
public IORegistryIterator<IOObject> GetParentIterator (RegistryPlane plane) { ThrowIfDisposed (); var planeString = plane.GetKey (); IntPtr iteratorRef; var result = IORegistryEntryGetParentIterator (Handle, planeString, out iteratorRef); ThrowIfError (result); return new IORegistryIterator<IOObject> (iteratorRef, true); }
public static string GetKey(this RegistryPlane value) { return(GetKeyForEnum(value)); }
public bool IsInPlane (RegistryPlane plane) { ThrowIfDisposed (); var planeString = plane.GetKey (); return IORegistryEntryInPlane (Handle, planeString); }
public static IORegistryIterator <IOObject> CreateRootIterator(RegistryPlane plane, RegistryIteratorOptions options) { return(CreateRootIteratorForPort(kIOMasterPortDefault, plane, options)); }