Share via


FSDMGR_CacheIoControl

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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

  • 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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

FSD Functions

Other Resources