[UWP][C++\CX]Calling DeviceIoControl in Background Task RRS feed

  • Question

  • I'd like to try use our customer GPIO driver in UWP.
    I made C# UWP UI code and added C++/CX Background Task.
    Can I use DeviceIoControl API in UWP C++/CX Background Task?
    If I used the DeviceIoControl API, VS2015 made an error "identifier "DeviceIoControl" is undefined. 
    plz anyone help me :)

    • Edited by Barry Wang Wednesday, December 16, 2015 6:37 AM title tag
    Tuesday, December 15, 2015 3:23 AM

All replies

  • Hello Noir Ryu,

    It seems I can reproduce the undefined error when I use Deviceaccess.h and call the DeviceIoControl function.

    I haven't find any document about whether we can use it in  C++/CX Background Task or which is the right way to use this function in C++\CX. Now how you write your code in your project?

    I will try involve some others on this issue.

    Best regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, December 16, 2015 6:36 AM