include: Add a few more things to mimeole.idl.

This commit is contained in:
Huw Davies 2008-09-04 17:14:44 +01:00 committed by Alexandre Julliard
parent 131996ae45
commit 906dc5881e
1 changed files with 48 additions and 0 deletions

View File

@ -43,6 +43,9 @@ cpp_quote("#define MIME_E_BUFFER_TOO_SMALL 0x800cce06")
cpp_quote("#define MIME_E_INVALID_TEXT_TYPE 0x800cce38")
cpp_quote("#define MIME_E_SECURITY_NOOP 0x800cceb1")
cpp_quote("#define MIME_S_SECURITY_NOOP 0x000cceb1")
cpp_quote("typedef enum tagMIMEPROPID {")
cpp_quote(" PID_HDR_NEWSGROUP = 2,")
cpp_quote(" PID_HDR_NEWSGROUPS = 3,")
@ -78,7 +81,14 @@ cpp_quote(" PID_HDR_SENDER = 61,")
cpp_quote(" PID_HDR_INREPLYTO = 77,")
cpp_quote("} MIMEPROPID;")
cpp_quote("#define TYPEDID_MASK ((ULONG)0xffff)")
cpp_quote("#define TYPEDID_TYPE(t) ((VARTYPE)((t) & TYPEDID_MASK))")
cpp_quote("#define OID_HIDE_TNEF_ATTACHMENTS (0x000e0000 | VT_BOOL)")
cpp_quote("#define OID_SECURITY_TYPE (0x00180000 | VT_UI4)")
cpp_quote("#define OID_SECURITY_HWND_OWNER (0x00320000 | VT_UI4)")
cpp_quote("#define OID_HEADER_RELOAD_TYPE (0x00370000 | VT_UI4)")
cpp_quote("#define OID_SHOW_MACBINARY (0x00390000 | VT_BOOL)")
[
@ -293,6 +303,19 @@ library MIMEOLE
typedef BLOB THUMBBLOB;
typedef void *HCAPICERTSTORE;
cpp_quote("#define MST_NONE 0x00000000")
cpp_quote("#define MST_THIS_SIGN 0x00000001")
cpp_quote("#define MST_THIS_ENCRYPT 0x00000002")
cpp_quote("#define MST_BLOB_FLAG 0x00000004")
cpp_quote("#define MST_THIS_BLOBSIGN (MST_BLOB_FLAG | MST_THIS_SIGN)")
cpp_quote("#define MST_CHILD_SIGN 0x00000100")
cpp_quote("#define MST_CHILD_ENCRYPT 0x00000200")
cpp_quote("#define MST_SUBMSG_SIGN 0x00001000")
cpp_quote("#define MST_SUBMSG_ENCRYPT 0x00002000")
cpp_quote("#define MST_RECEIPT_REQUEST 0x00010000")
cpp_quote("#define MST_CLASS_SMIME_V1 0x00000000")
cpp_quote("#define MST_CLASS_PGP 0x01000000")
typedef enum tagCERTSTATE
{
CERTIFICATE_OK,
@ -1164,6 +1187,31 @@ cpp_quote("#endif")
{
/* FIXME: fill this in */
}
[
uuid(ba715ae0-a740-11d2-8b22-0080c76b34c6),
local
]
interface IMimeSecurityCallback : IUnknown
{
/* FIXME: fill this in */
cpp_quote("#define CMS_RECIPIENT_INFO_TYPE_UNKNOWN 0")
cpp_quote("#define CMS_RECIPIENT_INFO_TYPE_KEYTRANS 1")
cpp_quote("#define CMS_RECIPIENT_INFO_TYPE_KEYAGREE 2")
cpp_quote("#define CMS_RECIPIENT_INFO_TYPE_MAIL_LIST 3")
cpp_quote("#define CMS_RECIPIENT_INFO_PUBKEY_CERTIFICATE 0")
cpp_quote("#define CMS_RECIPIENT_INFO_PUBKEY_KEYTRANS 1")
cpp_quote("#define CMS_RECIPIENT_INFO_PUBKEY_PROVIDER 2")
cpp_quote("#define CMS_RECIPIENT_INFO_PUBKEY_EPHEMERAL_KEYAGREE 3")
cpp_quote("#define CMS_RECIPIENT_INFO_PUBKEY_STATIC_KEYAGREE 4")
cpp_quote("#define CMS_RECIPIENT_INFO_KEYID_CERTIFICATE 0")
cpp_quote("#define CMS_RECIPIENT_INFO_KEYID_ISSUERSERIAL 1")
cpp_quote("#define CMS_RECIPIENT_INFO_KEYID_KEY_ID 2")
}
}
cpp_quote("#ifdef __cplusplus")