Windows 10: How CreateDIBSection deallocate the **ppvBits?

Discus and support How CreateDIBSection deallocate the **ppvBits? in Windows 10 BSOD Crashes and Debugging to solve the problem; From the documentation, it mentioned that "if hSection is NULL, the system allocates memory for the DIB. The system closes the handle to that memory... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by John5012, Jan 31, 2020.

  1. John5012 Win User

    How CreateDIBSection deallocate the **ppvBits?

    From the documentation, it mentioned that "if hSection is NULL, the system allocates memory for the DIB. The system closes the handle to that memory when you later delete the DIB by calling the DeleteObject function."

    Does this means that the memory allocated for the **ppvBits will be automatically deleted, following the call of DeleteObject? Thanks.

    P.S. The reason I asked this is because I doubt that the memory is not cleared completely at the background of this API after calling DeleteObject, because when I run several time for my program, which calling the CreateDIBSection to capture the bitmap of the same image, the bitmap bit values are changing.

    John5012, Jan 31, 2020

  2. Customize to avoid Clock Watchdog timeout

    It would be a great benefit to all receiving Blue Screen error Clock Watchdog Timeout if you fixed the Windows dispatcher to utilize ALL available CPUs. This is not a USER responsibility. Windows needs to fix the dispatcher code to deal with CPU allocation
    and deallocation. Not a USER issue. Bad code in Windows needs to be repaired.
    Windows User TC, Jan 31, 2020
  3. johnspack Win User
    Adding to a Raid 0 array

    Hope so too, all I know is that in my raid create menu, there is an option to "allocate spare drive" and to "deallocate spare drive". I guess I'll do a major backup first...
    johnspack, Jan 31, 2020
  4. mr_slava Win User

    How CreateDIBSection deallocate the **ppvBits?

    mr_slava, Jan 31, 2020

How CreateDIBSection deallocate the **ppvBits?

  1. How CreateDIBSection deallocate the **ppvBits? - Similar Threads - CreateDIBSection deallocate **ppvBits

  2. How to search

    in Windows 10 Support
    How to search: Hi everyone I've very recently changed from Windows 7 to 10 and seem to have lost the ability to search for a word in a document / spreadsheet etc. In 7 I used to be able to enter a key word and it would bring up all the documents / spreadsheets that contained that word...
  3. How To Network?

    in Windows 10 Support
    How To Network?: I couldn't log into a machine on the Lan from another machine on the same Lan. I couldn't understand this because I was absolutely sure of the username and the password. Checked on that machine with cmds whoami and query user and got the username I was using. But the...
  4. How to fix it?

    in Windows 10 Drivers and Hardware
    How to fix it?: [ATTACH] Sorry if I choose wrong topics
  5. How to be an administrator?

    in AntiVirus, Firewalls and System Security
    How to be an administrator?: I used to be an administrator but something happened somewhere along the line and I am not. I want to have administrator powers over my PC. Can anyone help?"
  6. How to suspend?

    in Windows 10 Customization
    How to suspend?: People tell me I can suspend by Alt+Ctrl+Del then right click on the process and click suspend but I don't see suspend in the right click menu Win 10 Pro
  7. how to remove this?

    in Windows 10 BSOD Crashes and Debugging
    how to remove this?: how to remove this? its make my pc freezing up. [ATTACH]
  8. How is this happening?

    in Windows 10 Installation and Upgrade
    How is this happening?: My system is running Ver. 1709 just fine. I've tried several times to install the 1803 upgrade, but each attempt fails and reverts my system back to 1709. So to stop this from happening I have disable the Windows Update service. But every few days I get the message "Updates...
  9. Networking How to

    in Windows 10 Network and Sharing
    Networking How to: I am finding so much conflicting information about Windows 10. I had no problems with Win 7 and Work Group. I will not use Home Group so don't even bring that up. Reading about conflicts with Home Group services causing problems with Work Groups. I removed everything I...
  10. How long?

    in Windows 10 Installation and Upgrade
    How long?: How long can this update take? It's supposed to take 20-60 minutes, and I've heard of people waiting for 24 hours to get it to complete. How long do I wait before I assume it's frozen? 15797