术语 | netapibuffersize |
释义 | NetApiBufferSize 语法: C++ NET_API_STATUS NetApiBufferSize( __in LPVOID Buffer, __out LPDWORD ByteCount ); NetApiBufferSize功能 该NetApiBufferSize函数返回的大小,以字节为单位,由一对NetApiBufferAllocate函数调用分配一个缓冲区。 参数 缓冲区 [in] 指针由NetApiBufferAllocate函数返回一个缓冲区。 ByteCount [out] 接收缓冲区的大小,以字节。 返回值 如果函数成功,返回值是NERR_Success。 如果函数失败,返回值是一个系统错误代码。对于一个错误代码的列表,请参见系统错误代码。 备注 没有特殊组成员必须成功地执行ApiBuffer功能。 有关代码示例,演示如何使用网络管理ApiBuffer职能,见NetApiBufferAllocate。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 HeaderLmapibuf.h(包括Lm.h) LibraryNetapi32.lib DLLNetapi32.dll 参见 网络管理概述 网络管理功能 阿比缓冲功能 NetApiBufferAllocate NetApiBufferFree 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年8月13日 ==英文原文==NetApiBufferSize Function The NetApiBufferSize function returns the size, in bytes, of a buffer allocated by a call to the NetApiBufferAllocate function. Syntax C++ NET_API_STATUS NetApiBufferSize( __in LPVOID Buffer, __out LPDWORD 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. If the function fails, the return value is a system error code. For a list of error codes, see System Error Codes . Remarks No special group membership is required to successfully execute the ApiBuffer functions. For a code sample that demonstrates how to use the network management ApiBuffer functions , see NetApiBufferAllocate . Requirements Minimum supported clientWindows 2000 Professional Minimum supported serverWindows 2000 Server HeaderLmapibuf.h (include Lm.h) LibraryNetapi32.lib DLLNetapi32.dll See Also Network Management Overview Network Management Functions Api Buffer Functions NetApiBufferAllocate NetApiBufferFree Send comments about this topic to Microsoft Build date: 8/13/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/aa370307(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。