home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 10 / ioProg_10.iso / soft / sdk20 / jsdk05.cab / Src / Win32Api / PROPENUMPROC.java < prev    next >
Encoding:
Java Source  |  1997-09-25  |  664 b   |  23 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. import com.ms.dll.*;
  12.  
  13. abstract 
  14. public class PROPENUMPROC extends Callback {
  15.     public abstract boolean propenumproc(int hwnd, String lpszString, int hData);
  16.  
  17.     protected boolean callback(int hwnd, int lpszString, int hData)
  18.     {
  19.         return propenumproc(hwnd, DllLib.ptrToString(lpszString), hData);
  20.     }
  21. }
  22.  
  23.