Desktop Functions: Smart Device Functions:
|
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);
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
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); 10: DefWindowProc
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 11: DispatchMessage
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 13: GetMsgProc
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. 14: GetRawInputData
if (m.Msg == (int)WindowMessages.RawInput) // WindowMessages.RawInput = 0x00FF (WM_INPUT) 15: GetSysColor
static extern int MessageBoxIndirect([In] ref MSGBOXPARAMS lpMsgBoxParams);
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(
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) 19: PeekMessage
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); 20: PostMessage
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 22: RegisterClass
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) 25: ReleaseCapture
ByVal Msg As UInteger,
private static extern int SendMessage(IntPtr hWnd, int msg , int wParam , ref int lParam); 26: SB_GETTEXT
UInt32 wMsg,
UInt32 wMsg,
UInt32 wMsg,
static extern IntPtr SendDlgItemMessage(IntPtr hDlg, int nIDDlgItem, uint Msg,
ByVal Msg As UInteger, _
ByVal Msg As UInteger, _ 28: SendMessage
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); 33: SetParent
static extern IntPtr SendMessage(IntPtr hWnd, UInt32 Msg, int wParam, int lParam); 34: SetTimer
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) 35: SetWindowsHookEx
/// 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> 36: SysMSGProc 37: TranslateMessage
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); 38: UnregisterClass
MsgBox("an error occured")
MsgBox("Class atom: " & rVal.ToString & vbCrLf & _
MsgBox("Unregister Class Sucessfuly")
MsgBox("Unregister Class Failed") 39: UnregisterHotKey
Select Case m.Msg
if (m.Msg == WindowsShell.WM_HOTKEY) 40: WndProcDelegate
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); comctl3242: DoReaderMode
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) 47: CreateService
MsgBox("aborting")
MsgBox(Marshal.GetLastWin32Error()) 48: CryptGenKey
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) 51: OpenSCManager
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; 55: StartService
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) icmp57: 8DAZPU0667AT225BBWGW5WLBNSFQ5385ZKN6OIZO0TJC9H7A68WMQXEA3EA0NJV7WP4O3OFWEBUW7M8L3OFQLAW1M2IY5KGJYL9I bùäólñuùx®ÌGûEùÞÊAXÊqFÞétÔN~4|ùMSgJlºëñ¾¤¸ÄnºyW}?ù®þûù¸qz¬Ô¡19·Î%ÆúÖz^yË¿þ¦è7ì¿ï!J1OF н3óåÈò¹\ÕKì:íÁÛ§c¡ÒaMSgHuY ¾·¾ªÌã³DoÒÝ?Ùäþ5ùX'TÉßÓ*ª>í ÷;<ûo^µBçc1âe¿3º¾XæpzWæcêëO!ÀتìÛ(s"u 58: 8O69LVRLZQH9DVZQ10HIAY694EMVNWSY7HQ57ZN2MQGLU5F2FC5PD2BBPIFTEU8CY328GI34OPMBUKUJZ29AEDPQ7VXYIYDU2ELJ ¾È|¾X«±)ì2׳̤ò¿i¼ÚU¯À) {wU>µ¥µ÷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«¸>jtlZ³ø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Åà;KÌÔ`Ô2.Ço·Ò>Añ¥ÈÀÐF«'§EDsiAé ÁÑüùØ-}l ?QM¡¼6ÜöIMq3!À¹2½æã3xõ³&vg1¡ãz¬\!ÚÓøÌúÉÕÔû Ûªx}ØÙ¸ÀÅ:Òx;ÒóTjY1'F7}FépÄÀ=nEìUF¾¹·@¢J0Ûºb±d¯zÓkY(¥ShuEÃý×+ÐO3fàN,!ø÷¤À#ì¬É.Éq>¬cüNr×Vïû¼2¿(ÅØ7d¹u{RÉ=%ÀõÉÑþþ$^PTÛ7T«ËÕÈbwîa<Ô¿P;Ðõ9ts«¾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 Constants59: BM_CLICK
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. |