C# Class AdvancedLauncher.Tools.Win32.ComCtl32.StrongHWND

A SafeHandle representing an HWND with strong ownership semantics.
This class is located in the ComCtl32 library because of its dependency on WindowSubclass.
Inheritance: AdvancedLauncher.Tools.Win32.User32.HWND
Show file Open project: GoldRenard/DMOAdvancedLauncher Class Usage Examples

Public Methods

Method Description
CreateWindowEx ( WS_EX dwExStyle, string lpClassName, string lpWindowName, WS dwStyle, int x, int y, int nWidth, int nHeight, HWND hWndParent, IntPtr hMenu, IntPtr hInstance, IntPtr lpParam ) : StrongHWND
StrongHWND ( ) : System
StrongHWND ( IntPtr hwnd ) : System

Protected Methods

Method Description
OnHandleReleased ( ) : void
ReleaseHandle ( ) : bool

Method Details

CreateWindowEx() public static method

public static CreateWindowEx ( WS_EX dwExStyle, string lpClassName, string lpWindowName, WS dwStyle, int x, int y, int nWidth, int nHeight, HWND hWndParent, IntPtr hMenu, IntPtr hInstance, IntPtr lpParam ) : StrongHWND
dwExStyle WS_EX
lpClassName string
lpWindowName string
dwStyle WS
x int
y int
nWidth int
nHeight int
hWndParent AdvancedLauncher.Tools.Win32.User32.HWND
hMenu System.IntPtr
hInstance System.IntPtr
lpParam System.IntPtr
return StrongHWND

OnHandleReleased() protected method

protected OnHandleReleased ( ) : void
return void

ReleaseHandle() protected method

protected ReleaseHandle ( ) : bool
return bool

StrongHWND() public method

public StrongHWND ( ) : System
return System

StrongHWND() public method

public StrongHWND ( IntPtr hwnd ) : System
hwnd System.IntPtr
return System