网站首页  词典首页

请输入您要查询的函数:

 

术语 ddegetdata
释义 DdeGetData
语法:
DWORD DdeGetData( HDDEDATA hData,
LPBYTE pDst,
DWORD cbMax,
DWORD cbOff
);
DdeGetData功能
复制的DdeGetData函数从指定的动态数据交换(DDE)数据对象,到指定的本地缓冲区。
参数
hData
[in]句柄DDE的对象,它包含的数据的副本。
pDst
[out]指向的缓冲区,接收数据。如果该参数为NULL,DdeGetData函数返回的数据量以字节为单位,将被复制到缓冲区。
cbMax
[in]指定的最大数据量,以字节为单位,复制到缓冲区指向的pDst参数。通常,此参数指定的缓冲区长度指向pDst。
cbOff
[in]指定范围内的偏移DDE的对象。数据复制的对象从一开始在这所抵消。
返回值
如果pDst参数指向一个缓冲区,返回值的大小,以字节的内存,对象关联的数据处理或在cbMax参数,以较低者为准指定的大小。
如果pDst参数为NULL,则返回值的大小,以字节的内存,对象与数据处理相关的。
该DdeGetLastError函数可用于获得错误代码,它可以是下列值之一:
DMLERR_DLL_NOT_INITIALIZED
DMLERR_INVALIDPARAMETER
DMLERR_NO_ERROR
功能信息
最低DLL版本 user32.dll
在Ddeml.h HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
参见
动态数据交换管理库概况,DdeAccessData,DdeCreateDataHandle,DdeFreeDataHandle
==英文原文==DdeGetData Function
The DdeGetData function copies data from the specified Dynamic Data Exchange (DDE) object to the specified local buffer.
Syntax
DWORD DdeGetData( HDDEDATA hData,
LPBYTE pDst,
DWORD cbMax,
DWORD cbOff
);
Parameters
hData
[in] Handle to the DDE object that contains the data to copy.
pDst
[out] Pointer to the buffer that receives the data. If this parameter is NULL, the DdeGetData function returns the amount of data, in bytes, that would be copied to the buffer.
cbMax
[in] Specifies the maximum amount of data, in bytes, to copy to the buffer pointed to by the pDst parameter. Typically, this parameter specifies the length of the buffer pointed to by pDst.
cbOff
[in] Specifies an offset within the DDE object. Data is copied from the object beginning at this offset.
Return Value
If the pDst parameter points to a buffer, the return value is the size, in bytes, of the memory object associated with the data handle or the size specified in the cbMax parameter, whichever is lower.
If the pDst parameter is NULL, the return value is the size, in bytes, of the memory object associated with the data handle.
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
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 , DdeAccessData , DdeCreateDataHandle , DdeFreeDataHandle
==原始网址==http://msdn.microsoft.com/en-us/library/ms648754(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:23:00