57 PVOID Argument, ResultPointer;
74 Common->message =
Msg;
90 ERR(
"DDE Post callback failed!\n");
119 PVOID Argument, ResultPointer;
122 ResultPointer =
NULL;
126 if (
NULL == Argument)
134 Common->hwnd = pMsg->hwnd;
135 Common->message = pMsg->message;
136 Common->wParam = pMsg->wParam;
137 Common->lParam = pMsg->lParam;
153 ERR(
"DDE Get callback failed!\n");
160 pMsg->lParam = Common->lParam;
189 TRACE(
"Posting long DDE 0x%x\n",
Msg);
197 if (pWndClient ==
NULL)
202 TRACE(
"DDE Posted WM_DDE_TERMINATE\n");
205 TRACE(
"Invalid DDE Client Window handle\n");
226 TRACE(
"DDE Post EXECUTE lParam 0\n");
233 ERR(
"DDE Post Callback return 0 0x%x\n",
Msg);
248 ERR(
"Failed to allocate %i bytes.\n",
size);
302 if (pddeData ==
NULL)
304 ERR(
"Failed to allocate DDE_DATA\n");
313 TRACE(
"DDE Post lParam c=%08lx\n",lp);
328 PWND pWnd, pWndClient;
336 ERR(
"DDE Get Window is dead. %p\n", pMsg->
hwnd);
346 if (pWndClient ==
NULL)
348 ERR(
"DDE Get Client WM_DDE_TERMINATE\n");
369 ERR(
"DDE Get CB failed\n");
378 TRACE(
"DDE Get No DDE Data found!\n");
393 TRACE(
"Sending long DDE 0x%x\n",
Msg);
402 TRACE(
"Sending long WM_DDE_ACK\n");
405 if (pWndServer ==
NULL)
407 ERR(
"Invalid DDE Server Window handle\n");
413 if (pddeProp ==
NULL)
415 ERR(
"failed to allocate DDE_PROP\n");
419 pddeProp->
spwnd = pWndServer;
PRTL_UNICODE_STRING_BUFFER PULONG PULONG Unknown4
NTSTATUS NTAPI KeUserModeCallback(IN ULONG RoutineIndex, IN PVOID Argument, IN ULONG ArgumentLength, OUT PVOID *Result, OUT PULONG ResultLength)
#define DBG_DEFAULT_CHANNEL(ch)
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES IN DWORD Unknown3
#define NT_SUCCESS(StatCode)
#define ExAllocatePoolWithTag(hernya, size, tag)
#define UserHMGetHandle(obj)
struct _SECURITY_QUALITY_OF_SERVICE SECURITY_QUALITY_OF_SERVICE
#define ExFreePoolWithTag(_P, _T)
HANDLE FASTCALL UserRemoveProp(_In_ PWND Window, _In_ ATOM Atom, _In_ BOOLEAN SystemProp)
SECURITY_CLIENT_CONTEXT ClientContext
SECURITY_QUALITY_OF_SERVICE qos
#define RtlCopyMemory(Destination, Source, Length)
#define RtlMoveMemory(Destination, Source, Length)
PWND FASTCALL UserGetWindowObject(HWND hWnd)
_Must_inspect_result_ _In_ WDFCOLLECTION _In_ WDFOBJECT Object
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _Out_ PULONG ResultLength
BOOL NTAPI GreSetObjectOwner(HGDIOBJ hobj, ULONG ulOwner)
struct _DDEPOSTGET_CALLBACK_ARGUMENTS * PDDEPOSTGET_CALLBACK_ARGUMENTS
struct _DDEPOSTGET_CALLBACK_ARGUMENTS DDEPOSTGET_CALLBACK_ARGUMENTS
PVOID FASTCALL IntCbAllocateMemory(ULONG Size)
VOID FASTCALL IntCbFreeMemory(PVOID Data)
BOOL APIENTRY IntDdePostMessageHook(IN PWND pWnd, IN UINT Msg, IN WPARAM wParam, IN OUT LPARAM *lParam, IN OUT LONG_PTR *ExtraInfo)
struct _DDE_DATA * PDDE_DATA
DWORD APIENTRY NtUserDdeInitialize(DWORD Unknown0, DWORD Unknown1, DWORD Unknown2, DWORD Unknown3, DWORD Unknown4)
SECURITY_QUALITY_OF_SERVICE gqosDefault
int APIENTRY IntDDEPostCallback(IN PWND pWnd, IN UINT Msg, IN WPARAM wParam, IN OUT LPARAM *lParam, IN OUT PVOID *Buffer)
BOOL APIENTRY NtUserImpersonateDdeClientWindow(HWND hWndClient, HWND hWndServer)
BOOL APIENTRY IntDdeGetMessageHook(PMSG pMsg, LONG_PTR ExtraInfo)
BOOL APIENTRY NtUserDdeSetQualityOfService(IN HWND hwndClient, IN PSECURITY_QUALITY_OF_SERVICE pqosNew, OUT PSECURITY_QUALITY_OF_SERVICE pqosPrev)
struct _DDE_PROP DDE_PROP
struct _DDE_PROP * PDDE_PROP
BOOL FASTCALL IntDdeSendMessageHook(PWND pWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
BOOL APIENTRY IntDDEGetCallback(IN PWND pWnd, IN OUT PMSG pMsg, IN PVOID Buffer, IN int size)
BOOL APIENTRY NtUserDdeGetQualityOfService(IN HWND hwndClient, IN HWND hWndServer, OUT PSECURITY_QUALITY_OF_SERVICE pqosPrev)
struct _DDE_DATA DDE_DATA
HANDLE FASTCALL UserGetProp(_In_ PWND Window, _In_ ATOM Atom, _In_ BOOLEAN SystemProp)
#define SECURITY_STATIC_TRACKING