Invalid Handle Constants

Applies to: Windows | Windows Server

Invalid Handle Constants

The following constants indicate invalid handles for different aspects of ESE.

Constant/value

Description

JET_instanceNil
(~(JET_INSTANCE)0)

An invalid handle for a database instance.
Windows XP: Introduced in Windows XP.

JET_sesidNil
(~(JET_SESID)0)

An invalid handle for a session ID.

JET_tableidNil
(~(JET_TABLEID)0)

An invalid handle for a table ID.

JET_bitNil
((JET_GRBIT)0)

An invalid handle for a group of bits.

JET_LSNil
(~(JET_LS)0)

An invalid handle for the Local Storage.

JET_dbidNil
((JET_DBID) 0xFFFFFFFF)

An invalid handle for the database ID.

Requirements

Requirement Value

Client

Requires Windows Vista, Windows XP, or Windows 2000 Professional.

Server

Requires Windows Server 2008, Windows Server 2003, or Windows 2000 Server.

Header

Declared in Esent.h.