Package org.lwjgl.system.windows
Interface WindowProcI
-
- All Superinterfaces:
- CallbackI, CallbackI.P, Pointer
- All Known Implementing Classes:
- WindowProc
@FunctionalInterface public interface WindowProcI extends CallbackI.P
An application-defined function that processes messages sent to a window.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.CallbackI
CallbackI.B, CallbackI.D, CallbackI.F, CallbackI.I, CallbackI.J, CallbackI.P, CallbackI.S, CallbackI.V, CallbackI.Z
-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method and Description default long
address()
Returns the raw pointer address as along
value.default long
callback(long args)
Will be called by native code.long
invoke(long hwnd, int uMsg, long wParam, long lParam)
Will be called for each message sent to the window.
-
-
-
Method Detail
-
address
default long address()
Description copied from interface:Pointer
Returns the raw pointer address as along
value.
-
callback
default long callback(long args)
Description copied from interface:CallbackI.P
Will be called by native code.- Specified by:
callback
in interfaceCallbackI.P
- Parameters:
args
- pointer to aDCArgs
iterator- Returns:
- the value to store to the result
DCValue
-
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.
-
-