Give Us a Call: +1-877-99-BOPUP (877-992-6787) or Request for a Live Chat

TRANSFER_NOTIFY_FILE_STRUCT structure

Specifies information on incoming file transfer.

typedef struct _TRANSFER_NOTIFY_FILE_STRUCT {     DWORD dwTransferFlags;     FILE_INFO_STRUCT lpFileInfo;     char lpszSenderName[ACCOUNT_LENGTH + 1];     char lpszSenderFirstName[64 + 1];     char lpszSenderLastName[64 + 1];     char lpszGroupName[64 + 1];     char lpszOriginalDate[32]; } TRANSFER_NOTIFY_FILE_STRUCT;

Members

dwTransferFlags
Array of bitwise flags that specify parameters of the file transfer. This member can be one or more of the following values:
FILE_TRANSFER_FLAG_USER
Indicates peer-to-peer file transmission, i.e. from personal sending file(s) from another user.
FILE_TRANSFER_FLAG_GROUP
Indicates that the file transfer was sent on a messaging group by another user.
FILE_TRANSFER_FLAG_SERVER
Indicates that the file transfer was sent from the IM server in a form of assigned files/directories.
FILE_TRANSFER_FLAG_OFFLINE
Indicates that the files were stored as offline and were forwarded by the IM server.
lpFileInfo
A FILE_INFO_STRUCT structure that contains information on files/directories that are being received.
lpszSenderName
Contains the sender's account name. This member is not used when dwTransferFlags has FILE_TRANSFER_FLAG_SERVER flag set.
lpszSenderFirstName
Contains the sender's first name. This member is not used when dwTransferFlags has FILE_TRANSFER_FLAG_SERVER flag set.
lpszSenderLastName
Contains the sender's last name. This member is not used when dwTransferFlags has FILE_TRANSFER_FLAG_SERVER flag set.
lpszGroupName
Contains the group name on which the files were sent. This member is valid only if dwTransferFlags has FILE_TRANSFER_FLAG_GROUP flag set.
lpszOriginalDate
Contains original date when the files were initially sent. The date is stored in the "MM/dd/YYYY 00:00:00" format where MM — month, dd — day and YYYY indicates year. This member is valid only when dwTransferFlags has FILE_TRANSFER_FLAG_OFFLINE flag set.