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 GetStat method to determine if this method has been successful.
See Also