The mciGetCreatorTask function retrieves a handle to the creator task for the specified device.
HANDLE mciGetCreatorTask(
MCIDEVICEID IDDevice
);
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.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in mmsystem.h.
Import Library: Use winmm.lib.