IDatabase::GetSize method

[GetSize is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Retrieves the sizes of various parts of the database.

Syntax

HRESULT GetSize(
  [out] LPDWORD pcbFile,
  [out] LPDWORD pcbAllocated,
  [out] LPDWORD pcbFreed,
  [out] LPDWORD pcbStreams
);

Parameters

pcbFile [out]

Type: LPDWORD

Optional. On success, will contain the size of the database file.

pcbAllocated [out]

Type: LPDWORD

Optional. On success, will contain the allocated size of the database.

pcbFreed [out]

Type: LPDWORD

Optional. On success, will contain the freed size of the database.

pcbStreams [out]

Type: LPDWORD

Optional. On success, will contain the size of streams within the database.

Return value

Type: HRESULT

Use the SUCCEEDED macro to determine whether this function failed.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Product
Outlook Express 6.0
IDL
Directdb.idl
DLL
Directdb.dll (version 6.0 or later)