fxScreenShot
Takes screen-shot of the desktop window and displays it in the specified device context, first stretching or compressing the bitmap to fit the dimensions of the destination rectangle, if necessary.
Declaration
Declare Function fxScreenShot Lib "fx.dll" ( _ ByVal DestDC As Long, _ ByVal DestX As Long, _ ByVal DestY As Long, _ ByVal DestWidth As Long, _ ByVal DestHeight As Long, _ ByVal GetCursor As Boolean, _ ByVal Flags As Long) As Long
Parameters
· DestDC Identifies the destination device context. · DestX Specifies the x-coordinate, in logical units, of the upper-left corner of the destination rectangle. · DestY Specifies the y-coordinate, in logical units, of the upper-left corner of the destination rectangle. · DestWidth Specifies the width, in logical units, of the destination rectangle. · DestHeight Specifies the height, in logical units, of the destination rectangle. · GetCursor Specifies wether to take cursor shot or not. · Flags Reserved parameter.
Return Values
If the function succeeds, the return value is nonzero; if fails, the return value is zero.