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.
Size of this structure in bytes, for versioning. Use the sizeof() operator to calculate this value.
Handle to window being captured. This will be filled by all of the capture functions, with the handle to the window that was captured.
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.
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 |
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.
Character string containing the resource ID.
Reserved.
Character string to be filled with the name of the EXE from which L_CaptureFromExeDlg captured a resource.
Length of the pszExeName buffer.
Maximum length of the pszExeName buffer.