DWORD APIENTRY
mciGetDriverData(
MCIDEVICEID wDeviceID
);
The mciGetDriverData function returns instance-specific information that was set with mciSetDriverData.
Returns the driver instance information. Returns zero if an error occurs.
A driver can test for an error return only when the valid value is known to be nonzero, if, for example, the driver had previously called mciSetDriverData and specified a pointer value. If the driver has set the instance information to zero with mciSetDriverData, then it cannot test for an error return from mciGetDriverData.