网站首页  词典首页

请输入您要查询的函数:

 

术语 netapibufferreallocate
释义 NetApiBufferReallocate
语法:
C++
NET_API_STATUS NetApiBufferReallocate(
__in LPVOID OldBuffer,
__in DWORD NewByteCount,
__out LPVOID *NewBuffer
);
NetApiBufferReallocate功能
该NetApiBufferReallocate功能改变了因先前调用NetApiBufferAllocate函数分配一个缓冲区大小。
参数
OldBuffer [in]
通过指针向NetApiBufferAllocate函数调用返回的缓冲区。
NewByteCount [in]
指定新的缓冲区字节大小。
NewBuffer [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日
==英文原文==NetApiBufferReallocate Function
The NetApiBufferReallocate function changes the size of a buffer allocated by a previous call to the NetApiBufferAllocate function.
Syntax
C++
NET_API_STATUS NetApiBufferReallocate(
__in LPVOID OldBuffer,
__in DWORD NewByteCount,
__out LPVOID *NewBuffer
);
Parameters
OldBuffer [in]
Pointer to the buffer returned by a call to the NetApiBufferAllocate function.
NewByteCount [in]
Specifies the new size of the buffer, in bytes.
NewBuffer [out]
Receives the pointer to the reallocated buffer.
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/aa370306(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:29:19