Go to the source code of this file.
|
| WINE_DEFAULT_DEBUG_CHANNEL (ddeml) |
|
BOOL FASTCALL | DdeAddPair (HGLOBAL ClientMem, HGLOBAL ServerMem) |
|
HGLOBAL FASTCALL | DdeGetPair (HGLOBAL ServerMem) |
|
static void | push_data (struct packed_message *data, const void *ptr, int size) |
|
static ULONGLONG | pack_ptr (const void *ptr) |
|
static void * | unpack_ptr (ULONGLONG ptr64) |
|
BOOL | post_dde_message (struct packed_message *data, UINT message, LPARAM lParam, LPARAM *lp) |
|
BOOL | unpack_dde_message (HWND hwnd, UINT message, LPARAM *lparam, PVOID buffer, int size) |
|
NTSTATUS WINAPI | User32CallDDEPostFromKernel (PVOID Arguments, ULONG ArgumentLength) |
|
NTSTATUS WINAPI | User32CallDDEGetFromKernel (PVOID Arguments, ULONG ArgumentLength) |
|
BOOL WINAPI | DdeGetQualityOfService (HWND hWnd, DWORD Reserved, PSECURITY_QUALITY_OF_SERVICE pqosPrev) |
|
◆ DdeAddPair()
Definition at line 181 of file message.c.
182{
184
186
187
189 {
190#define GROWBY 4
193 {
196 }
197 else
198 {
201 }
202
204 {
207 }
209
212#undef GROWBY
213 }
214
216 {
218 {
222 break;
223 }
224 }
226
228}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
static unsigned DdeNumAlloc
static unsigned DdeNumUsed
static CRITICAL_SECTION DdeCrst
void WINAPI LeaveCriticalSection(LPCRITICAL_SECTION)
void WINAPI EnterCriticalSection(LPCRITICAL_SECTION)
Referenced by unpack_dde_message().
◆ DdeGetPair()
◆ DdeGetQualityOfService()
◆ pack_ptr()
◆ post_dde_message()
Definition at line 53 of file dde.c.
54{
60
62 {
65 }
66
69 {
70
71
72
73
74
75
78 {
79
82 {
84
86 *lp = uiLo;
87 TRACE(
"send dde-ack %lx %08lx => %p\n", uiLo, uiHi,
h );
88 }
89 }
90 else
91 {
92
93 TRACE(
"send dde-ack %lx atom=%lx\n", uiLo, uiHi );
95 }
96 break;
101 if (uiLo)
102 {
109 }
111 {
112 TRACE(
"WM_DDE uiLo 0\n");
114 }
115
116 *lp = uiHi;
117 if (uiLo)
118 {
120 {
122 TRACE(
"unused %d, fResponse %d, fRelease %d, fDeferUpd %d, fAckReq %d, cfFormat %d\n",
127 }
128 }
129 TRACE(
"send ddepack %u %lx\n",
size, uiHi );
130 break;
133 {
135 {
138
142 }
143 }
144 break;
145 }
146
148
150
152}
BOOL WINAPI UnpackDDElParam(UINT, LPARAM, PUINT_PTR, PUINT_PTR)
BOOL WINAPI FreeDDElParam(UINT, LPARAM)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLfloat GLfloat GLfloat GLfloat h
LPVOID NTAPI GlobalLock(HGLOBAL hMem)
BOOL NTAPI GlobalUnlock(HGLOBAL hMem)
SIZE_T NTAPI GlobalSize(HGLOBAL hMem)
unsigned __int3264 UINT_PTR
#define FIELD_OFFSET(t, f)
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
static void push_data(struct packed_message *data, const void *ptr, int size)
static ULONGLONG pack_ptr(const void *ptr)
HGLOBAL FASTCALL DdeGetPair(HGLOBAL ServerMem)
Referenced by User32CallDDEPostFromKernel().
◆ push_data()
◆ unpack_dde_message()
Definition at line 159 of file dde.c.
160{
164
166
168 {
171 {
173
180 TRACE(
"recv dde-ack %lx mem=%lx[%lx]\n", uiLo, uiHi,
GlobalSize( hMem ));
181 }
182 else
183 {
186 TRACE(
"recv dde-ack %lx atom=%lx\n", uiLo, uiHi);
187 }
189 break;
196 {
200 {
203 }
204 else
205 {
208 }
209 }
211
213 break;
216 {
220 {
223 TRACE(
"exec: pairing c=%08lx s=%p\n", *
lparam, hMem );
225 {
227 TRACE(
"udm exec: GF 1\n");
229 }
230 }
231 else
232 {
234 TRACE(
"udm exec: GF 2\n");
236 }
237 }
238 else
239 {
240 TRACE(
"udm exec: No Size\n");
242 }
243
244 TRACE(
"exec: exit c=%08lx s=%p\n", *
lparam, hMem );
246 break;
247 }
249}
LPARAM WINAPI PackDDElParam(UINT, UINT_PTR, UINT_PTR)
HGLOBAL NTAPI GlobalFree(HGLOBAL hMem)
HGLOBAL NTAPI GlobalAlloc(UINT uFlags, SIZE_T dwBytes)
#define memcpy(s1, s2, n)
static void * unpack_ptr(ULONGLONG ptr64)
BOOL FASTCALL DdeAddPair(HGLOBAL ClientMem, HGLOBAL ServerMem)
Referenced by User32CallDDEGetFromKernel().
◆ unpack_ptr()
◆ User32CallDDEGetFromKernel()
Definition at line 288 of file dde.c.
289{
293
294 TRACE(
"DDE Get CB size %d\n",Common->
size);
295
297
298 if (!Ret)
299 {
300 ERR(
"DDE Get CB Return bad msg 0x%x\n",Common->message);
302 }
304}
NTSYSAPI NTSTATUS NTAPI ZwCallbackReturn(_In_ PVOID Result, _In_ ULONG ResultLength, _In_ NTSTATUS Status)
#define STATUS_UNSUCCESSFUL
BOOL unpack_dde_message(HWND hwnd, UINT message, LPARAM *lparam, PVOID buffer, int size)
◆ User32CallDDEPostFromKernel()
Definition at line 256 of file dde.c.
257{
262
265 TRACE(
"DDE Post CB\n");
267
268 if (Ret)
269 {
272 TRACE(
"DDE Post CB size %d\n",
data.size);
273 }
274 else
275 {
276 ERR(
"DDE Post CB Return bad msg 0x%x Size %d\n",Common->message,Common->
size);
278 }
279
281}
BOOL post_dde_message(struct packed_message *data, UINT message, LPARAM lParam, LPARAM *lp)
◆ WINE_DEFAULT_DEBUG_CHANNEL()
WINE_DEFAULT_DEBUG_CHANNEL |
( |
ddeml |
| ) |
|