IKsPropertySet or IOCTL_KS_PROPERTY support from metro app RRS feed

  • Question

  • Hi,

    I have defined a few custom property sets for my device driver.

    From my current desktop app, I can use IKsPropertySet or IOCTL_KS_PROPERTY to send custom commands to my device driver using these custom property sets.

    My questions are:

    1. Can I achieve this from metro app without any changes to my device driver package (including INF file) and how?

    2. If not, what should I do?


    Tuesday, February 14, 2012 9:39 AM


All replies

  • Hi,

    I've encountered the compilation error using VS11 whenever I include my existing header file which contains IOCTL_KS_PROPERTY and KSPROPERTY types. Noticed that IOCTL_KS_PROPERTY and KSPROPERTY are defined within desktop family partition in Ks.h and thus undefined for Metro app project. Is Microsoft plans to support it in Metro app project? This support is important as the communication between the application and our existing driver custom setting is through KSPROPERTY.

    Wednesday, February 15, 2012 2:24 AM
  • This is not supported from a Metro style app.  However MediaCapture APIs do support extended properties that gives a mechanism to access AvStream’s extended properties from Metro applications. http://msdn.microsoft.com/en-us/library/windows/apps/windows.media.devices.videodevicecontroller.aspx has details.

    Best Wishes - Eric

    Monday, June 4, 2012 10:15 PM