comparison src/event-msw.c @ 5936:574f0cded429 cygwin

try to replace all nnnL or nnnUL constants with EMACS_[U]INT
author Henry Thompson <ht@markup.co.uk>
date Sun, 13 Dec 2015 13:22:58 +0000
parents 08cfc8f77fb6
children
comparison
equal deleted inserted replaced
5935:d5eb0914ca1f 5936:574f0cded429
1913 || !DdeCmpStringHandles (hszItem, mswindows_dde_service)) && 1913 || !DdeCmpStringHandles (hszItem, mswindows_dde_service)) &&
1914 (!hszTopic 1914 (!hszTopic
1915 || !DdeCmpStringHandles (hszTopic, mswindows_dde_topic_system) 1915 || !DdeCmpStringHandles (hszTopic, mswindows_dde_topic_system)
1916 || !DdeCmpStringHandles (hszTopic, mswindows_dde_topic_eval))) 1916 || !DdeCmpStringHandles (hszTopic, mswindows_dde_topic_eval)))
1917 return (DdeCreateDataHandle (mswindows_dde_mlid, (LPBYTE) pairs, 1917 return (DdeCreateDataHandle (mswindows_dde_mlid, (LPBYTE) pairs,
1918 sizeof (pairs), 0L, 0, uFmt, 0)); 1918 sizeof (pairs), E0, 0, uFmt, 0));
1919 } 1919 }
1920 return (HDDEDATA) NULL; 1920 return (HDDEDATA) NULL;
1921 1921
1922 case XTYP_ADVSTART: 1922 case XTYP_ADVSTART:
1923 if (!mswindows_dde_enable) 1923 if (!mswindows_dde_enable)
2023 2023
2024 /* If we cannot create the data handle, this passes the null 2024 /* If we cannot create the data handle, this passes the null
2025 * return back to the client, which signals an error as we wish. 2025 * return back to the client, which signals an error as we wish.
2026 */ 2026 */
2027 return DdeCreateDataHandle (mswindows_dde_mlid, (LPBYTE)result, 2027 return DdeCreateDataHandle (mswindows_dde_mlid, (LPBYTE)result,
2028 bytes, 0L, hszItem, uFmt, 0); 2028 bytes, E0, hszItem, uFmt, 0);
2029 } 2029 }
2030 2030
2031 case XTYP_EXECUTE: 2031 case XTYP_EXECUTE:
2032 if (!mswindows_dde_enable) 2032 if (!mswindows_dde_enable)
2033 return (HDDEDATA) DDE_FBUSY; 2033 return (HDDEDATA) DDE_FBUSY;