IDatabase::GetClientCount method

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

Retrieves the number of clients who currently have this database file open.

Syntax

HRESULT GetClientCount(
  [out] LPDWORD pcClients
);

Parameters

pcClients [out]

Type: LPDWORD

On exit, this DWORD will contain either 0 (if the database file is not being shared) or the number of clients who have the database open.

Return value

Type: HRESULT

This function will always return S_OK.

Requirements

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