Interface WindowProcI

All Superinterfaces:
org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
All Known Implementing Classes:
WindowProc
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface WindowProcI extends org.lwjgl.system.CallbackI
An application-defined function that processes messages sent to a window.

Type


 LRESULT (*invoke(long, int, long, long)) (
     HWND hwnd,
     UINT uMsg,
     WPARAM wParam,
     LPARAM lParam
 )
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer

    org.lwjgl.system.Pointer.Default
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final FFICIF
     

    Fields inherited from interface org.lwjgl.system.Pointer

    BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    callback(long ret, long args)
     
    default FFICIF
     
    long
    invoke(long hwnd, int uMsg, long wParam, long lParam)
    Will be called for each message sent to the window.

    Methods inherited from interface org.lwjgl.system.CallbackI

    address
  • Field Details

    • CIF

      static final FFICIF CIF
  • Method Details

    • getCallInterface

      default FFICIF getCallInterface()
      Specified by:
      getCallInterface in interface org.lwjgl.system.CallbackI
    • callback

      default void callback(long ret, long args)
      Specified by:
      callback in interface org.lwjgl.system.CallbackI
    • invoke

      long invoke(long hwnd, int uMsg, long wParam, long lParam)
      Will be called for each message sent to the window.
      Parameters:
      hwnd - a handle to the window procedure that received the message
      uMsg - the message
      wParam - additional message information. The content of this parameter depends on the value of the uMsg parameter.
      lParam - additional message information. The content of this parameter depends on the value of the uMsg parameter.