This question is related to this one.
I need to use the winmm function waveInMessage using the above mentioned constant. I can find a bunch of similar defines (such as DRV_QUERYDEVICEINTERFACE
) in the mmddk.h, but the pair DRV_QUERYFUNCTIONINSTANCEID
and DRV_QUERYFUNCTIONINSTANCEIDSIZE
is not.
They are mentioned in the MSDN document entitled "Device Roles for Legacy Windows Multimedia Applications", which makes no reference to header files used in the example.
What compiler are you using?
I bet your problem is related to old header files.