Is the Windows.* API just for metro style apps?

답변됨 Is the Windows.* API just for metro style apps?

  • 2012년 4월 14일 토요일 오후 7:38
     
     

    ..or desktop apps too?


    • 편집됨 benaw 2012년 4월 14일 토요일 오후 7:44
    •  

모든 응답

  • 2012년 4월 14일 토요일 오후 8:00
     
     

    Why does the documentation qualify the usage of certain classes as not for Metro apps and only for use with desktop app?

    E.g. taken from the documentation..

    Applies to: desktop apps only

    Manages the software available to a user.

    Important  You can't use this class in a Metro style app.

    Is this out of date then?

  • 2012년 4월 14일 토요일 오후 8:50
    중재자
     
     답변됨

    Desktop applications can call into the Windows Runtime. Some classes are available only to Metro style apps, some are available only to desktop apps, and some are available to both.

    It looks like you're quoting from the PackageManager documentation which is correctly listed as desktop only.

    --Rob