public static extern IntPtr OpenWindowStation( [MarshalAs(UnmanagedType.LPTStr)] string winStationName, [MarshalAs(UnmanagedType.Bool)] bool inherit, WinStationAccess access );
private static extern IntPtr OpenDesktop( [MarshalAs(UnmanagedType.LPTStr)] string DesktopName, uint Flags, bool Inherit, WinStationAccess Access );
public static extern IntPtr OpenDesktop( [MarshalAs(UnmanagedType.LPTStr)] string desktopName, uint flags, bool inherit, WinStationAccess access );
private static extern IntPtr OpenWindowStation( [MarshalAs(UnmanagedType.LPTStr)] string WinStationName, [MarshalAs(UnmanagedType.Bool)] bool Inherit, WinStationAccess Access );