Package com.sun.jna.platform.win32
Class DdemlUtil.DdeConnectionList
- java.lang.Object
- 
- com.sun.jna.platform.win32.DdemlUtil.DdeConnectionList
 
- 
- All Implemented Interfaces:
- DdemlUtil.IDdeConnectionList,- java.io.Closeable,- java.lang.AutoCloseable
 - Enclosing class:
- DdemlUtil
 
 public static class DdemlUtil.DdeConnectionList extends java.lang.Object implements DdemlUtil.IDdeConnectionList 
- 
- 
Constructor SummaryConstructors Constructor Description DdeConnectionList(DdemlUtil.IDdeClient client, Ddeml.HCONVLIST convList)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Destroys the specified conversation list and terminates all conversations associated with the list.Ddeml.HCONVLISTgetHandle()DdemlUtil.IDdeConnectionqueryNextServer(DdemlUtil.IDdeConnection prevConnection)Retrieves the next conversation handle in the specified conversation list.
 
- 
- 
- 
Constructor Detail- 
DdeConnectionListpublic DdeConnectionList(DdemlUtil.IDdeClient client, Ddeml.HCONVLIST convList) 
 
- 
 - 
Method Detail- 
getHandlepublic Ddeml.HCONVLIST getHandle() - Specified by:
- getHandlein interface- DdemlUtil.IDdeConnectionList
 
 - 
queryNextServerpublic DdemlUtil.IDdeConnection queryNextServer(DdemlUtil.IDdeConnection prevConnection) Description copied from interface:DdemlUtil.IDdeConnectionListRetrieves the next conversation handle in the specified conversation list.- Specified by:
- queryNextServerin interface- DdemlUtil.IDdeConnectionList
- Parameters:
- prevConnection- A handle to the conversation handle previously returned by this function. If this parameter is NULL, the function returns the first conversation handle in the list.
- Returns:
- If the list contains any more conversation handles, the return value is the next conversation IDdeConnection in the list; otherwise it is NULL.
 
 - 
closepublic void close() Description copied from interface:DdemlUtil.IDdeConnectionListDestroys the specified conversation list and terminates all conversations associated with the list.If the function fails a DdeException is raised with the appropriate errorCode: - DMLERR_DLL_NOT_INITIALIZED
- DMLERR_INVALIDPARAMETER
- DMLERR_NO_ERROR
 Note: This wraps DdeDisconnectList to align with Closeable wording. - Specified by:
- closein interface- java.lang.AutoCloseable
- Specified by:
- closein interface- java.io.Closeable
- Specified by:
- closein interface- DdemlUtil.IDdeConnectionList
 
 
- 
 
-