Jump to content
Sign in to follow this  

Is the any way to check GDI handles after Dispose?

Recommended Posts

#include <GDIPlus.au3>
$h = _GDIPlus_BitmapCreateFromScan0(10, 10)
If _SomeFunctionToCheckHandleExists($h) Then

I know I do not need to access remote descriptors and need to write the code correctly, without errors, but for the sake of interest, whether it is possible to write a function _SomeFunctionToCheckHandleExists?

Share this post

Link to post
Share on other sites

Afaik there are no functions which test several handles (e.g. image, path, brush, etc.) whether they are existing and thus are valid.



Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this