mciGetDriverData

Syntax

DWORD WINAPI mciGetDriverData(uDeviceID)

This function returns a pointer to the instance data associated with an MCI device.

Parameters

UINT uDeviceID

Specifies the MCI device ID.

Return Value

Returns the driver instance data. On error, it returns zero. Since the driver data might be zero, this cannot be verified by the caller unless the instance data is known to be non-zero (for example, a pointer).