Author: jimtabor
Date: Sat Jan 3 06:22:31 2015
New Revision: 65948
URL:
http://svn.reactos.org/svn/reactos?rev=65948&view=rev
Log:
[Win32ss]
- Use proper structure name for packed DDE.
Modified:
trunk/reactos/win32ss/include/ntuser.h
trunk/reactos/win32ss/user/ntuser/message.c
trunk/reactos/win32ss/user/user32/windows/message.c
Modified: trunk/reactos/win32ss/include/ntuser.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/include/ntuser.h?r…
==============================================================================
--- trunk/reactos/win32ss/include/ntuser.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/include/ntuser.h [iso-8859-1] Sat Jan 3 06:22:31 2015
@@ -3399,11 +3399,11 @@
/* BYTE Data[DataSize] */
} KMDDEEXECUTEDATA, *PKMDDEEXECUTEDATA;
-typedef struct tagKMDDELPARAM
+typedef struct tagDDEPACK
{
UINT_PTR uiLo;
UINT_PTR uiHi;
-} KMDDELPARAM, *PKMDDELPARAM;
+} DDEPACK, *PDDEPACK;
Modified: trunk/reactos/win32ss/user/ntuser/message.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/messag…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/message.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/message.c [iso-8859-1] Sat Jan 3 06:22:31 2015
@@ -122,7 +122,7 @@
static MSGMEMORY g_MsgMemory[] =
{
{ WM_CREATE, MMS_SIZE_SPECIAL, MMS_FLAG_READWRITE },
- { WM_DDE_ACK, sizeof(KMDDELPARAM), MMS_FLAG_READ },
+ { WM_DDE_ACK, sizeof(DDEPACK), MMS_FLAG_READ },
{ WM_DDE_EXECUTE, MMS_SIZE_WPARAM, MMS_FLAG_READ },
{ WM_GETMINMAXINFO, sizeof(MINMAXINFO), MMS_FLAG_READWRITE },
{ WM_GETTEXT, MMS_SIZE_WPARAMWCHAR, MMS_FLAG_WRITE },
Modified: trunk/reactos/win32ss/user/user32/windows/message.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/window…
==============================================================================
--- trunk/reactos/win32ss/user/user32/windows/message.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/windows/message.c [iso-8859-1] Sat Jan 3 06:22:31
2015
@@ -359,8 +359,8 @@
{
case WM_DDE_ACK:
{
- PKMDDELPARAM DdeLparam;
- DdeLparam = HeapAlloc(GetProcessHeap(), 0, sizeof(KMDDELPARAM));
+ PDDEPACK DdeLparam;
+ DdeLparam = HeapAlloc(GetProcessHeap(), 0, sizeof(DDEPACK));
if (!DdeLparam ||
!UnpackDDElParam( UMMsg->message, UMMsg->lParam,
&DdeLparam->uiLo, &DdeLparam->uiHi))
return FALSE;
@@ -490,7 +490,7 @@
case WM_DDE_ACK:
{
- PKMDDELPARAM DdeLparam = (PKMDDELPARAM) KMMsg->lParam;
+ PDDEPACK DdeLparam = (PDDEPACK) KMMsg->lParam;
UMMsg->lParam = PackDDElParam(KMMsg->message, DdeLparam->uiLo,
DdeLparam->uiHi);
}
break;