共用方式為


FbwfGetActualSize (Standard 7 SP1)

7/8/2014

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

Syntax

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

Parameters

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

Return Value

This function may return the following:

Return value

Description

ERROR_SUCCESS

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 that contains volume sector size information in actual numbers.

Requirements

OS Versions: Standard 7

Header: Fbwfapi.h

Link Library: Fbwflib.lib

See Also

Reference

FbwfGetVirtualSize
FbwfFSInfo

Concepts

FBWF API