 |
NetApiBufferSize ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The NetApiBufferSize function returns the size, in bytes, of a buffer allocated by a call to the NetApiBufferAllocate function. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
NET_API_STATUS NetApiBufferSize(
LPVOID Buffer,
LPDWORD ByteCount
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER NetApiBufferSize IN netapi32;
INTEGER Buffer,;
INTEGER @ ByteCount
|
 |
 |
 |
| Parameters: |
 |
Buffer
[in] Pointer to a buffer returned by the NetApiBufferAllocate function.
ByteCount
[out] Receives the size of the buffer, in bytes. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is NERR_Success (0). |
 |
 |
| My comment: |
 |
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. |
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2003-06-24 10:20:42 | | Modified: | 2003-06-24 10:32:09 | Visited in last 7 days: 33 |