* 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:
@ -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;
|
||||
|
Reference in New Issue
Block a user