mciID Function

Purpose

Returns the ID for an opened Mci device

Syntax

mciID(name$)

name$sexp

Description

This function returns the ID for an opened device. Usually used with an alias name. Used to get the device id for the notify message.

Example

Debug.Show

Mci "open c:\windows\media\alarm01.wav alias bong"

Trace mciID("bong")

Mci "close bong"

Trace mciID("bong")

See Also

Mci, Mci$, mciID

{Created by Sjouke Hamstra; Last updated: 16/10/2014 by James Gaite}