Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting information form audio devices
#6
3. To understand MSDN code examples need to have some C/C++ and Windows API knowledge and experience. Then you know what is LPWSTR, or can find in SDK headers, where it is defined as pointer to unsigned short, which is a 2-byte integer, in QM it is word.

4. I just looked in the example, not in function reference. pwszVal was there. In PROPVARIANT its type is word*, which implies that it probably is a UTF16 string. QM string format is not UTF16, need to convert.

5. Part of Windows API in QM is declared through WINAPI, and it includes STGM_READ. Read more in QM help topic "Declare reference file or macro".


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)