共用方式為


FbwfGetVirtualSize (Standard 7 SP1)

7/8/2014

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

Syntax

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

Parameters

  • volume
    [in] Null-terminated wide string that indicates volume name. This can be either a drive letter or volume device name.
  • fsInfo
    [out] Pointer to user-allocated FbwfFSInfo structure populated with the virtual 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.

Remarks

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

Requirements

OS Versions: Standard 7

Header: Fbwfapi.h

Link Library: Fbwflib.lib

See Also

Reference

FbwfGetActualSize
FbwfFSInfo

Concepts

FBWF API