Smart Device Functions:
Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than netapi32, prefix the name with the module name and a period.
VB .NET Signature:
Declare Unicode Function NetApiBufferFree Lib "netapi32.dll" _
[2008-06-19, Christian Stoeckel]
Changed VB.NET Signature from "ByRef buffer" to "ByVal buffer". With ByRef you get a significant memory leak, with ByVal everything is fine.
[2004-06-11, Ray Ackley]
Added VB definition & sample.
[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:
referenced by NetWkstaGetInfo
Alternative Managed API:
Frees the memory allocated by network management functions.
6/21/2016 8:26:32 AM - -188.8.131.52
The SetLastError API
1/26/2016 3:27:33 AM - -184.108.40.206
Click to read this page
4/6/2008 7:23:14 AM - anonymous
Retrieves information about the remote computer
10/26/2020 11:04:20 PM - -220.127.116.11
Please edit this page!
Do you have...