GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / GetDesktopHwnd Method





In This Topic
GetDesktopHwnd Method (GdPictureImaging)
In This Topic
Returns the handle of the Windows desktop window. The desktop window is the one which covers the entire screen. The desktop window is the area on top of which all icons and other windows are painted.
Syntax
'Declaration
 
Public Function GetDesktopHwnd() As IntPtr
public IntPtr GetDesktopHwnd()
public function GetDesktopHwnd(): IntPtr; 
public function GetDesktopHwnd() : IntPtr;
public: IntPtr GetDesktopHwnd(); 
public:
IntPtr GetDesktopHwnd(); 

Return Value

The desktop Windows handle, as IntPtr value.
Remarks
You can regularly apply the GdPictureImaging.GetStat method to determine if this method has been successful.
See Also

Reference

GdPictureImaging Class
GdPictureImaging Members
GetStat Method
GetDesktopHwndI Method
CreateGdPictureImageFromHwnd(int)
CreateGdPictureImageFromHwnd(IntPtr)