* 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

@ -431,6 +431,7 @@ const char *windows_device_names[] =
"\\dev\\zero",
"\\dev\\%srandom",
"\\dev\\mem",
"\\dev\\clipboard",
};
static int
@ -505,6 +506,8 @@ get_device_number (const char *name, int &unit, BOOL from_conv)
devn = FH_MEM;
unit = 1;
}
else if (deveq ("clipboard"))
devn = FH_CLIPBOARD;
else if (deveq ("port"))
{
devn = FH_MEM;