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
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "WM" in [All]

ntdll

.

     dwMajorVersion as int

.

     dwMinorVersion as int

comdlg32

.

   | OFN_ALLOWMULTISELECT = 0x00000200

.

#define OFN_ALLOWMULTISELECT 0x200

iphlpapi

.

    $services=Get-WmiObject -Namespace "root\cimv2" -Class "Win32_Service"

.

static extern TODO ShowMessage(TODO);

.

Declare Function ShowMessage Lib "iphlpapi.dll" (TODO) As TODO

.
Documentation
[ShowMessage] on MSDN

comctl32

.

/// This function is typically called in response to a WM_MOUSEMOVE message.

.

''' This function is typically called in response to a WM_MOUSEMOVE message.

Structures

.

        /// This identifier is identical to the wMid member of the device-capabilities

.

        public uint wMid;

.

        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

.

    uint dwMaxTxQueue;

.

    uint dwMaxRxQueue;

.

    uint 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.TransitionMaximized;

.

        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
. .
Summary
.

    /// Used by DWM_TIMING_INFO

.

    /// Specifies Desktop Window Manager (DWM) composition timing information.

.

    /// Used by the DwmGetCompositionTimingInfo function.

.

    /// The member sbSize must be set to (uint)Marshal.SizeOf(typeof(DWM_TIMING_INFO))

.

    /// before calling DwmGetCompositionTimingInfo function else it won't work.

.

    public struct DWM_TIMING_INFO

.

Member cbSize must be set before calling DwmGetCompositionTimingInfo function.

.

    cbSize = (uint)Marshal.SizeOf(typeof(DWM_TIMING_INFO));

.
Documentation
[DWM_TIMING_INFO] 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 uint dwMemoryLoad;

.

    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 RawMouse Mouse;

.

        Public Mouse As RAWMOUSE

.

    public struct RawMouse

.

        public RawMouseFlags Flags;

.

        public RawMouseButtons ButtonFlags;

.

    public struct RawMouse

.

        public RawMouseFlags Flags;

.

        public RawMouseButtons ButtonFlags;

.

    [FieldOffset(2)] private ushort wMonth;

.

    [FieldOffset(10)] private ushort wMinute;

.

    [FieldOffset(14)] private ushort wMilliseconds;

.

        int daysInMonth = GetDaysInMonth(wMonth, wYear);

.

        wDayOfWeek = (ushort)GetDayOfWeek(wDay, wMonth, wYear);

.

    get => wMonth;

.

        wMonth = value > 0 && value < 13

.

        int daysInMonth = GetDaysInMonth(wMonth, wYear);

.

        wDayOfWeek = (ushort)GetDayOfWeek(wDay, wMonth, wYear);

.

        wDay = value > 0 && value <= GetDaysInMonth(wMonth, wYear)

.

        wDayOfWeek = (ushort)GetDayOfWeek(wDay, wMonth, wYear);

.

    get => wMinute;

.

    set => wMinute = value < 60 ? value

.

    get => wMilliseconds;

.

    set => wMilliseconds = value < 1000 ? value

.

    wMonth = 1;

.

    wDayOfWeek = (ushort) GetDayOfWeek(wDay, wMonth, wYear);

.

    wMinute = 0;

.

    wMilliseconds = 0;

.

        public int dwMask;

.

   public UInt32    dwMinimum;    

.

   public UInt32    dwMaximum;    

.

    public ushort wMid;

.

     Public wMid As Short

.

     public UInt32 dwMaxNumberOfPeers;

.

    internal uint dwMaxDesiredSsidListSize;

.

    internal uint dwMaxDesiredBssidListSize;

.
    • When this member is NULL, an application must paint its own background whenever it is requested to paint in its client area. To determine whether the background must be painted, an application can either process the WM_ERASEBKGND message or test the fErase member of the PAINTSTRUCT structure filled by the BeginPaint function.
.
    • When this member is NULL, an application must paint its own background whenever it is requested to paint in its client area. To determine whether the background must be painted, an application can either process the WM_ERASEBKGND message or test the fErase member of the PAINTSTRUCT structure filled by the BeginPaint function.

oleacc

.

uint nMsg = RegisterWindowMessage("WM_HTML_GETOBJECT");

imm32

.

          UInt32 dwMode,  

winhttp

.

            uint dwModifiers

.

Declare Function WinHttpAddRequestHeaders Lib "winhttp.dll" (ByVal hRequest As IntPtr, ByVal pwszHeaders As String, ByVal dwHeaderLength As Integer, ByVal dwModifiers As Integer) As Boolean

twain_32

.

static extern TwRC DSMparent( [In, Out] TwIdentity origin, IntPtr zeroptr, TwDG dg, TwDAT dat, TwMSG msg, ref IntPtr refptr );

powrprof

.

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

.

    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.

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


 
Access PInvoke.net directly from VS: