struct FarListItemData
{
int Index;
int DataSize;
void *Data;
DWORD Reserved;
};
| DataSize | Data |
|---|---|
0 |
Pointer to a null-terminated string.
Memory area of strlen(Data)+1 bytes is alocated. The data is then copied to the
allocated space.
|
<= sizeof(DWORD) |
Character array of 4 or less elements or any pointer (HWND window handle, for example).
No memory is allocated. Data is placed in the local area of the list item.
|
> sizeof(DWORD) |
Arbitrary data. Memory area of DataSize bytes is allocated. The data is then copied to the allocated space. |