home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
jreheadf.zip
/
jawt_md.h
next >
Wrap
C/C++ Source or Header
|
2002-08-31
|
2KB
|
78 lines
/*
* @(#)src/contract/awt/pfm/jawt_md.h, awt, an131, 20020810 1.4.1.1
* ===========================================================================
* Licensed Materials - Property of IBM
* "Restricted Materials of IBM"
*
* IBM Java(tm)2 SDK, Standard Edition, v 1.3.1
* (C) Copyright IBM Corp. 1998, 2001. All Rights Reserved
* US Government Users Restricted Rights - Use, duplication or disclosure
* restricted by GSA ADP Schedule Contract with IBM Corp.
* ===========================================================================
*/
/*
*
* ===========================================================================
*
*
* Copyright 1999, 2000 Sun Microsystems, Inc. All Rights Reserved.
*
* ===========================================================================
* Change activity:
*
* Reason Date Origin Description
* ------ ---- ------ --------------------------------------------------
* 31653 240401 mchapman Add IBM module header
*
* ===========================================================================
* Module Information:
*
* DESCRIPTION: IBM.WRITEME
* ===========================================================================
*/
/*
* @(#)jawt_md.h 1.2 99/05/27
*
* Copyright 1999 by Sun Microsystems, Inc.,
* 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
* All rights reserved.
*
*/
#ifndef _JAVASOFT_JAWT_MD_H_
#define _JAVASOFT_JAWT_MD_H_
#include <windows.h>
#include "jawt.h"
#ifdef __cplusplus
extern "C" {
#endif
/*
* Win32-specific declarations for AWT native interface.
* See notes in jawt.h for an example of use.
*/
typedef struct jawt_Win32DrawingSurfaceInfo {
/* Native window, DDB, or DIB handle */
union {
HWND hwnd;
HBITMAP hbitmap;
void* pbits;
};
/*
* This HDC should always be used instead of the HDC returned from
* BeginPaint() or any calls to GetDC().
*/
HDC hdc;
HPALETTE hpalette;
} JAWT_Win32DrawingSurfaceInfo;
#ifdef __cplusplus
}
#endif
#endif /* !_JAVASOFT_JAWT_MD_H_ */