Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
If the specified block is cached, this function copies data from the cache into a buffer.
If the specified block is not cached, this function reads the data from the disk and copies it into a buffer along with the cache.
It is called by File System Disk Manager (FSDMGR) for disk cache.
Syntax
DWORD FSDMGR_CachedRead( DWORD dwCacheId, DWORD dwBlockNum, DWORD dwNumBlocks, PVOID pBuffer, DWORD dwReadFlags ); |
Parameters
- dwCacheId
-
[in] Cache ID value returned by FSDMGR_CreateCache.
- dwBlockNum
-
[in] Starting block from which to read.
- dwNumBlock
-
[in] Number of blocks to read.
- pBuffer
-
[out] Pointer to the buffer to which to copy data.
- dwReadFlags
-
Not used.
Return Value
ERROR_SUCCESS indicates success. A Microsoft Win32 error code indicates failure.
Requirements
Header | fsdmgr.h |
Library | Fsdmgr.lib |
Windows Embedded CE | Windows CE 5.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |