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.

QuickInfo

  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.

See Also

MCI Overview, MCI Functions