FSDMGR_CacheIoControl (Windows Embedded CE 6.0)
1/6/2010
This function sends a custom I/O control to the cache. It is called by File System Disk Manager (FSDMGR) for disk cache.
Syntax
BOOL FSDMGR_CacheIoControl(
DWORD dwCacheId,
DWORD dwIoControlCode,
LPVOID lpInBuf,
DWORD nInBufSize,
LPVOID lpOutBuf,
DWORD nOutBufSize,
LPDWORD lpBytesReturned,
LPOVERLAPPED lpOverlapped
);
Parameters
- dwCacheId
[in] Cache ID value returned by the FSDMGR_CreateCache function.
- dwIoControlCode
[in] I/O control for the operation.
lpInBuf
[in] Long pointer to a buffer that contains the data required to perform the operation.Set to NULL if dwIoControlCode specifies an operation that does not require input data.
- nInBufSize
[in] Size, in bytes, of the buffer pointed to by lpInBuf.
lpOutBuf
[out] Long pointer to a buffer that receives the output data for the operation.Set to NULL if dwIoControlCode specifies an operation that does not produce output data.
- nOutBufSize
[out] Size, in bytes, of the buffer pointed to by lpOutBuf.
lpBytesReturned
[out] Long pointer to a variable that receives the size, in bytes, of the data stored into the buffer pointed to by lpOutBuf.Even when an operation produces no output data and lpOutBuf is set to NULL, this function uses the variable pointed to by lpBytesReturned.
After such an operation, the value of the variable has no meaning.
- lpOverlappe
Ignored. Set to NULL.
Return Value
Nonzero indicates success. Zero indicates failure. For extended error information, call GetLastError.
Requirements
Header | fsdmgr.h |
Library | Fsdmgr.lib |
Windows Embedded CE | Windows CE 5.0 and later |