BPCVid.Power

[This is preliminary documentation and subject to change.]

The Power event indicates that the video access server has received a Windows power-management event.

Syntax

Private Sub object_Power(wParam As Long)
 

Parameters

object
Object expression that resolves to a BPCVid object.
wParam
Event notification message of the Windows WM_POWERBROADCAST message. To locate more information about Windows power management messages, see Further Information on Streaming Video Services for the Client.

The following power messages are valid:
Value Meaning
PBT_APMBATTERYLOW Battery power is low.
PBT_APMOEMEVENT OEM-defined event occurred.
PBT_APMPOWERSTATUSCHANGE Power status has changed.
PBT_APMQUERYSUSPEND Request for permission to suspend.
PBT_APMQUERYSUSPENDFAILED Suspension request denied.
PBT_APMRESUMECRITICAL Operation resuming after critical suspension.
PBT_APMRESUMESUSPEND Operation resuming after suspension.
PBT_APMSUSPEND System is suspending operation.

QuickInfo

  Windows NT: Unsupported.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Header: Declared in vidsvr.odl.
  Import Library: Included as a resource in vid.ocx.
  Unicode: Yes.

See Also

BPCVid.StateChange