#include "precomp.h"
Go to the source code of this file.
Functions | |
HDDEDATA | DdeClientTransaction (LPBYTE pData, DWORD cbData, HCONV hConv, HSZ hszItem, UINT wFmt, UINT wType, DWORD ulTimeout, LPDWORD pulResult) |
VOID | GetConvContext (HWND hwnd, LONG *pl) |
VOID | SetConvContext (HWND hwnd, LONG *pl) |
UINT | DdeQueryConvInfo (HCONV hConv, DWORD idTransaction, PCONVINFO pConvInfo) |
BOOL | DdeSetUserHandle (HCONV hConv, DWORD id, DWORD_PTR hUser) |
VOID | AbandonTransaction (PCONV_INFO pcoi, PXACT_INFO pxi) |
BOOL | AbandonEnumerateProc (HWND hwnd, LPARAM idTransaction) |
BOOL | DdeAbandonTransaction (DWORD idInst, HCONV hConv, DWORD idTransaction) |
BOOL | UpdateLinkIfChanged (PADVISE_LINK paLink, PXACT_INFO pxi, PCONV_INFO pcoi, PADVISE_LINK paLinkLast, PBOOL pfSwapped, DWORD cLinksToGo) |
BOOL | DdePostAdvise (DWORD idInst, HSZ hszTopic, HSZ hszItem) |
VOID | LinkTransaction (PXACT_INFO pxi) |
VOID | UnlinkTransaction (PXACT_INFO pxi) |
BOOL | ValidateTransaction (HCONV hConv, HANDLE hXact, PCONV_INFO *ppcoi, PXACT_INFO *ppxi) |
|
Definition at line 532 of file xact.c. References AbandonTransaction(), BOOL, GetWindowLongPtr(), GWLP_PCI, tagCONV_INFO::next, tagCONV_INFO::state, and TRUE. Referenced by DdeAbandonTransaction().
|
|
Definition at line 517 of file xact.c. References tagXACT_INFO::flags, tagXACT_INFO::next, NULL, tagCONV_INFO::pxiIn, VOID(), and XIF_ABANDONED. Referenced by AbandonEnumerateProc(), and DdeAbandonTransaction().
|
|
Definition at line 560 of file xact.c. References AbandonEnumerateProc(), AbandonTransaction(), BOOL, EnterDDECrit, EnumChildWindows(), FALSE, tagCL_INSTANCE_INFO::hwndMother, LeaveDDECrit, NULL, tagCONV_INFO::pcii, SetLastDDEMLError(), TRUE, ValidateInstance(), and ValidateTransaction().
|
|
Definition at line 24 of file xact.c. References tagCL_INSTANCE_INFO::afCmd, AllocAndSetDDEData(), BestSetLastDDEMLError(), BOOL, CallMsgFilter(), CheckDDECritOut, tagCL_CONV_INFO::ci, CI_IN_SYNC_TRANSACTION, tagCL_INSTANCE_INFO::cInDDEMLCallback, ClStartAdvise(), ClStartExecute(), ClStartPoke(), ClStartRequest(), ClStartUnadvise(), CopyDDEData(), CreateHandle(), DDEMLAlloc, DDEMLFree, DdeUninitialize(), DestroyHandle(), DispatchMessage(), DWORD, EnterDDECrit, FALSE, tagXACT_INFO::flags, tagCL_INSTANCE_INFO::flags, tagDDEMLDATA::flags, FreeConversationResources(), FreeDDEData(), tagXACT_INFO::gaItem, GetClientInfo, GetMessage(), tagDDEMLDATA::hDDE, tagXACT_INFO::hDDEResult, tagXACT_INFO::hDDESent, HINST_ANY, tagCL_INSTANCE_INFO::hInstClient, HTYPE_CLIENT_CONVERSATION, HTYPE_DATA_HANDLE, HTYPE_TRANSACTION, tagCONV_INFO::hwndConv, tagXACT_INFO::hXact, IIF_IN_SYNC_XACT, InstFromHandle, InternalCreateDataHandle(), L, LATOM_FROM_HSZ, LeaveDDECrit, LocalToGlobalAtom(), msg, NtUserKillTimer(), NtUserSetTimer(), NULL, tagCONV_INFO::pcii, tagXACT_INFO::pcoi, tagXACT_INFO::pfnResponse, SetLastDDEMLError(), tagCONV_INFO::state, TID_TIMEOUT, TRUE, USERGLOBALLOCK, USERGLOBALUNLOCK, ValidateCHandle(), tagXACT_INFO::wFmt, tagDDE_DATA::wFmt, tagXACT_INFO::wStatus, tagDDE_DATA::wStatus, tagXACT_INFO::wType, XIF_ABANDONED, XIF_COMPLETE, and XIF_SYNCHRONOUS.
|
|
Definition at line 665 of file xact.c. References ADVST_CHANGED, tagCL_INSTANCE_INFO::afCmd, tagCONV_INFO::aLinks, tagCL_INSTANCE_INFO::aServerLookup, BestSetLastDDEMLError(), BOOL, tagSVR_CONV_INFO::ci, tagCL_INSTANCE_INFO::cInDDEMLCallback, tagCONV_INFO::cLinks, tagCONV_INFO::cLocks, tagLINK_COUNT::Count, tagCL_INSTANCE_INFO::cServerLookupAlloc, DDEMLAlloc, DDEMLFree, DdeUninitialize(), EnterDDECrit, FALSE, tagCL_INSTANCE_INFO::flags, FreeConversationResources(), GetWindowLongPtr(), GWLP_PSI, tagCL_INSTANCE_INFO::hInstClient, HSZT_INVALID, tagSERVER_LOOKUP::hwndServer, IIF_IN_SYNC_XACT, tagADVISE_LINK::laItem, tagLINK_COUNT::laItem, LATOM_FROM_HSZ, tagSERVER_LOOKUP::laTopic, tagLINK_COUNT::laTopic, LeaveDDECrit, tagCONV_INFO::next, tagLINK_COUNT::next, NULL, tagCONV_INFO::pcii, tagADVISE_LINK::pLinkCount, tagCL_INSTANCE_INFO::pLinkCount, SetLastDDEMLError(), tagCONV_INFO::state, tagADVISE_LINK::state, tagLINK_COUNT::Total, TRUE, UpdateLinkIfChanged(), ValidateHSZ(), ValidateInstance(), and XACT_INFO.
|
|
Definition at line 411 of file xact.c. References DefConvContext, EnterDDECrit, FALSE, tagXACT_INFO::gaItem, GetConvContext(), GlobalToLocalAtom(), tagXACT_INFO::hUser, tagCONV_INFO::hUser, tagCONV_INFO::hwndConv, tagCONV_INFO::hwndPartner, tagCONV_INFO::laService, tagCONV_INFO::laServiceRequested, tagCL_INSTANCE_INFO::LastError, tagCONV_INFO::laTopic, LeaveDDECrit, NORMAL_HSZ_FROM_LATOM, NULL, tagCONV_INFO::pcii, SetLastDDEMLError(), tagXACT_INFO::state, tagCONV_INFO::state, TRUE, UINT, ValidateTransaction(), tagXACT_INFO::wFmt, and tagXACT_INFO::wType.
|
|
Definition at line 489 of file xact.c. References BOOL, EnterDDECrit, FALSE, tagXACT_INFO::hUser, tagCONV_INFO::hUser, LeaveDDECrit, NULL, TRUE, and ValidateTransaction().
|
|
Definition at line 368 of file xact.c. References GWL_CONVCONTEXT, and VOID(). Referenced by DdeQueryConvInfo(), DdeReconnect(), and ProcessDDEMLInitiate().
|
|
Definition at line 846 of file xact.c. References CheckDDECritIn, tagXACT_INFO::next, NULL, tagXACT_INFO::pcoi, tagCONV_INFO::pxiIn, tagCONV_INFO::pxiOut, and VOID(). Referenced by ClStartAdvise(), ClStartExecute(), ClStartPoke(), ClStartRequest(), ClStartUnadvise(), and SvStartAdviseUpdate().
|
|
Definition at line 387 of file xact.c. References GWL_CONVCONTEXT, and VOID(). Referenced by ConnectConv().
|
|
Definition at line 885 of file xact.c. References CheckDDECritIn, tagXACT_INFO::next, NULL, tagXACT_INFO::pcoi, tagCONV_INFO::pxiIn, tagCONV_INFO::pxiOut, and VOID(). Referenced by ClRespAdviseAck(), ClRespExecuteAck(), ClRespPokeAck(), ClRespRequestData(), ClRespUnadviseAck(), SvRespAdviseDataAck(), and TransactionComplete().
|
|
Definition at line 611 of file xact.c. References ADVST_CHANGED, ADVST_WAITING, BOOL, CheckDDECritIn, FALSE, tagXACT_INFO::gaItem, tagADVISE_LINK::laItem, LocalToGlobalAtom(), PBYTE, tagXACT_INFO::pcoi, tagXACT_INFO::pfnResponse, tagADVISE_LINK::state, SvRespAdviseDataAck(), SvStartAdviseUpdate(), TRUE, tagADVISE_LINK::wFmt, tagXACT_INFO::wFmt, tagADVISE_LINK::wType, and tagXACT_INFO::wType. Referenced by DdePostAdvise(), and SvRespAdviseDataAck().
|
|
Definition at line 909 of file xact.c. References BestSetLastDDEMLError(), BOOL, FALSE, HINST_ANY, HTYPE_CLIENT_CONVERSATION, HTYPE_SERVER_CONVERSATION, HTYPE_TRANSACTION, InstFromHandle, NULL, SetLastDDEMLError(), TRUE, ValidateCHandle(), and ValidateInstance(). Referenced by DdeAbandonTransaction(), DdeQueryConvInfo(), and DdeSetUserHandle().
|