#include "precomp.h"
Go to the source code of this file.
Functions | |
BOOL | ClStartAdvise (PXACT_INFO pxi) |
BOOL | SvSpontAdvise (PSVR_CONV_INFO psi, LPARAM lParam) |
BOOL | ClRespAdviseAck (PXACT_INFO pxi, UINT msg, LPARAM lParam) |
BOOL | SvStartAdviseUpdate (PXACT_INFO pxi, DWORD cLinksToGo) |
BOOL | ClSpontAdviseData (PCL_CONV_INFO pci, LPARAM lParam) |
BOOL | SvRespAdviseDataAck (PXACT_INFO pxi, UINT msg, LPARAM lParam) |
BOOL | ClStartUnadvise (PXACT_INFO pxi) |
void | CloseTransaction (PCONV_INFO pci, ATOM atom) |
BOOL | SvSpontUnadvise (PSVR_CONV_INFO psi, LPARAM lParam) |
BOOL | ClRespUnadviseAck (PXACT_INFO pxi, UINT msg, LPARAM lParam) |
HANDLE | MaybeTranslateExecuteData (HANDLE hDDE, BOOL fUnicodeFrom, BOOL fUnicodeTo, BOOL fFreeSource) |
BOOL | ClStartExecute (PXACT_INFO pxi) |
BOOL | SvSpontExecute (PSVR_CONV_INFO psi, LPARAM lParam) |
BOOL | ClRespExecuteAck (PXACT_INFO pxi, UINT msg, LPARAM lParam) |
BOOL | ClStartPoke (PXACT_INFO pxi) |
BOOL | SvSpontPoke (PSVR_CONV_INFO psi, LPARAM lParam) |
BOOL | ClRespPokeAck (PXACT_INFO pxi, UINT msg, LPARAM lParam) |
BOOL | ClStartRequest (PXACT_INFO pxi) |
BOOL | SvSpontRequest (PSVR_CONV_INFO psi, LPARAM lParam) |
BOOL | ClRespRequestData (PXACT_INFO pxi, UINT msg, LPARAM lParam) |
BOOL | SpontaneousClientMessage (PCL_CONV_INFO pci, UINT msg, LPARAM lParam) |
BOOL | SpontaneousServerMessage (PSVR_CONV_INFO psi, UINT msg, LPARAM lParam) |
HANDLE | AllocAndSetDDEData (LPBYTE pSrc, DWORD cb, WORD wStatus, WORD wFmt) |
DWORD | PackAndPostMessage (HWND hwndTo, UINT msgIn, UINT msgOut, HWND hwndFrom, LPARAM lParam, UINT_PTR uiLo, UINT_PTR uiHi) |
BOOL | ExtractDDEDataInfo (HANDLE hDDE, LPWORD pwStatus, LPWORD pwFmt) |
BOOL | TransactionComplete (PXACT_INFO pxi, HDDEDATA hData) |
HANDLE | UnpackAndFreeDDEMLDataHandle (HDDEDATA hData, BOOL fExec) |
|
Definition at line 1479 of file stdptcl.c. References DWORD, FALSE, NULL, PBYTE, UserGlobalAlloc, USERGLOBALLOCK, USERGLOBALUNLOCK, tagDDE_DATA::wFmt, WOWGLOBALFREE, and tagDDE_DATA::wStatus. Referenced by ClStartAdvise(), DdeClientTransaction(), and SvSpontRequest().
|
|
Definition at line 599 of file stdptcl.c. References DDEMLFree, tagXACT_INFO::gaItem, tagXACT_INFO::next, NULL, tagCONV_INFO::pxiIn, and tagCONV_INFO::pxiOut. Referenced by SvSpontUnadvise().
|
|
Definition at line 190 of file stdptcl.c. References AddLink(), BOOL, DDEMLFree, FALSE, FreeDDElParam(), tagXACT_INFO::gaItem, GATOM, tagXACT_INFO::hDDESent, tagCONV_INFO::hwndConv, tagCONV_INFO::hwndPartner, L, tagCONV_INFO::laService, tagCONV_INFO::laTopic, MONLINK, msg, tagCONV_INFO::pcii, PCL_CONV_INFO, tagXACT_INFO::pcoi, SpontaneousClientMessage(), tagCONV_INFO::state, tagXACT_INFO::state, TransactionComplete(), TRUE, UnlinkTransaction(), UnpackDDElParam(), tagXACT_INFO::wFmt, WOWGLOBALFREE, tagXACT_INFO::wStatus, and tagXACT_INFO::wType. Referenced by ClStartAdvise().
|
|
Definition at line 958 of file stdptcl.c. References BOOL, DDEMLFree, DestroyHandle(), FreeDDElParam(), tagXACT_INFO::gaItem, tagXACT_INFO::hDDESent, tagXACT_INFO::hXact, msg, tagXACT_INFO::pcoi, SpontaneousClientMessage(), tagXACT_INFO::state, TransactionComplete(), TRUE, UnlinkTransaction(), UnpackDDElParam(), WOWGLOBALFREE, and tagXACT_INFO::wStatus. Referenced by ClStartExecute().
|
|
Definition at line 1116 of file stdptcl.c. References BOOL, DDEMLFree, DestroyHandle(), FALSE, FreeDDEData(), FreeDDElParam(), tagXACT_INFO::gaItem, GATOM, tagXACT_INFO::hDDESent, tagXACT_INFO::hXact, msg, tagXACT_INFO::pcoi, SpontaneousClientMessage(), tagXACT_INFO::state, TransactionComplete(), TRUE, UnlinkTransaction(), UnpackDDElParam(), and tagXACT_INFO::wStatus. Referenced by ClStartPoke().
|
|
Definition at line 1294 of file stdptcl.c. References BOOL, ClSpontAdviseData(), DDEMLFree, DWORD, ExtractDDEDataInfo(), FALSE, FreeDDEData(), FreeDDElParam(), tagXACT_INFO::gaItem, GATOM, tagXACT_INFO::hDDEResult, tagCONV_INFO::hwndConv, tagCONV_INFO::hwndPartner, msg, PackAndPostMessage(), tagCONV_INFO::pcii, tagXACT_INFO::pcoi, SetLastDDEMLError(), SpontaneousClientMessage(), tagXACT_INFO::state, TransactionComplete(), TRUE, UnlinkTransaction(), UnpackDDElParam(), tagXACT_INFO::wFmt, and tagXACT_INFO::wStatus. Referenced by ClStartRequest().
|
|
Definition at line 719 of file stdptcl.c. References tagCONV_INFO::aLinks, BOOL, tagCONV_INFO::cLinks, DDEMLFree, DestroyHandle(), FreeDDElParam(), tagXACT_INFO::gaItem, GATOM, GlobalToLocalAtom(), tagXACT_INFO::hXact, tagADVISE_LINK::laItem, LATOM, msg, tagXACT_INFO::pcoi, SpontaneousClientMessage(), tagXACT_INFO::state, TransactionComplete(), TRUE, UnlinkTransaction(), UnpackDDElParam(), tagADVISE_LINK::wFmt, tagXACT_INFO::wFmt, and tagXACT_INFO::wStatus. Referenced by ClStartUnadvise().
|
|
Definition at line 362 of file stdptcl.c. References tagCONV_INFO::aLinks, BOOL, tagCL_CONV_INFO::ci, tagCONV_INFO::cLinks, DoCallback(), DWORD, FALSE, FreeDDEData(), FreeDDElParam(), GATOM, GlobalToLocalAtom(), tagCONV_INFO::hConv, tagCONV_INFO::hwndConv, tagCONV_INFO::hwndPartner, InternalCreateDataHandle(), tagADVISE_LINK::laItem, LATOM, tagCONV_INFO::laTopic, NORMAL_HSZ_FROM_LATOM, NULL, PackAndPostMessage(), PADVISE_LINK, tagCONV_INFO::pcii, SetLastDDEMLError(), TRUE, UnpackAndFreeDDEMLDataHandle(), UnpackDDElParam(), USERGLOBALLOCK, USERGLOBALUNLOCK, tagADVISE_LINK::wFmt, tagDDE_DATA::wFmt, tagDDE_DATA::wStatus, and tagADVISE_LINK::wType. Referenced by ClRespRequestData(), and SpontaneousClientMessage().
|
|
Definition at line 67 of file stdptcl.c. References AllocAndSetDDEData(), BOOL, ClRespAdviseAck(), DDE_DATA, DWORD, FALSE, FNRESPONSE, tagXACT_INFO::gaItem, tagXACT_INFO::hDDESent, tagCONV_INFO::hwndConv, tagCONV_INFO::hwndPartner, IncGlobalAtomCount(), LinkTransaction(), NULL, PackAndPostMessage(), tagCONV_INFO::pcii, tagXACT_INFO::pcoi, tagXACT_INFO::pfnResponse, PXACT_INFO, SetLastDDEMLError(), tagXACT_INFO::state, TRUE, tagXACT_INFO::wFmt, WOWGLOBALFREE, and tagXACT_INFO::wType. Referenced by DdeClientTransaction(), and DdeReconnect().
|
|
|
Definition at line 1012 of file stdptcl.c. References BOOL, ClRespPokeAck(), DWORD, FALSE, FNRESPONSE, tagXACT_INFO::gaItem, tagXACT_INFO::hDDESent, tagCONV_INFO::hwndConv, tagCONV_INFO::hwndPartner, IncGlobalAtomCount(), LinkTransaction(), PackAndPostMessage(), tagCONV_INFO::pcii, tagXACT_INFO::pcoi, tagXACT_INFO::pfnResponse, SetLastDDEMLError(), tagXACT_INFO::state, and TRUE. Referenced by DdeClientTransaction().
|
|
Definition at line 1176 of file stdptcl.c. References BOOL, ClRespRequestData(), DWORD, FALSE, FNRESPONSE, tagXACT_INFO::gaItem, tagCONV_INFO::hwndConv, tagCONV_INFO::hwndPartner, IncGlobalAtomCount(), LinkTransaction(), PackAndPostMessage(), tagCONV_INFO::pcii, tagXACT_INFO::pcoi, tagXACT_INFO::pfnResponse, SetLastDDEMLError(), tagXACT_INFO::state, TRUE, and tagXACT_INFO::wFmt. Referenced by DdeClientTransaction().
|
|
Definition at line 561 of file stdptcl.c. References BOOL, ClRespUnadviseAck(), DWORD, FALSE, FNRESPONSE, tagXACT_INFO::gaItem, tagCONV_INFO::hwndConv, tagCONV_INFO::hwndPartner, IncGlobalAtomCount(), tagCONV_INFO::laService, tagCONV_INFO::laTopic, LinkTransaction(), MONLINK, PackAndPostMessage(), tagCONV_INFO::pcii, tagXACT_INFO::pcoi, tagXACT_INFO::pfnResponse, SetLastDDEMLError(), tagXACT_INFO::state, tagCONV_INFO::state, TRUE, and tagXACT_INFO::wFmt. Referenced by DdeClientTransaction().
|
|
Definition at line 1591 of file stdptcl.c. References BOOL, FALSE, NULL, TRUE, USERGLOBALLOCK, USERGLOBALUNLOCK, tagDDE_DATA::wFmt, and tagDDE_DATA::wStatus. Referenced by ClRespRequestData(), SvSpontAdvise(), SvSpontPoke(), and SvSpontRequest().
|
|
Definition at line 791 of file stdptcl.c. References DWORD, FALSE, NULL, UserGlobalAlloc, USERGLOBALLOCK, USERGLOBALUNLOCK, and WOWGLOBALFREE. Referenced by ClStartExecute(), and SvSpontExecute().
|
|
Definition at line 1534 of file stdptcl.c. References CheckDDECritIn, CheckDDECritOut, DWORD, EnterDDECrit, FAIL_POST, FAILNOFREE_POST, FreeDDElParam(), LeaveDDECrit, PostMessage(), ReuseDDElParam(), and TRUE. Referenced by ClRespRequestData(), ClSpontAdviseData(), ClStartAdvise(), ClStartExecute(), ClStartPoke(), ClStartRequest(), ClStartUnadvise(), SvSpontAdvise(), SvSpontExecute(), SvSpontPoke(), SvSpontRequest(), SvSpontUnadvise(), and SvStartAdviseUpdate().
|
|
Definition at line 1396 of file stdptcl.c. References BOOL, tagCL_CONV_INFO::ci, ClSpontAdviseData(), DumpDDEMessage(), msg, ShutdownConversation(), tagCONV_INFO::state, and TRUE. Referenced by ClRespAdviseAck(), ClRespExecuteAck(), ClRespPokeAck(), ClRespRequestData(), ClRespUnadviseAck(), and ProcessSyncDDEMessage().
|
|
Definition at line 1424 of file stdptcl.c. References BOOL, tagSVR_CONV_INFO::ci, DumpDDEMessage(), msg, tagCONV_INFO::state, SvSpontAdvise(), SvSpontExecute(), SvSpontPoke(), SvSpontRequest(), SvSpontUnadvise(), and TRUE. Referenced by ProcessSyncDDEMessage(), and SvRespAdviseDataAck().
|
|
Definition at line 470 of file stdptcl.c. References ADVST_WAITING, tagCONV_INFO::aLinks, BOOL, tagCONV_INFO::cLinks, DDEMLAlloc, DDEMLFree, FALSE, FreeDDEData(), FreeDDElParam(), tagXACT_INFO::gaItem, GATOM, GlobalToLocalAtom(), tagXACT_INFO::hDDESent, tagADVISE_LINK::laItem, LATOM, msg, tagXACT_INFO::pcoi, SpontaneousServerMessage(), tagADVISE_LINK::state, TRUE, UnlinkTransaction(), UnpackDDElParam(), UpdateLinkIfChanged(), and XACT_INFO. Referenced by SvStartAdviseUpdate(), and UpdateLinkIfChanged().
|
|
Definition at line 112 of file stdptcl.c. References AddLink(), tagCL_INSTANCE_INFO::afCmd, BOOL, tagSVR_CONV_INFO::ci, DoCallback(), DWORD, ExtractDDEDataInfo(), FALSE, GATOM, GlobalToLocalAtom(), tagCONV_INFO::hConv, tagCONV_INFO::hwndConv, tagCONV_INFO::hwndPartner, tagCONV_INFO::laService, LATOM, tagCONV_INFO::laTopic, MONLINK, NORMAL_HSZ_FROM_LATOM, PackAndPostMessage(), tagCONV_INFO::pcii, PSVR_CONV_INFO, SetLastDDEMLError(), TRUE, UnpackDDElParam(), and WOWGLOBALFREE. Referenced by SpontaneousServerMessage().
|
|
Definition at line 885 of file stdptcl.c. References tagCL_INSTANCE_INFO::afCmd, BOOL, tagSVR_CONV_INFO::ci, DoCallback(), DWORD, FALSE, tagCL_INSTANCE_INFO::flags, tagCONV_INFO::hConv, tagCONV_INFO::hwndConv, tagCONV_INFO::hwndPartner, IIF_UNICODE, InternalCreateDataHandle(), tagCONV_INFO::laTopic, MaybeTranslateExecuteData(), NORMAL_HSZ_FROM_LATOM, PackAndPostMessage(), tagCONV_INFO::pcii, SetLastDDEMLError(), tagCONV_INFO::state, TRUE, UnpackAndFreeDDEMLDataHandle(), and WOWGLOBALFREE. Referenced by SpontaneousServerMessage().
|
|
Definition at line 1042 of file stdptcl.c. References tagCL_INSTANCE_INFO::afCmd, BOOL, tagSVR_CONV_INFO::ci, DoCallback(), DWORD, ExtractDDEDataInfo(), FALSE, FreeDDEData(), GATOM, GlobalToLocalAtom(), tagCONV_INFO::hConv, tagCONV_INFO::hwndConv, tagCONV_INFO::hwndPartner, InternalCreateDataHandle(), LATOM, tagCONV_INFO::laTopic, NORMAL_HSZ_FROM_LATOM, PackAndPostMessage(), tagCONV_INFO::pcii, SetLastDDEMLError(), TRUE, UnpackAndFreeDDEMLDataHandle(), and UnpackDDElParam(). Referenced by SpontaneousServerMessage().
|
|
Definition at line 1207 of file stdptcl.c. References tagCL_INSTANCE_INFO::afCmd, AllocAndSetDDEData(), BOOL, tagSVR_CONV_INFO::ci, CopyDDEData(), DoCallback(), DWORD, ExtractDDEDataInfo(), FALSE, GATOM, GlobalToLocalAtom(), tagCONV_INFO::hConv, tagCONV_INFO::hwndConv, tagCONV_INFO::hwndPartner, LATOM, tagCONV_INFO::laTopic, NORMAL_HSZ_FROM_LATOM, PackAndPostMessage(), tagCONV_INFO::pcii, SetLastDDEMLError(), TRUE, and UnpackAndFreeDDEMLDataHandle(). Referenced by SpontaneousServerMessage().
|
|
Definition at line 640 of file stdptcl.c. References ADVISE_LINK, tagCL_INSTANCE_INFO::afCmd, tagCONV_INFO::aLinks, BOOL, tagSVR_CONV_INFO::ci, tagCONV_INFO::cLinks, CloseTransaction(), DeleteLinkCount(), DoCallback(), DWORD, FALSE, GATOM, GlobalToLocalAtom(), tagCONV_INFO::hConv, tagCONV_INFO::hwndConv, tagCONV_INFO::hwndPartner, INT, L, tagADVISE_LINK::laItem, tagCONV_INFO::laService, LATOM, tagCONV_INFO::laTopic, MONLINK, NORMAL_HSZ_FROM_LATOM, PackAndPostMessage(), tagCONV_INFO::pcii, tagADVISE_LINK::pLinkCount, SetLastDDEMLError(), TRUE, and tagADVISE_LINK::wFmt. Referenced by SpontaneousServerMessage().
|
|
Definition at line 263 of file stdptcl.c. References BOOL, CheckDDECritIn, DoCallback(), DWORD, FALSE, FNRESPONSE, tagXACT_INFO::gaItem, GlobalToLocalAtom(), tagCONV_INFO::hConv, tagXACT_INFO::hDDESent, tagCONV_INFO::hwndConv, tagCONV_INFO::hwndPartner, IncGlobalAtomCount(), InternalFreeDataHandle(), LATOM, tagCONV_INFO::laTopic, LinkTransaction(), NORMAL_HSZ_FROM_LATOM, NULL, PackAndPostMessage(), tagCONV_INFO::pcii, tagXACT_INFO::pcoi, PDDE_DATA, tagXACT_INFO::pfnResponse, SetLastDDEMLError(), tagXACT_INFO::state, SvRespAdviseDataAck(), TRUE, UnpackAndFreeDDEMLDataHandle(), USERGLOBALLOCK, USERGLOBALUNLOCK, tagDDE_DATA::wFmt, tagXACT_INFO::wFmt, tagDDE_DATA::wStatus, and tagXACT_INFO::wType. Referenced by UpdateLinkIfChanged().
|
|
Definition at line 1624 of file stdptcl.c. References BOOL, DestroyHandle(), DoCallback(), DWORD, FALSE, tagXACT_INFO::flags, tagXACT_INFO::gaItem, GlobalToLocalAtom(), tagCONV_INFO::hConv, tagXACT_INFO::hDDEResult, tagCONV_INFO::hwndConv, tagXACT_INFO::hXact, InternalCreateDataHandle(), InternalFreeDataHandle(), LATOM, tagCONV_INFO::laTopic, NORMAL_HSZ_FROM_LATOM, tagCONV_INFO::pcii, tagXACT_INFO::pcoi, PostMessage(), SetLastDDEMLError(), TID_TIMEOUT, TRUE, UnlinkTransaction(), tagXACT_INFO::wFmt, tagXACT_INFO::wStatus, XIF_ABANDONED, XIF_COMPLETE, and XIF_SYNCHRONOUS. Referenced by ClRespAdviseAck(), ClRespExecuteAck(), ClRespPokeAck(), ClRespRequestData(), and ClRespUnadviseAck().
|
|
Definition at line 1708 of file stdptcl.c. References CheckDDECritIn, DDEMLFree, DestroyHandle(), tagDDEMLDATA::flags, tagDDEMLDATA::hDDE, HINST_ANY, HTYPE_DATA_HANDLE, NULL, PDDEMLDATA, and ValidateCHandle(). Referenced by ClSpontAdviseData(), SvSpontExecute(), SvSpontPoke(), SvSpontRequest(), and SvStartAdviseUpdate().
|