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]

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

wininet

.

        MsgBox("1st Party: There was an error: Code " & CStr(System.Runtime.InteropServices.Marshal.GetLastWin32Error()))

.

        MsgBox("There was an error: Code " & CStr(System.Runtime.InteropServices.Marshal.GetLastWin32Error()))

.

    MsgBox("Successfully Updated")

user32

.

static extern int BroadcastSystemMessageEx(uint flags, ref uint lpInfo, uint Msg, [MarshalAs(UnmanagedType.SysUInt)] ulong wParam, [MarshalAs(UnmanagedType.SysInt)] long lParam, out BSMINFO pbsmInfo);

.
Summary
.

static extern bool show CallMsgFilter([In] ref MSG lpMsg, int nCode);

.

Shared Function Show CallMsgFilter(<[In]> ByRef lpMsg As MSG, nCode As Integer) As Boolean

.

MSG

.
Documentation
[CallMsgFilter] on MSDN
.

static extern IntPtr CallWindowProc(WndProcDelegate lpPrevWndFunc, IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam);

.

Private Shared Function CallWindowProc(lpPrevWndFunc As WndProcDelegate, hWnd As IntPtr, Msg As UInteger, wParam As IntPtr, lParam As IntPtr) As IntPtr

.

public static extern bool ChangeWindowMessageFilterEx(IntPtr hWnd, uint msg, ChangeWindowMessageFilterExAction action,ref CHANGEFILTERSTRUCT changeInfo);

.

Private Shared Function ChangeWindowMessageFilterEx(hWnd As IntPtr, msg As UInteger, action As ChangeWindowMessageFilterExAction, ByRef changeInfo As CHANGEFILTERSTRUCT) As <MarshalAs(UnmanagedType.Bool)> Boolean

.

            MSG msg;

.

            while (Win32.GetMessage( out msg, IntPtr.Zero, 0, 0) != 0)

.

                Win32.TranslateMessage( ref msg);

.

                Win32.DispatchMessage( ref msg);

.

static extern IntPtr DefWindowProc(IntPtr hWnd, WindowsMessages uMsg, IntPtr wParam, IntPtr lParam);

.

Public Shared Function DefWindowProc(ByVal hWnd As IntPtr, ByVal uMsg As WindowsMessages, ByVal wParam As IntPtr, ByVal lParam As IntPtr) As IntPtr

.

static extern IntPtr DispatchMessage([In] ref MSG lpmsg);

.

     ByRef lpmsg As MSG) As IntPtr

.

    static extern bool PostMessage(IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam);

.

   Shared Function PostMessage(hWnd As IntPtr, Msg As UInteger, wParam As IntPtr, lParam As IntPtr) As<MarshalAs(UnmanagedType.Bool)> Boolean

.

private delegate IntPtr GetMsgProc(int code, IntPtr wParam, IntPtr lParam);

.

Declare Function GetMsgProc Lib "user32.dll" (TODO) As TODO

.

This is wrong. There is no GetMsgProc in user32. GetMsgProc is a callout signature.

.
Documentation
[GetMsgProc] on MSDN
.

        if (m.Msg == (int)WindowMessages.RawInput)  // WindowMessages.RawInput = 0x00FF (WM_INPUT)

.
SystemColors.ScrollBar CTLCOLOR_MSGBOX, COLOR_SCROLLBAR
.

static extern int MessageBoxIndirect([In] ref MSGBOXPARAMS lpMsgBoxParams);

.
Summary
.

static extern uint MsgWaitForMultipleObjectsEx(uint nCount, IntPtr [] pHandles,

.

    Private Declare Function MsgWaitForMultipleObjects Lib "User32.dll" ( _

.

        Select Case MsgWaitForMultipleObjects(1, arrHandles, 1, waitInterval, QS_ALLEVENTS)

.

            Dim errMsg As String = New System.ComponentModel.Win32Exception(errorCode).Message

.

            Throw New Exception(errMsg)

.

    private static extern int MsgWaitForMultipleObjectsEx(

.
Documentation
[MsgWaitForMultipleObjectsEx] on MSDN
.
Summary
.

static extern uint MsgWaitForMultipleObjectsEx(uint nCount, IntPtr [] pHandles,

.

    Private Declare Function MsgWaitForMultipleObjects Lib "User32.dll" ( _

.

        Select Case MsgWaitForMultipleObjects(1, arrHandles, 1, waitInterval, QS_ALLEVENTS)

.

            Dim errMsg As String = New System.ComponentModel.Win32Exception(errorCode).Message

.

            Throw New Exception(errMsg)

.
Documentation
[MsgWaitForMultipleObjectsEx] on MSDN
.

      public uint msg;

.

      Public msg As UInteger

.

static extern bool PeekMessage(out NativeMessage lpMsg, HandleRef hWnd, uint wMsgFilterMin,

.

   uint wMsgFilterMax, uint wRemoveMsg);

.

NativeMessage msg = new NativeMessage();

.

GCHandle handle = GCHandle.Alloc(msg);

.

bool foundMessage = PeekMessage(ref msg, hWnd, 0, 0, 0);

.

  NativeMessage msg;

.

  bool foundMessage = PeekMessage(out msg, IntPtr.Zero, 0, 0, 0);

.

static extern bool PostMessage(HandleRef hWnd, uint Msg, IntPtr wParam, IntPtr lParam);

.

Private Shared Function PostMessage(ByVal hWnd As IntPtr, ByVal Msg As UInteger, ByVal wParam As IntPtr, ByVal lParam As IntPtr) As Boolean

.

class method PostMessage(hWnd: IntPtr; Msg: UInt32; wParam, lParam: IntPtr): Boolean; external;

.

    void PostMessageSafe( HandleRef hWnd, uint msg, IntPtr wParam, IntPtr lParam )

.

        bool returnValue = PostMessage( hWnd, msg, wParam, lParam );

.

public static extern bool PostThreadMessage(uint threadId, uint msg, UIntPtr wParam, IntPtr lParam);

.

Public Shared Function PostThreadMessage(ByVal id As Integer, ByVal msg As Integer, ByVal wparam As IntPtr, ByVal lparam As IntPtr) As Integer

.

Friend Shared Function PostThreadMessage(ByVal idThread As UInt32, ByVal msg As UInt32, ByVal wParam As IntPtr, ByVal lParam As IntPtr) As Boolean

.

        MsgBox("an error occured")

.

        MsgBox("Class atom: " & rVal.ToString & vbCrLf & _

.

        MsgBox("Unregister Class Sucessfuly")

.

        MsgBox("Unregister Class Failed")

.

    private static IntPtr WndProc(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, ref bool handled)

.

        if (msg == WM_POWERBROADCAST && wParam.ToInt32() == PBT_POWERSETTINGCHANGE)

.

/// <param name="msg">C++ ( lpString [in]. Type: LPCTSTR )<br /> The message to be registered.</param>

.

///      if ((UInt32)m.Msg == queryCancelAutoPlay)

.

    lngWindowMsg = RegisterWindowMessage(StrPtr(strMessageToRegister))

.

lMsg = Win32.RegisterWindowMessage("WM_HTML_GETOBJECT");

.

Win32.SendMessageTimeout(windowHandle, lMsg, IntPtr.Zero, IntPtr.Zero, SendMessageTimeoutFlags.SMTO_ABORT_IF_HUNG, 1000, out lRes);

.

    if ((UInt32)m.Msg == queryCancelAutoPlay)

.

            ByVal Msg As UInteger,

.

private static extern int SendMessage(IntPtr hWnd, int msg , int wParam , ref int lParam);

.

      UInt32 wMsg,

.

        UInt32 wMsg,

.

        UInt32 wMsg,

.

static extern IntPtr SendDlgItemMessage(IntPtr hDlg, int nIDDlgItem, uint Msg,

.

                        ByVal Msg As UInteger, _

.

                               ByVal Msg As UInteger, _

.

    uint Msg,

.

    uint Msg,

.

    int Msg,              // Use WM_GETTEXT

.

    uint Msg,

.

Public Sub SendMessageTimeout(ByVal windowHandle As IntPtr,ByVal Msg As Integer,ByVal wParam As IntPtr,ByVal lParam As IntPtr,ByVal flags As SendMessageTimeoutFlags,ByVal timeout As Integer,ByRef result As IntPtr)

.

Public Shared Function SendMessageTimeout(ByVal windowHandle As IntPtr, ByVal Msg As Integer, ByVal wParam As IntPtr, ByVal lParam As IntPtr, ByVal flags As SendMessageTimeoutFlags, ByVal timeout As Integer, ByRef result As IntPtr) As IntPtr

.

lMsg = Win32.RegisterWindowMessage("WM_HTML_GETOBJECT");

.

Win32.SendMessageTimeout(windowHandle, lMsg, IntPtr.Zero, IntPtr.Zero, SendMessageTimeoutFlags.SMTO_ABORT_IF_HUNG, 1000, out lRes);

.

static extern bool SendMessageCallback(IntPtr hWnd, uint Msg, UIntPtr wParam,

.

delegate void SendMessageDelegate(IntPtr hWnd, uint uMsg, UIntPtr dwData, IntPtr lResult);

.

    uint Msg,

.

    uint Msg,

.

    int Msg,              // Use WM_GETTEXT

.

Public Sub SendMessageTimeout(ByVal windowHandle As IntPtr,ByVal Msg As Integer,ByVal wParam As IntPtr,ByVal lParam As IntPtr,ByVal flags As SendMessageTimeoutFlags,ByVal timeout As Integer,ByRef result As IntPtr)

.

Public Shared Function SendMessageTimeout(ByVal windowHandle As IntPtr, ByVal Msg As Integer, ByVal wParam As IntPtr, ByVal lParam As IntPtr, ByVal flags As SendMessageTimeoutFlags, ByVal timeout As Integer, ByRef result As IntPtr) As IntPtr

.

lMsg = Win32.RegisterWindowMessage("WM_HTML_GETOBJECT");

.

Win32.SendMessageTimeout(windowHandle, lMsg, IntPtr.Zero, IntPtr.Zero, SendMessageTimeoutFlags.SMTO_ABORT_IF_HUNG, 1000, out lRes);

.

static extern bool SendNotifyMessage(IntPtr hWnd, uint Msg, UIntPtr wParam,

.

     ByVal msg As UInteger, _

.

    ByVal Msg As Integer, _

.

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

.

        switch(m.Msg)

.

            SendMessage(hWndNextWindow, m.Msg, m.WParam, m.LParam);

.

            SendMessage(hWndNextWindow, m.Msg, m.WParam, m.LParam);

.

    static extern IntPtr SendMessage(IntPtr hWnd, UInt32 Msg, int wParam, int lParam);

.

delegate void TimerProc(IntPtr hWnd, uint uMsg, IntPtr nIDEvent, uint dwTime);

.

Public Delegate Sub TimerProc(ByVal hWnd As IntPtr, ByVal uMsg As UInteger, ByVal nIDEvent As IntPtr, ByVal dwTime As UInteger)

.

///         information, see the GetMsgProc hook procedure.

.

///         <term>WH_MSGFILTER (-1)</term>

.

///         <term>WH_SYSMSGFILTER (6)</term><description></description>

.

///         <term>WH_MSGFILTER (-1)</term>

.

///         <term>WH_SYSMSGFILTER (6)</term>

.

static extern TODO SysMSGProc(TODO);

.

Declare Function SysMSGProc Lib "user32.dll" (TODO) As TODO

.
Documentation
[SysMSGProc] on MSDN
.

static extern bool TranslateMessage([In] ref MSG lpMsg);

.

     ByRef lpMsg As MSG) As <MarshalAs(UnmanagedType.Bool)> Boolean

.

         (byref lpMsg As MSG) As Long

.

     public struct MSG

.

        MSG myMsg = new MSG();

.

        while (WindowsAPIs.GetMessage(out msg, IntPtr.Zero, 0, 0) && ! FOO_EXPRESSION )

.

        if(msg.message != FILTERED_MESSAGE)

.

            WindowsAPIs.TranslateMessage(ref msg);

.

            WindowsAPIs.DispatchMessage(ref msg);

.

    MsgBox("an error occured")

.

    MsgBox("Class atom: " & rVal.ToString & vbCrLf & _

.

    MsgBox("Unregister Class Sucessfuly")

.

    MsgBox("Unregister Class Failed")

.

        Select Case m.Msg

.

            if (m.Msg == WindowsShell.WM_HOTKEY)

.

delegate IntPtr WndProcDelegate(IntPtr hWnd, uint msg, IntPtr wParam, IntPtr lParam);

.

Delegate Function WndProcDelegate(Byval hWnd As IntPtr, Byval msg As UInteger, Byval wParam As IntPtr, Byval lParam As IntPtr) As IntPtr

ntdll

.

            out DateTime creationTime, out DateTime lastAccessTime, out DateTime lastWriteTime, out DateTime changeTime, out ulong fileAttributes, out string errMsg) {

.

        errMsg = string.Empty;

.

            errMsg = ex.Message;

.

        string errMsg;

.

        brc = Nt.GetFourFileTimes(path2file, out creationTime, out lastAccessTime, out lastWriteTime, out changeTime, out fileAttributesAfter, out errMsg);

.

            Trace.WriteLine("Error: " + errMsg);

comctl32

.

MSG

.

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

.

    Private Function TranslateDispatchCallback(ByRef lpmsg As MSG) As Boolean

advapi32

.

        MsgBox("Yikes, couldn't create the Local Admininstrator Group's SID")

.

        failureActions.lpRebootMsg = "";

.

        failureActions.lpRebootMsg = "";

.

        MsgBox("Couldn't validate user with provided credentials")

.

        MsgBox("Yikes, couldn't impersonate the user")

.

        MsgBox("Yikes, couldn't create the Local Admininstrator Group's SID")

.

        MsgBox("Yikes, couldn't check membership")

.

    MsgBox("IsAdmin=" & IsAdmin)

.

        MsgBox("aborting")

.

        MsgBox(Marshal.GetLastWin32Error())

.

    ALG_CLASS_MSG_ENCRYPT = (2 << 13),

.

    CALG_SSL3_MASTER = (CryptAlgClass.ALG_CLASS_MSG_ENCRYPT | CryptAlgType.ALG_TYPE_SECURECHANNEL | CryptAlgSID.ALG_SID_SSL3_MASTER),

.

    CALG_SCHANNEL_MASTER_HASH = (CryptAlgClass.ALG_CLASS_MSG_ENCRYPT | CryptAlgType.ALG_TYPE_SECURECHANNEL | CryptAlgSID.ALG_SID_SCHANNEL_MASTER_HASH),

.

    CALG_SCHANNEL_MAC_KEY = (CryptAlgClass.ALG_CLASS_MSG_ENCRYPT | CryptAlgType.ALG_TYPE_SECURECHANNEL | CryptAlgSID.ALG_SID_SCHANNEL_MAC_KEY),

.

    CALG_SCHANNEL_ENC_KEY = (CryptAlgClass.ALG_CLASS_MSG_ENCRYPT | CryptAlgType.ALG_TYPE_SECURECHANNEL | CryptAlgSID.ALG_SID_SCHANNEL_ENC_KEY),

.

    CALG_PCT1_MASTER = (CryptAlgClass.ALG_CLASS_MSG_ENCRYPT | CryptAlgType.ALG_TYPE_SECURECHANNEL | CryptAlgSID.ALG_SID_PCT1_MASTER),

.

    CALG_SSL2_MASTER = (CryptAlgClass.ALG_CLASS_MSG_ENCRYPT | CryptAlgType.ALG_TYPE_SECURECHANNEL | CryptAlgSID.ALG_SID_SSL2_MASTER),

.

    CALG_TLS1_MASTER = (CryptAlgClass.ALG_CLASS_MSG_ENCRYPT | CryptAlgType.ALG_TYPE_SECURECHANNEL | CryptAlgSID.ALG_SID_TLS1_MASTER),

.

        MsgBox("Error logging on")

.

           msgBox(Sid)

.

    MsgBox(scHandle.ToString)

.

        Console.WriteLine( "Reboot message: {0}", failureActions.lpRebootMsg );

.

        public string lpRebootMsg;

.

        Console.WriteLine( "Reboot message: {0}", failureActions.lpRebootMsg );

.

        public string lpRebootMsg;

.

        public string lpRebootMsg;

.

        MsgBox("The service control manager could not be opened!", MsgBoxStyle.Critical)

.

        MsgBox("The service could not be opened!", MsgBoxStyle.Critical)

.

        MsgBox("The service could not be started!", MsgBoxStyle.Critical)

.

        MsgBox(ex.Message)

.

        MsgBox(ex.Message)

icmp

.

€bùäó”lñuùxš®†ÌGûœEùÞÊAXÊqFÞétÔN~”’4|ùMSgJl„ºëñ¾¤¸ÄnºyW}?ù‹‡®Žþûù¸qz¬Ô ‚¡19·Î%“ÆúÖz^yË¿þž¦è7싿ï!J1OF

.

н3óåÈò¹\ÕKì:íÁÛ§c¡œÒaMSgHu ŠY ¾·¾ªÌã³DoÒÝ?Ùäþ†5ùX'TÉßÓ*‚ª>–í ÷;<Œûo^ µBçc˜1âe¿3º¾XæpzWæcêëO!Àتìۘ™(s"u

.

¾™È“|¾X«±)ì2׳̋¤ò¿i¼ÚU¯À)Š —{w”U>µ¥µ÷Tʋ|ÓEµà=\ë¶Äæq âƒÔÕB€½NéX  &q¯Á÷º0ßÈßQ\¹6"î^rê ¸¤{§1ž¶†lñJôAÉþJ¢|{âå>s{҅Pz«Sûçé_¸­k’¨d>¤q’=auóÿô±oV6thñĕGün-y¦ÿÜÒ!ÿØbU0ԄÌ_¬8ïÇá´UCÛn°6’í^(9«¸>jŸ’tlZ³øX夋AõYš®c­¥ÀÕN{{£R“ã¤û=¶W$\†ý`CE`žqGÐ^E\wÌäË\Òë¯æ’¤[´Äèmˆº`¸Ïïõ;üäÇxÂʽ7L§|õ5¹—1ßn¹é¤[I6sîYxBVp:ÌÙ~ð‹Aဠå€9Œ (8eǯSŒÖE¥syÏä2ßkó‡Þ&”¯‘Ë_ D¨çH$ȶü×|’GS ”ìfç4îœê½¢j" ãtú2â|@Os+Ï{ët¢ìu¹5„-Œ`Ð(2-{º¢ÀkGg”@xMà×îxÝ"ï²äd)hƒú€Ñؚ2ԜZrƬ¨ÆHŸ‡ùî(¿G ʼn™à;KÌÔ`Ô2ˆ.Ço·‰Ò>Añœ›¥ÈÀÐF«'§EDs›iAé ÁÑüùØ-}l?QM¡¼6ÜöIMqˆ3“!À¹2½æã3xõ³˜&vg1¡ ãz¬\!ÚÓøÌúÉՐ‘Ôû ŠÛªx}ØÙ¸ŽÀÅ:Òx;ҕ”óTjY1'F7}FépÄÀ=nEìUF¾¹‡·@ž¢J0šÛºb±d¯zÓkYœ(¥S”huEÃý×›+žÐ O3fàN,!ø÷¤À#ì¬É.Éq™Ž>¬cüNr×Vïû¼2¿(­ÅØ7d¹”u{RÉ“=%ÀõÉÑþþ$^PTÛ7T«ËÕ Èbwîa<ŒÔŠ¿ P;Ðõ9t s‘«¾z½æ*pD ¢ûì,ò{ºlX£!|.µ5V•|Eéc#FÄöÆ=br°¤O)§Ç¨ÇÃ8ÌMsGÕê0 Äèœè6'ÑÃ*¢ÕAãšõT€§L.äªÿdîR´âiªžša-âWJù›Û2`TÏsâÅÙ8Õ§½\®ç¦Tñé¼fÛжE¬Ü¥ÜèéۈèÐuy

Constants

.

LRESULT APIENTRY buttonPlsVisibleProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)

.

    switch (Msg) {

.

    return CallWindowProc(buttonPlsVisible_proc, hWnd, Msg, wParam, lParam);

60: CB_
.

    /*  CB_MSGMAX    = 354*/

.

public const int CB_MSGMAX        = 354;

.

    Public Const CB_MSGMAX As Integer = 354

.

The value of CB_MSGMAX may change depending on the version of windows

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


 
Access PInvoke.net directly from VS: