Image.captureWindow(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Captures a window as an image, using the handle that is supplied as a parameter.
public:
virtual int captureWindow(int _hWnd);
public virtual int captureWindow (int _hWnd);
abstract member captureWindow : int -> int
override this.captureWindow : int -> int
Public Overridable Function captureWindow (_hWnd As Integer) As Integer
Parameters
- _hWnd
- Int32
The handle to the window that you want to capture which must be supplied as an integer.
Returns
0 indicates success; otherwise, failure.