Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "MAPI" in [All]

iphlpapi

.
Import
credui,advapi32,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,avifil32,aygshell,winscard,crypt32,secur32,wtsapi32,shlwapi,winspool,oleacc,rapi,oleaut32,winfax,odbc32,msi,cards,powrprof,urlmon,xolehlp,twain_32,winmm,wininet,comdlg32,imm32,ntdsapi,odbccp32,glu32,mapi32,Constants,Delegates,Enums,Interfaces,Structures

dmcl40

.

[DllImport("dmcl40.dll",EntryPoint="dmAPIDeInit", CharSet=CharSet.Ansi, ExactSpelling=true,CallingConvention=CallingConvention.Cdecl )]

.

private static extern int dmAPIDeInit();

.

[DllImport("dmcl40.dll", EntryPoint="dmAPIExec", CharSet=CharSet.Ansi, ExactSpelling=true,CallingConvention=CallingConvention.Cdecl)]

.

private extern static int dmAPIExec(string command);    

.

    int res = dmAPIExec(cmd);

.

[DllImport("dmcl40.dll", EntryPoint="dmAPIGet", CharSet=CharSet.Ansi, ExactSpelling=true,CallingConvention=CallingConvention.Cdecl)]

.

private extern static IntPtr dmAPIGet(string cmd);

.

    IntPtr res = dmAPIGet(cmd);

.

[DllImport("dmcl40.dll",EntryPoint="dmAPIInit", CharSet=CharSet.Ansi,  ExactSpelling=true,CallingConvention=CallingConvention.Cdecl)]

.

private static extern int dmAPIInit();

glu32

.
Import
credui,advapi32,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,avifil32,aygshell,winscard,crypt32,secur32,wtsapi32,shlwapi,winspool,oleacc,rapi,oleaut32,winfax,odbc32,msi,cards,powrprof,urlmon,xolehlp,twain_32,winmm,wininet,comdlg32,imm32,ntdsapi,odbccp32,opengl32,mapi32,Constants,Delegates,Enums,Interfaces,Structures

mapi32

12: !!!!!!
13: !!!!!
14: !
.

[DllImport(@"C:\Program Files\Microsoft Office\Office15\OLMAPI32.dll", EntryPoint = "HrGetAutoDiscoverXML", CharSet = CharSet.Unicode)]

.

Call MAPIInitialize before this function.

17: lorem3
20: lorem7
.
Summary
MAPIAddress - Creates or modifies a set of address list entries.
.

  /// The MAPIAddress function creates or modifies a set of address list entries.

.

  [DllImport("MAPI32.DLL", CharSet=CharSet.Ansi)]

.

  public static extern uint MAPIAddress(IntPtr lhSession, IntPtr ulUIParam, string lpszCaption,

.

MAPI

.

MAPI

.

This is a COM object that is called through the RCW. Beware, the messaging team at MS will not support any calls to MAPI32.DLL or CDO 1.21 from managed code. Best bet, use Exchange 12's new Managed API.

.

MSDN says that MAPI does not strictly adhere to the COM standard. Perhaps this is one reason why MS won't support this.

.
Documentation
[MAPIAddress] on MSDN
.
Summary
MAPIDeleteMail - Deletes a message.
.

  /// The MAPIDeleteMail function deletes a message.

.

  [DllImport("MAPI32.DLL", CharSet=CharSet.Ansi)]

.

  public static extern uint MAPIDeleteMail(IntPtr lhSession, IntPtr ulUIParam, string lpszMessageID,

.

MAPI

.
Documentation
[MAPIDeleteMail] on MSDN
.
Summary
MAPIDetails - Displays a dialog box containing the details of a selected address list entry.
.

  /// The MAPIDetails function displays a dialog box containing the details of a selected address list entry.

.

  [DllImport("MAPI32.DLL", CharSet=CharSet.Ansi)]

.

  public static extern uint MAPIDetails(IntPtr lhSession, IntPtr ulUIParam,

.

    MapiRecipDesc lpRecip, uint flFlags, uint ulReserved);

.

MAPI

.

MAPI

.
Documentation
[MAPIDetails] on MSDN
.
Summary
MAPIFindNext - Retrieves the next (or first) message identifier of a specified type of incoming message.
.

  /// The MAPIFindNext function retrieves the next (or first) message identifier of a specified type

.

  [DllImport("MAPI32.DLL", CharSet=CharSet.Ansi)]

.

  public static extern uint MAPIFindNext(IntPtr lhSession, IntPtr ulUIParam, string lpszMessageType,

.

MAPI

.
Documentation
[MAPIFindNext] on MSDN
.
Summary
MAPIFreeBuffer - Frees a MAPI-allocated memory buffer.
.

  /// The MAPIFreeBuffer function frees a MAPI-allocated memory buffer.

.

  [DllImport("MAPI32.DLL", CharSet=CharSet.Ansi)]

.

  public static extern uint MAPIFreeBuffer(IntPtr lpBuffer);

.

This function should always be used to free any storage structures returned by MAPI functions.

.
Documentation
[MAPIFreeBuffer] on MSDN
.

[DllImport(@"C:\Program Files\Microsoft Office\Office15\OLMAPI32.dll", EntryPoint = "MAPIInitialize", CharSet = CharSet.Unicode)]

.

public static extern int MAPIInitialize(IntPtr lpMapiInit);

.

int res = MAPIInitialize(IntPtr.Zero);

.

  // do something useful with MAPI

.
Documentation
[MAPIInitialize] on MSDN
.
Summary
MAPILogoff - The MAPILogoff function ends a session with the messaging system.
.

/// The MAPILogoff function ends a session with the messaging system.

.

[DllImport("MAPI32.DLL", CharSet=CharSet.Ansi)]

.

private static extern uint MAPILogoff(IntPtr lhSession, IntPtr ulUIParam, uint flFlags, uint ulReserved);

.

''' The MAPILogoff function ends a session with the messaging system.

.

<DllImport("MAPI32.DLL", CharSet:=CharSet.Ansi)> _

.

Private Shared Function MAPILogoff(ByVal lhSession As IntPtr, ByVal ulUIParam As IntPtr, ByVal flFlags As UInteger, ByVal ulReserved As UInteger) As UInteger

.

MAPI

.

        errorCode = MAPILogoff( session, parentWindowPtr , 0, 0 );

.

        errorCode = MAPILogoff(session, parentWindowPtr, 0, 0)

.
Documentation
[MAPILogoff] on MSDN
.
Summary
MAPILogon - Begins a Simple MAPI session, loading the default message store and address book providers.
.

  /// The MAPILogon function begins a Simple MAPI session, loading the default message store

.

  [DllImport("MAPI32.DLL", CharSet=CharSet.Ansi)]

.

  public static extern uint MAPILogon(IntPtr ulUIParam, string lpszProfileName, string lpszPassword,

.

<DllImport("MAPI32.dll", SetLastError:=True)> _

.

    Private Shared Function MAPILogon(ByVal uiParam As Integer, _

.

MAPI

.

Microsoft Important Note: MAPI32 is not supported in a managed environment, memory leaks may be seen. Use the current alternatives: System.Net.Mail or WebDav or Exhange 2007 webservice interface.

.

  uint error = MAPILogon(hwnd, null, null, MAPI_LOGON_UI, 0, ref session);

.
Documentation
[MAPILogon] on MSDN
.

    public class MapiMessage

.

    Public Class MapiMessage

.
Documentation
[MapiMessage] on MSDN
.
Summary
MAPIReadMail - Retrieves a message for reading.
.

  /// The MAPIReadMail function retrieves a message for reading.

.

  [DllImport("MAPI32.DLL", CharSet=CharSet.Ansi)]

.

  public static extern uint MAPIReadMail(IntPtr lhSession, IntPtr ulUIParam, string lpszMessageID,

.

  <Runtime.InteropServices.DllImport("MAPI32.DLL", CharSet:=System.Runtime.InteropServices.CharSet.Ansi)> _

.

   Public Shared Function MAPIReadMail(ByVal lhSession As IntPtr, ByVal ulUIParam As IntPtr, ByVal lpszMessageID As String,

.

MAPI

.

MAPI

.
Documentation
[MAPIReadMail] on MSDN
.
Summary
MAPIResolveName - Transforms a message recipient's name as entered by a user to an unambiguous address list entry.
.

  /// The MAPIResolveName function transforms a message recipient's name as entered by a user

.

  [DllImport("MAPI32.DLL", CharSet=CharSet.Ansi)]

.

  public static extern uint MAPIResolveName(IntPtr lhSession, IntPtr ulUIParam, string lpszName,

.

    uint flFlags, uint ulReserved, ref MapiRecipDesc lppRecips);

.

MAPI

.

MAPI

.

  MapiRecipDesc mpd = null;

.

  MAPIResolveName(lhSessionNull, this.Handle, new String(textbox.Text.ToCharArray()), Mapi.MAPI_DIALOG, 0, ref mpd);

.
Documentation
[MAPIResolveName] on MSDN
.
Summary
MAPISaveMail - Saves a message into the message store.
.

  /// The MAPISaveMail function saves a message into the message store.

.

  [DllImport("MAPI32.DLL", CharSet=CharSet.Ansi)]

.

  public static extern uint MAPISaveMail(IntPtr lhSession, IntPtr ulUIParam,

.

    MapiMessage lpMessage, uint flFlags, uint ulReserved, string lpszMessageID);

.

MAPI

.

MAPI

.
Documentation
[MAPISaveMail] on MSDN
.
Summary
MAPISendDocuments - Sends a standard message with one or more attached files and a cover note.
.

  /// The MAPISendDocuments function sends a standard message with one or more attached files and a cover note.

.

  /// message. MAPISendDocuments differs from the MAPISendMail function in that it allows

.

  [DllImport("MAPI32.DLL", CharSet=CharSet.Ansi)]

.

  public static extern uint MAPISendDocuments(IntPtr ulUIParam, string lpszDelimChar, string lpszFullPaths,

.

MAPI

.
Caution
I'm finding that calling this function sets your Current Working Directory to something other than what it was before the call is made. In my case, it was setting it to @"C:\Program Files\Common Files\SYSTEM\MSMAPI\1033"
.

MAPISendDocuments (....);

.
Documentation
[MAPISendDocuments] on MSDN
.
Summary
MAPISendMail - Sends a message.
.

  /// The MAPISendMail function sends a message.

.

  /// This function differs from the MAPISendDocuments function in that it allows greater

.

  [DllImport("MAPI32.DLL", CharSet=CharSet.Ansi)]

.

  public static extern uint MAPISendMail(IntPtr lhSession, IntPtr ulUIParam,

.

    MapiMessage lpMessage, uint flFlags, uint ulReserved);

.

    <DllImport("MAPI32.DLL")> _

.

    Private Shared Function MAPISendMail(ByVal sess As IntPtr, ByVal hwnd As IntPtr, ByVal message As MapiMessage,

.

MAPI

.

MAPI

.

This signature is valid, if the MapiMessage is defined as a class. If MapiMessage is defined as a structure a 'ref' has to be added before 'MapiMessage lpMessage' parameter

.

Watch it! MAPI32 is not supported from managed code [http://blogs.msdn.com/mstehle/archive/2007/10/03/fyi-why-are-mapi-and-cdo-1-21-not-supported-in-managed-net-code.aspx]

.

    [DllImport("MAPI32.DLL")]

.

    static extern int MAPISendMail(IntPtr sess, IntPtr hwnd, MapiMessage message, int flg, int rsv);

.

        MapiMessage msg = new MapiMessage();

.

        int result = MAPISendMail(new IntPtr(0), new IntPtr(0), msg, 0x00000001 | 0x00000008, 0);

.

        int size = Marshal.SizeOf(typeof(MapiFileDesc));

.

        MapiFileDesc mapiFileDesc = new MapiFileDesc();

.

        mapiFileDesc.position = -1;

.

        mapiFileDesc.name = Path.GetFileName(fileName);

.

        mapiFileDesc.path = fileName;

.

        Marshal.StructureToPtr(mapiFileDesc, (IntPtr)ptr, false);

.

    public class MapiMessage

.

    public class MapiFileDesc

.
Documentation
[MAPISendMail] on MSDN
.

[DllImport(@"C:\Program Files\Microsoft Office\Office15\OLMAPI32.dll", EntryPoint = "MAPIUninitialize", CharSet = CharSet.Unicode)]

.

public static extern void MAPIUninitialize();

.

int res = MAPIInitialize(IntPtr.Zero);

.

  // do something useful with MAPI

.

  // call MAPIUninitialize after the work with MAPI

.

  MAPIUninitialize();

.
Documentation
[MAPIUninitialize] on MSDN
.
Namespace
mapi32
.
Description
mapi32.dll
.
Title
mapi32.dll

Constants

37: MAPI
.
Summary
MAPI - Constants used by the Messaging Application Programming Interface functions.
.

  public const uint MAPI_ORIG = 0;

.

  public const uint MAPI_TO = 1;

.

  public const uint MAPI_CC = 2;

.

  public const uint MAPI_BCC = 3;

.

  public const uint MAPI_UNREAD = 0x00000001;

.

  public const uint MAPI_RECEIPT_REQUESTED = 0x00000002;

.

  public const uint MAPI_SENT = 0x00000004;

.

  /// MAPI_LOGON_UI must be set.

.

  public const uint MAPI_LOGON_UI = 0x00000001;

.

  /// MAPILogon should only prompt for a password and not allow the user to change the profile name.

.

  /// Either MAPI_PASSWORD_UI or MAPI_LOGON_UI should not be set, since the intent is

.

  public const uint MAPI_PASSWORD_UI = 0x00020000;

.

  /// If the MAPI_NEW_SESSION flag is not set, MAPILogon uses an existing shared session.

.

  public const uint MAPI_NEW_SESSION = 0x00000002;

.

  /// If the MAPI_FORCE_DOWNLOAD flag is not set, messages can be downloaded in the background

.

  public const uint MAPI_FORCE_DOWNLOAD = 0x00001000;

.

  /// This flag indicates an Extended MAPI session will be created.

.

  public const uint MAPI_EXTENDED = 0x00000020;

.

  /// MAPI should not inform the MAPI spooler of the session's existence. The result is that no messages can be sent or received within

.

  public const uint MAPI_NO_MAIL = 0x00008000;

.

  /// When MAPI_DIALOG is not set, at least one recipient must be specified.

.

  public const uint MAPI_DIALOG = 0x00000008;

.

  /// If this flag is not set, MAPIFindNext can return any message of the specified type.

.

  public const uint MAPI_UNREAD_ONLY = 0x00000020;

.

  /// If MAPI_OLE_STATIC is also set, the attachment is a static OLE object.

.

  /// If MAPI_OLE_STATIC is not set, the attachment is an embedded OLE object.

.

  public const uint MAPI_OLE = 0x00000001;

.

  public const uint MAPI_OLE_STATIC = 0x00000002;

.

  /// MAPIFindNext calls can take longer if this flag is set.

.

  /// Some implementations cannot honor this request and return the MAPI_E_NOT_SUPPORTED value.

.

  public const uint MAPI_GUARANTEE_FIFO = 0x00000100;

.

  /// Older versions of MAPI supported smaller message identifiers (64 bytes) and did not include this flag.

.

  /// MAPIFindNext will succeed without this flag set as long as lpszMessageID is large enough

.

  /// MAPIFindNext will fail.

.

  public const uint MAPI_LONG_MSGID = 0x00004000;

.

  /// MAPIReadMail does not mark the message as read.

.

  /// If the messaging system does not support this flag, MAPIReadMail always marks the

.

  /// message as read. If MAPIReadMail encounters an error, it leaves the message unread.

.

  public const uint MAPI_PEEK = 0x00000080;

.

  /// MAPIReadMail should not copy file attachments but should write message text into the

.

  /// MapiMessage structure.

.

  /// MAPIReadMail ignores this flag if the calling application has set the

.

  /// MAPI_ENVELOPE_ONLY flag. Setting the MAPI_SUPPRESS_ATTACH flag enhances performance.

.

  public const uint MAPI_SUPPRESS_ATTACH = 0x00000800;

.

  /// MAPIReadMail should read the message header only.

.

  public const uint MAPI_ENVELOPE_ONLY = 0x00000040;

.

  /// MAPIReadMail should write the message text to a temporary file

.

  public const uint MAPI_BODY_AS_FILE = 0x00000200;

.

  /// MAPIDetails might or might not honor the request.

.

  public const uint MAPI_AB_NOMODIFY = 0x00000400;

.

  public const uint MAPI_SUCCESS_SUCCESS = 0;

.

  public const uint MAPI_USER_ABORT = 1;

.

  public const uint MAPI_E_USER_ABORT = MAPI_USER_ABORT;

.

  public const uint MAPI_E_FAILURE = 2;

.

  public const uint MAPI_E_LOGON_FAILURE = 3;

.

  public const uint MAPI_E_LOGIN_FAILURE = MAPI_E_LOGON_FAILURE;

.

  public const uint MAPI_E_DISK_FULL = 4;

.

  public const uint MAPI_E_INSUFFICIENT_MEMORY = 5;

.

  /// Access to the MAPI client was denied.

.

  public const uint MAPI_E_ACCESS_DENIED = 6;

.

  public const uint MAPI_E_TOO_MANY_SESSIONS = 8;

.

  public const uint MAPI_E_TOO_MANY_FILES = 9;

.

  public const uint MAPI_E_TOO_MANY_RECIPIENTS = 10;

.

  public const uint MAPI_E_ATTACHMENT_NOT_FOUND = 11;

.

  public const uint MAPI_E_ATTACHMENT_OPEN_FAILURE = 12;

.

  public const uint MAPI_E_ATTACHMENT_WRITE_FAILURE = 13;

.

  public const uint MAPI_E_UNKNOWN_RECIPIENT = 14;

.

  /// The type of a recipient was not MAPI_TO, MAPI_CC, or MAPI_BCC.

.

  public const uint MAPI_E_BAD_RECIPTYPE = 15;

.

  public const uint MAPI_E_NO_MESSAGES = 16;

.

  public const uint MAPI_E_INVALID_MESSAGE = 17;

.

  public const uint MAPI_E_TEXT_TOO_LARGE = 18;

.

  public const uint MAPI_E_INVALID_SESSION = 19;

.

  public const uint MAPI_E_TYPE_NOT_SUPPORTED = 20;

.

  public const uint MAPI_E_AMBIGUOUS_RECIPIENT = 21;

.

  public const uint MAPI_E_AMBIG_RECIP = MAPI_E_AMBIGUOUS_RECIPIENT;

.

  public const uint MAPI_E_MESSAGE_IN_USE = 22;

.

  public const uint MAPI_E_NETWORK_FAILURE = 23;

.

  public const uint MAPI_E_INVALID_EDITFIELDS = 24;

.

  public const uint MAPI_E_INVALID_RECIPS = 25;

.

  public const uint MAPI_E_NOT_SUPPORTED = 26;

.

    Public Const MAPI_ORIG As UInteger = 0

.

    Public Const MAPI_TO As UInteger = 1

.

    Public Const MAPI_CC As UInteger = 2

.

    Public Const MAPI_BCC As UInteger = 3

.

    Public Const MAPI_UNREAD As UInteger = &H1

.

    Public Const MAPI_RECEIPT_REQUESTED As UInteger = &H2

.

    Public Const MAPI_SENT As UInteger = &H4

.

    Public Const MAPI_LOGON_UUI As UInteger = &H1

.

    Public Const MAPI_PASSWORD_UUI As UInteger = &H20000

.

    Public Const MAPI_NEW_SESSION As UInteger = &H2

.

    Public Const MAPI_FORCE_DOWNLOAD As UInteger = &H1000

.

    Public Const MAPI_EXTENDED As UInteger = &H20

.

    Public Const MAPI_NO_MAIL As UInteger = &H8000

.

    Public Const MAPI_DIALOG As UInteger = &H8

.

    Public Const MAPI_UNREAD_ONLY As UInteger = &H20

.

    Public Const MAPI_OLE As UInteger = &H1

.

    Public Const MAPI_OLE_STATIC As UInteger = &H2

.

    Public Const MAPI_GUARANTEE_FIFO As UInteger = &H100

.

    Public Const MAPI_LONG_MSGID As UInteger = &H4000

.

    Public Const MAPI_PEEK As UInteger = &H80

.

    Public Const MAPI_SUPPRESS_ATTACH As UInteger = &H800

.

    Public Const MAPI_ENVELOPE_ONLY As UInteger = &H40

.

    Public Const MAPI_BODY_AS_FILE As UInteger = &H200

.

    Public Const MAPI_AB_NOMODIFY As UInteger = &H400

.

    Public Const MAPI_SUCCESS_SUCCESS As UInteger = 0

.

    Public Const MAPI_USER_ABORT As UInteger = 1

.

    Public Const MAPI_E_USER_ABORT As UInteger = MAPI_USER_ABORT

.

    Public Const MAPI_E_FAILURE As UInteger = 2

.

    Public Const MAPI_E_LOGON_FAILURE As UInteger = 3

.

    Public Const MAPI_E_LOGIN_FAILURE As UInteger = MAPI_E_LOGON_FAILURE

.

    Public Const MAPI_E_DISK_FULL As UInteger = 4

.

    Public Const MAPI_E_INSUFFICIENT_MEMORY As UInteger = 5

.

    Public Const MAPI_E_ACCESS_DENIED As UInteger = 6

.

    Public Const MAPI_E_TOO_MANY_SESSIONS As UInteger = 8

.

    Public Const MAPI_E_TOO_MANY_FILES As UInteger = 9

.

    Public Const MAPI_E_TOO_MANY_RECIPIENTS As UInteger = 10

.

    Public Const MAPI_E_ATTACHMENT_NOT_FOUND As UInteger = 11

.

    Public Const MAPI_E_ATTACHMENT_OPEN_FAILURE As UInteger = 12

.

    Public Const MAPI_E_ATTACHMENT_WRITE_FAILURE As UInteger = 13

.

    Public Const MAPI_E_UNKNOWN_RECIPIENT As UInteger = 14

.

    Public Const MAPI_E_BAD_RECIPTYPE As UInteger = 15

.

    Public Const MAPI_E_NO_MESSAGES As UInteger = 16

.

    Public Const MAPI_E_INVALID_MESSAGE As UInteger = 17

.

    Public Const MAPI_E_TEXT_TOO_LARGE As UInteger = 18

.

    Public Const MAPI_E_INVALID_SESSION As UInteger = 19

.

    Public Const MAPI_E_TYPE_NOT_SUPPORTED As UInteger = 20

.

    Public Const MAPI_E_AMBIGUOS_RECIPIENT As UInteger = 21

.

    Public Const MAPI_E_AMBIG_RECIP As UInteger = MAPI_E_AMBIGUOS_RECIPIENT

.

    Public Const MAPI_E_MESSAGE_IN_USE As UInteger = 22

.

    Public Const MAPI_E_NETWORK_FAILURE As UInteger = 23

.

    Public Const MAPI_E_INVALID_EDITFIELDS As UInteger = 24

.

    Public Const MAPI_E_INVALID_RECIPS As UInteger = 25

.

    Public Const MAPI_E_NOT_SUPPORTED As UInteger = 26

.

        /// Schema update failed: duplicate MAPI identifier.

.

        public const int ERROR_DS_DUP_MAPI_ID = 8380;

Structures

39: BITMAP
.

public struct BITMAPINFOHEADER

.

Public Structure BITMAPINFOHEADER

.
Summary
Introduces a .bmp file, and is followed by a [BITMAPINFOHEADER] structure.
.

public struct BITMAPINFOHEADER

.

Public Structure BITMAPINFOHEADER

.
Summary
BITMAPINFOHEADER
.

The BITMAPINFOHEADER contains information about the color space and dimensions of a DIB.

.

public struct BITMAPINFOHEADER

.

Public Structure BITMAPINFOHEADER

. .
Summary
This is used by the [DwmEnableBlurBehindWindow] function to blur behind the Aero in a given region of a window.
44: MAPI
.
Summary
MAPI - Structures used by the Messaging Application Programming Interface functions.
.

  /// A MapiFileDesc structure contains information about a file containing a message attachment

.

  public class MapiFileDesc {

.

    /// Bitmask of attachment flags. Flags are MAPI_OLE and MAPI_OLE_STATIC.

.

    /// That is, attachments replace the character in the MapiMessage structure field

.

    /// Pointer to the attachment file type, which can be represented with a MapiFileTagExt

.

  /// MapiFileTagExt structure specifies a message attachment's type at its creation

.

  /// A MapiFileTagExt structure defines the type of an attached file for purposes such as encoding and

.

  public class MapiFileTagExt {

.

  /// A MapiMessage structure contains information about a message.

.

  public class MapiMessage {

.

    /// The flags are MAPI_RECEIPT_REQUESTED , MAPI_SENT,

.

    /// and MAPI_UNREAD.

.

    /// Pointer to a MapiRecipDesc structure containing information about the

.

    /// Pointer to an array of MapiRecipDesc structures, each containing

.

    /// Pointer to an array of MapiFileDesc structures, each containing

.

  /// A MapiRecipDesc structure contains information about a message sender or recipient.

.

  public class MapiRecipDesc {

.

    ///     0    MAPI_ORIG  Indicates the original sender of the message.

.

    ///     1    MAPI_TO    Indicates a primary message recipient.

.

    ///     2    MAPI_CC    Indicates a recipient of a message copy.

.

    ///     3    MAPI_BCC   Indicates a recipient of a blind copy.

.

    public uint ulRecipClass = MAPI_ORIG;

.

    ''' A MapiMessage structure contains information about a message.

.

    Public Structure MapiMessage

.

    ''' The flags are MAPI_RECEIPT_REQUESTED , MAPI_SENT,

.

    ''' and MAPI_UNREAD.

.

    ''' Pointer to a MapiRecipDesc structure containing information about the

.

    ''' Pointer to an array of MapiRecipDesc structures, each containing

.

    ''' Pointer to an array of MapiFileDesc structures, each containing

.

    ''' A MapiFileDesc structure contains information about a file containing a message attachment

.

    Public Structure MapiFileDesc

.

    ''' Bitmask of attachment flags. Flags are MAPI_OLE and MAPI_OLE_STATIC.

.

    ''' That is, attachments replace the character in the MapiMessage structure field

.

    ''' Pointer to the attachment file type, which can be represented with a MapiFileTagExt

.

    ''' MapiFileTagExt structure specifies a message attachment's type at its creation

.

    ''' A MapiFileTagExt structure defines the type of an attached file for purposes such as encoding and

.

    Public Structure MapiFileTagExt

.

    ''' A MapiRecipDesc structure contains information about a message sender or recipient.

.

    Public Structure MapiRecipDesc

.

    '''     0    MAPI_ORIG  Indicates the original sender of the message.

.

    '''     1    MAPI_TO    Indicates a primary message recipient.

.

    '''     2    MAPI_CC    Indicates a recipient of a message copy.

.

    '''     3    MAPI_BCC   Indicates a recipient of a blind copy.

.
Documentation
[MAPI] on MSDN
. .
Summary
Used with the [DwmExtendFrameIntoClientArea] function to extend the Aero composition further into a given window, given the distances from the sides.

gdi32

.

static extern IntPtr CreateDIBitmap(IntPtr hdc, [In] ref BITMAPINFOHEADER

.

   lpbmih, uint fdwInit, byte [] lpbInit, [In] ref BITMAPINFO lpbmi,

.

ByRef lpbmih As BITMAPINFOHEADER, _

.

ByRef lpbmi As BITMAPINFO, _

.

BITMAPINFOHEADER

.

BITMAPINFO

.

static extern IntPtr CreateDIBSection(IntPtr hdc, [In] ref BITMAPINFO pbmi,

.

    ByRef pbmi As BITMAPINFO, ByVal iUsage As System.UInt32, _

.

BITMAPINFO

.

The BITMAPINFO structure defines the dimensions and color information for a DIB, it contains the members

.

BITMAPINFOHEADER structure (contains information about the dimensions of color format) and bmiColors which contains one of the following:

.

See MSDN Documentation for BITMAPINFO concerning specific details concerning structure members.

.

/// <param name="lpvBits">A pointer to a buffer to receive the bitmap data. If this parameter is <see cref="IntPtr.Zero"/>, the function passes the dimensions and format of the bitmap to the <see cref="BITMAPINFO"/> structure pointed to by the <paramref name="lpbi"/> parameter.</param>

.

/// <param name="lpbi">A pointer to a <see cref="BITMAPINFO"/> structure that specifies the desired format for the DIB data.</param>

.

/// <param name="uUsage">The format of the bmiColors member of the <see cref="BITMAPINFO"/> structure. It must be one of the following values.</param>

.

/// If the lpvBits parameter is NULL and GetDIBits successfully fills the <see cref="BITMAPINFO"/> structure, the return value is nonzero.

.

static extern int GetDIBits([In] IntPtr hdc, [In] IntPtr hbmp, uint uStartScan, uint cScanLines, [Out] byte[] lpvBits, ref BITMAPINFO lpbi, DIB_Color_Mode uUsage);

.

BITMAPINFO

.

   byte [] lpvBits, [In] ref BITMAPINFO lpbmi, uint fuColorUse);

.

BITMAPINFO

.

   int nSrcHeight, byte [] lpBits, [In] ref BITMAPINFO lpBitsInfo, uint iUsage,

.

BITMAPINFO

gdiplus

.

Declare Function GdipCreateBitmapFromGdiDib Lib "GdiPlus.dll" (ByRef GdiBitmapInfo As BITMAPINFO, ByVal GdiBitmapData As Long, ByRef bitmap As Long) As Status

ntdll

.
Import
credui,advapi32,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,avifil32,aygshell,winscard,crypt32,secur32,wtsapi32,shlwapi,winspool,oleacc,rapi,oleaut32,winfax,odbc32,msi,cards,powrprof,urlmon,xolehlp,twain_32,winmm,wininet,comdlg32,imm32,ntdsapi,odbccp32,glu32,mapi32,Constants,Delegates,Enums,Interfaces,Structures

dwmapi

Cut off search results after 60. Please refine your search.


 
Access PInvoke.net directly from VS: