* fhandler_clipboard.cc: new file

* Makefile.in: include fhandler_clipboard.o in DLL_OFILES list.
* fhandler.h: add FH_CLIPBOARD to the devices enum.
(fhandler_dev_clipboard): new
* path.cc (windows_device_names): add "\\dev\\clipboard"
(get_device_number): check for "clipboard"
* dcrt0.cc: declare a few more functions from winuser.h
* dtable.cc (dtable::build_fhandler): check for FH_CLIPBOARD in
switch().
This commit is contained in:
DJ Delorie
2000-10-17 01:46:26 +00:00
parent 92e1969051
commit e6f5c9d57d
7 changed files with 136 additions and 2 deletions

View File

@@ -299,6 +299,9 @@ dtable::build_fhandler (int fd, DWORD dev, const char *name, int unit)
case FH_MEM:
fh = new (buf) fhandler_dev_mem (name, unit);
break;
case FH_CLIPBOARD:
fh = new (buf) fhandler_dev_clipboard (name);
break;
default:
/* FIXME - this could recurse forever */
return build_fhandler (fd, name, NULL);