Mercurial > hg > xemacs-beta
comparison src/device-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 | 56144c8593a8 |
children |
comparison
equal
deleted
inserted
replaced
5935:d5eb0914ca1f | 5936:574f0cded429 |
---|---|
245 XEUNICODE_P ? CP_WINUNICODE : CP_WINANSI); | 245 XEUNICODE_P ? CP_WINUNICODE : CP_WINANSI); |
246 mswindows_dde_item_open = | 246 mswindows_dde_item_open = |
247 qxeDdeCreateStringHandle (mswindows_dde_mlid, | 247 qxeDdeCreateStringHandle (mswindows_dde_mlid, |
248 XETEXT (MSWINDOWS_DDE_ITEM_OPEN), | 248 XETEXT (MSWINDOWS_DDE_ITEM_OPEN), |
249 XEUNICODE_P ? CP_WINUNICODE : CP_WINANSI); | 249 XEUNICODE_P ? CP_WINUNICODE : CP_WINANSI); |
250 DdeNameService (mswindows_dde_mlid, mswindows_dde_service, 0L, DNS_REGISTER); | 250 DdeNameService (mswindows_dde_mlid, mswindows_dde_service, E0, DNS_REGISTER); |
251 } | 251 } |
252 #endif /* HAVE_DRAGNDROP */ | 252 #endif /* HAVE_DRAGNDROP */ |
253 | 253 |
254 void | 254 void |
255 init_mswindows_dde_very_early (void) | 255 init_mswindows_dde_very_early (void) |
281 | 281 |
282 static void | 282 static void |
283 mswindows_delete_device (struct device *d) | 283 mswindows_delete_device (struct device *d) |
284 { | 284 { |
285 #ifdef HAVE_DRAGNDROP | 285 #ifdef HAVE_DRAGNDROP |
286 DdeNameService (mswindows_dde_mlid, 0L, 0L, DNS_UNREGISTER); | 286 DdeNameService (mswindows_dde_mlid, E0, E0, DNS_UNREGISTER); |
287 DdeFreeStringHandle (mswindows_dde_mlid, mswindows_dde_item_result); | 287 DdeFreeStringHandle (mswindows_dde_mlid, mswindows_dde_item_result); |
288 DdeFreeStringHandle (mswindows_dde_mlid, mswindows_dde_item_open); | 288 DdeFreeStringHandle (mswindows_dde_mlid, mswindows_dde_item_open); |
289 DdeFreeStringHandle (mswindows_dde_mlid, mswindows_dde_topic_system); | 289 DdeFreeStringHandle (mswindows_dde_mlid, mswindows_dde_topic_system); |
290 DdeFreeStringHandle (mswindows_dde_mlid, mswindows_dde_topic_eval); | 290 DdeFreeStringHandle (mswindows_dde_mlid, mswindows_dde_topic_eval); |
291 DdeFreeStringHandle (mswindows_dde_mlid, mswindows_dde_service); | 291 DdeFreeStringHandle (mswindows_dde_mlid, mswindows_dde_service); |