 |
NetApiBufferFree ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Frees the memory that the NetApiBufferAllocate function allocates. Call NetApiBufferFree to free the memory that other network management functions return on Windows NT, Windows 2000, and Windows XP. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
NET_API_STATUS NetApiBufferFree(
LPVOID Buffer
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER NetApiBufferFree IN netapi32;
INTEGER Buffer
|
 |
 |
 |
| Parameters: |
 |
Buffer
[in] Pointer to a buffer returned previously by another network management function. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is NERR_Success (0). If the function fails, the return value is a system error code. |
 |
 |
| My comment: |
 |
Windows NT/2000/XP: Included in Windows NT 3.1 and later.
Windows 95/98/Me: Unsupported.
Various NetApi functions
NetServerEnum
NetConnectionEnum
NetUserEnum
NetWkstaUserEnum
NetShareEnum
NetGetDCName
NetGroupEnum
NetLocalGroupEnum
and more...
implicitly allocate a memory buffer and require it to be freed after the call is complete. |
 |
 |
| Word Index links for the NetApiBufferFree : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-10-15 20:22:34 | | Modified: | 2003-06-24 10:31:17 | Visited in last 7 days: 107 |