IVirtualUI::TakeScreenshot Method

Takes a screenshot of a Window.

IDL

[id(0x00000077)]

HRESULT _stdcall TakeScreenshot([in] long Wnd, [in] BSTR FileName, [out, retval] VARIANT_BOOL* OutRetVal);

Parameters

Parameters

Description

[in] long Wnd

The Window to capture.

[in] BSTR FileName

Full path of file to save screenshot. Extensions allowed: jpg, bmp, png.

Group

IVirtualUI Methods