Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

DownloadTask.cpp File Reference

#include "StdAfx.h"
#include "Shareaza.h"
#include "Settings.h"
#include "Download.h"
#include "Downloads.h"
#include "DownloadTask.h"
#include "DownloadGroups.h"
#include "Transfers.h"
#include "Uploads.h"
#include "LibraryFolders.h"

Go to the source code of this file.

Defines

#define METHOD_BUFFERED   0x00000000
#define FILE_DEVICE_FILE_SYSTEM   0x00000009
#define CTL_CODE(DeviceType, Function, Method, Access)   (((DeviceType) << 16) | ((Access) << 14) | ((Function) << 2) | (Method))
#define FSCTL_SET_SPARSE   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 49, METHOD_BUFFERED, FILE_WRITE_DATA)
#define BUFFER_SIZE   (2*1024*1024)


Define Documentation

#define BUFFER_SIZE   (2*1024*1024)
 

Definition at line 54 of file DownloadTask.cpp.

#define CTL_CODE DeviceType,
Function,
Method,
Access   )     (((DeviceType) << 16) | ((Access) << 14) | ((Function) << 2) | (Method))
 

Definition at line 52 of file DownloadTask.cpp.

#define FILE_DEVICE_FILE_SYSTEM   0x00000009
 

Definition at line 51 of file DownloadTask.cpp.

#define FSCTL_SET_SPARSE   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 49, METHOD_BUFFERED, FILE_WRITE_DATA)
 

Definition at line 53 of file DownloadTask.cpp.

Referenced by CFragmentedFile::Create(), and CDownloadTask::RunAllocate().

#define METHOD_BUFFERED   0x00000000
 

Definition at line 50 of file DownloadTask.cpp.


Generated on Thu Dec 15 10:39:56 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2