FbwfGetActualSize

5/10/2007

Returns the structure FbwfFSInfo containing volume sector size information in actual numbers.

Syntax

ULONG WINAPI FbwfGetActualSize(
   PWSTR volume,
   FbwfFSInfo *fsInfo
);

Parameters

  • volume
    [in] NULL terminated wide string indicating volume name. This can either be a drive letter or volume device name.
  • fsInfo
    [out] Pointer to user-allocated FbwfFSInfo structure populated with the actual size data.

Return Value

This function may return the following:

Return value Description

NO_ERROR

The operation completed successfully.

ERROR_INVALID_DRIVE

The specified volume is valid but does not exist or is not protected.

ERROR_INVALID_FUNCTION

If FBWF is disabled for the next session.

ERROR_INVALID_PARAMETER

If the volume parameter is NULL.

Other errors from file system driver

If calling the underlying volume fails.

Remarks

This function returns the structure FbwfFSInfo containing volume sector size information in actual numbers.

Requirements

OS Versions: Windows XP Embedded, WEPOS.

Header: fbwfapi.h.

Link Library: fbwflib.lib.

See Also

Reference

FbwfGetVirtualSize

Concepts

FBWF API