Share via


COM_PowerUp (Compact 2013)

3/26/2014

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

Syntax

BOOL COM_PowerUp(
  HANDLE pContext 
);

Parameters

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

Return Value

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, or debugging output functions, nor can it perform actions that could cause a page fault.

Requirements

Header

Developer Implemented

Library

Serial.lib

See Also

Reference

Serial Port Driver MDD Functions
COM_PowerDown