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

wininet

1: !!!!
.

iò’=SêH²W€‘È¡ÃåQ0f|teB^`=ˆ“L©<oÔ>ºí6Èg&Ž1Öç<Cv*'£ßîPt—Ìz´ˆ›Gû Ç(˜înÙ°Ow4îí=•kÈ.sز" ™¨è+YÜ8ãŸåé¡L=ÃÚj®w»u†¹ù‡Ówm€>¢ÍßT>KâÑnlãöÞ©ñXSVâ0Œgjwxd4³]„4˪ ãnzW܇ØÓÈ@ˆöILµp,Ý çbùSþ„t¥˜ÖîjŠ

.

     public int dwMajorVersion;

.

     public int dwMinorVersion;

gdi32

.

2äÈ`>ȽDãÈáìymè´âSwmãzoдйÖ!¿(fPAn:%È3:6øÊÉÿèº)[a©ÂçJó+Oäý„>A¼ØI¹d¸~—C!¦ÿô]y¾

.

    GRADIENT_FILL dwMode);           // gradient fill mode

.

    GRADIENT_FILL dwMode);           // Use either GRADIENT_FILL.RECT_H or GRADIENT_FILL.RECT_V. Using the value GRADIENT_FILL.TRIANGLE is wrong in this overload!

.

    GRADIENT_FILL dwMode);           // Use only GRADIENT_FILL.TRIANGLE. Both values GRADIENT_FILL.RECT_H and GRADIENT_FILL.RECT_V are wrong in this overload!

.

    private static extern int SendMessage(IntPtr hWnd, WindowsMessages wMsg, IntPtr wParam, IntPtr lParam);

.

        long result = SendMessage(HWND_BROADCAST, WindowsMessages.WM_FONTCHANGE, IntPtr.Zero, IntPtr.Zero);

.

        Console.WriteLine(String.Format("WM_FONTCHANGE broadcast returned {0}", result));

.

        //Snipped for length - see the list of WM_ calls on this site.

.

static extern int SetROP2(IntPtr hdc, int fnDrawMode);

.

public struct WmfPlaceableFileHeader

.
Documentation
[WmfPlaceableFileHeader] on MSDN

Interfaces

.

    ,BINDSTATUS_RAWMIMETYPE

.

        int GetBandInfo([In] Int32 dwBandID, [In] Int32 dwViewMode, [In, Out] ref DESKBANDINFO pdbi);

.

    Sub GetBandInfo(dwBandID As UInt32, dwViewMode As UInt32, ByRef pdbi As DESKBANDINFO)

.

    Public Overridable Sub GetBandInfo(dwBandID As UInt32, dwViewMode As UInt32, ByRef dbi As DESKBANDINFO) Implements IDeskBand.GetBandInfo, IDeskBand2.GetBandInfo

.

    dbi.dwModeFlags = DBIM.TITLE Or DBIM.ACTUAL Or DBIM.MAXSIZE Or DBIM.MINSIZE Or DBIM.INTEGRAL

.

        'WM_KEYDOWN

.

    Public dwMask As UInt32

.

    Public dwModeFlags As DBIM

.

    Sub GetBandInfo(dwBandID As UInt32, dwViewMode As UInt32, ByRef pdbi As DESKBANDINFO)

.

    Sub GetBandInfo(dwBandID As UInt32, dwViewMode As UInt32, ByRef pdbi As DESKBANDINFO)

.

        int GetBandInfo([In] Int32 dwBandID, [In] Int32 dwViewMode, [In, Out] ref DESKBANDINFO pdbi);

.

    Sub GetBandInfo(dwBandID As UInt32, dwViewMode As UInt32, ByRef pdbi As DESKBANDINFO)

.

    Public Overridable Sub GetBandInfo(dwBandID As UInt32, dwViewMode As UInt32, ByRef dbi As DESKBANDINFO) Implements IDeskBand.GetBandInfo, IDeskBand2.GetBandInfo

.

    dbi.dwModeFlags = DBIM.TITLE Or DBIM.ACTUAL Or DBIM.MAXSIZE Or DBIM.MINSIZE Or DBIM.INTEGRAL

.

        'WM_KEYDOWN

.

    Public dwMask As UInt32

.

    Public dwModeFlags As DBIM

.

    Sub GetBandInfo(dwBandID As UInt32, dwViewMode As UInt32, ByRef pdbi As DESKBANDINFO)

.

    Sub GetBandInfo(dwBandID As UInt32, dwViewMode As UInt32, ByRef pdbi As DESKBANDINFO)

.

     uint ShowMessage(IntPtr hwnd,

.

    Function ShowMessage(ByVal hwnd As IntPtr, <MarshalAs(UnmanagedType.LPWStr)> ByVal lpstrText As String, <MarshalAs(UnmanagedType.LPWStr)> ByVal lpstrCaption As String, ByVal dwType As Integer, <MarshalAs(UnmanagedType.LPWStr)> ByVal lpstrHelpFile As String, ByVal dwHelpContext As Integer, ByRef lpResult As Integer) As Integer

.

The original definition on this page marshalled the strings as UnmanagedType.BStr which I think was incorrect since the underlying type is LPOLESTR. I experienced heap corruption and instability. ShowMessage also did not appear to be called reliably.

.

            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.ShowMergeFormDialog));

.

        string pszFileName, uint dwMode);

.

            ByVal dwMode As STGM) As HRESULT

.

        [In] FolderFlags dwMask,

.

        [In] FolderViewMode fvMode,

.

    FORCEVIEWMODE = 0x2,

.

    /// Enumerates the different viewmodes of the explorer listview.

.

    public enum FolderViewMode : int

.

        [In] FolderFlags dwMask,

.

        [In] FolderViewMode fvMode,

powrprof

.

    private const int WM_POWERBROADCAST = 536; // (0x218)

winmm

.

    public ushort wMid;

.

        public ushort wMid;

.

static extern uint midiOutShortMsg(IntPtr hMidiOut, uint dwMsg);

.

Declare Function midiOutShortMsg Lib "winmm.dll" (hMidiOut As Intptr,dwMsg As UInt32) As UInt32

.

     //public uint dwMinimum; // Unioned with lMinimum

.

     //public uint dwMaximum; // Unioned with lMaximum

.

     Public wMid As Short

.

     public short wMid;

.

         MsgBox("MID = " & wc.wMid & Chr(13) & "PID = " & wc.wPid & Chr(13) & "Version = " & _

.

        public short wMid;

.

        return string.Format("wMid:{0}|wPid:{1}|vDriverVersion:{2}|'szPname:{3}'|dwFormats:{4}|wChannels:{5}|wReserved:{6}|dwSupport:{7}", new object[] { wMid, wPid, vDriverVersion, szPname, dwFormats, wChannels, wReserved, dwSupport });

.

        public short wMid;

.

        return string.Format("wMid:{0}|wPid:{1}|vDriverVersion:{2}|'szPname:{3}'|dwFormats:{4}|wChannels:{5}|wReserved:{6}", new object[] { wMid, wPid, vDriverVersion, szPname, dwFormats, wChannels, wReserved });

Structures

.

˜‰ÝQTÉ ;~Àw,a®vá8e3¿¤T ÝÂWXñ Dǐ@;¬]-ÇðÀGgÑÏ×KÞ¾ëüðQ˜#ӑ2ölrálŠÑ” Σ¸“ʆé$’›¦ÎæeÆ¡Š„¼Z±º©Ú²æ8¸Q¬R<ãelo¤Þx)½2%=þNh¡ai½ôðى>õOWMë„>§M¦ÉL}ÔÌf%ù%óVˤ_åd£…µõ´¸<òNۛ³²­2·€ÎÀvmŸB®äÖqPöî

.

        public System.UInt32 dwMCIStartTime;

.

        public System.UInt32 dwMCIStopTime;

.

        Public dwMCIStartTime As Integer

.

        Public dwMCIStopTime As Integer

.

    public UInt32 dwMajorVersion;

.

    public UInt32 dwMinorVersion;

.

    Public dwMajorVersion As UInt32

.

    Public dwMinorVersion As UInt32

.

/// Contains extended result information obtained by calling the ChangeWindowMessageFilterEx function

.
Summary
.

    public enum ChangeWindowMessageFilterExAction : uint

.

        ChangeWindowMessageFilterEx(Handle,_message,ChangeWindowMessageFilterExAction.Allow, ref filterStatus);

.
Documentation
[ChangeWindowMessageFilterEx] on MSDN
.

    public int dwMask;

.

    Public dwMask As Integer

.

// dwMaxBaud

.

    int dwMaxTxQueue;

.

    int dwMaxRxQueue;

.

    int dwMaxBaud;

.

    Dim dwMaxTxQueue As Integer

.

    Dim dwMaxRxQueue As Integer

.

    Dim dwMaxBaud As Integer

.

const int WM_COPYDATA = 0x004A;

.

   SendMessage(hWnd, WM_COPYDATA, IntPtr.Zero, copyDataBuff);

.

     case (int)WM.COPYDATA:

.

- Removed "[MarshalAs(UnmanagedType.LPWStr)]" attributes on pswMessageText and pszCaptionText.

.

    public uint dwMsgAndCertEncodingType;

.

    public uint dwMsgEncodingType;

.

    public UInt32 dwMsgEncodingType;

.

      public uint dwMsgEncodingType;

.

        Public dwMsgEncodingType As UInt32

.

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

.

    ///     DBIM_MODEFLAGS  dwModeFlags is being requested.

.

    public DBIM dwMask;

.

    /// This member is ignored if dwModeFlags does not contain DBIMF_VARIABLEHEIGHT.

.

    public DBIMF dwModeFlags;

.

    /// This member is ignored if dwModeFlags does not contain the DBIMF_BKCOLOR flag.

.
Summary
Retrieved by handling WM_CHANGEDEVICE Message's LPARAM property value. DEV_BROADCAST_HDR structure supplies information about the changed device's type.
.
Summary
Retrieved by handling WM_DEVICECHANGE Message's LPARAM property value. DEV_BROADCAST_HDR structure supplies information about the changed device's type.
.

        public int dwMajorVersion;

.

        public int dwMinorVersion;

.

        Public dwMajorVersion As Interger

.

        Public dwMinorVersion As Integer

. .
Summary
This is used by the [DwmEnableBlurBehindWindow] function to blur behind the Aero in a given region of a window.
.

struct DWM_BLURBEHIND

.

    public DWM_BB dwFlags;

.

    public DWM_BLURBEHIND(bool enabled)

.

        dwFlags = DWM_BB.Enable;

.

            dwFlags |= DWM_BB.TransitionOnMaximized;

.

        dwFlags |= DWM_BB.BlurRegion;

.

Structure DWM_BLURBEHIND

.

    Public dwFlags As DWM_BB

.

[DWM_BB]

.
Documentation
[DWM_BLURBEHIND] on MSDN
.

    public struct DWM_THUMBNAIL_PROPERTIES

.

Used with DwmUpdateThumbnailProperties.

.
Documentation
[DWM_THUMBNAIL_PROPERTIES] on MSDN
.
Documentation
.

  if (nCode >= 0 && wParam == (IntPtr)WM_KEYDOWN)

.

        ///see Remark in KEYBDINPUT, SendInput, WM_KEYDOWN, and WM_KEYUP

. .
Summary
Used with the [DwmExtendFrameIntoClientArea] function to extend the Aero composition further into a given window, given the distances from the sides.
.

The CLR offer us no way to tell us that memory is getting tight. Many think this API provides the best solution. This is mentioned by Jeffrey Richter in his book 'CLR via C#' ISBN: 0-7356-2163-2. It is useful in determining if your system is under excessive memory load by looking at the dwMemoryLoad member of the MEMORYSTATUSEX structure. If this value is > 80 (per Mr. Richter in his discussion of Garbage Collection), it is an indication that you might want to consider converting some strong references into weak references. Remember that a weakreference type will be collected when Generation 0 is full, so it is not a good technique for caching (as many seem to think).

.

        public uint dwMemoryLoad;

.

        public uint dwMemoryLoad;

.

        Public dwMemoryLoad As UInt32

.

The CLR offer us no way to tell us that memory is getting tight. Many think this API provides the best solution. This is mentioned by Jeffrey Richter in his book 'CLR via C#' ISBN: 0-7356-2163-2. It is useful in determining if your system is under excessive memory load by looking at the dwMemoryLoad member of the MEMORYSTATUSEX structure. If this value is > 80 (per Mr. Richter in his discussion of Garbage Collection), it is an indication that you might want to consider converting some strong references into weak references. Remember that a weakreference type will be collected when Generation 0 is full, so it is not a good technique for caching (as many seem to think).

.

        public uint dwMemoryLoad;

.

        Public dwMemoryLoad As UInt32

.

    public UIntPtr dwMenuData;

.

    Dim dwMenuData As Int32

.

     public ushort wMid;

.
Summary
Used with the WM_GETMINMAXINFO message.
.

     private UInt16 wMid;

.

        get { return this.wMid; }

.

        set { this.wMid = value; }

.

  Dim wMid As UShort

.

     private UInt16 wMid;

.

        get { return this.wMid; }

.

        set { this.wMid = value; }

.

  Dim wMid As UShort

.

        public COORD dwMousePosition;

.

        Public dwMousePosition As COORD

.

This started working once I changed the FOCUS_EVENT_RECORD to take a uint rather than a bool. Prior to that MOUSE_EVENT_RECORD.dwMousePosition.X was always 0

.
Summary
The NCCALCSIZE_PARAMS structure contains information that an application can use while processing the WM_NCCALCSIZE message to calculate the size, position, and valid contents of the client area of a window.
.

    An array of rectangles. The meaning of the array of rectangles changes during the processing of the WM_NCCALCSIZE message.

.

    When the window procedure receives the WM_NCCALCSIZE message, the first rectangle contains the new coordinates of a window that has been moved or resized, that is, it is the proposed new window coordinates. The second contains the coordinates of the window before it was moved or resized. The third contains the coordinates of the window's client area before the window was moved or resized. If the window is a child window, the coordinates are relative to the client area of the parent window. If the window is a top-level window, the coordinates are relative to the screen origin.

.

    When the window procedure returns, the first rectangle contains the coordinates of the new client rectangle resulting from the move or resize. The second rectangle contains the valid destination rectangle, and the third rectangle contains the valid source rectangle. The last two rectangles are used in conjunction with the return value of the WM_NCCALCSIZE message to determine the area of the window to be preserved.

.

   public int dwMajorVersion;  

.

   public int dwMinorVersion;  

.

    public uint dwMajorVersion;

.

    public uint dwMinorVersion;

.

   Public dwMajorVersion As Integer

.

   Public dwMinorVersion As Integer

.

   public int dwMajorVersion;  

.

   public int dwMinorVersion;  

.

   Public dwMajorVersion As Integer

.

   Public dwMinorVersion As Integer

.

    public int dwMask;

.

   POWER_ACTION_UI_ALLOWED     = 0x00000002, // Applications can prompt the user for directions on how to prepare for suspension. Sets bit 0 in the Flags parameter passed in the lParam parameter of WM_POWERBROADCAST.

.

   POWER_ACTION_OVERRIDE_APPS  = 0x00000004, // Ignores applications that do not respond to the PBT_APMQUERYSUSPEND event broadcast in the WM_POWERBROADCAST message.

.

   POWER_ACTION_UI_ALLOWED = 0x00000002      ' Applications can prompt the user for directions on how to prepare for suspension. Sets bit 0 in the Flags parameter passed in the lParam parameter of WM_POWERBROADCAST.

.

   POWER_ACTION_OVERRIDE_APPS = 0x00000004   ' Ignores applications that do not respond to the PBT_APMQUERYSUSPEND event broadcast in the WM_POWERBROADCAST message.

.

    public struct RawMouse

.

        public RawMouseFlags Flags;

.

            public RawMouseButtons ButtonFlags;

.

    public struct RawMouse

.

        public RawMouseFlags Flags;

.

        public RawMouseButtons ButtonFlags;

.

    public struct RawMouse

.

        public RawMouseFlags Flags;

.

        public RawMouseButtons ButtonFlags;

.

    public struct RawMouse

.

        public RawMouseFlags Flags;

.

        public RawMouseButtons ButtonFlags;

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


 
Access PInvoke.net directly from VS: