mciGetCreatorTask

The mciGetCreatorTask function retrieves a handle to the creator task for the specified device.

HANDLE mciGetCreatorTask(
  MCIDEVICEID IDDevice  
);

Parameters

IDDevice

Device for which the creator task is returned.

Return Values

Returns the handle of the creator task responsible for opening the device if successful. If the device identifier is invalid, the return value is NULL.

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Mmsystem.h; include Windows.h.
**  Library:** Use Winmm.lib.

See Also

MCI, MCI Functions