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


In This Topic
    UpdateLayeredWindow Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function UpdateLayeredWindow( _
       ByVal hwnd As System.IntPtr, _
       ByVal hdcDst As System.IntPtr, _
       ByRef pptDst As NWin32.POINT, _
       ByRef psize As NWin32.SIZE, _
       ByVal hdcSrc As System.IntPtr, _
       ByRef pprSrc As NWin32.POINT, _
       ByVal crKey As System.Integer, _
       ByRef pblend As NUser32.BLENDFUNCTION, _
       ByVal dwFlags As System.Integer _
    ) As System.Boolean
    'Usage
     
    
    Dim hwnd As System.IntPtr
    Dim hdcDst As System.IntPtr
    Dim pptDst As NWin32.POINT
    Dim psize As NWin32.SIZE
    Dim hdcSrc As System.IntPtr
    Dim pprSrc As NWin32.POINT
    Dim crKey As System.Integer
    Dim pblend As NUser32.BLENDFUNCTION
    Dim dwFlags As System.Integer
    Dim value As System.Boolean
     
    value = NUser32.UpdateLayeredWindow(hwnd, hdcDst, pptDst, psize, hdcSrc, pprSrc, crKey, pblend, dwFlags)
    public static System.bool UpdateLayeredWindow( 
       System.IntPtr hwnd,
       System.IntPtr hdcDst,
       ref NWin32.POINT pptDst,
       ref NWin32.SIZE psize,
       System.IntPtr hdcSrc,
       ref NWin32.POINT pprSrc,
       System.int crKey,
       ref NUser32.BLENDFUNCTION pblend,
       System.int dwFlags
    )

    Parameters

    hwnd
    hdcDst
    pptDst
    psize
    hdcSrc
    pprSrc
    crKey
    pblend
    dwFlags
    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