FbwfGetVirtualSize

5/10/2007

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

Syntax

ULONG WINAPI FbwfGetVirtualSize(
   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 virtual 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.

Remarks

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

Requirements

OS Versions: Windows XP Embedded, WEPOS.

Header: fbwfapi.h.

Link Library: fbwflib.lib.

See Also

Reference

FbwfGetActualSize

Concepts

FBWF API