Esempio n. 1
0
 public static extern DesktopHandle OpenDesktop(string desktop, DesktopOpenFlags flags, bool inherit, DesktopAccessRights desiredAccess);
Esempio n. 2
0
 public static DesktopHandle Open(string name, DesktopOpenFlags flags, bool inherit, DesktopAccessRights desiredAccess)
 {
     return NativeMethods.OpenDesktop(name, flags, inherit, desiredAccess);
 }
        public IDesktop Open(string name, DesktopOpenFlags flags, bool inherit, DesktopAccessRights desiredAccess)
        {
            var handle = DesktopHandle.Open(name, flags, inherit, desiredAccess);

            return(new Desktop(handle));
        }
Esempio n. 4
0
 public static DesktopHandle Open(string name, DesktopOpenFlags flags, bool inherit, DesktopAccessRights desiredAccess)
 {
     return(NativeMethods.OpenDesktop(name, flags, inherit, desiredAccess));
 }
Esempio n. 5
0
 public static extern DesktopHandle OpenDesktop(string desktop, DesktopOpenFlags flags, bool inherit, DesktopAccessRights desiredAccess);
Esempio n. 6
0
 public IDesktop Open(string name, DesktopOpenFlags flags, bool inherit, DesktopAccessRights desiredAccess)
 {
     var handle = DesktopHandle.Open(name, flags, inherit, desiredAccess);
     return new Desktop(handle);
 }