Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#ifndef __XFERLIST__
#define __XFERLIST__
#define MAX_TRANSFERS (8)
typedef struct _XFER_LIST {
CRITICAL_SECTION Lock; HANDLE CloseEvent; BOOL Closing; LONG Transfers;
FILE_TRANSFER* List[MAX_TRANSFERS];
} XFER_LIST, *PXFER_LIST;
PXFER_LIST CreateXferList( VOID );
VOID DeleteXferList( PXFER_LIST XferList );
BOOL AddTransferToList( PXFER_LIST XferList, FILE_TRANSFER* FileTransfer );
BOOL RemoveTransferFromList( PXFER_LIST XferList, FILE_TRANSFER* FileTransfer );
BOOL AreThereActiveTransfers( PXFER_LIST XferList );
FILE_TRANSFER* TransferFromCookie( PXFER_LIST XferList, __int64 Cookie );
#endif //__XFERLIST__
|