From 4c8d19f8daa2f9b9692d5995226439b2001ad92f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 8 Feb 2014 18:13:03 +0000 Subject: low-level database access functions rewritten to MCONTACT instead of HANDLE hContact git-svn-id: http://svn.miranda-ng.org/main/trunk@8067 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/delphi/m_core.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/delphi/m_core.inc') diff --git a/include/delphi/m_core.inc b/include/delphi/m_core.inc index 79bbe29b3f..7ee88e52c0 100644 --- a/include/delphi/m_core.inc +++ b/include/delphi/m_core.inc @@ -53,6 +53,7 @@ const DBVTF_VARIABLELENGTH = $80; // ? type + MCONTACT = DWORD; HDBEVENT = THANDLE; PDBVARIANT = ^TDBVARIANT; TDBVARIANT = record @@ -74,6 +75,9 @@ type ); end; +const + INVALID_CONTACT_ID = MCONTACT(-1); + const DBEF_FIRST = 1; // internally only, do not use DBEF_SENT = 2; // if set, the event was sent by the user, otherwise it was received -- cgit v1.2.3