SERCX2_CUSTOM_RECEIVE_CONFIG_INIT function (sercx.h)

The SERCX2_CUSTOM_RECEIVE_CONFIG_INIT function initializes a SERCX2_CUSTOM_RECEIVE_CONFIG structure.

Syntax

void SERCX2_CUSTOM_RECEIVE_CONFIG_INIT(
  [out] SERCX2_CUSTOM_RECEIVE_CONFIG *Config
);

Parameters

[out] Config

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

Return value

None

Remarks

Your serial controller driver must use this function to initialize a SERCX2_CUSTOM_RECEIVE_CONFIG structure before passing a pointer to this structure as an input parameter to the SerCx2CustomReceiveCreate method.

SERCX2_CUSTOM_RECEIVE_CONFIG_INIT sets the Size member of the structure to sizeof(SERCX2_CUSTOM_RECEIVE_CONFIG), and 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_CUSTOM_RECEIVE_CONFIG_INIT call.

Requirements

Requirement Value
Minimum supported client Available starting with Windows 8.1.
Target Platform Desktop
Header sercx.h
IRQL Any level.

See also

SERCX2_CUSTOM_RECEIVE_CONFIG

SerCx2CustomReceiveCreate