HWPostInit (Compact 2013)

3/26/2014

This function performs necessary operations after it initializes all data structures and prepares the serial IST to begin handling interrupts. It is called by the upper layer as the last step of the COM_Init routine.

Syntax

BOOL HWPostInit(
  PVOID pContext 
);

Parameters

  • pContext
    [in] Pointer to a context structure returned by the HWInit function that contains implementation-specific data describing the device.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

Typically, you should enable hardware interrupts with HWPostInit in the lower layer. Implement this function in the lower layer of the serial port driver.

Requirements

Header

serhw.h

See Also

Reference

Serial Port Driver PDD Functions
COM_Init
HWInit