#include "precomp.h"#include "nddeagnt.h"Go to the source code of this file.
| Classes | |
| struct | tagINIT_ENUM | 
| Defines | |
| #define | ValidateConvList(h) | 
| #define | ValidateAllConvLists() | 
| #define | ORPATH(x) | 
| Typedefs | |
| typedef tagINIT_ENUM | INIT_ENUM | 
| typedef tagINIT_ENUM * | PINIT_ENUM | 
| Functions | |
| BOOL | InitiateEnumerationProc (HWND hwndTarget, PINIT_ENUM pie) | 
| VOID | DisconnectConv (PCONV_INFO pcoi) | 
| HCONV | DdeConnect (DWORD idInst, HSZ hszService, HSZ hszTopic, PCONVCONTEXT pCC) | 
| HCONVLIST | DdeConnectList (DWORD idInst, HSZ hszService, HSZ hszTopic, HCONVLIST hConvList, PCONVCONTEXT pCC) | 
| HCONV | DdeReconnect (HCONV hConv) | 
| BOOL | ValidateConnectParameters (HANDLE hInst, PCL_INSTANCE_INFO *ppcii, HSZ *phszService, HSZ hszTopic, LATOM *plaNormalSvcName, PCONVCONTEXT *ppCC, HWND *phwndTarget, HCONVLIST hConvList) | 
| PCL_CONV_INFO | ConnectConv (PCL_INSTANCE_INFO pcii, LATOM laService, LATOM laTopic, HWND hwndTarget, HWND hwndSkip, PCONVCONTEXT pCC, HCONVLIST hConvList, DWORD clst) | 
| VOID | SetCommonStateFlags (HWND hwndUs, HWND hwndThem, PWORD pwFlags) | 
| HCONV | DdeQueryNextServer (HCONVLIST hConvList, HCONV hConvPrev) | 
| BOOL | DdeDisconnect (HCONV hConv) | 
| BOOL | DdeDisconnectList (HCONVLIST hConvList) | 
| VOID | ShutdownConversation (PCONV_INFO pcoi, BOOL fMakeCallback) | 
| VOID | UnlinkConvFromOthers (PCONV_INFO pcoi, BOOL gGoingZombie) | 
| VOID | FreeConversationResources (PCONV_INFO pcoi) | 
| BOOL | WaitForZombieTerminate (HANDLE hData) | 
| Variables | |
| CONVCONTEXT | TempConvContext | 
| CONVCONTEXT | DefConvContext | 
| 
 | 
| 
 Referenced by UnlinkConvFromOthers(). | 
| 
 | 
| 
 Definition at line 103 of file connect.c. Referenced by UnlinkConvFromOthers(). | 
| 
 | 
| 
 Definition at line 102 of file connect.c. Referenced by DdeConnectList(), DdeDisconnectList(), and UnlinkConvFromOthers(). | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | ||||||||||||||||||||||||||||||||||||
| 
 Definition at line 607 of file connect.c. References tagSERVERINFO::atomSysClass, CheckDDECritIn, CheckDDECritOut, tagCL_CONV_INFO::ci, tagINIT_ENUM::clst, CLST_CONNECTED, DWORD, EnterDDECrit, EnumWindows(), Error, tagCL_INSTANCE_INFO::flags, GATOM, GetWindowLongPtr(), gpsi, GWL_CONVSTATE, GWLP_CHINST, GWLP_PCI, GWLP_SHINST, tagINIT_ENUM::hConvList, tagCL_INSTANCE_INFO::hInstClient, tagCL_INSTANCE_INFO::hInstServer, tagINIT_ENUM::hwndClient, tagCL_INSTANCE_INFO::hwndMother, tagCL_CONV_INFO::hwndReconnect, tagINIT_ENUM::hwndSkip, ICLS_DDEMLCLIENTA, ICLS_DDEMLCLIENTW, IIF_UNICODE, IncLocalAtomCount(), InitiateEnumerationProc(), L, tagINIT_ENUM::laServiceRequested, tagCONV_INFO::laServiceRequested, tagINIT_ENUM::laTopic, LeaveDDECrit, LocalToGlobalAtom(), tagINIT_ENUM::lParam, LPVOID, MONCONV, tagCL_INSTANCE_INFO::MonitorFlags, tagCONV_INFO::next, NtUserDdeSetQualityOfService(), NtUserDestroyWindow(), NULL, SendMessage(), SetConvContext(), SetLastDDEMLError(), SetWindowLongPtr(), and TRUE. Referenced by DdeConnect(), DdeConnectList(), and DdeReconnect(). 
 
 | 
| 
 | ||||||||||||||||||||
| 
 Definition at line 146 of file connect.c. References tagCL_INSTANCE_INFO::afCmd, tagCL_CONV_INFO::ci, CLST_SINGLE_INITIALIZING, ConnectConv(), EnterDDECrit, tagCONV_INFO::hConv, tagCL_INSTANCE_INFO::hwndMother, LATOM, LATOM_FROM_HSZ, LeaveDDECrit, NULL, SetLastDDEMLError(), and ValidateConnectParameters(). 
 
 | 
| 
 | ||||||||||||||||||||||||
| 
 Definition at line 195 of file connect.c. References tagCL_INSTANCE_INFO::afCmd, tagCONVLIST::ahwnd, CheckDDECritOut, tagCONVLIST::chwnd, CLST_MULT_INITIALIZING, ConnectConv(), CONVLIST, CreateHandle(), DDEMLAlloc, DDEMLFree, DDEMLReAlloc, DestroyHandle(), DisconnectConv(), EnterDDECrit, FALSE, GetHandleData(), GetWindowLongPtr(), GWLP_PCI, tagCL_INSTANCE_INFO::hInstClient, HTYPE_CONVERSATION_LIST, tagCONV_INFO::hwndConv, tagCL_INSTANCE_INFO::hwndMother, InstFromHandle, LATOM, LATOM_FROM_HSZ, LeaveDDECrit, tagCONV_INFO::next, NULL, SetHandleData(), SetLastDDEMLError(), ShutdownConversation(), tagCONV_INFO::state, ValidateConnectParameters(), and ValidateConvList. 
 
 | 
| 
 | 
| 
 Definition at line 1008 of file connect.c. References BestSetLastDDEMLError(), BOOL, CheckDDECritOut, EnterDDECrit, FALSE, HINST_ANY, HTYPE_CLIENT_CONVERSATION, HTYPE_SERVER_CONVERSATION, LeaveDDECrit, NULL, PciiFromHandle(), ShutdownConversation(), tagCONV_INFO::state, TRUE, and ValidateCHandle(). Referenced by DdeUninitialize(). 
 
 | 
| 
 | 
| 
 Definition at line 1053 of file connect.c. References tagCONVLIST::ahwnd, BestSetLastDDEMLError(), BOOL, CheckDDECritOut, tagCONVLIST::chwnd, DDEMLFree, DestroyHandle(), EnterDDECrit, FALSE, GetWindowLongPtr(), GWLP_PCI, HINST_ANY, HTYPE_CONVERSATION_LIST, LeaveDDECrit, tagCONV_INFO::next, NULL, PciiFromHandle(), ShutdownConversation(), tagCONV_INFO::state, TRUE, ValidateCHandle(), and ValidateConvList. Referenced by DdeUninitialize(). 
 
 | 
| 
 | ||||||||||||
| 
 Definition at line 906 of file connect.c. References tagCONVLIST::ahwnd, BestSetLastDDEMLError(), tagCONVLIST::chwnd, tagCL_CONV_INFO::ci, EnterDDECrit, GetWindowLongPtr(), GWLP_PCI, tagCONV_INFO::hConv, tagCL_CONV_INFO::hConvList, HINST_ANY, HTYPE_CLIENT_CONVERSATION, HTYPE_CONVERSATION_LIST, HTYPE_ZOMBIE_CONVERSATION, tagCONV_INFO::hwndConv, InstFromHandle, tagCL_INSTANCE_INFO::LastError, LeaveDDECrit, tagCONV_INFO::next, NULL, PciiFromHandle(), SetLastDDEMLError(), TypeFromHandle, and ValidateCHandle(). 
 
 | 
| 
 | 
| 
 Definition at line 409 of file connect.c. References tagCONV_INFO::aLinks, BestSetLastDDEMLError(), tagCL_CONV_INFO::ci, tagCONV_INFO::cLinks, CLST_SINGLE_INITIALIZING, ClStartAdvise(), ConnectConv(), DDEMLAlloc, DDEMLFree, EnterDDECrit, tagXACT_INFO::flags, tagXACT_INFO::gaItem, GetConvContext(), tagCONV_INFO::hConv, HINST_ANY, HTYPE_CLIENT_CONVERSATION, tagCONV_INFO::hwndConv, tagCL_CONV_INFO::hwndReconnect, tagADVISE_LINK::laItem, tagCONV_INFO::laService, tagCONV_INFO::laTopic, LeaveDDECrit, LocalToGlobalAtom(), NULL, PADVISE_LINK, PciiFromHandle(), tagXACT_INFO::pcoi, SetLastDDEMLError(), tagCONV_INFO::state, ValidateCHandle(), tagADVISE_LINK::wFmt, tagXACT_INFO::wFmt, tagADVISE_LINK::wType, tagXACT_INFO::wType, XACT_INFO, and XIF_ABANDONED. 
 
 | 
| 
 | 
| 
 Definition at line 759 of file connect.c. References FALSE, tagCONV_INFO::next, ShutdownConversation(), and VOID(). Referenced by DdeConnectList(). 
 
 | 
| 
 | 
| 
 Definition at line 1354 of file connect.c. References tagCONV_INFO::aLinks, CheckDDECritIn, tagCONV_INFO::cLinks, tagCONV_INFO::cLocks, CreateHandle(), DDEMLFree, DeleteLinkCount(), DestroyHandle(), tagCONV_INFO::dmqIn, tagCONV_INFO::dmqOut, DumpDDEMessage(), FALSE, tagXACT_INFO::flags, tagCONV_INFO::hConv, HTYPE_ZOMBIE_CONVERSATION, tagCONV_INFO::hwndConv, tagCONV_INFO::hwndPartner, InstFromHandle, tagADVISE_LINK::laItem, tagCONV_INFO::laService, tagCONV_INFO::laServiceRequested, tagCONV_INFO::laTopic, LocalToGlobalAtom(), tagDDE_MESSAGE_QUEUE::lParam, MONLINK, tagDDE_MESSAGE_QUEUE::msg, tagXACT_INFO::next, tagDDE_MESSAGE_QUEUE::next, NULL, tagCONV_INFO::pcii, tagXACT_INFO::pfnResponse, tagADVISE_LINK::pLinkCount, PostMessage(), tagCONV_INFO::pxiOut, tagCONV_INFO::state, TID_TIMEOUT, TRUE, UnlinkConvFromOthers(), VOID(), tagADVISE_LINK::wFmt, tagADVISE_LINK::wType, and XIF_SYNCHRONOUS. Referenced by DdeClientTransaction(), DdeEnableCallback(), DdePostAdvise(), EnableEnumProc(), ProcessAsyncDDEMsg(), ProcessSyncDDEMessage(), and ShutdownConversation(). 
 
 | 
| 
 | ||||||||||||
| 
 Definition at line 784 of file connect.c. References tagCONVLIST::ahwnd, BOOL, CheckDDECritOut, tagCONVLIST::chwnd, tagCL_CONV_INFO::ci, tagINIT_ENUM::clst, CLST_MULT_INITIALIZING, CLST_SINGLE_INITIALIZING, EnterDDECrit, GetWindowLongPtr(), GWLP_PCI, tagINIT_ENUM::hConvList, HINST_ANY, HTYPE_CONVERSATION_LIST, tagINIT_ENUM::hwndClient, tagCL_CONV_INFO::hwndReconnect, tagINIT_ENUM::hwndSkip, IncLocalAtomCount(), tagCONV_INFO::laService, tagCONV_INFO::laServiceRequested, tagINIT_ENUM::laServiceRequested, tagCONV_INFO::laTopic, tagINIT_ENUM::laTopic, LeaveDDECrit, tagINIT_ENUM::lParam, tagCONV_INFO::next, NULL, SendMessage(), tagCONV_INFO::state, TRUE, and ValidateCHandle(). Referenced by ConnectConv(). 
 
 | 
| 
 | ||||||||||||||||
| 
 Definition at line 876 of file connect.c. References DWORD, GetWindowThreadProcessId(), IsWindowUnicode(), and VOID(). Referenced by DDEMLClientWndProc(), and ProcessDDEMLInitiate(). 
 
 | 
| 
 | ||||||||||||
| 
 Definition at line 1109 of file connect.c. References tagCL_INSTANCE_INFO::afCmd, CheckDDECritIn, DoCallback(), FALSE, FreeConversationResources(), tagCONV_INFO::hConv, tagCONV_INFO::hwndConv, tagCONV_INFO::hwndPartner, IsWindow(), L, MONCONV, tagCONV_INFO::pcii, PostMessage(), tagCONV_INFO::state, and VOID(). Referenced by DdeConnectList(), DdeDisconnect(), DdeDisconnectList(), DisconnectConv(), ProcessTerminateMsg(), and SpontaneousClientMessage(). 
 
 | 
| 
 | ||||||||||||
| 
 Definition at line 1153 of file connect.c. References tagCONVLIST::ahwnd, tagCL_INSTANCE_INFO::aServerLookup, BOOL, CheckDDECritIn, tagCONVLIST::chwnd, tagCL_INSTANCE_INFO::cServerLookupAlloc, DDEMLFree, DWORD, EnterDDECrit, FALSE, GetAppCompatFlags2(), GetHandleData(), GetWindowLongPtr(), GWLP_PCI, tagCONV_INFO::hConv, HTYPE_ZOMBIE_CONVERSATION, tagCONV_INFO::hwndConv, tagSERVER_LOOKUP::hwndServer, tagSERVER_LOOKUP::laService, tagSERVER_LOOKUP::laTopic, LeaveDDECrit, tagCONV_INFO::next, NtUserDestroyWindow(), NULL, ORPATH, path, tagCONV_INFO::pcii, PCL_CONV_INFO, SetWindowLongPtr(), tagCONV_INFO::state, TRUE, TypeFromHandle, ValidateAllConvLists, ValidateConvList, and VOID(). Referenced by FreeConversationResources(). 
 
 | 
| 
 | ||||||||||||||||||||||||||||||||||||
| 
 Definition at line 491 of file connect.c. References BOOL, DefConvContext, DWORD, FALSE, hInst, HSZT_INST_SPECIFIC, HSZT_INVALID, HTYPE_CONVERSATION_LIST, IIF_UNICODE, InstFromHandle, LATOM_FROM_HSZ, NORMAL_HSZ_FROM_LATOM, NULL, ParseInstSpecificAtom(), SetLastDDEMLError(), TempConvContext, TRUE, ValidateCHandle(), ValidateHSZ(), and ValidateInstance(). Referenced by DdeConnect(), and DdeConnectList(). 
 
 | 
| 
 | 
| 
 Definition at line 1474 of file connect.c. References BOOL, CheckDDECritOut, DispatchMessage(), DWORD, EnterDDECrit, FALSE, HTYPE_ZOMBIE_CONVERSATION, tagCONV_INFO::hwndConv, tagCONV_INFO::hwndPartner, InstFromHandle, LeaveDDECrit, msg, MsgWaitForMultipleObjectsEx(), NULL, PeekMessage(), ProcessTerminateMsg(), tagCONV_INFO::state, TRUE, and ValidateCHandle(). Referenced by DdeUninitialize(). 
 
 | 
| 
 | 
| Initial value: Definition at line 107 of file connect.c. Referenced by DdeQueryConvInfo(), and ValidateConnectParameters(). | 
| 
 | 
| 
 Definition at line 106 of file connect.c. Referenced by ValidateConnectParameters(). | 
 1.3.7
 1.3.7