0.014 release
[imager-screenshot.git] / Screenshot.xs
index 93d794cc942743c9abda641fd8c69f2294307051..58793dbead95dfd581995cb323dc31fe02b97653 100644 (file)
@@ -5,6 +5,9 @@
 #include "imext.h"
 #include "imperl.h"
 #include "imss.h"
+#ifdef SS_WIN32
+#include "svwin32.h"
+#endif
 
 DEFINE_IMAGER_CALLBACKS;
 
@@ -17,27 +20,28 @@ PROTOTYPES: DISABLE
 #ifdef SS_WIN32
 
 Imager::ImgRaw
-imss_win32(hwnd, include_decor = 0, left = 0, top = 0, right = 0, bottom = 0, display = 0)
-       unsigned hwnd
+imss_win32(hwnd, include_decor = 0, left = 0, top = 0, right = 0, bottom = 0, monitor = 0)
+       SSHWND hwnd
        int include_decor
        int left
        int top
        int right
        int bottom
-       int display
+       int monitor
 
 #endif
 
 #ifdef SS_X11
 
 Imager::ImgRaw
-imss_x11(display, window_id, left = 0, top = 0, right = 0, bottom = 0)
+imss_x11(display, window_id, left = 0, top = 0, right = 0, bottom = 0, direct = 0)
         unsigned long display
        int window_id
        int left
        int top
        int right
        int bottom
+       int direct
 
 unsigned long
 imss_x11_open(display_name = NULL)
@@ -61,4 +65,4 @@ imss_darwin(left = 0, top = 0, right = 0, bottom = 0)
 #endif
 
 BOOT:
-       PERL_INITIALIZE_IMAGER_CALLBACKS;
\ No newline at end of file
+       PERL_INITIALIZE_IMAGER_CALLBACKS;