Nevron.Interop.Win32 Namespace / NUser32 Class / PeekMessage Method


In This Topic
    PeekMessage Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function PeekMessage( _
       ByRef msg As NUser32.MSG, _
       ByVal hWnd As System.IntPtr, _
       ByVal msgMin As System.Integer, _
       ByVal msgMax As System.Integer, _
       ByVal remove As System.Integer _
    ) As System.Boolean
    'Usage
     
    
    Dim msg As NUser32.MSG
    Dim hWnd As System.IntPtr
    Dim msgMin As System.Integer
    Dim msgMax As System.Integer
    Dim remove As System.Integer
    Dim value As System.Boolean
     
    value = NUser32.PeekMessage(msg, hWnd, msgMin, msgMax, remove)
    public static System.bool PeekMessage( 
       ref NUser32.MSG msg,
       System.IntPtr hWnd,
       System.int msgMin,
       System.int msgMax,
       System.int remove
    )

    Parameters

    msg
    hWnd
    msgMin
    msgMax
    remove
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also