en:docs:fapi:dossetsighandler

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:docs:fapi:dossetsighandler [2021/09/18 15:01] prokusheven:docs:fapi:dossetsighandler [2021/09/18 15:04] (current) prokushev
Line 12: Line 12:
 ===== Parameters ===== ===== Parameters =====
  
-;Routine (PFNSIGHANDLER) - input : Address of the entry point of routine that receives control when a signal equal to SigNumber is received. +  * Routine (PFNSIGHANDLER) - input : Address of the entry point of routine that receives control when a signal equal to SigNumber is received. 
-;PrevAddress (PFNSIGHANDLER FAR *) - output: Address of the previous signal handler. This operand may be coded as null (= 0), then it is ignored. +  PrevAddress (PFNSIGHANDLER FAR *) - output: Address of the previous signal handler. This operand may be coded as null (= 0), then it is ignored. 
-;PrevAction (PUSHORT) - output : Address of the previous signal action. Only values 0 to 3 are returned. This operand may be coded as null (= 0), then it is ignored. +  PrevAction (PUSHORT) - output : Address of the previous signal action. Only values 0 to 3 are returned. This operand may be coded as null (= 0), then it is ignored. 
-;Action (USHORT) - input : Indicates what action to take when the specified signal is received: +  Action (USHORT) - input : Indicates what action to take when the specified signal is received: 
- '''Value     Definition''' + 
-     The system default action is installed for the signal. +Value Definition ^ 
-     The signal is to be ignored. +The system default action is installed for the signal. | 
-     The routine receives control when the SigNumber occurs. +The signal is to be ignored. | 
-     It is an error for any program to signal this SigNumber to this process. +The routine receives control when the SigNumber occurs. | 
-     The current signal is reset without affecting the disposition of the signal. +It is an error for any program to signal this SigNumber to this process. | 
-SigNumber (USHORT) - input : Signal number to be intercepted by this signal handler. The signal numbers defined are: +The current signal is reset without affecting the disposition of the signal. | 
- '''Value  Definition''' + 
-      Ctrl-C (SIGINTR) +  * SigNumber (USHORT) - input : Signal number to be intercepted by this signal handler. The signal numbers defined are: 
-      Program terminated (SIGTERM) + 
-      Ctrl-Break (SIGBREAK) +Value Definition ^ 
-      Process flag A (SIGPFA) +Ctrl-C (SIGINTR) | 
-      Process flag B (SIGPFB) +Program terminated (SIGTERM) | 
-      Process flag C (SIGPFC)+Ctrl-Break (SIGBREAK) | 
 +Process flag A (SIGPFA) | 
 +Process flag B (SIGPFB) | 
 +Process flag C (SIGPFC) 
 '''Note:''' Presentation Manager applications may not establish signal handlers for Ctrl-C and Ctrl-Break. Establishing a signal handler for Ctrl-C and Ctrl-Break is supported for VIO-Windowable and full-screen applications. '''Note:''' Presentation Manager applications may not establish signal handlers for Ctrl-C and Ctrl-Break. Establishing a signal handler for Ctrl-C and Ctrl-Break is supported for VIO-Windowable and full-screen applications.