diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/delphi/m_core.inc | 4 | ||||
-rw-r--r-- | include/m_core.h | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/include/delphi/m_core.inc b/include/delphi/m_core.inc index 1383fbf9cf..03940fbad9 100644 --- a/include/delphi/m_core.inc +++ b/include/delphi/m_core.inc @@ -53,9 +53,9 @@ const DBVTF_VARIABLELENGTH = $80; // ?
type
- HCONTACT = THANDLE;
- THCONTACT = HCONTACT;
MCONTACT = DWORD;
+ HCONTACT = MCONTACT;
+ THCONTACT = HCONTACT;
type
HDBEVENT = THANDLE;
PDBVARIANT = ^TDBVARIANT;
diff --git a/include/m_core.h b/include/m_core.h index 803185233a..eeb2707664 100644 --- a/include/m_core.h +++ b/include/m_core.h @@ -48,9 +48,7 @@ MIR_CORE_DLL(LPCTSTR) CmdLine_GetOption(LPCTSTR ptszParameter); ///////////////////////////////////////////////////////////////////////////////
// database functions
-DECLARE_HANDLE(HCONTACT);
-
-typedef UINT32 MCONTACT;
+typedef UINT32 MCONTACT, HCONTACT;
#define INVALID_CONTACT_ID (MCONTACT(-1))
// DBVARIANT: used by db/contact/getsetting and db/contact/writesetting
|