mciGetCreatorTask

  HMODULE mciGetCreatorTask(wDeviceID)    
  MCIDEVICEID wDeviceID;    

The mciGetCreatorTask function retrieves the creator task corresponding with the device ID passed.

Parameters

wDeviceID

Specifies the device ID whose creator task is to be returned.

Return Value

Returns the creator task responsible for opening the device, else NULL if the device ID passed is invalid.