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