#include <GDIPlus.au3>
_GDIPlus_Startup()
$h = _GDIPlus_BitmapCreateFromScan0(10, 10)
_GDIPlus_BitmapDispose($h)
If _SomeFunctionToCheckHandleExists($h) Then
_GDIPlus_ImageGetPixelFormat($h)
EndIf
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?