网站首页  词典首页

请输入您要查询的函数:

 

术语 ddeaccessdata
释义 DdeAccessData
语法:
LPBYTE DdeAccessData( HDDEDATA hData,
LPDWORD pcbDataSize
);
DdeAccessData功能
该DdeAccessData功能提供了访问,在指定的动态数据交换的数据(DDE的)对象。应用程序必须调用DdeUnaccessData函数完成时,在访问对象中的数据。
参数
hData
[in]句柄DDE的对象来访问。
pcbDataSize
[out]指向一个变量,它接收的字节大小的DDE的,对象是hData参数确定的。如果该参数是NULL,没有大小信息返回。
返回值
如果函数成功,返回值是对在DDE的对象数据的第一个字节的指针。
如果函数失败,返回值为NULL。
该DdeGetLastError函数可用于获得错误代码,它可以是下列值之一:
DMLERR_DLL_NOT_INITIALIZED
DMLERR_INVALIDPARAMETER
DMLERR_NO_ERROR
备注
如果hData参数没有传递到动态数据交换管理库(DDEML的)功能,应用程序可以使用DdeAccessData返回的指针读写访问DDE的对象。如果hData已经被传递给一个DDEML函数,指针应只用于读访问内存对象。
功能信息
最低DLL版本 user32.dll
在Ddeml.h HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
参见
动态数据交换管理库概况,DdeAddData,DdeCreateDataHandle,DdeFreeDataHandle,DdeUnaccessData
==英文原文==DdeAccessData Function
The DdeAccessData function provides access to the data in the specified Dynamic Data Exchange (DDE) object. An application must call the DdeUnaccessData function when it has finished accessing the data in the object.
Syntax
LPBYTE DdeAccessData( HDDEDATA hData,
LPDWORD pcbDataSize
);
Parameters
hData
[in] Handle to the DDE object to access.
pcbDataSize
[out] Pointer to a variable that receives the size, in bytes, of the DDE object identified by the hData parameter. If this parameter is NULL, no size information is returned.
Return Value
If the function succeeds, the return value is a pointer to the first byte of data in the DDE object.
If the function fails, the return value is NULL.
The DdeGetLastError function can be used to get the error code, which can be one of the following values:
DMLERR_DLL_NOT_INITIALIZED
DMLERR_INVALIDPARAMETER
DMLERR_NO_ERROR
Remarks
If the hData parameter has not been passed to a Dynamic Data Exchange Management Library (DDEML) function, an application can use the pointer returned by DdeAccessData for read-write access to the DDE object. If hData has already been passed to a DDEML function, the pointer should be used only for read access to the memory object.
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 , DdeAddData , DdeCreateDataHandle , DdeFreeDataHandle , DdeUnaccessData
==原始网址==http://msdn.microsoft.com/en-us/library/ms648740(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:28:20