home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 10 / ioProg_10.iso / soft / sdk20 / jsdk05.cab / Src / Win32Api / GOBJENUMPROCBRUSH.java < prev    next >
Encoding:
Java Source  |  1997-09-25  |  666 b   |  24 lines

  1. // Copyright (C) 1997 Microsoft Corporation  All Rights Reserved
  2.  
  3. // These classes provide direct, low-overhead access to commonly used
  4. // Windows api. These classes use the new J/Direct feature.
  5. //
  6. // Information on how to use J/Direct to write your own declarations
  7. // can be found in the Microsoft SDK for Java 2.0.
  8.  
  9. package com.ms.win32;
  10.  
  11.  
  12. import com.ms.dll.*;
  13.  
  14. abstract 
  15. public class GOBJENUMPROCBRUSH extends Callback {
  16.     public abstract void gobjenumproc(LOGBRUSH lpLogObject, int lParam);
  17.  
  18.     protected void callback(int lpLogObject, int lParam)
  19.     {
  20.         gobjenumproc((LOGBRUSH)DllLib.ptrToStruct(LOGBRUSH.class, lpLogObject), lParam);
  21.     }
  22. }
  23.  
  24.