HWPostInit (Windows CE 5.0)
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.
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 Values
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
OS Versions: Windows CE 3.0 and later.
Header: Serhw.h.
See Also
Send Feedback on this topic to the authors