CacheIoControl (Compact 2013)
3/26/2014
This function sends a custom I/O control to the cache.
Syntax
BOOL 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 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 the dwIoControlCode parameter 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 the dwIoControlCode parameter 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 NULL, this function uses the variable pointed to by lpBytesReturned.
After such an operation, the value of the variable has no meaning.
- lpOverlapped
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 |