Jump to content

ASYNC SETBREAKOFF: Difference between revisions

From EDM2
Ak120 (talk | contribs)
Ak120 (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
This function sets the break off.  
{{DISPLAYTITLE:ASYNC_SETBREAKOFF}}
; Category:IOCTL_ASYNC (01h)  
This function sets the break off.
; Function:ASYNC_SETBREAKOFF (45h)  
;Category:IOCTL_ASYNC (01h)
;Function:ASYNC_SETBREAKOFF (45h)


==Parameter Packet Format==
==Parameter Packet Format==
None. Packet pointer must be NULL.  
None. Packet pointer must be NULL.
 
==Data Packet Format==
==Data Packet Format==
<pre>
{|class="wikitable"
┌───────────────────────────────────────────────────┐
!Field||Length||C Datatype
│Field                      Length     C Datatype
|-
├───────────────────────────────────────────────────┤
|COM Error WORD (COMERR)||WORD||USHORT
│COM Error WORD (COMERR)     WORD       USHORT     │
|}
└───────────────────────────────────────────────────┘
 
</pre>
;COM Error WORD (COMERR):The physical device driver returns this information if a general failure error is not reported. See "Function 6Dh - Query COM Error" for COMERR definition. The COM device error information is not cleared by this action.
;COM Error WORD (COMERR)  
The physical device driver returns this information if a general failure error is not reported. See "Function 6Dh - Query COM Error" for COMERR definition. The COM device error information is not cleared by this action.


==Returns==
==Returns==
If the call is made with an invalid Parameter Packet pointer and a general failure error is reported, this function is not performed and valid information is not returned in the Data Packet.  
If the call is made with an invalid Parameter Packet pointer and a general failure error is reported, this function is not performed and valid information is not returned in the Data Packet.


==Remarks==
==Remarks==
If a general failure is not returned, then the physical device driver stops generating a break signal. It is not considered an error if the physical device driver is not generating a break signal. The physical device driver then resumes transmitting characters, taking into account all the other reasons why characters might be transmitted.  
If a general failure is not returned, then the physical device driver stops generating a break signal. It is not considered an error if the physical device driver is not generating a break signal. The physical device driver then resumes transmitting characters, taking into account all the other reasons why characters might be transmitted.


[[Category:IOCtl Commands]]
[[Category:IOCtl Function]]
{{DISPLAYTITLE:ASYNC_SETBREAKOFF (45h)}}

Latest revision as of 18:57, 22 October 2021

This function sets the break off.

Category
IOCTL_ASYNC (01h)
Function
ASYNC_SETBREAKOFF (45h)

Parameter Packet Format

None. Packet pointer must be NULL.

Data Packet Format

Field Length C Datatype
COM Error WORD (COMERR) WORD USHORT
COM Error WORD (COMERR)
The physical device driver returns this information if a general failure error is not reported. See "Function 6Dh - Query COM Error" for COMERR definition. The COM device error information is not cleared by this action.

Returns

If the call is made with an invalid Parameter Packet pointer and a general failure error is reported, this function is not performed and valid information is not returned in the Data Packet.

Remarks

If a general failure is not returned, then the physical device driver stops generating a break signal. It is not considered an error if the physical device driver is not generating a break signal. The physical device driver then resumes transmitting characters, taking into account all the other reasons why characters might be transmitted.