LEADCAPTUREINFO

typedef struct tagLEADCAPTUREINFO
{
   L_UINT uStructSize;
   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.

Member

Description

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

 

nMaxExeName

maximum length of the pszExeName buffer.