home *** CD-ROM | disk | FTP | other *** search
Java Source | 1997-09-25 | 805 b | 24 lines |
- // Copyright (C) 1997 Microsoft Corporation All Rights Reserved
-
- // These classes provide direct, low-overhead access to commonly used
- // Windows api. These classes use the new J/Direct feature.
- //
- // Information on how to use J/Direct to write your own declarations
- // can be found in the Microsoft SDK for Java 2.0.
-
- package com.ms.win32;
-
-
- import com.ms.dll.*;
-
- abstract
- public class EnumFontFamExProc extends Callback {
- public abstract int enumfontfamexproc(ENUMLOGFONTEX lplf, NEWTEXTMETRICEX lptm, int dwType, int lpData);
-
- protected int callback(int lplf, int lptm, int dwType, int lpData)
- {
- return enumfontfamexproc((ENUMLOGFONTEX)DllLib.ptrToStruct(ENUMLOGFONTEX.class, lplf), (NEWTEXTMETRICEX)DllLib.ptrToStruct(NEWTEXTMETRICEX.class, lptm), dwType, lpData);
- }
- }
-
-