From 57308d4f9a9c181ec3b6231e946eba2300ee0472 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 15 Mar 2014 16:10:54 +0000 Subject: database event registration's code slightly enhanced git-svn-id: http://svn.miranda-ng.org/main/trunk@8624 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_database.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/m_database.h b/include/m_database.h index f2cb1b1eb8..6d1f18a29d 100644 --- a/include/m_database.h +++ b/include/m_database.h @@ -223,7 +223,7 @@ decode a blob and return the event text in the required format, its prototype is to a call of MS_DB_EVENT_GETTEXT (see below) wParam = 0 lParam = (LPARAM)(DBEVENTTYPEDESCR*) -Always returns 0. +Returns -1 on error (e.g., event type already registred), 0 on success */ typedef struct -- cgit v1.2.3