Author: akhaldi
Date: Fri Aug 19 09:30:21 2016
New Revision: 72343
URL:
http://svn.reactos.org/svn/reactos?rev=72343&view=rev
Log:
[PSDK] Update mimeole.idl. CORE-11866
Modified:
trunk/reactos/sdk/include/psdk/mimeole.idl
Modified: trunk/reactos/sdk/include/psdk/mimeole.idl
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/psdk/mimeole.i…
==============================================================================
--- trunk/reactos/sdk/include/psdk/mimeole.idl [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/psdk/mimeole.idl [iso-8859-1] Fri Aug 19 09:30:21 2016
@@ -153,6 +153,10 @@
cpp_quote(" PID_LAST = 79,")
cpp_quote("} MIMEPROPID;")
+cpp_quote("#define ISPIDSTR(_name) (((DWORD_PTR)(_name) >> 16)
== 0)")
+cpp_quote("#define STRTOPID(_name)
((DWORD)((DWORD_PTR)((LPCSTR)(_name))))")
+cpp_quote("#define PIDTOSTR(_id)
((LPCSTR)((DWORD_PTR)(_id)))")
+
cpp_quote("#define TYPEDID_ID(_typedid)
(((ULONG)(_typedid))>>16)")
cpp_quote("#define TYPEDID_MASK ((ULONG)0xffff)")
cpp_quote("#define TYPEDID_TYPE(t) ((VARTYPE)((t) &
TYPEDID_MASK))")
@@ -701,6 +705,22 @@
AFT_RFC822_TRANSMIT,
} ADDRESSFORMAT;
+ cpp_quote("#define IAT_UNKNOWN 0x00000000")
+ cpp_quote("#define IAT_FROM 0x00000001")
+ cpp_quote("#define IAT_SENDER 0x00000002")
+ cpp_quote("#define IAT_TO 0x00000004")
+ cpp_quote("#define IAT_CC 0x00000008")
+ cpp_quote("#define IAT_BCC 0x00000010")
+ cpp_quote("#define IAT_REPLYTO 0x00000020")
+ cpp_quote("#define IAT_RETURNPATH 0x00000040")
+ cpp_quote("#define IAT_RETRCPTTO 0x00000080")
+ cpp_quote("#define IAT_RR 0x00000100")
+ cpp_quote("#define IAT_APPARTO 0x00000200")
+ cpp_quote("#define IAT_DISP_NOTIFICATION_TO 0x00000400")
+ cpp_quote("#define IAT_ALL 0xffffffff")
+ cpp_quote("#define IAT_KNOWN (IAT_FROM | IAT_TO | IAT_CC |
IAT_BCC | IAT_REPLYTO | IAT_SENDER)")
+ cpp_quote("#define IAT_RECIPS (IAT_TO | IAT_CC |
IAT_BCC)")
+
typedef struct tagADDRESSPROPS
{
DWORD dwProps;
@@ -719,13 +739,89 @@
DWORD dwReserved2;
} ADDRESSPROPS, *LPADDRESSPROPS;
+ cpp_quote("#define IAP_CHARSET 0x00000001")
+ cpp_quote("#define IAP_HANDLE 0x00000002")
+ cpp_quote("#define IAP_ADRTYPE 0x00000004")
+ cpp_quote("#define IAP_FRIENDLY 0x00000008")
+ cpp_quote("#define IAP_EMAIL 0x00000020")
+ cpp_quote("#define IAP_CERTSTATE 0x00000100")
+ cpp_quote("#define IAP_SIGNING_PRINT 0x00000200")
+ cpp_quote("#define IAP_ENCRYPTION_PRINT 0x00000400")
+ cpp_quote("#define IAP_ENCODING 0x00000800")
+ cpp_quote("#define IAP_COOKIE 0x00001000")
+ cpp_quote("#define IAP_FRIENDLYW 0x00002000")
+ cpp_quote("#define IAP_ALL 0xffffffff")
+
typedef struct tagADDRESSLIST
{
ULONG cAdrs;
LPADDRESSPROPS prgAdr;
} ADDRESSLIST, *LPADDRESSLIST;
- /* FIXME: fill this in */
+ HRESULT Append(
+ [in] DWORD addrtype,
+ [in] ENCODINGTYPE encoding,
+ [in] const char *friendly,
+ [in,unique] const char *email,
+ [in,out,unique] HADDRESS *address);
+
+ HRESULT Insert(
+ [in] ADDRESSPROPS *addressprop,
+ [in,out,unique] HADDRESS *address);
+
+ HRESULT SetProps(
+ [in] HADDRESS address,
+ [in] ADDRESSPROPS *addressprop);
+
+ HRESULT GetProps(
+ [in] HADDRESS address,
+ [in] ADDRESSPROPS *addressprop);
+
+ HRESULT GetSender(
+ [in,out] ADDRESSPROPS *addressprop);
+
+ HRESULT CountTypes(
+ [in] DWORD addrtype,
+ [out] ULONG *count);
+
+ HRESULT GetTypes(
+ [in] DWORD addrtype,
+ [in] DWORD dwProps,
+ [in,out] ADDRESSLIST *list);
+
+ HRESULT EnumTypes(
+ [in] DWORD addrtype,
+ [in] DWORD props,
+ [out] IMimeEnumAddressTypes **types);
+
+ HRESULT Delete(
+ [in] HADDRESS hAddress);
+
+ HRESULT DeleteTypes(
+ [in] DWORD addrtype);
+
+ HRESULT GetFormat(
+ [in] DWORD addrtype,
+ [in] ADDRESSFORMAT addrformat,
+ [out] char **format);
+
+ HRESULT AppendRfc822(
+ [in] DWORD addrtype,
+ [in] ENCODINGTYPE encoding,
+ [in] const char *rfcaddr);
+
+ HRESULT ParseRfc822(
+ [in] DWORD addrtype,
+ [in] ENCODINGTYPE encoding,
+ [in] const char *rfcaddr,
+ [in,out] ADDRESSLIST *list);
+
+ HRESULT Clone(
+ [out] IMimeAddressTable **table);
+
+ HRESULT BindToObject(
+ [in] REFIID riid,
+ [out, iid_is(riid)] void **obj);
}
[