FSSCTL_FLUSH_BUFFERS (Windows CE 5.0)

Send Feedback

This IOCTL flushes all buffers on a specified file system.

Parameters

  • pszRoot
    Path of the file system to be flushed. "\" is the root file system. If this value is NULL, then the file system is the object store and the registry and databases are flushed along with the object store.
  • dwIoControlCode
    Set to FSSCTL_FLUSH_BUFFERS.
  • lpInBuf
    Not used. Set to NULL.
  • nInBufSize
    Not used. Set to zero.
  • lpOutBuf
    Not used. Set to NULL.
  • nOutBufSize
    Not used. Set to zero.
  • lpBytesReturned
    Not used.

Return Values

If the operation succeeds, DeviceIoControl returns a nonzero value.

If the operation fails, DeviceIoControl returns zero. For extended error information, call GetLastError.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Fsioctl.h

See Also

DeviceIoControl | GetLastError

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.