home *** CD-ROM | disk | FTP | other *** search
Java Source | 2000-05-04 | 1.1 KB | 43 lines |
- //=====================================================================
- // (C) Copyright 1995 - 1999 Microsoft Corporation. All rights reserved.
- //=====================================================================
-
- import com.ms.com.CustomLib;
- import java.awt.Rectangle;
-
- public class RectMarshaler {
-
-
- public static int cbByValSize = 16; //sizeof(RECT)
-
-
- // TODO: This field can normally be set to zero.
- public static int CustomFlags = 0;
-
-
- public static native Rectangle toJava(int ppETYPE, int flags);
-
- public static native void copyToExternal(Rectangle javaval,
- int ppETYPE,
- int flags);
-
-
-
-
-
- public static native void toExternal(Rectangle javaval,
- int flags,
- int ppETYPE);
- public static native void releaseExternal(int ppETYPE,
- int flags);
-
-
- private static native void classInit();
-
-
- static {
- System.loadLibrary("RectMarshaler");
- classInit();
- }
- }
-