/* -*-C-*-
-$Id: os2pm.c,v 1.24 1995/11/04 02:10:56 cph Exp $
+$Id: os2pm.c,v 1.25 1995/11/04 02:23:44 cph Exp $
Copyright (c) 1994-95 Massachusetts Institute of Technology
return (WinLoadPointer (desktop, module, id));
}
+static BOOL
+window_destroy_pointer (qid_t qid, HPOINTER pointer)
+{
+ return (WinLoadPointer (pointer));
+}
+
static BOOL
window_set_icon (window_t * window, HPOINTER icon)
{
#| -*-Scheme-*-
-$Id: os2pm.scm,v 1.5 1995/11/04 02:11:13 cph Exp $
+$Id: os2pm.scm,v 1.6 1995/11/04 02:24:08 cph Exp $
Copyright (c) 1995 Massachusetts Institute of Technology
(value ("HPOINTER" pointer))
(arguments qid ("HWND" desktop) ("HMODULE" module) (ulong id)))
+(define-pm-procedure window_destroy_pointer
+ (value ("BOOL" successp))
+ (arguments qid ("HPOINTER" icon)))
+
(define-pm-procedure window_set_icon
(value ("BOOL" successp))
(arguments window ("HPOINTER" icon)))
/* -*-C-*-
-$Id: pros2pm.c,v 1.16 1995/11/04 02:11:06 cph Exp $
+$Id: pros2pm.c,v 1.17 1995/11/04 02:25:07 cph Exp $
Copyright (c) 1994-95 Massachusetts Institute of Technology
(arg_ulong_integer (3)))));
}
+DEFINE_PRIMITIVE ("OS2WIN-DESTROY-POINTER", Prim_OS2_window_destroy_pointer, 1, 1, 0)
+{
+ PRIMITIVE_HEADER (1);
+ PRIMITIVE_RETURN
+ (BOOLEAN_TO_OBJECT (OS2_window_destroy_pointer (arg_ulong_integer (1))));
+}
+
DEFINE_PRIMITIVE ("OS2WIN-SET-ICON", Prim_OS2_window_set_icon, 2, 2, 0)
{
PRIMITIVE_HEADER (2);
#| -*-Scheme-*-
-$Id: os2winp.scm,v 1.12 1995/11/04 01:53:49 cph Exp $
+$Id: os2winp.scm,v 1.13 1995/11/04 02:25:38 cph Exp $
Copyright (c) 1995 Massachusetts Institute of Technology
(os2win-console-wid 0)
(os2win-desktop-height 0)
(os2win-desktop-width 0)
+ (os2win-destroy-pointer 1)
(os2win-event-ready? 2)
(os2win-focus? 1)
(os2win-font-dialog 2)