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]

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

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();

gdiplus

.

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

Structures

.

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.
12: 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.

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

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

opengl32

.

    public static extern void glGetMapiv(uint target, uint query, int[] v);

.
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

shell32

.

    public static readonly Guid SEARCH_MAPI = new Guid( "98ec0e18-2098-4d44-8644-66979315a281" );

.

    public static Guid SEARCH_MAPI = new Guid("98ec0e18-2098-4d44-8644-66979315a281");

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

dwmapi

.

[DllImport("dwmapi.dll")]

.

<DllImport("dwmapi.dll")> _

.

[DllImport("dwmapi.dll")]

.

<DllImport("dwmapi.dll")> _

.

      [DllImport("dwmapi.dll", PreserveSig = false)]

.

    <DllImport("dwmapi.dll")> _

.

[DllImport("dwmapi.dll")]

.

<DllImport("dwmapi.dll")> _

.

[DllImport("dwmapi.dll", PreserveSig = false)]

.

<DllImport("dwmapi.dll")> _

.

[DllImport("dwmapi.dll", EntryPoint = "#127", PreserveSig = false)]

.

    [DllImport("dwmapi.dll", EntryPoint = "#127", PreserveSig = false)]

.

[DllImport("dwmapi.dll")]

.

[DllImport("dwmapi.dll")]

.

Declare Function DwmGetWindowAttribute Lib "dwmapi.dll" (TODO) As TODO

.

[DllImport("dwmapi.dll")]

.

<DllImport("dwmapi.dll")> _

.

go to http://www.pinvoke.net/default.aspx/dwmapi.DwmSetColorizationParameters

.

[DllImport("dwmapi.dll", PreserveSig = false)]

.

<DllImport("dwmapi.dll")>

.

    [DllImport("dwmapi.dll", SetLastError=true)]

.

Declare Function DwmRegisterThumbnail Lib "dwmapi.dll" (ByVal Dest as IntPtr, ByVal Src as IntPtr, ByRef Thumb as IntPtr) As Integer

.

    [DllImport("dwmapi.dll", EntryPoint = "#131", PreserveSig = false)]

.

    [DllImport("dwmapi.dll", EntryPoint = "#131", PreserveSig = false)]

.

    [DllImport("dwmapi.dll")]

.

    Public Declare Function DwmUnregisterThumbnail Lib "dwmapi.dll" (ByVal Thumb as IntPtr) As Integer

.

[DllImport("dwmapi.dll", PreserveSig = true)]

.

Public Declare Function DwmUpdateThumbnailProperties Lib "dwmapi.dll" (ByVal hThumbnail as IntPtr, ByRef props as DWM_THUMBNAIL_PROPERTIES) As Integer

.

[DllImport("dwmapi.dll", SetLastError=true)]

.

Declare Function TaskDialog Lib "dwmapi.dll" (TODO) As TODO

.

[DllImport("dwmapi.dll", SetLastError=true)]

.

Declare Function VistaBridge Lib "dwmapi.dll" (TODO) As TODO

.
Namespace
dwmapi
.
Description
dwmapi.dll
.
Title
dwmapi

misc

.

Is someone going to add the module for dwmapi.dll?

.
Import
advapi32,avifil32,cards,comdlg32,credui,crypt32,dmcl40,gdi32,gdiplus,glu32,glut32,gsapi,hhctrl,httpapi,icmp,imm32,iphlpapi,iprop,kernel32,mapi32,mpr,mqrt,mscorsn,msdrm,msi,msvcrt,netapi32,ntdll,ntdsapi,odbc32,odbccp32,ole32,oleacc,oleaut32,opengl32,powrprof,pstorec,query,rasapi32,rpcrt4,secur32,setupapi,shell32,shlwapi,twain_32,unicows,urlmon,user32,uxtheme,winfax,wininet,winmm,winscard,winspool,ws2_32,wtsapi32,xolehlp,aygshell,coredll,rapi,cfgmgr32,comctl32,hlink,Constants,Delegates,Enums,Interfaces,Structures,Glossary

mapi32

.

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

.

Call MAPIInitialize before this function.

.
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

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


 
Access PInvoke.net directly from VS: