# DestroyWindow

### C# Signature:

```cs
[DllImport("user32.dll")]
static extern bool DestroyWindow(IntPtr hWnd);
```

### VB Signature:

```cs
Declare Function DestroyWindow Lib "user32.dll" (hWnd As IntPtr) As Boolean
```
