0
私はDLLIMPORTを使用してMapiEx.dllからの私のC#コードでの添付ファイルの機能を公開しようとしている:MAPiEx - 拡張MapiラッパーC#ヘルプ - 添付ファイル?
[DllImport("MAPIEx.dll", CharSet = ExtMAPIProfileWrapper.DefaultCharSet)]
protected static extern void MessageSetSenderName(IntPtr pMessage, string strSenderName);
[DllImport("MAPIEx.dll", CharSet = ExtMAPIProfileWrapper.DefaultCharSet)]
protected static extern void MessageSetSenderEmail(IntPtr pMessage, string strSenderEmail);
[DllImport("MAPIEx.dll", CharSet = ExtMAPIProfileWrapper.DefaultCharSet)]
protected static extern void MessageSetBody(IntPtr pMessage, String strBody);
[DllImport("MAPIEx.dll", CharSet = ExtMAPIProfileWrapper.DefaultCharSet)]
protected static extern void MessageSetRTF(IntPtr pMessage, String strRTF);
[DllImport("MAPIEx.dll", CharSet = ExtMAPIProfileWrapper.DefaultCharSet)]
protected static extern void MessageSetHTML(IntPtr pMessage, String strRTF);
しかし、私は、添付ファイルを設定するために何かを公開するための正しい対応する項目を見つけることができません。
う
[DllImport("MAPIEx.dll", CharSet = ExtMAPIProfileWrapper.DefaultCharSet)]
protected static extern void MessageSetAttachment(IntPtr pMessage, String strFileName);
仕事?