网站首页  词典首页

请输入您要查询的函数:

 

术语 nddesettrustedshare
释义 NDdeSetTrustedShare
语法:
C++
UINT NDdeSetTrustedShare(
__in LPTSTR lpszServer,
__in LPTSTR lpszShareName,
__in DWORD dwTrustOptions
);
NDdeSetTrustedShare功能
[网络DDE不再支持。 Nddeapi.dll是目前在Windows Vista上,但所有的函数调用返回NDDE_NOT_IMPLEMENTED。]
资助指定DDE共享信任在当前用户的上下文中的地位。
参数
lpszServer [in]
服务器的方法DSDM的要修改的名称。
lpszShareName [in]
在共享的名称被授予信任的地位。这个参数不能为NULL。
dwTrustOptions [in]
选项影响DDE共享信任的地位。此参数可以是下列值之一。
OptionMeaning
NDDE_CMD_SHOW_MASK
0x0000FFFFLMask用于获取用于覆盖DDE共享显示状态值,如果NDDE_TRUST_CMD_SHOW设置。
NDDE_TRUST_CMD_SHOW
0x10000000LOverride的显示,国有股在指定的DDE方法DSDM。
NDDE_TRUST_SHARE_DEL
0x20000000LRemove共享的信任状态。
NDDE_TRUST_SHARE_INIT
0x40000000LAllow客户端启动应用程序如果它已经在用户的上下文中运行。
NDDE_TRUST_SHARE_START
0x80000000LAllow申请将开始在用户的上下文。
返回值
如果函数成功,返回值是NDDE_NO_ERROR。
如果函数失败,返回值是一个错误代码,它能够成为一个翻译文本错误消息调用NDdeGetErrorString。
备注
DDE共享必须首先创建NDdeShareAdd。
如果NDdeSetTrustedShare与设置为零dwTrustOptions要求,值得信赖的份额失去信任的地位。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderNddeapi.h
LibraryNddeapi.lib
DLLNddeapi.dll
Unicode和ANSI namesNDdeSetTrustedShareW(Unicode)和NDdeSetTrustedShareA(ANSI)的
参见
网络动态数据交换概述
网络DDE函数
NDdeShareAdd
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==NDdeSetTrustedShare Function
[Network DDE is no longer supported. Nddeapi.dll is present on Windows Vista, but all function calls return NDDE_NOT_IMPLEMENTED.]
Grants the specified DDE share trusted status within the current user's context.
Syntax
C++
UINT NDdeSetTrustedShare(
__in LPTSTR lpszServer,
__in LPTSTR lpszShareName,
__in DWORD dwTrustOptions
);
Parameters
lpszServer [in]
The name of the server whose DSDM is to be modified.
lpszShareName [in]
The name of the share to be granted trusted status. This parameter cannot be NULL.
dwTrustOptions [in]
The options affecting the trusted status of the DDE share. This parameter can be one of the following values.
OptionMeaning
NDDE_CMD_SHOW_MASK
0x0000FFFFLMask used to obtain the value used to override the DDE share show state, if NDDE_TRUST_CMD_SHOW is set.
NDDE_TRUST_CMD_SHOW
0x10000000LOverride the show state specified in the DDE share DSDM.
NDDE_TRUST_SHARE_DEL
0x20000000LRemove the share's trusted status.
NDDE_TRUST_SHARE_INIT
0x40000000LAllow a client to initiate to the application if it is already running in the user's context.
NDDE_TRUST_SHARE_START
0x80000000LAllow the application to be started in the user's context.

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 .
Remarks
The DDE share must first be created with NDdeShareAdd .
If NDdeSetTrustedShare is called with dwTrustOptions set to zero, the trusted share loses its trusted status.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderNddeapi.h
LibraryNddeapi.lib
DLLNddeapi.dll
Unicode and ANSI namesNDdeSetTrustedShareW (Unicode) and NDdeSetTrustedShareA (ANSI)
See Also
Network Dynamic Data Exchange Overview
Network DDE Functions
NDdeShareAdd
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa365765(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:27:20