网站首页  词典首页

请输入您要查询的函数:

 

术语 ddedisconnect
释义 DdeDisconnect
语法:
BOOL DdeDisconnect( HCONV hConv
);
DdeDisconnect功能
该DdeDisconnect函数终止对话一方的DdeConnect或DdeConnectList功能开始,在指定的谈话无效处理。
参数
hConv
[在,出]句柄积极对话必须终止。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
该DdeGetLastError函数可用于获得错误代码,它可以是下列值之一:
DMLERR_DLL_NOT_INITIALIZED
DMLERR_NO_CONV_ESTABLISHED
DMLERR_NO_ERROR
备注
任何不完整的交易开始之前调用DdeDisconnect立即放弃。该XTYP_DISCONNECT交易被发送到动态数据交换(DDE)的对话伙伴,在回调函数。一般来说,只有客户端应用程序必须终止交谈。
功能信息
最低DLL版本 user32.dll
在Ddeml.h HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
参见
动态数据交换管理库概况,DdeConnect,DdeConnectList,DdeDisconnectList,XTYP_DISCONNECT
==英文原文==DdeDisconnect Function
The DdeDisconnect function terminates a conversation started by either the DdeConnect or DdeConnectList function and invalidates the specified conversation handle.
Syntax
BOOL DdeDisconnect( HCONV hConv
);
Parameters
hConv
[in, out] Handle to the active conversation to be terminated.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
The DdeGetLastError function can be used to get the error code, which can be one of the following values:
DMLERR_DLL_NOT_INITIALIZED
DMLERR_NO_CONV_ESTABLISHED
DMLERR_NO_ERROR
Remarks
Any incomplete transactions started before calling DdeDisconnect are immediately abandoned. The XTYP_DISCONNECT transaction is sent to the Dynamic Data Exchange (DDE) callback function of the partner in the conversation. Generally, only client applications must terminate conversations.
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Ddeml.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 3.1
See Also
Dynamic Data Exchange Management Library Overview , DdeConnect , DdeConnectList , DdeDisconnectList , XTYP_DISCONNECT
==原始网址==http://msdn.microsoft.com/en-us/library/ms648749(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:18