jawt_md.h

00001 /*
00002  * @(#)jawt_md.h        1.5 01/12/03
00003  *
00004  * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
00005  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
00006  */
00007 
00008 #ifndef _JAVASOFT_JAWT_MD_H_
00009 #define _JAVASOFT_JAWT_MD_H_
00010 
00011 #include <windows.h>
00012 #include "jawt.h"
00013 
00014 #ifdef __cplusplus
00015 extern "C" {
00016 #endif
00017 
00018 /*
00019  * Win32-specific declarations for AWT native interface.
00020  * See notes in jawt.h for an example of use.
00021  */
00022 typedef struct jawt_Win32DrawingSurfaceInfo {
00023     /* Native window, DDB, or DIB handle */
00024     union {
00025         HWND hwnd;
00026         HBITMAP hbitmap;
00027         void* pbits;
00028     };
00029     /*
00030      * This HDC should always be used instead of the HDC returned from
00031      * BeginPaint() or any calls to GetDC().
00032      */
00033     HDC hdc;
00034     HPALETTE hpalette;
00035 } JAWT_Win32DrawingSurfaceInfo;
00036 
00037 #ifdef __cplusplus
00038 }
00039 #endif
00040 
00041 #endif /* !_JAVASOFT_JAWT_MD_H_ */

Generated on Mon Jun 5 10:20:43 2006 for Intelligence.kdevelop by  doxygen 1.4.6