ddeml.h header
This header is used by Data Exchange. For more information, see:
ddeml.h contains the following programming interfaces:
Functions
DdeAbandonTransaction Abandons the specified asynchronous transaction and releases all resources associated with the transaction. |
DdeAccessData 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. |
DdeAddData Adds data to the specified Dynamic Data Exchange (DDE) object. |
DdeClientTransaction Begins a data transaction between a client and a server. Only a Dynamic Data Exchange (DDE) client application can call this function, and the application can use it only after establishing a conversation with the server. |
DdeCmpStringHandles Compares the values of two string handles. The value of a string handle is not related to the case of the associated string. |
DdeConnect Establishes a conversation with a server application that supports the specified service name and topic name pair. If more than one such server exists, the system selects only one. |
DdeConnectList Establishes a conversation with all server applications that support the specified service name and topic name pair. |
DdeCreateDataHandle Creates a Dynamic Data Exchange (DDE) object and fills the object with data from the specified buffer. A DDE application uses this function during transactions that involve passing data to the partner application. |
DdeCreateStringHandleA Creates a handle that identifies the specified string. A Dynamic Data Exchange (DDE) client or server application can pass the string handle as a parameter to other Dynamic Data Exchange Management Library (DDEML) functions. (ANSI) |
DdeCreateStringHandleW Creates a handle that identifies the specified string. A Dynamic Data Exchange (DDE) client or server application can pass the string handle as a parameter to other Dynamic Data Exchange Management Library (DDEML) functions. (Unicode) |
DdeDisconnect Terminates a conversation started by either the DdeConnect or DdeConnectList function and invalidates the specified conversation handle. |
DdeDisconnectList Destroys the specified conversation list and terminates all conversations associated with the list. |
DdeEnableCallback Enables or disables transactions for a specific conversation or for all conversations currently established by the calling application. |
DdeFreeDataHandle Frees a Dynamic Data Exchange (DDE) object and deletes the data handle associated with the object. |
DdeFreeStringHandle Frees a string handle in the calling application. |
DdeGetData Copies data from the specified Dynamic Data Exchange (DDE) object to the specified local buffer. |
DdeGetLastError Retrieves the most recent error code set by the failure of a Dynamic Data Exchange Management Library (DDEML) function and resets the error code to DMLERR_NO_ERROR. |
DdeImpersonateClient Impersonates a Dynamic Data Exchange (DDE) client application in a DDE client conversation. |
DdeInitializeA Registers an application with the Dynamic Data Exchange Management Library (DDEML). An application must call this function before calling any other Dynamic Data Exchange Management Library (DDEML) function. (ANSI) |
DdeInitializeW Registers an application with the Dynamic Data Exchange Management Library (DDEML). An application must call this function before calling any other Dynamic Data Exchange Management Library (DDEML) function. (Unicode) |
DdeKeepStringHandle Increments the usage count associated with the specified handle. |
DdeNameService Registers or unregisters the service names a Dynamic Data Exchange (DDE) server supports. |
DdePostAdvise Causes the system to send an XTYP_ADVREQ transaction to the calling (server) application's Dynamic Data Exchange (DDE) callback function for each client with an active advise loop on the specified topic and item. |
DdeQueryConvInfo Retrieves information about a Dynamic Data Exchange (DDE) transaction and about the conversation in which the transaction takes place. |
DdeQueryNextServer Retrieves the next conversation handle in the specified conversation list. |
DdeQueryStringA Copies text associated with a string handle into a buffer. (ANSI) |
DdeQueryStringW Copies text associated with a string handle into a buffer. (Unicode) |
DdeReconnect Enables a client Dynamic Data Exchange Management Library (DDEML) application to attempt to reestablish a conversation with a service that has terminated a conversation with the client. |
DdeSetUserHandle Associates an application-defined value with a conversation handle or a transaction identifier. This is useful for simplifying the processing of asynchronous transactions. An application can use the DdeQueryConvInfo function to retrieve this value. |
DdeUnaccessData Unaccesses a Dynamic Data Exchange (DDE) object. An application must call this function after it has finished accessing the object. |
DdeUninitialize Frees all Dynamic Data Exchange Management Library (DDEML) resources associated with the calling application. |
Callback functions
PFNCALLBACK An application-defined callback function used with the Dynamic Data Exchange Management Library (DDEML) functions. |
Structures
CONVCONTEXT Contains information supplied by a Dynamic Data Exchange (DDE) client application. The information is useful for specialized or cross-language DDE conversations. |
CONVINFO Contains information about a Dynamic Data Exchange (DDE) conversation. |
DDEML_MSG_HOOK_DATA Contains information about a Dynamic Data Exchange (DDE) message, and provides read access to the data referenced by the message. This structure is intended to be used by a Dynamic Data Exchange Management Library (DDEML) monitoring application. |
HSZPAIR Contains a DDE service name and topic name. A DDE server application can use this structure during an XTYP_WILDCONNECT transaction to enumerate the service-topic pairs that it supports. |
MONCBSTRUCT Contains information about the current Dynamic Data Exchange (DDE) transaction. A DDE debugging application can use this structure when monitoring transactions that the system passes to the DDE callback functions of other applications. |
MONCONVSTRUCT Contains information about a Dynamic Data Exchange (DDE) conversation. A DDE monitoring application can use this structure to obtain information about a conversation that has been established or has terminated. |
MONERRSTRUCT Contains information about the current Dynamic Data Exchange (DDE) error. A DDE monitoring application can use this structure to monitor errors returned by DDE Management Library functions. |
MONHSZSTRUCTA Contains information about a Dynamic Data Exchange (DDE) string handle. A DDE monitoring application can use this structure when monitoring the activity of the string manager component of the DDE Management Library. (ANSI) |
MONHSZSTRUCTW Contains information about a Dynamic Data Exchange (DDE) string handle. A DDE monitoring application can use this structure when monitoring the activity of the string manager component of the DDE Management Library. (Unicode) |
MONLINKSTRUCT Contains information about a Dynamic Data Exchange (DDE) advise loop. A DDE monitoring application can use this structure to obtain information about an advise loop that has started or ended. |
MONMSGSTRUCT Contains information about a Dynamic Data Exchange (DDE) message. A DDE monitoring application can use this structure to obtain information about a DDE message that was sent or posted. |