[DllImport("user32.dll", SetLastError=true)]
static extern bool GetUserObjectInformation(IntPtr hObj, int nIndex,
[Out] byte [] pvInfo, uint nLength, out uint lpnLengthNeeded);
<DllImport("user32.dll", SetLastError:=True)> _
Private Shared Function GetUserObjectInformation(ByVal hObj As IntPtr, ByVal nIndex As Int32, ByRef pvInfo As Byte(), <MarshalAs(UnmanagedType.I4)> ByVal nLength As Integer, <MarshalAs(UnmanagedType.I4)> ByRef lpnLengthNeeded As Integer) As Boolean
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!