[Toc][Index]

FS32_READFILEATCACHE - Read file from cache

  
Purpose   
Return KernCacheList_t structure pointer for a given file and a given file 
offset.   
Calling Sequence   


int _cdecl FS32_READFILEATCACHE(psffsi, psffsd, IOflag, off, pcb, ppCacheList);

struct sffsi *psffsi;
struct sffsd *psffsd;
unsigned long IOflag;
long long off;
unsigned long pcb;
KernCacheList_t **ppCacheList;


Where   
psffsi is a pointer to the file-system-independent portion of an open file 
instance.   
psffsd is a pointer to the file-system-dependent portion of an open file 
instance. The FSD may store or adjust data as appropriate in this 
structure.   
IOflag indicates information about the operation on the handle.   
IOflag == 0x0010 indicates write-through 
IOflag == 0x0020 indicates no-cache 
  
off specifies the file offset.   
pcb is the pointer to a variable where a size of KernCacheList_t structure 
is returned.   
ppCacheList is the pointer to a variable where the KernCacheList_t 
structure pointer is returned.   


typedef struct _KernCacheList
{
  unsigned long  LinListCount;
  KernPageList_t *LinearList;
  unsigned long  PhysListCount;
  KernPageList_t *PhysicalList;
} KernCacheList_t;

typedef struct _KernPageList
{
  unsigned long Addr;
  unsigned long Size;
} KernPageList_t;

  
Remarks   
none, yet.   

Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs