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.
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
FieldsFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Method Summary
Methods inherited from interface org.lwjgl.system.CallbackI
address
-
Field Details
-
CIF
-
-
Method Details
-
getCallInterface
- Specified by:
getCallInterfacein interfaceorg.lwjgl.system.CallbackI
-
callback
default void callback(long ret, long args) - Specified by:
callbackin 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 theuMsgparameter.lParam- additional message information. The content of this parameter depends on the value of theuMsgparameter.
-