@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/default.aspx/$$$ Summary: The OpenWindowStation API !!!!C# Signature: [ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)] [DllImport("user32", CharSet = CharSet.Unicode, SetLastError = true)] public static extern SafeWindowStationHandle OpenWindowStation( [MarshalAs(UnmanagedType.LPTStr)] string lpszWinSta, [MarshalAs(UnmanagedType.Bool)] bool fInherit, AccessMask dwDesiredAccess ); !!!!User-Defined Types: public sealed class SafeWindowStationHandle : SafeHandleZeroOrMinusOneIsInvalid { public SafeWindowStationHandle() : base(true) { } protected override bool ReleaseHandle() { return SafeNativeMethods.CloseWindowStation(handle); } } !!!!Notes: See Enums.ACCESS_MASK@pinvoke and CloseWindowStation@pinvoke. !!!!Tips & Tricks: Please add some! !!!!Sample Code: Please add some! !!!!Alternative Managed API: Do you know one? Please contribute it! Documentation: OpenWindowStation@msdn on MSDN
Edit user32.OpenWindow...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.