The NetApiBufferSize function returns the size, in bytes, of the allocated buffer using NetApiBufferAllocate.
NET_API_STATUS NetApiBufferSize(
| LPVOID buffer, | |
| DWORD ByteCount | |
| ); |
Parameters
buffer
Pointer to a function information buffer previously returned on a function call.
ByteCount
The size of the buffer.
See Also