网站首页  词典首页

请输入您要查询的函数:

 

术语 ddekeepstringhandle
释义 DdeKeepStringHandle
语法:
BOOL DdeKeepStringHandle( DWORD idInst,
HSZ hsz
);
DdeKeepStringHandle功能
该DdeKeepStringHandle函数的使用计数与指定的处理相关的增量。此功能使应用程序保存字符串句柄传递给应用程序的动态数据交换(DDE)回调函数。否则,一字符串句柄传递给回调函数被删除时,回调函数返回。此函数也可以用来保存字符串处理由CONVINFO结构引用一份则由DdeQueryConvInfo函数返回。
参数
idInst
[in]指定的应用程序实例标识符先前调用DdeInitialize函数获得。
hsz
[在,出]句柄字符串句柄被保存。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
功能信息
最低DLL版本 user32.dll
在Ddeml.h HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
参见
动态数据交换管理库概况,CONVINFO,DdeCreateStringHandle,DdeFreeStringHandle,DdeInitialize,DdeQueryConvInfo,DdeQueryString
==英文原文==DdeKeepStringHandle Function
The DdeKeepStringHandle function increments the usage count associated with the specified handle. This function enables an application to save a string handle passed to the application's Dynamic Data Exchange (DDE) callback function. Otherwise, a string handle passed to the callback function is deleted when the callback function returns. This function should also be used to keep a copy of a string handle referenced by the CONVINFO structure returned by the DdeQueryConvInfo function.
Syntax
BOOL DdeKeepStringHandle( DWORD idInst,
HSZ hsz
);
Parameters
idInst
[in] Specifies the application instance identifier obtained by a previous call to the DdeInitialize function.
hsz
[in, out] Handle to the string handle to be saved.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
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 , CONVINFO , DdeCreateStringHandle , DdeFreeStringHandle , DdeInitialize , DdeQueryConvInfo , DdeQueryString
==原始网址==http://msdn.microsoft.com/en-us/library/ms648758(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:29:17