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 longaddress()Returns the raw pointer address as alongvalue.default longcallback(long args)Will be called by native code.longinvoke(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:PointerReturns the raw pointer address as alongvalue.
-
callback
default long callback(long args)
Description copied from interface:CallbackI.PWill be called by native code.- Specified by:
callbackin interfaceCallbackI.P- Parameters:
args- pointer to aDCArgsiterator- 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 theuMsgparameter.lParam- additional message information. The content of this parameter depends on the value of theuMsgparameter.
-
-