Help Center

CDSAudio.GetEventmethod

Retrieves the next event notification from the event queue.

AudiomethodCDSAudio.incdocumented

Syntax

FUNCTION GetEvent(BYREF lEventCode AS LONG, BYREF lParam1 AS LONG_PTR, BYREF lParam2 AS LONG_PTR, BYVAL msTimeout AS LONG = 0) AS HRESULT

Parameters

NameDescription
lEventCodeOut. Variable that receives the event code.
lParam1Out. Variable that receives the first event parameter.
lParam2Out. Variable that receives the second event parameter.
msTimeoutIn. Time-out interval, in milliseconds. Use INFINITE to block until there is an event.

Description

Retrieves the next event notification from the event queue.

Reference

  • Include file CDSAudio.inc
  • Defined in AfxNova/CDSAudio.inc:411
  • Documented in Audio/CDSAudio Class.md
  • Topic: CDSAudio Class