Class JAWTWin32DrawingSurfaceInfo

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer


    public class JAWTWin32DrawingSurfaceInfo
    extends Struct
    Win32-specific declarations for AWT native interface.

    Member documentation

    • hwnd – the native window handle
    • hbitmap – the DDB handle
    • pbits – the DIB handle
    • hdc – the device context handle. This HDC should always be used instead of the HDC returned from BeginPaint() or any calls to User32.GetDC(long).
    • hpalette – the palette handle

    Layout

    struct JAWT_Win32DrawingSurfaceInfo {
        union {
            HWND hwnd;
            HBITMAP hbitmap;
            void * pbits;
        };
        HDC hdc;
        HPALETTE hpalette;
    }