source: main/trunk/greenstone2/common-src/indexers/java-windows-include/win32/jawt_md.h@ 26676

Last change on this file since 26676 was 26676, checked in by davidb, 11 years ago

The Java Windows JNI header files. Needed when cross-compiling on a Linux host (using mingw) to produce native Windows JNI dlls

  • Property svn:executable set to *
File size: 852 bytes
Line 
1/*
2 * %W% %E%
3 *
4 * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
5 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6 */
7
8#ifndef _JAVASOFT_JAWT_MD_H_
9#define _JAVASOFT_JAWT_MD_H_
10
11#include <windows.h>
12#include "jawt.h"
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18/*
19 * Win32-specific declarations for AWT native interface.
20 * See notes in jawt.h for an example of use.
21 */
22typedef struct jawt_Win32DrawingSurfaceInfo {
23 /* Native window, DDB, or DIB handle */
24 union {
25 HWND hwnd;
26 HBITMAP hbitmap;
27 void* pbits;
28 };
29 /*
30 * This HDC should always be used instead of the HDC returned from
31 * BeginPaint() or any calls to GetDC().
32 */
33 HDC hdc;
34 HPALETTE hpalette;
35} JAWT_Win32DrawingSurfaceInfo;
36
37#ifdef __cplusplus
38}
39#endif
40
41#endif /* !_JAVASOFT_JAWT_MD_H_ */
Note: See TracBrowser for help on using the repository browser.