[DllImport("Netapi32.dll", SetLastError=true)]
static extern int NetApiBufferFree(IntPtr Buffer);
Declare Function NetApiBufferFree Lib "netapi32.dll" (Buffer as IntPtr) As Integer
None.
[2004-05-20, Nicholas Paldino]
There is no indication that the NetApiBufferFree function sets the last error code, so SetLastError attribute should not be set (this removes extra calls in the interop layer to store the last error code). Also, the CharSet property on the attribute need not be applied either, as there is only one version of this function.
Please add some!
Please add some!
TODO