开发者

Where is DRV_QUERYFUNCTIONINSTANCEID declared?

开发者 https://www.devze.com 2022-12-15 01:12 出处:网络
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_QUERY开发者_如何学JAVADEVIC

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_QUERY开发者_如何学JAVADEVICEINTERFACE) 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.


#include <mmddk.h>

What compiler are you using?

  • Download the latest Platform SDK for Windows if you're using VC++.
  • In case of, e.g MinGW, new headers should be available.

I bet your problem is related to old header files.

0

精彩评论

暂无评论...
验证码 换一张
取 消