Package org.lwjgl.system.windows
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 )
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
callback(long ret, long args)
default FFICIF
getCallInterface()
long
invoke(long hwnd, int uMsg, long wParam, long lParam)
Will be called for each message sent to the window.
-
-
-
Field Detail
-
CIF
static final FFICIF CIF
-
-
Method Detail
-
getCallInterface
default FFICIF getCallInterface()
- Specified by:
getCallInterface
in interfaceorg.lwjgl.system.CallbackI
-
callback
default void callback(long ret, long args)
- Specified by:
callback
in interfaceorg.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 messageuMsg
- the messagewParam
- additional message information. The content of this parameter depends on the value of theuMsg
parameter.lParam
- additional message information. The content of this parameter depends on the value of theuMsg
parameter.
-
-