LEADCAPTUREINFO

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; 

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

Members

uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() operator to calculate this value.

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 L_CaptureFromExeDlg captured a resource.

nExeNameLen

Length of the pszExeName buffer.

nMaxExeName

Maximum length of the pszExeName buffer.

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

LEADTOOLS Screen Capture C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.