imagegrabwindow 


gd apg

GRABS a window or its client area using a windows handle (HWND property in COM instance), in Internet Explorer.


This function is only available on Windows™.





If $handle is an invalid window handle an E_NOTICE is issued.

If the Windows API is too old, an E_WARNING is issued.

This function returns FALSE on failure.



<?php

GdImage
|false imagegrabwindow ( int $handle, bool $client_area = false )

where,

$handle = The HWND window ID

$client_area 
= Include the client area 
                                     of the application window

?>