LEADCAPTUREINFO

Summary

This structure is used by the capture functions to return information about the capture that took place.

Syntax

typedef struct tagLEADCAPTUREINFO 
{ 
   L_UINT uStructSize; 
   L_HWND hWnd; 
   RECT rcArea; 
   L_INT nResType; 
   L_INT nIndex; 
   LPTSTR pszResID; 
   L_TCHAR szReserved[256]; 
   LPTSTR pszExeName; 
   L_INT nExeNameLen; 
   L_INT nMaxExeName; 
} LEADCAPTUREINFO, * pLEADCAPTUREINFO; 

Members

uStructSize

Size of this structure. Use sizeof (LAYERINFO).

hWnd

handle to window being captured. This will be filled by all of the capture functions, with the handle to the window that was captured.

rcArea

area being captured. This will be filled by all of the capture functions, with the bounding rectangle of the area that was captured. The coordinates should be relative to the full screen, left, top being 0,0.

nResType

resource type. In the case of an EXE capture, this will be filled with the type of resource that was captured. Possible values are:

RESTYPE_BITMAP

capture a bitmap resource.

RESTYPE_ICON

capture an icon resource.

RESTYPE_CURSOR

capture a cursor resource.

nIndex

index of the resource that was captured. In the case of an EXE capture, this will be filled with the index of the resource that was captured. In this toolkit, resource indices will begin at 0.

pszResID

character string containing the resource ID.

szReserved

reserved.

pszExeName

character string to be filled with the name of the EXE from which LScreenCapture::CaptureFromEXEDlg captured a resource.

nExeNameLen

Length of the pszExeName buffer.

nMaxExeName

maximum length of the pszExeName buffer.

Help Version 22.0.2023.2.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.