Funzione AcxStreamGetElementById (acxstreams.h)
La funzione AcxStreamGetElementById restituisce l'handle dell'oggetto ACXELEMENT per l'ID elemento richiesto. Per altre informazioni sugli oggetti ACX, vedere ACX - Summary of ACX Objects.
Sintassi
ACXELEMENT AcxStreamGetElementById(
ACXSTREAM Stream,
ULONG ElementId
);
Parametri
Stream
Oggetto ACXSTREAM esistente. Un oggetto ACXSTREAM rappresenta un flusso audio creato da un circuito.
ElementId
ID dell'elemento richiesto.
Valore restituito
Handle dell'oggetto ACXELEMENT dell'elemento richiesto o NULL se ACXSTREAM non dispone di un OGGETTO ACXELEMENT con l'ID specificato.
Osservazioni
Esempio
Di seguito è riportato un esempio di utilizzo.
ULONGLONG index = GetMessageContext(Event); // Context is an index.
ACXELEMENT element = nullptr;
//
// Get the ACX element.
//
element = AcxStreamGetElementById(Stream, (ULONG)index);
Requisiti ACX
versione minima di ACX: 1.0
Per altre informazioni sulle versioni di ACX, vedere panoramica della versione ACX.
Fabbisogno
Requisito | Valore |
---|---|
intestazione | acxstreams.h |
IRQL | <= DISPATCH_LEVEL |