IDiskQuotaUserBatch::FlushToDisk

[This is preliminary documentation and subject to change.]

Writes user object changes to disk in a single call to the underlying file system.

HRESULT FlushToDisk( void );
 

Parameters

This method has no parameters.

Return Values

This method returns one of the following values.

Value Meaning
S_OK Success.
E_FAIL Error writing quota information.
E_OUTOFMEMORY Insufficient memory.
E_UNEXPECTED An unexpected exception occurred.
DQC_E_ACCESS_DENIED The caller has insufficient access rights.

Remarks

There are limitations on the amount of information that can be written to disk in a single call to the file system. The flush operation may generate multiple calls to the file system. Nonetheless, the batch operation will be more efficient than a single call for each user object.

QuickInfo

  Windows NT: Requires version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in dskquota.h.

See Also

File Systems Overview, File System Interfaces, IDiskQuotaUserBatch