property ScreenShotToFile.
Captures Desktop window or client area
of a target window into a PNG file.
|
hWnd
[in,defaultvalue(0)] . Handle of the target window or
0 for Desktop window
pngFilename
[in] . Full filename
for PNG file (without extension .png)
timeStamping
[in,defaultvalue(0)] . Setting to 1 will add a timestamp into
the screenshot.
( Available since v2.36.9
)
pVal
[out, retval] returns 0 (success) or -1 (failure)
S_OK
The
operation was successfull.
E_POINTER
A NULL
pointer was supplied as an argument.
E_UNEXPECTED
An
unexpected error occoured.