@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The GetThreadDesktop API !!!!C# Signature: [DllImport("user32.dll", SetLastError=true)] static extern IntPtr GetThreadDesktop(uint dwThreadId); !!!!VB.NET Signature: <DllImport("user32.dll", SetLastError:=True)> _ Public Shared Function GetThreadDesktop(<MarshalAs(UnmanagedType.I4)> ByVal dwThreadId As Integer) As IntPtr End Function !!!!User-Defined Types: None. !!!!Notes: VB.NET version requires this line at the top of the code module for the 'MarshalAs' attribute: Imports System.Runtime.InteropServices !!!!Tips & Tricks: Please add some! !!!!Sample Code: Please add some! !!!!Alternative Managed API: Do you know one? Please contribute it! Documentation: GetThreadDesktop@msdn on MSDN
Edit user32.GetThreadD...
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.