BOOL WINAPI mciSetDriverData(uDeviceID, dwData)
This function sets the instance data associated with an MCI device.
UINT uDeviceID
Specifies the MCI device ID.
DWORD dwData
Specifies the driver data to set.
Returns zero if the device ID is not known or there is insufficient memory to load the device description.
Typically device drivers set the data when it is opened. The device driver will then retrieve the data with mciGetDriverData in response to subsequent messages.