网站首页  词典首页

请输入您要查询的函数:

 

术语 nddesharegetinfo
释义 NDdeShareGetInfo
语法:
C++
UINT NDdeShareGetInfo(
__in LPTSTR lpszServer,
__in LPTSTR lpszShareName,
__in UINT nLevel,
__out LPBYTE lpBuffer,
__in DWORD cBufSize,
__out LPDWORD lpnTotalAvailable,
__in LPWORD lpnItems
);
NDdeShareGetInfo功能
[网络DDE不再支持。 Nddeapi.dll是目前在Windows Vista上,但所有的函数调用返回NDDE_NOT_IMPLEMENTED。]
检索DDE的共享信息。一般的做法是进行编辑。
参数
lpszServer [in]
该服务器的方法DSDM所在的名字。
lpszShareName [in]
共享名是其信息的检索方法DSDM。此参数必须是NULL。
nLevel [in]
在信息化Level。此参数必须是2。
lpBuffer [out]
阿一个缓冲区,它接收NDDESHAREINFO结构和相关数据的指针指向其成员。此参数可以为NULL。如果lpBuffer为NULL,则方法DSDM计算所需的存储要求的共享信息,并返回字节数,在lpnTotalAvailable字段值随着NDDE_BUF_TOO_SMALL错误。
cBufSize [in]
该lpBuffer缓冲区的大小,以字节为单位。如果lpBuffer是NULL,那么cBufSize应为零。
lpnTotalAvailable [out]
一个变量,它接收所需的存储要求的信息共享的总字节数的指针。这个参数不能为NULL。
lpnItems [in]
对一个共享信息的检索部分项目选择面具指针。
返回值
如果函数成功,返回值是NDDE_NO_ERROR。
如果函数失败,返回值是一个错误代码,它能够成为一个翻译文本错误消息调用NDdeGetErrorString。如果lpBuffer参数为NULL,则返回NDDE_BUF_TOO_SMALL。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderNddeapi.h
LibraryNddeapi.lib
DLLNddeapi.dll
Unicode和ANSI namesNDdeShareGetInfoW(Unicode)和NDdeShareGetInfoA(ANSI)的
参见
网络动态数据交换概述
网络DDE函数
NDDESHAREINFO
NDdeShareSetInfo
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==NDdeShareGetInfo Function
[Network DDE is no longer supported. Nddeapi.dll is present on Windows Vista, but all function calls return NDDE_NOT_IMPLEMENTED.]
Retrieves DDE share information. This is usually done for editing.
Syntax
C++
UINT NDdeShareGetInfo(
__in LPTSTR lpszServer,
__in LPTSTR lpszShareName,
__in UINT nLevel,
__out LPBYTE lpBuffer,
__in DWORD cBufSize,
__out LPDWORD lpnTotalAvailable,
__in LPWORD lpnItems
);
Parameters
lpszServer [in]
The name of the server on which the DSDM resides.
lpszShareName [in]
The share name whose information is to be retrieved from the DSDM. This parameter must not be NULL.
nLevel [in]
The information level. This parameter must be 2.
lpBuffer [out]
A pointer to a buffer that receives the NDDESHAREINFO structure and associated data pointed to by its members. This parameter can be NULL. If lpBuffer is NULL, then the DSDM calculates the number of bytes required to store the requested share information and returns that value in the lpnTotalAvailable field along with the NDDE_BUF_TOO_SMALL error.
cBufSize [in]
The size of the lpBuffer buffer, in bytes. If lpBuffer is NULL, then cBufSize should be zero.
lpnTotalAvailable [out]
A pointer to a variable that receives the total number of bytes needed to store the requested share information. This parameter cannot be NULL.
lpnItems [in]
A pointer to an item selection mask for partial share information retrieval.
Return Value
If the function succeeds, the return value is NDDE_NO_ERROR.
If the function fails, the return value is an error code, which can be translated into a text error message by calling NDdeGetErrorString . If the lpBuffer parameter is NULL, it returns NDDE_BUF_TOO_SMALL.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderNddeapi.h
LibraryNddeapi.lib
DLLNddeapi.dll
Unicode and ANSI namesNDdeShareGetInfoW (Unicode) and NDdeShareGetInfoA (ANSI)
See Also
Network Dynamic Data Exchange Overview
Network DDE Functions
NDDESHAREINFO
NDdeShareSetInfo
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa365769(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:26:09