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 "MSG" in [All]

Interfaces

.

        [PreserveSig] int HandleMenuMsg2( uint uMsg, uint wParam, uint lParam, IntPtr plResult );

.

Make sure your object explicitly lists all the IContextMenu interfaces or the shell may never call IContextMenu3.HandleMenuMsg2. For example:

.

    int HandleMenuMsg(uint uMsg, IntPtr wParam, IntPtr lParam);

.

        [PreserveSig] int HandleMenuMsg2( uint uMsg, uint wParam, uint lParam, IntPtr plResult );

.

    Public Overridable Sub UIActivateIO(fActivate As Int32, ByRef Msg As MSG) Implements IInputObject.UIActivateIO

.

    ''' <param name="msg"></param>

.

    Public Overridable Function TranslateAcceleratorIO(ByRef msg As MSG) As Int32 Implements IInputObject.TranslateAcceleratorIO

.

    If msg.message = &H100 Then

.

        If msg.wParam = CUInt(Keys.Tab) OrElse msg.wParam = CUInt(Keys.F6) Then

.

    Sub UIActivateIO(fActivate As Int32, ByRef msg As MSG)

.

    Function TranslateAcceleratorIO(ByRef msg As MSG) As Int32

.

Public Structure MSG

.

    Public Overridable Sub UIActivateIO(fActivate As Int32, ByRef Msg As MSG) Implements IInputObject.UIActivateIO

.

    ''' <param name="msg"></param>

.

    Public Overridable Function TranslateAcceleratorIO(ByRef msg As MSG) As Int32 Implements IInputObject.TranslateAcceleratorIO

.

    If msg.message = &H100 Then

.

        If msg.wParam = CUInt(Keys.Tab) OrElse msg.wParam = CUInt(Keys.F6) Then

.

    Sub UIActivateIO(fActivate As Int32, ByRef msg As MSG)

.

    Function TranslateAcceleratorIO(ByRef msg As MSG) As Int32

.

Public Structure MSG

.

     void DoVerb(uint iVerb, uint lpmsg, object pActiveSite, uint lindex, uint hwndParent, uint lprcPosRect);

.

        /// <param name="pwzCancelMsg">A pointer to a null-terminated Unicode string that contains the message to be displayed.</param>

.

        void SetCancelMsg(

.

            [MarshalAs(UnmanagedType.LPWStr)] string pwzCancelMsg, //LPCWSTR

.

pd.SetCancelMsg("Please wait while the operation is cancelled", null);

.

    int TranslateAccelerator(ref MSG pMsg);

.

MSG

.

    int TranslateAccelerator(ref MSG pMsg);

.

MSG

.

    void TranslateAcceleratorSB(IntPtr pmsg, UInt16 wID);

.

    void SendControlMsg(UInt32 id, UInt32 uMsg, UInt32 wParam, UInt32 lParam, IntPtr pret);

shell32

.

dž׾ÓËàk˜°ÄS}¸R TŒmGË1`Ÿk™£êÁüXf¿(¿ûœµ?Šî(¬e\Ð*sëpKNÞÚ~zÆæ[(…ð5¥e±¿VÍqûøÑ¸÷ëLjèáüë$¤”†tŠSÈÚB_V‘ÐlÝS­%ßm+÷Pü‡C…ÄT8žŽaeÞbŠGÿndþµÝ_[Ö;³¾ÐUµç8øŒÎR^ n¥ÔYU@LmFŒçœQ|»{%?}ø-e؟V-ÝššïúÉPýÁ97S£ŒžõŠö hÄwwä`·æ5­–HföEâ^<'À ‰M2Ù3ë‚A–pc‚EÝpàµøÞný؃ ä«MsGŸÞZª«µ7W™“Îz‘|°ñò— ¨Ä ´v;©#Y&—3(SÏv¬>s¼›$ë”~¾§ÃH=lvYJa§§é0S` Ò=LÏ3Fs[å)þ I.ã•òcT ¸­‚7úDIt:åzêp

.

    Public Enum ABMsg

.

    Private Shared Function RegisterWindowMessage(ByVal msg As String) As Integer

.

    Dim ret As Long = SHAppBarMessage(CType(ABMsg.ABM_NEW, Integer), abd)

.

    SHAppBarMessage(ABMsg.ABM_REMOVE, abd)

.

    SHAppBarMessage(CType(ABMsg.ABM_QUERYPOS, Integer), abd)

.

    SHAppBarMessage(CType(ABMsg.ABM_SETPOS, Integer), abd)

.

    lRet = SHAppBarMessage(ABMsg.ABM_SETAUTOHIDEBAR, abd)

.

    Dim msg As New StringBuilder

.

        state = SHAppBarMessage(CType(ABMsg.ABM_GETSTATE, Integer), ABD)

.

        hWndAppBar = SHAppBarMessage(CType(ABMsg.ABM_GETAUTOHIDEBAR, Integer), ABD)

.

        tsize = SHAppBarMessage(CType(ABMsg.ABM_GETTASKBARPOS, Integer), ABD)

.

        public static extern IntPtr SendMessage(HandleRef hWnd, uint Msg, int wParam, IntPtr lParam);

.

        public static extern IntPtr SendMessage(HandleRef hWnd, int msg, int wParam, string lParam);

.

        public delegate int BrowseCallBackProc(IntPtr hwnd, int msg, IntPtr lp, IntPtr wp);

.

        public int OnBrowseEvent(IntPtr hWnd, int msg, IntPtr lp, IntPtr lpData)

.

            switch(msg)

.

            uint wMsg,

.

            uint wMsg,

.

    MsgBox(fileP.ToString)

Structures

.

   public MessageType Type { get; set; }           // MessageType.FV_RUBBERBAND_GEORECT_MSG (3)

.

   switch (m.Msg)

.

       var msg = Marshal.PtrToStructure<COPYDATASTRUCT>(m.LParam);

.

       var pData = Marshal.PtrToStructure<GEORECT>(msg.lpData);

.

       if (MessageType.FV_RUBBERBAND_GEORECT_MSG == pData.Type

.

    public uint dwMsgAndCertEncodingType;

.

    public uint dwMsgEncodingType;

.

    public UInt32 dwMsgEncodingType;

.

    public UInt32 cMsgCert;

.

    public IntPtr rgpMsgCert;

.

    public UInt32 cMsgCrl;

.

    public IntPtr rgpMsgCrl;

.

      public uint dwMsgEncodingType;

.

        Public dwMsgEncodingType As UInt32

.

2. The only supported dwMsgEncodingType is X509_ASN_ENCODING | PKCS_7_ASN_ENCODING (see constants section)

.

struct EVENTMSG

.

Structure EVENTMSG

.
Documentation
[EVENTMSG] on MSDN
.

        internal int uMsg;

.

  Public uMsg As Integer

23: MSG
.

public struct MSGBOXPARAMS

.

    public MsgBoxCallback lpfnMsgBoxCallback;

.

public delegate void MsgBoxCallback( HELPINFO lpHelpInfo );

.
Documentation
[MSGBOXPARAMS] on MSDN
.

        Public Shared Function FromMessage(ByVal msg As Message) As NMCUSTOMDRAW

.

            Return DirectCast(msg.GetLParam(GetType(NMCUSTOMDRAW)), NMCUSTOMDRAW)

26: NMHDR
.

   Public Shared Function FromMessage(ByVal msg As Message) As NMHDR

.

     Return DirectCast(msg.GetLParam(GetType(NMHDR)), NMHDR)

.

    Private Delegate Function TranslateDispatchCallbackDelegate(ByRef lpmsg As MSG) As Boolean

.

    Private Function TranslateDispatchCallback(ByRef lpmsg As MSG) As Boolean

.

            public string lpRebootMsg;

.

   Public lpRebootMsg As String

hid

.

uç¼ÏxÑTP º{Û-Ðñg5ia&‡h­ÛkÁ3ÏÖs±e˱ÛÝDúþvC€ÿ†£NºÍ‰K Þ7›IºçªímSG¿øÅòq•ô}©Ú?ËÊ¿‡óËðÉ䯝þË× Óҙ¬–» êµc~KY¸¬\6<¦6oîêú ýl¯ù÷›P–›´¢‰ªî»EZQ£€TÁñpR†M.w\ρ‡,[Z|¢”I¾öŠåÕ+’–1!ð]«Ù’¡ÑXvmbZ}ÚºÇúI¶*"ÄZøY7MÄRÀ:æYøj޼x€¸@ù(ãM˺§Õ%ÔóØötp¤Ð!$8 F

.

ëK®uWВ6µÊîóRQó”ÄÖ1¯¥äYe‹† h2H{}bckNåðN=|¸Ð:n÷IòÕ–5#ÖTõ4vÉ*®²ªŸ-Â0áÞHm 6Ý"{²ÎœÊUpz93†z±ïjZ*…g;ˆ`8ÛjMâD<X>“#ñÑaDV¡d/ǾÿNF`v•ª/×LÓ]åÐEHH?fæðh€²QØzCÙ4 ËMSgŒr®@íϲ±„«[JUñgWëŽ:½Xı„kUA‘5íçÔ{¿‘Ü<Â̝{ å*<g"èIK(žÏ“›&ôàCÍÜD½oRkS[Šª(æ#½wc¹A÷ôŒ. 7êéYÒ0~{‹FµâýÊdE´£™e!ðO.MëÙ´ñFK„Sâԋ¡é8daæt:w7‰‘ªN –Øäo³˜‚‘±}s’„¢­éá`ERò%ÚÏTû !ìýöù¬ 4¯ÛþÚ €[#(í`°2óøÞòâçÓjª$+ðÜ;»ÄM¹ó^Õòöa#ÚJ,4n¾Hb6I2‚¾KL%Á«J;ïYž²2”×.˜ú˜„rPÓÎFÿúÀä,TÕ/çQsÌ¢½\h­Dðµšûq 8$®*Ã~ÞF8ÒQ……‚1ëw †{”Ú·ÿ@f¹kOÔËÞÞw@긽/¾äT!

shlwapi

.

    uint TranslateAccelerator(ref MSG pmsg);

Enums

31: DLGC
.

    /// <summary> Control processes the message in the MSG structure that lParam points to. </summary>

.

    MSGFLTINFO_NONE = 0,

.

    MSGFLTINFO_ALREADYALLOWED_FORWND,

.

    MSGFLTINFO_ALREADYDISALLOWED_FORWND,

.

    MSGFLTINFO_ALLOWED_HIGHER

.

     WH_SYSMSGFILTER = 6,

.

     WH_SYSMSGFILTER = 6

.

    public const int CRYPT_E_MSG_ERROR = unchecked((int)0x80091001);

.

    public const int CRYPT_E_INVALID_MSG_TYPE = unchecked((int)0x80091004);

.

    public const int CRYPT_E_STREAM_MSG_NOT_READY = unchecked((int)0x80091010);

.

    public const int CRYPT_E_UNEXPECTED_MSG_TYPE = unchecked((int)0x8009200A);

.

    public const int CRYPT_E_BAD_MSG = unchecked((int)0x8009200D);

.

    Public Const CRYPT_E_MSG_ERROR As Integer = CInt(&H80091001UI)

.

    Public Const CRYPT_E_INVALID_MSG_TYPE As Integer = CInt(&H80091004UI)

.

    Public Const CRYPT_E_STREAM_MSG_NOT_READY As Integer = CInt(&H80091010UI)

.

    Public Const CRYPT_E_UNEXPECTED_MSG_TYPE As Integer = CInt(&H8009200aUI)

.

    Public Const CRYPT_E_BAD_MSG As Integer = CInt(&H8009200dUI)

.

    MSGFLT_RESET = 0,

.

    MSGFLT_ALLOW,

.

    MSGFLT_DISALLOW

.
Summary
Queue status flags for GetQueueStatus() and MsgWaitForMultipleObjects()
.

        WARNING_MSG_ALIAS_NOT_ADDED,

.

     DWLP_MSGRESULT = 0x0,

.

     DWLP_MSGRESULT = &H0

.

     DWLP_MSGRESULT As Long = &H0

.

    /// The WM_CTLCOLORMSGBOX message is sent to the owner window of a message box before Windows draws the message box. By responding to this message, the owner window can set the text and background colors of the message box by using the given display device context handle.

.

    CTLCOLORMSGBOX = 0x0132,

.

    '''The WM_CTLCOLORMSGBOX message is sent to the owner window of a message box before Windows draws the message box. By responding to this message the owner window can set the text and background colors of the message box by using the given display device context handle.

.

    WM_CTLCOLORMSGBOX = &H132

.

            if(m.Msg == WM_SYSCOMMAND)

fltlib

.

Í¥)H©?[ÿÐí;YpŽéä@Ç­\kôö˜²&eSÝÓdDí­®àÚú÷TM¢5„Ÿ&û†»¤5b-D®`|Õ»ïsÂ2}´,"Áiä£ÿAd͑‘:É|Vo¯¡‚£âÜA~pò˜‘² 8b÷ÍD¥INôDk<R8ýé¾zs9 t†¾F…¾(ÍÅa"‹™%ûYè·ý„¼Ï~X´‹2•57X¿I]&¢ ¼å ³v_È` ztä&g];[T¦P $Ó8Ù&×n"Oè|4³. ï*è÷%=´í>‹‡k9ô´CRzÞwƇMSg. ‚ë¡ì¬°¶"ݑ/ö1,„/b~סAä¬jhéŒdQK*Q×),)J7ZËâEïCôz£ÍˆJ…þ*ì†hδÃ9$} ú'©ò"wX³´à‚äÙkq³„¦<£¢;©pz‰8Ï/máÙÉòåŽå?·{]O =®1§?øm¡Éu½­\€œOü|u P©•]&Ó,÷êôîk™°MI“g0%l¿¨®€âi´èÎî.%"ú‘!ù6ˆùWBýçܖC¼ÓþÍשH"òœ r0 ƒ€îÜ[­¼y!©µ–Éè‘Ô}Up3bÄ«w¿3¶zÜ1þjÞroÁGìôi¶«Ê¬"9d@-¦’Rpœ3.ö¤Eä¸p{íø;Î_ÀÞ±ÉQC…h‡hcapçnæV‡ZÏ÷\xh©ªç^º_ø:«Ëp* ­À_úÔß׿ˆàÂ|Ò¥?£O˕ÞLÎ Û}švm`¦½#ðø )6>ó6q" ­»yáTÑÝ!à,91§g‚ù·ÊôûN…6g!{È©ë¢ðxf4dyu’’Lþ<vµ¢ê´¨8… O‚»š‘Ûߔͮ’Oý›øŊTLFï?•ä k·Ú[)tq¾‹ûê°øPž>/¿î—»¸xž,`²åع¨JÝÁpŬKßjz|ǀl'æÓêKnöüÂYHU¹vº§°|÷‘H+g¼À§¢*ÓI¦dAsb\ 6ˆOÞ 4[¤Îy¼‘úÊV…3 oæàë‡j»,„BRìôèGÍf¤R·[I«ÓM ¬rG¼êè

dhcpsapi

.

        catch(Exception msg)

.

        //Console.WriteLine(msg.Message);

dwmapi

.

static extern bool DwmDefWindowProc(IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam, ref IntPtr plResult);

.

Private Shared Function DwmDefWindowProc(ByVal hWnd As IntPtr, ByVal msg As Integer, ByVal wParam As IntPtr, ByVal lParam As IntPtr, ByRef plResult As IntPtr) As Integer

mapi32

.

        MapiMessage msg = new MapiMessage();

.

        msg.subject = "Hello World!";

.

        msg.noteText = "See attached file for details";

.

        msg.files = GetAttachments(fileName, out msg.fileCount);

.

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

crypt32

.

    public static extern IntPtr CertCreateCTLContext(uint dwMsgAndCertEncodingType, IntPtr pbCtlEncoded, uint cbCtlEncoded);

.

These constants are used for the dwMsgAndCertEncodingType.

.
Summary
.

    public struct CMSG_SIGNED_ENCODE_INFO

.
Documentation
[CMSG_SIGNED_ENCODE_INFO] on MSDN
.

        public static extern bool CryptMsgClose(

.

            IntPtr hCryptMsg

.
Documentation
[CryptMsgClose] on MSDN
.

        public static extern bool CryptMsgGetParam(

.

            IntPtr hCryptMsg,

.

        public static extern bool CryptMsgGetParam(

.

            IntPtr hCryptMsg,

.

        public static extern bool CryptMsgGetParam(

.

            IntPtr hCryptMsg,

.
Documentation
[CryptMsgGetParam] on MSDN
.

        public static extern IntPtr CryptMsgOpenToDecode(

.

            uint dwMsgEncodingType,

.

            uint dwMsgType,

.
Documentation
[CryptMsgOpenToDecode] on MSDN
.

static extern IntPtr CryptMsgOpenToEncode(int dwMsgEncodingType, uint dwFlags, int dwMsgType, IntPtr pvMsgEncodeInfo, IntPtr pszInnerContentObjID, IntPtr pStreamInfo);

.

Declare Function CryptMsgOpenToEncode Lib "crypt32.dll" (TODO) As TODO

.
Documentation
[CryptMsgOpenToEncode] on MSDN
.

        public static extern bool CryptMsgUpdate(

.

            IntPtr hCryptMsg,

.
Documentation
[CryptMsgUpdate] on MSDN
.

        IntPtr pdwMsgAndCertEncodingType,

.

        IntPtr phMsg,

.

    verifyParams.dwMsgAndCertEncodingType = CryptoConstants.X509_ASN_ENCODING | CryptoConstants.PKCS_7_ASN_ENCODING;

.

     cpMessageParams.dwMsgEncodingType = X509_ASN_ENCODING | PKCS_7_ASN_ENCODING;

.

        public uint dwMsgAndCertEncodingType;

.

        public IntPtr hCryptMsg;

propsys

.

9ÃOÅ,õ|’ØdT¨7æãØdP×ÎûÙSòêX´!†8ȇÈçå £E¯¤¼p÷U:Óaq5«Š¸Þ—7õ4¬mÞvþÕª-Æüì÷ýŒ7“˜Í»UGÀX6Eï¹¾“pfŵT!¡’Ÿº¬‹æ$H_0þqf ¦\“ÌߜU¨åQûe:¥‚\ìzô.$¥ß Ðÿ?Tmsgå¶<ë\Ù*²…®Ð\ kš‡¼?d=cÛרE‚ŽË9~^1fLÙæRè*jbÑÞh ñî·?ê8‡xVâ>nh& YdĤ"E®ÝMÁ

setupapi

.

MsgBox “Could not attach to PnP node”

.

MsgBox “Could not get the name of this device”

.

MsgBox “Device not connected”

.

    MsgBox(ClassGuid.ToString)

.

        public IntPtr InstallMsgHandler;

.

        public IntPtr InstallMsgHandlerContext;

.

        Public InstallMsgHandler As IntPtr

.

        Public InstallMsgHandlerContext As IntPtr

odbc32

.

                string msg  = GetError(IntPtr.Zero) + "\nconnection string:\n\t" + connstr;

.

                throw new Exception(msg);

.

        StringBuilder msg   = new StringBuilder(256);

.

            msg,

.

            (short) msg.Capacity,

.

            string err = msg.ToString();

.

   StringBuilder errorMsg, short errorMsgMax, out short errorMsgLength);

.

    ByVal errorMsg As Text.StringBuilder, ByVal errorMsgMax As Short, ByRef errorMsgLength As Short) As Short

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


 
Access PInvoke.net directly from VS: