Handle & Object user defined functions Reference

Below is a complete list of the user defined functions available in AutoIt. Click on a user defined function name for a detailed description.

When using them you need to add a #include <WinAPIHObj.au3>.

 

User Defined Function Description
_WinAPI_CloseHandle Closes an open object handle
_WinAPI_DeleteObject Deletes a logical pen, brush, font, bitmap, region, or palette
_WinAPI_DuplicateHandle Duplicates an object handle
_WinAPI_GetCurrentObject Retrieves a handle to an object of the specified type that has been selected into the specified device context
_WinAPI_GetCurrentProcess Returns the process handle of the calling process
_WinAPI_GetObject Retrieves information for the specified graphics object
_WinAPI_GetObjectInfoByHandle Retrieves information about a specified object
_WinAPI_GetObjectNameByHandle Retrieves a name of the specified object
_WinAPI_GetObjectType Retrieves the type of the specified object
_WinAPI_GetStdHandle Retrieves a handle for the standard input, standard output, or standard error device
_WinAPI_GetStockObject Retrieves a handle to one of the predefined stock pens, brushes, fonts, or palettes
_WinAPI_SelectObject Selects an object into the specified device context
_WinAPI_SetHandleInformation Sets certain properties of an object handle