diff options
author | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2008-06-03 13:27:13 +0000 |
---|---|---|
committer | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2008-06-03 13:27:13 +0000 |
commit | 964a7089f8a243fed81b9fc293512c7e2be6ce18 (patch) | |
tree | 4c81ec9feacd624190965318061c8fdaab8ae08a /sametime/common.cpp | |
parent | 60cbe2d6c7d0a0b9dafce40d9d9ecdc868c4c49b (diff) |
import sametime plugin source
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@412 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'sametime/common.cpp')
-rw-r--r-- | sametime/common.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sametime/common.cpp b/sametime/common.cpp new file mode 100644 index 0000000..c2a503f --- /dev/null +++ b/sametime/common.cpp @@ -0,0 +1,12 @@ +#include "common.h"
+
+int DBGetContactSettingUtf(HANDLE hContact, char *module, char *setting, DBVARIANT *dbv) {
+ DBCONTACTGETSETTING cgs;
+ cgs.szModule = module;
+ cgs.szSetting = setting;
+ cgs.pValue = dbv;
+
+ dbv->type = DBVT_UTF8;
+
+ return CallService(MS_DB_CONTACT_GETSETTING_STR, (WPARAM)hContact, (LPARAM)&cgs);
+}
\ No newline at end of file |