New pages
Appearance
13 April 2025
- 23:2823:28, 13 April 2025 WM MATCHMNEMONIC (hist | edit) [1,488 bytes] Martini (talk | contribs) (Created page with "This message is sent by the dialog box to a control window to determine whether a typed character matches a mnemonic in its window text. ==Syntax== <pre> param1 USHORT usmatch; →Match character.: param2 ULONG ulReserved; →Reserved value, should be 0.: </pre> ==Parameters== ;''usmatch'' (USHORT) - input: Match character. ;''ulReserved'' (ULONG) - input: Reserved value, should be 0. ==Returns== ;''rc'' (BOOL) - returns: Match indicator. :TRUE: Mne...")
- 23:2123:21, 13 April 2025 WM VSCROLL (hist | edit) [2,083 bytes] Martini (talk | contribs) (Created page with "This message occurs when a vertical scroll-bar control has a significant event to notify to its owner. ==Syntax== <pre> param1 USHORT usidentifier; →Scroll bar-control window identifier.: param2 SHORT sslider; →Slider position.: USHORT uscmd; →Command.: </pre> ==Parameters== ;''usidentifier'' (USHORT) - input: Scroll bar-control window identifier. ;''sslider'' (SHORT) - input: Slider position. :0: Either the operator is not m...")
- 23:1723:17, 13 April 2025 WM VSCROLLCLIPBOARD (hist | edit) [1,865 bytes] Martini (talk | contribs) (Created page with "This message is sent to the clipboard owner window when the clipboard contains a data handle for the CFI_OWNERDISPLAY format, and there is an event in the clipboard viewer's vertical scroll bar. ==Syntax== <pre> param1 HWND hwndViewer; →Handle.: param2 SHORT sposScroll; →Scroll position.: SHORT scodeScroll; →Scroll-bar code.: </pre> ==Parameters== ;''hwndViewer'' (HWND) - input: Handle to the clipboard application window. ;''sposScrol...")
- 23:1423:14, 13 April 2025 WM VRNENABLED (hist | edit) [1,240 bytes] Martini (talk | contribs) (Created page with "This message tells a window that its visible region is now unlocked and is valid for drawing on. It also contains a message parameter to inform the window if the visible region was changed. ==Syntax== <pre> param1 BOOL ffVisRgnChanged; →Flag indicating whether the visible region has been altered.: param2 VOID mp2; →Reserved value.: </pre> ==Parameters== ;''ffVisRgnChanged'' (BOOL) - input: Flag indicating whether the visible regio...")
- 23:1123:11, 13 April 2025 WM VRNDISABLED (hist | edit) [810 bytes] Martini (talk | contribs) (Created page with "This message indicates that the window is being sized, or that a WinLockWindowUpdate has been issued for the window or one of its parent windows. Direct drawing to the window should be suspended. ==Syntax== <pre> param1 VOID mp1; →Reserved value.: param2 VOID mp2; →Reserved value.: returns ULONG ulReserved; →Reserved value, should be 0.: </pre> ==Parameters== ;''mp1'' (VOID) - input: Reserved value. ;''mp2'' (VOID) - input:...")
- 22:5122:51, 13 April 2025 WM SUBSTITUTESTRING (hist | edit) [944 bytes] Martini (talk | contribs) (Created page with "This message is sent from the WinSubstituteStrings call. ==Syntax== <PRE> param1 USHORT iindex; →Substitution index.: param2 ULONG ulReserved; →Reserved value, should be 0.: </PRE> ==Parameters== ;iindex (USHORT) - Input : A value corresponding to the decimal character in the substitution phrase. ;ulReserved (ULONG) - Input : Reserved value, should be 0. ==Returns== ;pString (PSZ) - returns : String to be substituted. This poin...")
- 22:5022:50, 13 April 2025 WM INITDLG (hist | edit) [1,875 bytes] Martini (talk | contribs) (Created page with "This message occurs when a dialog box is being created. ==Syntax== <PRE> param1 HWND hwnd; →Focus window handle.: param2 PVOID pcreate; →Application-defined data area.: </PRE> ==Parameters== ;hwnd (HWND) - Input : The handle of the control window that is to receive the input focus. ;pcreate (PVOID) - Input : This points to the data area and is passed by the WinLoadDlg, WinCreateDlg, and WinDlgBox functions in their parameter. Thi...")
- 22:4722:47, 13 April 2025 WM SEM4 (hist | edit) [919 bytes] Martini (talk | contribs) (Created page with "This message is sent or posted by an application. ==Syntax== <PRE> param1 ULONG flAccumBits; →Semaphore value.: param2 ULONG ulReserved1; →Reserved value, should be 0.: </PRE> ==Parameters== ;flAccumBits (ULONG) - Input : Semaphore value. The semaphore values from all the WM_SEM4 messages posted to a queue, are accumulated by a logical-OR operation. ;ulReserved1 (ULONG) - Input : Reserved value, should be 0. ==Returns== ;ulReserved2 (UL...")
- 22:4622:46, 13 April 2025 WM SEM3 (hist | edit) [998 bytes] Martini (talk | contribs) (Created page with "This message is sent or posted by an application. ==Syntax== <PRE> param1 ULONG flAccumBits; →Semaphore value.: param2 ULONG ulReserved1; →Reserved value, should be 0.: </PRE> ==Parameters== ;flAccumBits (ULONG) - Input : Semaphore value. The semaphore values from all the WM_SEM3 messages posted to a queue, are accumulated by a logical-OR operation. ;ulReserved1 (ULONG) - Input : Reserved value, should be 0. ==Returns== ;ulReserved2 (UL...")
- 22:4522:45, 13 April 2025 WM SEM2 (hist | edit) [1,036 bytes] Martini (talk | contribs) (Created page with "This message is sent or posted by an application. ==Syntax== <PRE> param1 ULONG flAccumBits; →Semaphore value.: param2 ULONG ulReserved1; →Reserved value, should be 0.: </PRE> ==Parameters== ;flAccumBits (ULONG) - Input : Semaphore value. The semaphore values from all the WM_SEM2 messages posted to a queue, are accumulated by a logical-OR operation. ;ulReserved1 (ULONG) - Input : Reserved value, should be 0. ==Returns== ;ulReserved2 (UL...")
- 22:4522:45, 13 April 2025 WM SEM1 (hist | edit) [1,406 bytes] Martini (talk | contribs) (Created page with "This message is sent or posted by an application. ==Syntax== <PRE> param1 ULONG flAccumBits; →Semaphore value.: param2 ULONG ulReserved1; →Reserved value, should be 0.: </PRE> ==Parameters== ;flAccumBits (ULONG) - Input : Semaphore value. The semaphore values from all the WM_SEM1 messages posted to a queue, are accumulated by a logical-OR operation. ;ulReserved1 (ULONG) - Input : Reserved value, should be 0. ==Returns== ;ulReserved2 (ULON...")
- 22:4422:44, 13 April 2025 WM RENDERALLFMTS (hist | edit) [805 bytes] Martini (talk | contribs) (Created page with "This message is sent to the application that owns the clipboard while the application is being destroyed. ==Syntax== <PRE> param1 ULONG ulReserved; →Reserved value, should be 0.: param2 ULONG ulReserved; →Reserved value, should be 0.: </PRE> ==Parameters== ;ulReserved (ULONG) - Input : Reserved value, should be 0. ;ulReserved (ULONG) - Input : Reserved value, should be 0. ==Returns== ;ulReserved (ULONG) - returns : Reserved value, sho...")
- 22:4222:42, 13 April 2025 WM HSCROLLCLIPBOARD (hist | edit) [2,016 bytes] Martini (talk | contribs) (Created page with "This message is sent to the clipboard-owner window when the clipboard contains a data handle for the CFI_OWNERDISPLAY format, and there is an event in the clipboard viewer's horizontal scroll bar. ==Syntax== <PRE> param1 HWND hwndViewer; →Handle.: param2 SHORT sposScroll; →Scroll position.: SHORT scodeScroll; →Scroll-bar code.: </PRE> ==Parameters== ;hwndViewer (HWND) - Input : This contains a handle to the clipboard application win...")
- 22:4022:40, 13 April 2025 WM CREATE (hist | edit) [1,623 bytes] Martini (talk | contribs) (Created page with "This message occurs when an application requests the creation of a window. ==Syntax== <PRE> param1 PVOID ctldata; →Pointer to control data.: param2 PCREATESTRUCT pCREATE; →Create structure.: </PRE> ==Parameters== ;ctldata (PVOID) - Input : Pointer to control data. This points to a Control-Data data structure initialized with the data provided in the parameter of the WinCreateWindow function. This pointer is also contained in the...")
- 22:3922:39, 13 April 2025 WM CALCVALIDRECTS (hist | edit) [3,723 bytes] Martini (talk | contribs) (Created page with "This message is sent from WinSetWindowPos and WinSetMultWindowPos to determine which areas of a window can be preserved if a window is sized, and which should be redisplayed. ==Syntax== <PRE> param1 PRECTL pOldNew; →Window-rectangle structures.: param2 PSWP pNew; →New window position.: </PRE> ==Parameters== ;pOldNew (PRECTL) - Input/Output : This points to two RECTL structures. The first structure contains the rectangle of t...")
- 22:3622:36, 13 April 2025 WM DESTROYCLIPBOARD (hist | edit) [681 bytes] Martini (talk | contribs) (Created page with "This message is sent to the clipboard owner when the clipboard is emptied through a call to WinEmptyClipbrd. ==Syntax== <PRE> param1 ULONG ulReserved; →Reserved value, should be 0.: param2 ULONG ulReserved; →Reserved value, should be 0.: </PRE> ==Parameters== ;ulReserved (ULONG) - Input : Reserved value, should be 0. ;ulReserved (ULONG) - Input : Reserved value, should be 0. ==Returns== ;ulReserved (ULONG) - returns : Reserved val...")
- 22:3322:33, 13 April 2025 WM DESTROY (hist | edit) [818 bytes] Martini (talk | contribs) (Created page with "This message is sent to the clipboard owner when the clipboard is emptied through a call to WinEmptyClipbrd. ==Syntax== <PRE> param1 ULONG ulReserved; →Reserved value, should be 0.: param2 ULONG ulReserved; →Reserved value, should be 0.: </PRE> ==Parameters== ;ulReserved (ULONG) - Input : Reserved value, should be 0. ;ulReserved (ULONG) - Input : Reserved value, should be 0. ==Returns== ;ulReserved (ULONG) - returns : Reserved val...")
- 22:3122:31, 13 April 2025 WM WINDOWPOSCHANGED (hist | edit) [1,925 bytes] Martini (talk | contribs) (Created page with "If this message has any of the values of the '''fl''' parameter of the SWP structure set, with the exception of the SWP_NOADJUST and SWP_NOREDRAW values, it is sent to the window procedure of the window whose position is changed. This message is also sent if the return value from the WM_ADJUSTWINDOWPOS is not NULL. ==Syntax== <PRE> param1 PSWP pswp; →SWP structures.: param2 ULONG flAwp; →Adjust window position status indicators.: </PRE> ==...")
- 22:3022:30, 13 April 2025 WM ADJUSTWINDOWPOS (hist | edit) [3,994 bytes] Martini (talk | contribs) (Created page with "This message is sent by the WinSetWindowPos call to enable the window to adjust its new position or size whenever it is about to be moved. ==Syntax== <PRE> param1 PSWP pswp; →SWP structure pointer.: param2 ULONG flzero; →Zero.: </PRE> ==Parameters== ;pswp (PSWP) - Input : SWP structure pointer. The structure has been filled in by the WinSetWindowPos function with the proposed move or size data. The control can adjust this new positi...")
- 22:2722:27, 13 April 2025 WM BUTTON2DOWN (hist | edit) [2,060 bytes] Martini (talk | contribs) (Created page with "This message occurs when the operator presses button 2 on the pointing device. ==Syntax== <PRE> param1 POINTS ptspointerpos; →Pointer position.: param2 USHORT fsHitTestres; →Hit-test result.: USHORT fsflags; →Keyboard control codes.: </PRE> ==Parameters== ;ptspointerpos (POINTS) - Input : Pointer position. The pointer position is in window coordinates relative to the bottom-left corner of the window. ;fsHitTestres (USHOR...")
- 22:2422:24, 13 April 2025 WM MOUSEMOVE (hist | edit) [2,615 bytes] Martini (talk | contribs) (Created page with "This message occurs when the pointing device pointer moves. ==Syntax== <PRE> param1 SHORT sxMouse; →Pointing device x-coordinate.: SHORT syMouse; →Pointing device y-coordinate.: param2 USHORT uswHitTest; →Message result.: USHORT fsflags; →Keyboard control codes.: </PRE> ==Parameters== ;sxMouse (SHORT) - Input : Pointing device x-coordinate. ;syMouse (SHORT) - Input : Pointing device y-coordinate. ;uswHitTest ([...")
- 22:2222:22, 13 April 2025 WM HITTEST (hist | edit) [1,876 bytes] Martini (talk | contribs) (Created page with "This message is sent to determine which window is associated with an input from the pointing device. ==Syntax== <PRE> param1 POINTS ptspointerpos; →Pointer position.: param2 ULONG ulReserved; →Reserved value, should be 0.: </PRE> ==Parameters== ;ptspointerpos (POINTS) - Input : Pointer position. The pointer position is in window coordinates relative to the bottom-left corner of the window. ;ulReserved (ULONG) - Input : Reserved value,...")
- 22:1922:19, 13 April 2025 WM DRAWCLIPBOARD (hist | edit) [1,104 bytes] Martini (talk | contribs) (Created page with "This message is sent to the clipboard viewer window whenever the contents of the clipboard change; that is, as a result of the WinCloseClipbrd function following a call to WinSetClipbrdData. ==Syntax== <PRE> param1 ULONG ulReserved; →Reserved value, should be 0.: param2 ULONG ulReserved; →Reserved value, should be 0.: </PRE> ==Parameters== ;ulReserved (ULONG) - Input : Reserved value, should be 0. ;ulReserved (ULONG) - Input : Rese...")
- 22:1722:17, 13 April 2025 WM BUTTON1DOWN (hist | edit) [3,684 bytes] Martini (talk | contribs) (Created page with "This message occurs when the operator presses pointer button one. ==Syntax== <PRE> param1 POINTS ptspointerpos; →Pointer position.: param2 USHORT fsHitTestres; →Hit-test result.: USHORT fsflags; →Keyboard control codes.: </PRE> ==Parameters== ;ptspointerpos (POINTS) - Input : Pointer position. The pointer position is in window coordinates relative to the bottom-left corner of the window. ;fsHitTestres (USHORT) - Input...")
- 22:1222:12, 13 April 2025 WM BUTTON1DBLCLK (hist | edit) [4,101 bytes] Martini (talk | contribs) (Created page with "This message occurs when the operator presses button 1 of the pointing device twice within a specified time. ==Syntax== <PRE> param1 POINTS ptspointerpos; →Pointer position.: param2 USHORT fsHitTestres; →Hit-test result.: USHORT fsflags; →Keyboard control codes.: </PRE> ==Parameters== ;ptspointerpos (POINTS) - Input : Pointer position. The pointer position is in window coordinates relative to the bottom-left corner of the...")
- 22:0822:08, 13 April 2025 WM RENDERFMT (hist | edit) [950 bytes] Martini (talk | contribs) (Created page with "This message is a request to the clipboard owner to render the data of the specified format. ==Syntax== <PRE> param1 USHORT usfmt; →Data format.: param2 ULONG ulReserved; →Reserved value, should be 0.: </PRE> ==Parameters== ;usfmt (USHORT) - Input : Data format. This is the format of the data to be rendered. :;CF_BITMAP: A bit map. :;CF_DSPBITMAP: A bit-map representation of a private data format. :;CF_DSPMETAFILE: A metafile representati...")
- 22:0622:06, 13 April 2025 WM SIZECLIPBOARD (hist | edit) [1,108 bytes] Martini (talk | contribs) (Created page with "This message is sent when the clipboard contains a data handle for the CFI_OWNERDISPLAY format, and the clipboard application window has changed size. ==Syntax== <PRE> param1 HWND hwndViewer; →Handle of viewer window.: param2 PRECTL ppaint; →Rectangle to be re-painted.: </PRE> ==Parameters== ;hwndViewer (HWND) - Input : Handle of viewer window. ;ppaint (PRECTL) - Input : Rectangle to be re-painted. ==Returns== ;ulReserved (ULONG...")
- 22:0422:04, 13 April 2025 WM PAINTCLIPBOARD (hist | edit) [1,107 bytes] Martini (talk | contribs) (Created page with "This message is sent when the clipboard contains a data handle with the CFI_OWNERDISPLAY information flag set. ==Syntax== {{code| param1 HWND hwndViewer; →Handle.: param2 ULONG ulReserved; →Reserved value, should be 0.: }} ==Parameters== ;hwndViewer (HWND) - Input : Handle to the clipboard application window. ;ulReserved (ULONG) - Input : Reserved value, should be 0. ==Returns== ;ulReserved (ULONG) - returns : Reserved value, should...")
- 21:4421:44, 13 April 2025 WM CHAR (hist | edit) [27,808 bytes] Martini (talk | contribs) (Created page with "This message is sent when an operator presses a key. ==Syntax== <PRE> param1 USHORT fsflags →Keyboard control codes.: UCHAR ucrepeat →Repeat count.: UCHAR ucscancode →Hardware scan code.: param2 USHORT usch →Character code.: USHORT usvk →Virtual key codes.: </PRE> ==Parameters== ;fsflags (USHORT) - Input : Keyboard control codes. :;KC_CHAR: Indicates that usch value is valid. :;KC_SCANCODE:...")
- 19:4519:45, 13 April 2025 WndProc (hist | edit) [1,160 bytes] Martini (talk | contribs) (Created page with "This defines the window procedure provided by an application. ==Syntax== WndProc(hwnd, msg, mp1, mp2); ==Parameters== ;''hwnd'' (HWND) - input: Window handle. ;''msg'' (ULONG) - input: Message identity. ;''mp1'' (MPARAM) - input: Message parameter 1. ;''mp2'' (MPARAM) - input: Message parameter 2. ==Returns== ;''mresReply'' (MRESULT) - returns: Message-return data. ==Remarks== This procedure is associated with a window by the ''pfnWndProc'' of the WinRegisterClass...")
- 19:4319:43, 13 April 2025 WindowDCHook (hist | edit) [1,083 bytes] Martini (talk | contribs) (Created page with "This hook is called when a device context is allocated or freed. ==Syntax== WindowDCHook(hab, hdc, hwnd, flAssociate); ==Parameters== ;''hab'' (HAB) - input: The application anchor block. ;''hdc'' (HDC) - input: The current device-context handle. ;''hwnd'' (HWND) - input: The current window handle. ;''flAssociate'' (BOOL) - input: Association flag. :TRUE: Device context has been allocated. :FALSE: Device context has been freed. ;''rc'' (BOOL) - returns: Success indica...")
- 19:4319:43, 13 April 2025 ThunkProc (hist | edit) [2,273 bytes] Martini (talk | contribs) (Created page with "This procedure provides pointer conversion for application-defined messages. ==Syntax== ThunkProc(hwnd, usmsg, mpParam1, mpParam2, pWndProc); ==Parameters== ;''hwnd'' (HWND) - input: Window handle. ;''usmsg'' (USHORT) - input: Message identity. :This is an application-defined message. The value is greater than or equal to WM_USER. ;''mpParam1'' (MPARAM) - input: Message parameter 1. ;''mpParam2'' (MPARAM) - input: Message parameter 2. ;''pWndProc'' (PFNWP) - input: Wi...")
- 19:4119:41, 13 April 2025 SendMsgHook (hist | edit) [1,205 bytes] Martini (talk | contribs) (Created page with "This hook filters messages sent by the WinSendMsg function. ==Syntax== SendMsgHook(hab, psmh, fInterTask); ==Parameters== ;''hab'' (HAB) - input: Anchor-block handle. ;''psmh'' (PSMHSTRUCT) - input: Pointer to a send message hook structure. :This a structure contains the parameters to the WinSendMsg function. ;''fInterTask'' (BOOL) - input: Intertask indicator. :TRUE: The message is sent between tasks (intertask). :FALSE: The message is sent within a task (int...")
- 19:4019:40, 13 April 2025 RegisterUserHook (hist | edit) [8,903 bytes] Martini (talk | contribs) (Created page with "This hook is called whenever a user message or data type is registered. ==Syntax== RegisterUserHook(hab, cUshort, arRMP, fRegistered); ==Parameters== ;''hab'' (HAB) - input: The application anchor block. ;''cUshort'' (ULONG) - input: Number of data type codes. :For data types, this parameter is the number of data type codes in ''arRMP'', This value must not be less than one. :For messages, this parameter is set to 0. ;''arRMP'' (PUSHORT) - input: Array of data type co...")
- 19:3919:39, 13 April 2025 ProgramListExitHook (hist | edit) [1,679 bytes] Martini (talk | contribs) (Created page with "This hook chain is called every time a program-list call or initialization file call is invoked by an application. It is called before the call is run. ==Syntax== ProgramListExitHook(hab, pProfileHookParams); ==Parameters== ;''hab'' (HAB) - input: Anchor block handle. ;''pProfileHookParams'' (PRFHOOKPARMS) - input: Profile hook parameters. These identify the call and give its parameters and return code. See PRFHOOKPARMS. ;''rc'' (BOOL) - returns: Process indicator...")
- 19:3819:38, 13 April 2025 ProgramListEntryHook (hist | edit) [2,033 bytes] Martini (talk | contribs) (Created page with "This hook chain is called every time a program-list call or initialization file call is invoked by an application. It is called before the call is run. ==Syntax== rc = ProgramListEntryHook(hab, pProfileHookParams, fNoExecute); ==Parameters== ;''hab'' (HAB) - input: Anchor-block handle. ;''pProfileHookParams'' (PRFHOOKPARMS) - input: Profile hook parameters. These identify the call and give its parameters and return code. See PRFHOOKPARMS for more information. ;''fN...")
- 19:3619:36, 13 April 2025 MsgInputHook (hist | edit) [2,511 bytes] Martini (talk | contribs) (Created page with "This function is specific to OS/2 Version 2.1 or higher. ==Syntax== MsgInputHook(hab, pQmsg, fSkip, pfNoRecord); ==Parameters== ;''hab'' (HAB) - input: Anchor-block handle. ;''pQmsg'' (PQMSG) - in/out: Queue message data structure. :A queue message data structure to be filled in with a simulated mouse or keyboard message. ;''fSkip'' (BOOL) - input: Skip message flag. :TRUE: The hook should advance to the next message. No message is passed in when ''fSkip'' is set to T...")
- 19:3519:35, 13 April 2025 MsgFilterHook (hist | edit) [1,794 bytes] Martini (talk | contribs) (Created page with "This hook filters messages from inside a mode loop. ==Syntax== rc = MsgFilterHook(hab, pQmsg, msgf); ==Parameters== ;''hab'' (HAB) - input: Anchor-block handle. ;''pQmsg'' (PQMSG) - input: A queue message data structure. ;''msgf'' (ULONG) - input: Context in which the hook has been called. :MSGF_DIALOGBOX Dialog-box mode loop. :MSGF_TRACK Window-movement and size tracking. When this hook is used the TRACKINFO structure specified the ''ptiTrackinfo'' parameter of th...")
- 19:2719:27, 13 April 2025 LockupHook (hist | edit) [1,284 bytes] Martini (talk | contribs) (Created page with "This function is specific to OS/2 Version 2.1 or higher. This hook is called when the system locks itself up. ==Syntax== LockupHook(hab, hwndLockupFrame); ==Parameters== ;''hab'' (HAB) - input: The application anchor block. ;''hwndLockupFrame'' (HWND) - input: The frame window of the lockup panel. ==Returns== There is no return value for this hook. ==Remarks== The ''hwndLockupFrame'' parameter contains the frame window handle of the lockup dialog. All HK_LOCKUP hook...")
- 17:2117:21, 13 April 2025 LoaderHook (hist | edit) [2,672 bytes] Martini (talk | contribs) (Created page with "This hook allows the library and procedure loading and deleting calls to be intercepted. ==Syntax== rc = LoaderHook(hab, idContext, pszLibname, hlib, pszProcname, wndProc, pfSuccess); ==Parameters== ;''hab'' (HAB) - input: Anchor-block handle. ;''idContext'' (LONG) - input: Origin of call to hook. :LHK_DELETEPROC WinDeleteProcedure :LHK_DELETELIB WinDeleteLibrary :LHK_LOADPROC WinLoadProcedure :LHK_LOADLIB WinLoadLibrary ;''pszLibname'' (PSZ) - input: L...")
- 17:2017:20, 13 April 2025 JournalRecordHook (hist | edit) [1,086 bytes] Martini (talk | contribs) (Created page with "This hook records user-input messages. ==Syntax== JournalRecordHook(hab, pQmsg); ==Parameters== ;''hab'' (HAB) - input: Anchor-block handle. ;''pQmsg'' (PQMSG) - input: Data structure that contains the message to be recorded. :The ''time'' field of the QMSG structure is also set when the hook is called. ==Returns== There is no return value for this hook. ==Remarks== This hook is called ''after'' raw input is translated to WM_CHAR or WM_BUTTON1DBLCLK messa...")
- 17:1917:19, 13 April 2025 JournalPlaybackHook (hist | edit) [1,620 bytes] Martini (talk | contribs) (Created page with "This hook plays back recorded messages. ==Syntax== ulTime = JournalPlaybackHook(hab, fSkip, pQmsg); ==Parameters== ;''hab'' (HAB) - input: Anchor-block handle. ;''fSkip'' (BOOL) - input: Indicator as to whether the next message should be played back. :TRUE: The journal playback hook skips to the next message. The ''pQmsg'' parameter is NULL in this case. The next hook in the chain is not called. :FALSE: The journal playback hook returns the next available message. The...")
- 17:1917:19, 13 April 2025 InputHook (hist | edit) [1,253 bytes] Martini (talk | contribs) (Created page with "This hook filters messages from the input queue. ==Syntax== InputHook(hab, pQmsg, fs); ==Parameters== ;''hab'' (HAB) - input: Anchor-block handle. ;''pQmsg'' (PQMSG) - input: A QMSG data structure. ;''fs'' (ULONG) - input: Message removal options. :PM_REMOVE Message is being removed from queue :PM_NOREMOVE Message is not being removed from queue ==Returns== ;''rc'' (BOOL) - returns: Processed indicator. :TRUE: The message is not passed on to the next hook in t...")
- 17:1617:16, 13 April 2025 HelpHook (hist | edit) [4,979 bytes] Martini (talk | contribs) (Created page with "This hook processes help requests. ==Syntax== HelpHook(hab, usMode, idTopic, idSubTopic, prcPosition); ==Parameters== ;''hab'' (HAB) - input: Anchor-block handle. ;''usMode'' (ULONG) - input: Help mode. :This has one of the following values, indicating the mode from which help has been requested: ::HLPM_FRAME Standard (standard window) ::HLPM_WINDOW Standard (standard window) ::HLPM_MENU Menu mode ;''idTopic'' (ULONG) - input: Topic identifier. ::In menu mode this is...")
- 04:5904:59, 13 April 2025 FlushBufHook (hist | edit) [1,096 bytes] Martini (talk | contribs) (Created page with "This function is specific to OS/2 Version 2.1 or higher. This hook allows applications to save data before the system reboots. ==Syntax== FlushBufHook(hab); ==Parameters== ;''hab'' (HAB) - input: Application anchor block. ==Returns== ;''rc'' (BOOL) - returns: Return code. :TRUE: Successful completion. :FALSE: An error occurred. ==Remarks== This hook is called to notify applications that the system is rebooting due to a Ctrl+Alt+Del sequence being entered. It enables...")
- 04:5604:56, 13 April 2025 FindWordHook (hist | edit) [2,618 bytes] Martini (talk | contribs) (Created page with "This hook allows an application to control where the WinDrawText function breaks a character string that is too long for the drawing rectangle. ==Syntax== FindWordHook(usCodepage, pszText, cb, ich, pichStart, pichEnd, pichNext); ==Parameters== ;''usCodepage'' (USHORT) - input: Codepage to use. :This parameter contains the codepage identifier of the string to be formatted. ;''pszText'' (PSZ) - input: Text to break. :This parameter contains a pointer to the actual st...")
- 04:5404:54, 13 April 2025 DialogProc (hist | edit) [1,866 bytes] Martini (talk | contribs) (Created page with "This is a window procedure that automatically subclasses each instance of a dialog box. ==Syntax== DialogProc(hwnd, usmsg, mpParam1, mpParam2); ==Parameters== ;''hwnd'' (HWND) - input: Handle of the window to which the message applies. ;''usmsg'' (USHORT) - input: Message identity. ;''mpParam1'' (MPARAM) - input: Message parameter 1. ;''mpParam2'' (MPARAM) - input: Message parameter 2. ==Returns== ;''mresReply'' (MRESULT) - returns: Message-return data. ==Remarks== T...")
- 04:5204:52, 13 April 2025 DestroyWindowHook (hist | edit) [932 bytes] Martini (talk | contribs) (Created page with "This hook is called whenever a window is destroyed. ==Syntax== DestroyWindowHook(hab, hwnd, ulReserved); ==Parameters== ;''hab'' (HAB) - input: Anchor-block handle. ;''hwnd'' (HWND) - input: The handle of the window being destroyed. ;''ulReserved'' (ULONG) - input: Reserved. ==Returns== ;''rc'' (BOOL) - returns: Success indicator. :TRUE: Successful completion :FALSE: Error occurred. ==Remarks== This hook is sent after the WM_DESTROY message has been sent and jus...")
- 04:4904:49, 13 April 2025 CodePageChangedHook (hist | edit) [919 bytes] Martini (talk | contribs) (Created page with "This hook notifies that a message queue code page has been changed. ==Syntax== CodePageChangedHook(hmq, usOldCodePage, usNewCodePage); ==Parameters== ;''hmq'' (HMQ) - input: Message-queue handle. :The handle of the message queue that is changing its code page. ;''usOldCodePage'' (ULONG) - input: Previous code page. ;''usNewCodePage'' (ULONG) - input: New code page. ==Returns== There is no return value for this hook. ==Remarks== This hook is sent to all hooks chained...")
- 04:4704:47, 13 April 2025 CheckMsgFilterHook (hist | edit) [3,223 bytes] Martini (talk | contribs) (Created page with "This hook is called whenever WinGetMsg, WinWaitMsg, or WinPeekMsg are used to filter message identities. ==Syntax== CheckMsgFilterHook(hab, pQmsg, usFirst, usLast, fOptions); ==Parameters== ;''hab'' (HAB) - input: Anchor-block handle. ;''pQmsg'' (PQMSG) - input: Pointer to the QMSG structure of the message currently being reviewed. ;''usFirst'' (ULONG) - input: First message identity specified on a call to the WinGetMsg, WinPeekMsg or WinWaitMsg functi...")