[DllImport("user32.dll", SetLastError=true)]
static extern IntPtr GetThreadDesktop(uint dwThreadId);
<DllImport("user32.dll", SetLastError:=True)> _
Public Shared Function GetThreadDesktop(<MarshalAs(UnmanagedType.I4)> ByVal dwThreadId As Integer) As IntPtr
End Function
None.
VB.NET version requires this line at the top of the code module for the 'MarshalAs' attribute:
Imports System.Runtime.InteropServices
Please add some!
Please add some!
Do you know one? Please contribute it!