--- mstools/samples/ddeml/client/dde.c 2018/08/09 18:21:26 1.1.1.2 +++ mstools/samples/ddeml/client/dde.c 2018/08/09 18:23:22 1.1.1.3 @@ -1,3 +1,14 @@ + +/******************************************************************************\ +* This is a part of the Microsoft Source Code Samples. +* Copyright (C) 1993 Microsoft Corporation. +* All rights reserved. +* This source code is only intended as a supplement to +* Microsoft Development Tools and/or WinHelp documentation. +* See these sources for detailed information regarding the +* Microsoft samples programs. +\******************************************************************************/ + /*************************************************************************** * * * MODULE : dde.c * @@ -227,7 +238,7 @@ XACT *pxact) */ DdeFreeDataHandle(pxact->ret); pxact->ret = 0L; - SendMessage(hwndInfoCtrl, ICM_SETSTRING, ICSID_UR, NULL); + SendMessage(hwndInfoCtrl, ICM_SETSTRING, ICSID_UR, 0); } } else { /* @@ -541,7 +552,7 @@ HDDEDATA hData) #define CBBUF 1024 - if (hData == NULL) { + if (hData == 0) { return(NULL); }