Specifications
Appendix A
A-10
PYTHON
Uninitialize()
Frees all Dynamic Data Exchange Management Library (DDEML) resources
associated with the specified application.
Returns nothing.
Also implicitly done when deleting the DDEclient object.
Disconnect(connection)
Terminates a conversation started by either the DdeConnect or
DdeConnectList function and invalidates the specified conversation
handle. Any incomplete transactions started before calling
DdeDisconnect
ar
e immediately abandoned.
Returns nothing.
Connect(service_name, topic_name)
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.
Returns a connection tuple to be used as argument to most other DDECLT
function calls.
WaitForAnyAdvisedItem()
Wait forever for the next data changed Advise event for any item.
However, if any data is still pending this function immediately returns. If
not, only ter
minates pr
ematurely when a WM_QUIT event is received.
Retur
ns 1 if a WM_QUIT event was r
eceived, else 0.
If a callback has been specified to Initialize(), this function is not
operational.
GetItemsList(service_name, topic_name)
Returns a list of items supported by the specified service and topic pair.
Sets up and ter
minates its own conversation for interrogation purposes.
The timeout is fixed at 5 seconds.