#include "precomp.h"
Go to the source code of this file.
Defines | |
#define | GROW_COUNT 16 |
#define | CheckHandleTable() |
Functions | |
HANDLE | CreateHandle (ULONG_PTR dwData, DWORD type, DWORD inst) |
ULONG_PTR | DestroyHandle (HANDLE h) |
ULONG_PTR | GetHandleData (HANDLE h) |
VOID | SetHandleData (HANDLE h, ULONG_PTR dwData) |
ULONG_PTR | ValidateCHandle (HANDLE h, DWORD ExpectedType, DWORD ExpectedInstance) |
PCL_INSTANCE_INFO | PciiFromHandle (HANDLE h) |
VOID | ApplyFunctionToObjects (DWORD ExpectedType, DWORD ExpectedInstance, PFNHANDLEAPPLY pfn) |
DWORD | GetFullUserHandle (WORD wHandle) |
VOID | BestSetLastDDEMLError (DWORD error) |
Variables | |
PCHANDLEENTRY | aHandleEntry = NULL |
int | cHandlesAllocated = 0 |
int | iFirstFree = 0 |
DWORD | nextId = 1 |
|
Definition at line 60 of file handles.c. Referenced by CreateHandle(), DestroyHandle(), GetHandleData(), and ValidateCHandle(). |
|
Definition at line 36 of file handles.c. Referenced by CreateHandle(). |
|
Definition at line 263 of file handles.c. References aHandleEntry, cHandlesAllocated, CheckDDECritIn, CheckDDECritOut, EnterDDECrit, tagCHANDLEENTRY::handle, HTYPE_ANY, InstFromHandle, LeaveDDECrit, TypeFromHandle, and VOID(). Referenced by DdeUninitialize().
|
|
Definition at line 336 of file handles.c. References aHandleEntry, cHandlesAllocated, CheckDDECritIn, tagCHANDLEENTRY::dwData, tagCHANDLEENTRY::handle, HTYPE_INSTANCE, SetLastDDEMLError(), TypeFromHandle, and VOID(). Referenced by DdeAddData(), DdeClientTransaction(), DdeCreateDataHandle(), DdeDisconnect(), DdeDisconnectList(), DdeEnableCallback(), DdeFreeStringHandle(), DdeGetData(), DdeImpersonateClient(), DdeKeepStringHandle(), DdeNameService(), DdePostAdvise(), DdeQueryNextServer(), DdeReconnect(), DdeUninitialize(), InternalDdeCreateStringHandle(), InternalDdeQueryString(), and ValidateTransaction().
|
|
Definition at line 75 of file handles.c. References aHandleEntry, cHandlesAllocated, CheckHandleTable, DDEMLAlloc, DDEMLReAlloc, tagCHANDLEENTRY::dwData, GROW_COUNT, tagCHANDLEENTRY::handle, HandleFromId, HandleFromIndex, HandleFromInst, HandleFromType, iFirstFree, nextId, NULL, and type. Referenced by AddInstance(), DdeClientTransaction(), DdeConnectList(), DDEMLClientWndProc(), FreeConversationResources(), InternalCreateDataHandle(), and ProcessDDEMLInitiate().
|
|
Definition at line 137 of file handles.c. References aHandleEntry, CheckHandleTable, tagCHANDLEENTRY::dwData, tagCHANDLEENTRY::handle, iFirstFree, and IndexFromHandle. Referenced by ClRespExecuteAck(), ClRespPokeAck(), ClRespUnadviseAck(), DdeClientTransaction(), DdeConnectList(), DdeDisconnectList(), DestroyInstance(), FreeConversationResources(), InternalFreeDataHandle(), TransactionComplete(), and UnpackAndFreeDDEMLDataHandle().
|
|
Definition at line 293 of file handles.c. References tagSHAREDINFO::aheList, _HANDLEENTRY::bType, tagSERVERINFO::cHandleEntries, DWORD, gpsi, gSharedInfo, HMIndexFromHandle, TYPE_WINDOW, and _HANDLEENTRY::wUniq. Referenced by UserRegisterWowHandlers().
|
|
Definition at line 165 of file handles.c. References aHandleEntry, CheckHandleTable, tagCHANDLEENTRY::dwData, and IndexFromHandle. Referenced by DdeConnectList(), and UnlinkConvFromOthers().
|
|
Definition at line 226 of file handles.c. References aHandleEntry, cHandlesAllocated, CheckDDECritIn, tagCHANDLEENTRY::dwData, tagCHANDLEENTRY::handle, HTYPE_INSTANCE, InstFromHandle, NULL, and TypeFromHandle. Referenced by DdeAccessData(), DdeAddData(), DdeDisconnect(), DdeDisconnectList(), DdeGetData(), DdeImpersonateClient(), DdeQueryNextServer(), and DdeReconnect().
|
|
Definition at line 185 of file handles.c. References aHandleEntry, tagCHANDLEENTRY::dwData, IndexFromHandle, and VOID(). Referenced by DdeConnectList(), and InternalDdeInitialize().
|
|
|
Definition at line 28 of file handles.c. Referenced by ApplyFunctionToObjects(), BestSetLastDDEMLError(), CreateHandle(), DestroyHandle(), GetHandleData(), PciiFromHandle(), SetHandleData(), and ValidateCHandle(). |
|
Definition at line 32 of file handles.c. Referenced by ApplyFunctionToObjects(), BestSetLastDDEMLError(), CreateHandle(), PciiFromHandle(), and ValidateCHandle(). |
|
Definition at line 33 of file handles.c. Referenced by CreateHandle(), and DestroyHandle(). |
|
Definition at line 34 of file handles.c. Referenced by CreateHandle(). |