mciSetDriverData

Syntax

BOOL WINAPI mciSetDriverData(uDeviceID, dwData)

This function sets the instance data associated with an MCI device.

Parameters

UINT uDeviceID

Specifies the MCI device ID.

DWORD dwData

Specifies the driver data to set.

Return Value

Returns zero if the device ID is not known or there is insufficient memory to load the device description.

Comments

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.