OpenDesktop (user32)
Last changed: 66.249.65.229

.
Summary

VB.NET Signature:

<Runtime.InteropServices.DllImport("user32.dll")>
  Private Shared Function OpenDesktop(ByVal lpszDesktop As String, ByVal dwFlags As Integer, _
       ByVal fInderit As Boolean, ByVal dwDesiredAccess As Integer) As IntPtr
  End Function

C# Signature:

[DllImport("user32.dll")]
static extern IntPtr OpenDesktop(string lpszDesktop, uint dwFlags,
   bool fInherit, uint dwDesiredAccess);

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation
OpenDesktop on MSDN