Desktop Functions: Smart Device Functions:
|
Search Results for "MSG" in [All]coredll
'MsgBox(ex.ToString)
'MsgBox(ex.ToString)
System.Text.StringBuilder sbMsg = new System.Text.StringBuilder(1024);
if (FormatMessage(FormatMessageFlags.FORMAT_MESSAGE_FROM_SYSTEM, IntPtr.Zero, win32ErrorCode, 0, sbMsg, sbMsg.Capacity, null) != 0)
return sbMsg.ToString(); 3: GetKeyState
MsgBox("NumLock is off")
MsgBox("NumLock is on")
switch(m.Msg) 5: R86SZDAFB3DK84HKMY8G72ZF1J8LJ94LKLC4XTKKFV9B50AM8Y56821NKYRZW5BI4T2SSBB2PJIFW5IEQLSSBXD3IGZJ8ANYMKZ2 ůSßÕ 5ïÑÚÖOí_¢Aÿ Ç(Üý!Ãè»è÷´ãðÍg9Z&ÑNÍçÅ@ɶÎ8Ø£¦¦â>be$¯çæäüMqQ$Ò¢>³h7Õ]<´H6çMI¹Rªì?-Mè¶Fyð1ôö*]Ä6éêÛAó³¬W[©M®j]¼°XG#iø3GSó®8îyó¤2½8÷5ægyðpÔ±¶Án;µ\nÊIMsgi¿g A¨xj'9F*¼Æ0»ìö¡¸/ Þ$Ïcä/ÈðAp')Äâ 6: SendMessage
private static extern IntPtr SendMessage(IntPtr hWnd, int Msg, IntPtr wParam, IntPtr lParam);
Declare Function SendMessage Lib "coredll.dll" (ByVal hWnd As IntPtr, ByVal Msg As Integer, ByVal wParam As Integer, ByVal lParam As Integer) As IntPtr
public static extern int SendMessage(IntPtr hWnd, WM Msg, int wParam, int lParam);
public static extern int SendMessage(IntPtr hWnd, WM Msg, int wParam, int lParam); 7: SetScrollPos
static extern int SendMessage(IntPtr hWnd, int wMsg, int wParam, int lParam); 8: waveInOpen
uint uMsg, // Win32 type UINT
// values for waveInProc.uMsg 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) 14: EVENTMSG 15: HARDWAREINPUT
internal int uMsg;
Public uMsg As Integer 16: MSG public struct MSGBOXPARAMS
public MsgBoxCallback lpfnMsgBoxCallback; public delegate void MsgBoxCallback( HELPINFO lpHelpInfo ); 17: MSGBOXPARAMS 18: NMCUSTOMDRAW
Public Shared Function FromMessage(ByVal msg As Message) As NMCUSTOMDRAW
Return DirectCast(msg.GetLParam(GetType(NMCUSTOMDRAW)), NMCUSTOMDRAW) 19: NMHDR
Public Shared Function FromMessage(ByVal msg As Message) As NMHDR
Return DirectCast(msg.GetLParam(GetType(NMHDR)), NMHDR) 20: READERMODEINFO
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 winmm22: mciSendString
if (m.Msg == MM_MCINOTIFY)
MsgBox(returnstring)
If m.Msg = MM_MCINOTIFY Then
MsgBox("Done playing.") 23: midiOutShortMsg
static extern uint midiOutShortMsg(IntPtr hMidiOut, uint dwMsg);
Declare Function midiOutShortMsg Lib "winmm.dll" (hMidiOut As Intptr,dwMsg As UInt32) As UInt32 uint msg = BitConverter.ToUInt32(data, 0); midiOutShortMsg(hmidi, msg); msg = BitConverter.ToUInt32(data, 0); midiOutShortMsg(hmidi, msg); 24: timeSetEvent
delegate void TimerCallback(uint uTimerID, uint uMsg, UIntPtr dwUser, UIntPtr dw1, UIntPtr dw2);
void CBFunc(uint uTimerID, uint uMsg, UIntPtr dwUser, UIntPtr dw1, UIntPtr dw2) 25: waveInProc
delegate void waveInProc(IntPtr hwi, WIMMessages uMsg, IntPtr dwInstance, IntPtr dwParam1, IntPtr dwParam2);
Delegate Sub waveInProc(<MarshalAs(UnmanagedType.I4)> ByVal hwi As Integer, ByVal uMsg As WIMMessages, ByVal dwInstance As UIntPtr, ByVal dwParam1 As UIntPtr, ByVal dwParam2 As UIntPtr)
MsgBox("Number of Wave Devices: " & waveOutGetNumDevs(), , "WAVE DEVICES")
MsgBox("MID = " & wc.wMid & Chr(13) & "PID = " & wc.wPid & Chr(13) & "Version = " & _
waveOutGetErrorText(MMRESULT, errmsg, MAXERRORLENGTH);
"waveOutPrepareHeader(): " + errmsg.ToString(),
waveOutGetErrorText(MMRESULT, errmsg, MAXERRORLENGTH);
"waveOutReset(): " + errmsg.ToString(), Interfaces28: IContextMenu
[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: 29: IContextMenu2
int HandleMenuMsg(uint uMsg, IntPtr wParam, IntPtr lParam); 30: IContextMenu3
[PreserveSig] int HandleMenuMsg2( uint uMsg, uint wParam, uint lParam, IntPtr plResult ); 31: IDeskBand
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 32: IDeskBand2
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 33: IOleObject
void DoVerb(uint iVerb, uint lpmsg, object pActiveSite, uint lindex, uint hwndParent, uint lprcPosRect); 34: IProgressDialog
/// <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); 35: IPropertyPage
int TranslateAccelerator(ref MSG pMsg);
int TranslateAccelerator(ref MSG pMsg); 37: IShellBrowser
void TranslateAcceleratorSB(IntPtr pmsg, UInt16 wID);
void SendControlMsg(UInt32 id, UInt32 uMsg, UInt32 wParam, UInt32 lParam, IntPtr pret); icmp38: 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 39: 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 ole32
ErrorMsg = "GetIUnknownForObject was zero.";
ErrorMsg = "No such interface supported";
ErrorMsg = "PersistStreamInit QueryInit failed.";
_strErrorMsg = strStreamGUID + " " + strCtrlGUID + " mismatch";
public string ErrorMsg
get {return _strErrorMsg;}
set {_strErrorMsg = value;} shlwapi41: IPreviewHandler
uint TranslateAccelerator(ref MSG pmsg); odbccp32
public static extern SQL_RETURN_CODE SQLInstallerError(int iError, ref SQL_INSTALLER_ERROR_CODE pfErrorCode, StringBuilder lpszErrorMsg, int cbErrorMsgMax, ref int pcbErrorMsg);
Public Shared Function SQLInstallerError(ByVal iError As Integer, ByRef pfErrorCode As Integer, ByVal lpszErrorMsg As StringBuilder, ByVal cbErrorMsgMax As Integer, ByRef pcbErrorMsg As Integer) As SQL_RETURN_CODE SQLInstallerError does not post error values for itself. SQLInstallerError returns SQL_NO_DATA when it is unable to retrieve any error information (in which case pfErrorCode is undefined). If SQLInstallerError cannot access error values for any reason that would normally return SQL_ERROR, SQLInstallerError returns SQL_ERROR but does not post any error values. If either the lpszErrorMsg argument is NULL or the cbErrorMsgMax is less than or equal to 0, this function returns SQL_ERROR. If the buffer for the error message is too short, SQLInstallerError returns SQL_SUCCESS_WITH_INFO and returns the correct pfErrorCode value for SQLInstallerError.
Dim errorMsg As New StringBuilder(512)
Dim retCode As SQL_RETURN_CODE = SQLInstallerError(1, errorCode, errorMsg, errorMsg.Capacity, resizeErrorMesg) winhttp43: J9T9LB7SKDWBS3K9GTD3E7DF782NVUCZNGE0MVQCDSQLSC3S6R6YWO7JEEDRK91JLFC7C6OTT3HLHUSQ181L6AV7VBKG42GU20LL ���D�#G(�x�7���&ކ��>�����4�б���i yj]"���=��0y�j)�J�.�{���<y��,Y?�f�z�KՆJN�e�Kyn#H��qX.���z�hd?�@<��D�D��H6MsG(����� B�Fc:����5v�o�;�6�L*���T�|�^v�TuJ��������H- E����e�3��&6�ES8��e�¼��r�pli����bxit0��3i3���M������ eʠ��h\Ɗhw�Q|WFK�ȚJM Enums44: DLGC
/// <summary> Control processes the message in the MSG structure that lParam points to. </summary> 45: ExtStatusEnum
MSGFLTINFO_NONE = 0,
MSGFLTINFO_ALREADYALLOWED_FORWND,
MSGFLTINFO_ALREADYDISALLOWED_FORWND,
MSGFLTINFO_ALLOWED_HIGHER 46: HookType
WH_SYSMSGFILTER = 6,
WH_SYSMSGFILTER = 6 47: HRESULT
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 50: RasError
WARNING_MSG_ALIAS_NOT_ADDED, 51: WindowLongFlags
DWLP_MSGRESULT = 0x0,
DWLP_MSGRESULT = &H0
DWLP_MSGRESULT As Long = &H0 52: WindowsMessages
/// 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) netapi3253: DsGetDcName
string msg = "Forest : " + domainInfo.DnsForestName + "\r\n";
msg += "DC-Site: " + domainInfo.DomainControllerName + "\r\n";
msg += " Client: " + domainInfo.ClientSiteName + "\r\n";
System.Windows.Forms.MessageBox.Show ( msg); 54: NetFileClose
If MsgBox("Are you sure you want to disconnect this resource?", MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
[MarshalAs(UnmanagedType.LPWStr)] string msgname,
''' <param name="msgname">Pointer to a constant string that specifies the message alias to which the message buffer should be sent.</param>
<MarshalAs(UnmanagedType.LPWStr)> ByVal msgname As String, _
public class SendNetMsg
[MarshalAs(UnmanagedType.LPWStr)] string msgname,
Console.WriteLine ("sendnetmsg.exe srcName dstName msg"); 56: netserverenum
string msgname,
public static int NetMessageSend(string serverName,string messageName,string fromName,string strMsgBuffer, int iMsgBufferLen)
return NetMessageBufferSend(serverName,messageName,fromName,strMsgBuffer,iMsgBufferLen*2); 57: NetShareEnum
' msgbox (s.name) 58: NetUserGetInfo
MsgBox("AccountGetFullName: " + exp.Message) dtl59: DTL_C_DEFINE
/// <param name="msg">message corresponding to dtl status </param>
public static void DtlErrorS(int dtlSts, StringBuilder msg, int buffSize)
UnsafeNativeMethods.DTL_ERROR_S(dtlSts, msg, buffSize);
static extern public void DTL_ERROR_S(int iostat, StringBuilder msg, int buffsz);
var msg = new StringBuilder(256);
Dtl.DtlErrorS(ioStat, msg, msg.MaxCapacity);
errorText = dtlFunction + ": " + address + ' ' + msg;
errorText = dtlFunction + ": " + msg;
_logger.Warn(LoggerEvent.RockwellPlcError, msg.ToString());
string msgTxt = " ";
if (DtlStatusOk("DtlCDefine", dtlSts, ref msgTxt, "", 0, true))
_logger.Error(LoggerEvent.RockwellPlcError, msgTxt);
string msg = string.Format("{0}", "Cannot define data, check configuration");
_logger.Error(LoggerEvent.RockwellPlcError, msg);
string msg = string.Format("{0}", "Data file size passed is too large");
_logger.Error(LoggerEvent.RockwellPlcError, msg); 60: DTL_DRIVER_CLOSE
/// <param name="msg">message corresponding to dtl status </param>
public static void DtlErrorS(int dtlSts, StringBuilder msg, int buffSize)
UnsafeNativeMethods.DTL_ERROR_S(dtlSts, msg, buffSize);
static extern public void DTL_ERROR_S(int iostat, StringBuilder msg, int buffsz); Cut off search results after 60. Please refine your search. |