Platform SDK: Broadcast Architecture |
The Power event indicates that the Video Access server has received a Windows power-management event. Visual Basic syntax is shown.
Private Sub object_Power(wParam As Long)
Value | Meaning |
---|---|
PBT_APMBATTERYLOW | Battery power is low. |
PBT_APMOEMEVENT | An OEM-defined event has occurred. |
PBT_APMPOWERSTATUSCHANGE | The power status has changed; that is, the power has been turned on or off. |
PBT_APMQUERYSUSPEND | A process has requested permission to suspend operation. |
PBT_APMQUERYSUSPENDFAILED | A suspension request has been denied. |
PBT_APMRESUMEAUTOMATIC | Operation is resuming automatically to handle an event. The user is not present. |
PBT_APMRESUMECRITICAL | Operation is resuming after a critical suspension. |
PBT_APMRESUMESUSPEND | Operation is resuming after a suspension. |
PBT_APMSUSPEND | The operating system is suspending operation. |
Windows NT/2000: Unsupported.
Windows 95/98: Requires Windows 98.
Header: Declared in vidsvr.odl.
Import Library: Included as a resource in vid.ocx.