Compartilhar via


FSSCTL_FLUSH_BUFFERS

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This I/O control flushes all buffers in a specified file system.

Parameters

  • pszRoot
    Path of the file system to be flushed. The backslash (\) indicates the root of the file system. If this value is set to NULL, 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, the DeviceIoControl** function returns a nonzero value. **

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

Requirements

Header fsioctl.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

FS I/O Controls

Other Resources

DeviceIoControl