Desktop Functions: Smart Device Functions:
|
Search Results for "MAPI" in [All]ntdllStructures2: BITMAP
public struct BITMAPINFOHEADER
Public Structure BITMAPINFOHEADER 4: BITMAPINFO
public struct BITMAPINFOHEADER
Public Structure BITMAPINFOHEADER The BITMAPINFOHEADER contains information about the color space and dimensions of a DIB.
public struct BITMAPINFOHEADER
Public Structure BITMAPINFOHEADER 7: MAPI
/// 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. 8: MARGINS
dwmapi11: !!!!!!!!!!!!!!! 12: !!!!!!!!!!!!!! 13: !!!!!!!!!!!!! 14: !!!!!!!!!!!! 15: !!!!!!!! 16: !!!!!!! 17: !!!!! 18: !! 19: ! 20: DwmDefWindowProc
[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")> _
[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 34: lorem15 35: lorem29 36: lorem35 37: TaskDialog
[DllImport("dwmapi.dll", SetLastError=true)]
Declare Function TaskDialog Lib "dwmapi.dll" (TODO) As TODO 38: VistaBridge
[DllImport("dwmapi.dll", SetLastError=true)]
Declare Function VistaBridge Lib "dwmapi.dll" (TODO) As TODO avifil32
ByRef bih As BITMAPINFOHEADER) As Integer 41: AVIStreamRead
ByRef lpFormat As BITMAPINFOHEADER,
Public Structure BITMAPINFOHEADER VB BITMAPINFOHEADER Warning
Public Shared Function AVIStreamReadFormat2(ByVal aviStream As IntPtr, ByVal lPos As Int32, ByRef lpFormat As BITMAPINFOHEADER, ByRef cbFormat As Int32) As Integer
ByRef lpFormat As BITMAPINFOHEADER,
Public Structure BITMAPINFOHEADER VB BITMAPINFOHEADER Warning
Public Shared Function AVIStreamReadFormat2(ByVal aviStream As IntPtr, ByVal lPos As Int32, ByRef lpFormat As BITMAPINFOHEADER, ByRef cbFormat As Int32) As Integer Constants43: MAPI
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 44: WINERROR
/// Schema update failed: duplicate MAPI identifier.
public const int ERROR_DS_DUP_MAPI_ID = 8380; glu32Enums46: DIB_Color_Mode
[DllImport("dwmapi.dll", PreserveSig = true)]
<DllImport("dwmapi.dll", PreserveSig:=True)> 48: ListViewMessages
MAPINDEXTOID = (FIRST + 180),
MAPIDTOINDEX = (FIRST + 181), gdiplus
Declare Function GdipCreateBitmapFromGdiDib Lib "GdiPlus.dll" (ByRef GdiBitmapInfo As BITMAPINFO, ByVal GdiBitmapData As Long, ByRef bitmap As Long) As Status pdhmiscIs someone going to add the module for dwmapi.dll? dmcl4053: dmAPIDeInit
[DllImport("dmcl40.dll",EntryPoint="dmAPIDeInit", CharSet=CharSet.Ansi, ExactSpelling=true,CallingConvention=CallingConvention.Cdecl )]
private static extern int dmAPIDeInit(); 54: dmAPIExec
[DllImport("dmcl40.dll", EntryPoint="dmAPIExec", CharSet=CharSet.Ansi, ExactSpelling=true,CallingConvention=CallingConvention.Cdecl)]
private extern static int dmAPIExec(string command);
int res = dmAPIExec(cmd); 55: dmAPIGet
[DllImport("dmcl40.dll", EntryPoint="dmAPIGet", CharSet=CharSet.Ansi, ExactSpelling=true,CallingConvention=CallingConvention.Cdecl)]
private extern static IntPtr dmAPIGet(string cmd);
IntPtr res = dmAPIGet(cmd); 56: dmAPIInit
[DllImport("dmcl40.dll",EntryPoint="dmAPIInit", CharSet=CharSet.Ansi, ExactSpelling=true,CallingConvention=CallingConvention.Cdecl)]
private static extern int dmAPIInit(); gdi3257: CreateDIBitmap
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, _ 58: CreateDIBSection
static extern IntPtr CreateDIBSection(IntPtr hdc, [In] ref BITMAPINFO pbmi,
ByRef pbmi As BITMAPINFO, ByVal iUsage As System.UInt32, _ 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.59: GetDIBits
/// <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); 60: SetDIBits
byte [] lpvBits, [In] ref BITMAPINFO lpbmi, uint fuColorUse); Cut off search results after 60. Please refine your search. |