网站首页  词典首页

请输入您要查询的函数:

 

术语 nddetrustedshareenum
释义 NDdeTrustedShareEnum
语法:
C++
UINT NDdeTrustedShareEnum(
__in LPTSTR lpszServer,
__in UINT nLevel,
__out LPBYTE lpBuffer,
__in DWORD cBufSize,
__out LPDWORD lpnEntriesRead,
__out LPDWORD lpcbTotalAvailable
);
NDdeTrustedShareEnum功能
[网络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 namesNDdeTrustedShareEnumW(Unicode)和NDdeTrustedShareEnumA(ANSI)的
参见
网络动态数据交换概述
网络DDE函数
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==NDdeTrustedShareEnum Function
[Network DDE is no longer supported. Nddeapi.dll is present on Windows Vista, but all function calls return NDDE_NOT_IMPLEMENTED.]
Retrieves the names of all network DDE shares that are trusted in the context of the calling process.
Syntax
C++
UINT NDdeTrustedShareEnum(
__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 trusted DDE shares. The list of trusted DDE shares is returned as a sequence of null-separated strings terminating with a double null at the end. This parameter can be NULL. If the lpBuffer is NULL, the DSDM returns the size of buffer required to hold the list of shares in the lpcbTotalAvailable field.
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 trusted shares being enumerated. This parameter cannot be NULL.
lpcbTotalAvailable [out]
A pointer to a variable that receives the total number of bytes needed to store the list of trusted 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 namesNDdeTrustedShareEnumW (Unicode) and NDdeTrustedShareEnumA (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/aa365772(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:31:49