UID | title | description | old-location | tech.root | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:sercx.SERCX2_CONFIG_INIT |
SERCX2_CONFIG_INIT function (sercx.h) |
The SERCX2_CONFIG_INIT function initializes a SERCX2_CONFIG structure. |
serports\sercx2_config_init.htm |
serports |
04/23/2018 |
|
2/SERCX2_CONFIG_INIT, SERCX2_CONFIG_INIT, SERCX2_CONFIG_INIT function [Serial Ports], serports.sercx2_config_init |
sercx.h |
Desktop |
Available starting with Windows 8.1. |
Any level. |
Windows |
|
|
|
|
|
The SERCX2_CONFIG_INIT function initializes a SERCX2_CONFIG structure.
A pointer to the SERCX2_CONFIG structure that is to be initialized.
The value to load into the EvtSerCx2ApplyConfig member of the SERCX2_CONFIG structure. For more information, see the description of this member in SERCX2_CONFIG.
The value to load into the EvtSerCx2Control member of the SERCX2_CONFIG structure. For more information, see the description of this member in SERCX2_CONFIG.
The value to load into the EvtSerCx2PurgeFifos member of the SERCX2_CONFIG structure. For more information, see the description of this member in SERCX2_CONFIG.
Your serial controller driver must use this function to initialize a SERCX2_CONFIG structure before passing a pointer to this structure as an input parameter to the SerCx2InitializeDevice method.
SERCX2_CONFIG_INIT sets the Size member of the structure to sizeof(SERCX2_CONFIG), and sets three additional members of the structure to the values supplied as input parameters to the function. The function sets the other members of the structure to zero. The driver can, if necessary, explicitly set these other members to nonzero values after the SERCX2_CONFIG_INIT call.