locked
Is there api can get Screenshots folder path in C++? RRS feed

  • Question

  • If the user press "win+PrtScrm", the system will create an "Screenshots" folder and then screenshot image will put in there.

    I want to get this folder path, so I create an folder with same name in the Picture Library, then use return storagefolder's path.

    But I found that user can change the screenshots folder path by it property setting


    Is there any api can get Screenshots folder path?    Thanks for any help~

    Wednesday, January 9, 2013 6:09 AM

Answers

  • Hi Gary,

    Windows Store apps only have access to the known folders so no, there is nothing available to you.

    -Jeff


    Jeff Sanders (MSFT)

    Wednesday, January 9, 2013 7:03 PM
    Moderator

All replies

  • Hi Gary,

    Windows Store apps only have access to the known folders so no, there is nothing available to you.

    -Jeff


    Jeff Sanders (MSFT)

    Wednesday, January 9, 2013 7:03 PM
    Moderator
  • If you need access to the screenshot from your own app, you might consider using the ScreenGrab module in DirectXTK or the a standalone version in the DirectXTex package to capture your own screenshot and place the result in a known folder you do have read/write access to.

    Wednesday, January 9, 2013 11:15 PM