gflImportFromHWND

GFL SDK

gflImportFromHWND

The gflImportFromHWND function allows to copy the content of a window. .

GFL_ERROR gflImportFromHWND(
  HWND hwnd

const GFL_RECT * rect,
GFL_BITMAP ** bitmap );

Parameters

    hwnd
    Handle of the window.
    rect
    Rectangle to copy.
    Can be NULL.
    bitmap
    Address of a pointer to a GFL_BITMAP structure.

Return value

    The function returns GFL_NO_ERROR if it is successful or a value of GFL_ERROR.

See also