Skip to content

Latest commit

 

History

History
84 lines (59 loc) · 3.23 KB

nf-sercx-sercx2_config_init.md

File metadata and controls

84 lines (59 loc) · 3.23 KB
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
SERCX2_CONFIG_INIT function
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
SERCX2_CONFIG_INIT
sercx/SERCX2_CONFIG_INIT
APIRef
kbSyntax
HeaderDef
2.0\Sercx.h
SERCX2_CONFIG_INIT

SERCX2_CONFIG_INIT function

-description

The SERCX2_CONFIG_INIT function initializes a SERCX2_CONFIG structure.

-parameters

-param Config [out]

A pointer to the SERCX2_CONFIG structure that is to be initialized.

-param EvtSerCx2ApplyConfig [in]

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.

-param EvtSerCx2Control [in]

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.

-param EvtSerCx2PurgeFifos [in]

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.

-remarks

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.

-see-also

SERCX2_CONFIG

SerCx2InitializeDevice