Imports System
Imports System.Drawing.Printing
Public Class Form1
<System.Runtime.InteropServices.DllImport("gdi32.dll")> _
Public Shared Function BitBlt(ByVal hdcDest As IntPtr, ByVal nXDest As Integer, ByVal nYDest As Integer, ByVal nWidth As Integer, ByVal nHeight As Integer, ByVal hdcSrc As IntPtr, ByVal nXSrc As Integer, ByVal nYSrc As Integer, ByVal dwRop As Integer) As Boolean
End Function
<System.Runtime.InteropServices.DllImport("User32.dll")> _
Public Shared Function GetWindowDC(ByVal hwd As IntPtr) As IntPtr
End Function