Share via


HWPostInit (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

Serial Port Driver PDD Functions
COM_Init
HWInit