SystemParametersInfoA SPI_SETDESKWALLPAPER does not always work?

Nick Pendragon 0 Reputation points
2024-08-07T18:59:03.72+00:00

I don’t know if I’m posting this in the right place…

When using (C++) SystemParametersInfoA SPI_SETDESKWALLPAPER, for some reason does not always work.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,718 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,653 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,760 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Tong Xu - MSFT 2,471 Reputation points Microsoft Vendor
    2024-08-08T02:42:20.33+00:00

    Hi, @Nick Pendragon
    Firstly, thank @RLWA32 and @David Lowndes for testing.

    I also can reproduce it in win11 22H2. We can confirm it is an exceptional behavior.
    I'll report it internally.

    1. But we need you to send feedback to Microsoft to attract developers' attention.
    2. And please provide a link after submission.

    Thank you about it.

    https://support.microsoft.com/en-us/windows/send-feedback-to-microsoft-with-the-feedback-hub-app-f59187f8-8739-22d6-ba93-f66612949332

    Thank you again!


    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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.