COM_PowerUp

This function indicates to the serial port driver that the platform is resuming from suspend mode.

BOOL COM_PowerUp(
  HANDLE pContext 
);

Parameters

  • pContext
    [in] Pointer to a handle to the device.

Return Values

Zero indicates success. A value of 1 indicates failure.

Remarks

This function is exported to users. As with all power-up handlers, this function cannot call functions in other DLLs, memory allocators, debugging output functions, or perform any action that could cause a page fault.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Developer defined.
Library: Serial.lib.

See Also

COM_PowerDown

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.