[DllImport("Netapi32.dll")]
static extern int NetApiBufferFree(IntPtr Buffer);
VB .NET Signature:
Declare Function NetApiBufferFree Lib "netapi32.dll" (Buffer as IntPtr) As Integer
User-Defined Types:
None.
Notes:
[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.
Tips & Tricks:
Please add some!
Sample Code:
Please add some!
Alternative Managed API:
TODO
Frees the memory allocated by network management functions.
6/21/2016 8:26:32 AM - -63.226.251.37
TODO - a short description
3/16/2007 8:04:39 AM - anonymous
Frees the memory allocated by network management functions.
6/21/2016 8:26:32 AM - -63.226.251.37
Frees the memory allocated by network management functions.