Hello,
Welcome to Microsoft Q&A!
How I Make Save System In My DirectX Game
To save your data in your Directx Game, you will need to handle the suspending event - CoreApplication::Suspending. This event is raised when your app is moved to a suspended state by a user or system action. You could save simple application data synchronously using the LocalSettings storage API.
For more information, please refer to this document: How to suspend an app (DirectX and C++)
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.