summaryrefslogtreecommitdiffstats
path: root/public/sdk/inc/mspab.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--public/sdk/inc/mspab.h69
1 files changed, 69 insertions, 0 deletions
diff --git a/public/sdk/inc/mspab.h b/public/sdk/inc/mspab.h
new file mode 100644
index 000000000..45fefa024
--- /dev/null
+++ b/public/sdk/inc/mspab.h
@@ -0,0 +1,69 @@
+/*
+ * M S P A B . H
+ *
+ * Public definitions for the Microsoft Personal Address Book
+ *
+ * Copyright 1986-1996 Microsoft Corporation. All Rights Reserved.
+ */
+
+/*
+ * Microsoft Personal Address Book Provider ID
+ * -------------------------------------------
+ */
+
+#define PAB_PROVIDER_ID \
+{ \
+ 0xB5, 0x3b, 0xc2, 0xc0, \
+ 0x2c, 0x77, 0x10, 0x1a, \
+ 0xa1, 0xbc, 0x08, 0x00, \
+ 0x2b, 0x2a, 0x56, 0xc2 \
+}
+
+
+/*
+ * Messaging Service Properties
+ * ----------------------------
+ *
+ * The following properties are required to completely configure
+ * the Microsoft Personal Address Book messaging service with
+ * IMsgServiceAdmin::ConfigureMsgService() if UI is not requested
+ * by passing the UI_SERVICE flag.
+ */
+
+/*
+ * Fully qualified pathname of .PAB file to use
+ */
+#define PR_PAB_PATH PROP_TAG( PT_TSTRING, 0x6600 )
+#define PR_PAB_PATH_W PROP_TAG( PT_UNICODE, 0x6600 )
+#define PR_PAB_PATH_A PROP_TAG( PT_STRING8, 0x6600 )
+
+/*
+ * The following additional properties may also be passed to
+ * customize the configuration.
+ */
+
+/*
+ * PR_DISPLAY_NAME
+ * The display name to be used for the PAB in the address
+ * book hierarchy.
+ *
+ * PR_COMMENT
+ * A comment to be associated with the PAB.
+ *
+ * PR_PAB_DET_DIR_VIEW_BY
+ * Determines how names of entries in the PAB with separate first
+ * and last names are displayed.
+ *
+ * Possible values are:
+ *
+ * PAB_DIR_VIEW_FIRST_THEN_LAST First name followed by last name
+ * (default) (e.g. "Dave Olsen").
+ *
+ * PAB_DIR_VIEW_LAST_THEN_FIRST Last name followed by separator
+ * followed by first name
+ * (e.g. "Olsen, Dave").
+ */
+#define PR_PAB_DET_DIR_VIEW_BY PROP_TAG( PT_LONG, 0x6601 )
+
+#define PAB_DIR_VIEW_FIRST_THEN_LAST 0
+#define PAB_DIR_VIEW_LAST_THEN_FIRST 1