网站首页  词典首页

请输入您要查询的函数:

 

术语 nddeshareenum
释义 NDdeShareEnum
语法:
C++
UINT NDdeShareEnum(
__in LPTSTR lpszServer,
__in UINT nLevel,
__out LPBYTE lpBuffer,
__in DWORD cBufSize,
__out LPDWORD lpnEntriesRead,
__out LPDWORD lpcbTotalAvailable
);
NDdeShareEnum功能
[网络DDE不再支持。 Nddeapi.dll是目前在Windows Vista上,但所有的函数调用返回NDDE_NOT_IMPLEMENTED。]
检索清单可用DDE的股份。
参数
lpszServer [in]
该服务器的方法DSDM所在的名字。
nLevel [in]
保留。此参数必须为零。
lpBuffer [out]
阿一个缓冲区,它接收的DDE共享列表指针。在DDE的共享列表存储为序列分离的空字符串,以期在年底双零终止。此参数可以为NULL。如果lpBuffer为NULL,则方法DSDM返回缓冲区的大小必须持有的股票在lpcbTotalAvailable参数列表。
cBufSize [in]
该lpBuffer缓冲区的大小,以字节为单位。此参数必须为零,如果lpBuffer为NULL。
lpnEntriesRead [out]
一个变量,它接收的股份总数的指针被列举。这个参数不能为NULL。
lpcbTotalAvailable [out]
对变量的接收缓冲区中需要存储的DDE共享列表的总字节数的指针。这个参数不能为NULL。
返回值
如果函数成功,返回值是NDDE_NO_ERROR。
如果函数失败,返回值是一个错误代码,它能够成为一个翻译文本错误消息调用NDdeGetErrorString。如果lpBuffer参数为NULL,则返回NDDE_BUF_TOO_SMALL。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderNddeapi.h
LibraryNddeapi.lib
DLLNddeapi.dll
Unicode和ANSI namesNDdeShareEnumW(Unicode)和NDdeShareEnumA(ANSI)的
参见
网络动态数据交换概述
网络DDE函数
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==NDdeShareEnum Function
[Network DDE is no longer supported. Nddeapi.dll is present on Windows Vista, but all function calls return NDDE_NOT_IMPLEMENTED.]
Retrieves the list of available DDE shares.
Syntax
C++
UINT NDdeShareEnum(
__in LPTSTR lpszServer,
__in UINT nLevel,
__out LPBYTE lpBuffer,
__in DWORD cBufSize,
__out LPDWORD lpnEntriesRead,
__out LPDWORD lpcbTotalAvailable
);
Parameters
lpszServer [in]
The name of the server on which the DSDM resides.
nLevel [in]
Reserved. This parameter must be zero.
lpBuffer [out]
A pointer to a buffer that receives the list of DDE shares. The list of DDE shares is stored as a sequence of null-separated strings terminating with a double null at the end. This parameter can be NULL. If lpBuffer is NULL, the DSDM returns the size of buffer required to hold the list of shares in the lpcbTotalAvailable parameter.
cBufSize [in]
The size of the lpBuffer buffer, in bytes. This parameter must be zero if lpBuffer is NULL.
lpnEntriesRead [out]
A pointer to a variable that receives the total number of shares being enumerated. This parameter cannot be NULL.
lpcbTotalAvailable [out]
A pointer to a variable that receives the total number of bytes needed in the buffer to store the list of DDE shares. This parameter cannot be NULL.
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 namesNDdeShareEnumW (Unicode) and NDdeShareEnumA (ANSI)
See Also
Network Dynamic Data Exchange Overview
Network DDE Functions
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa365768(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:25:16