Specifications
BHT_WaitStandbyEvent
Description
Make the system wait until the specified event occurs.
Syntax
BHT_WaitStandbyEvent (
DWORD dwEvtNum ,
DWORD dwEvtMask ,
DWORD* pdwSignalEvent )
Parameters
dwEvtNum
[in] Number of events to wait
dwEvtMask
[in] Events to wait
dwEvtMask Specification
EVT_MASK_KEYDOWN Key depression
EVT_MASK_TRGDOWN Trigger switch depression
EVT_MASK_TCHUP Stylus release
EVT_MASK_DECODE Decoding complete
EVT_MASK_RECEIVE
EVT_MASK_RECEIVE_IRDA
Data reception(IrDA interface)
EVT_MASK_RECEIVE_RS232C Data reception(Serial interface)
EVT_MASK_RECEIVE_USB Data reception(USB interface)
pdwSignalEvent
[out] Address for storing events that occurred
pdwSignalEvent Specification
EVT_MASK_KEYDOWN Key depression
EVT_MASK_TRGDOWN Trigger switch depression
EVT_MASK_TCHUP Stylus release
EVT_MASK_DECODE Decoding complete
EVT_MASK_RECEIVE
EVT_MASK_RECEIVE_IRDA
Data reception(IrDA interface)
EVT_MASK_RECEIVE_RS232C Data reception(Serial interface)
EVT_MASK_RECEIVE_USB Data reception(USB interface)
Return value
Error code Meaning
ERROR_SUCCESS Successful completion
ERROR_INVALID_PARAMETER
Parameter error.
Storage address not specified
137










