Επεξεργασία

Κοινή χρήση μέσω


IDesktopGadget interface (shobjidl.h)

Exposes a method that allows the programmatic addition of an installed gadget to the user's desktop.

Inheritance

The IDesktopGadget interface inherits from the IUnknown interface. IDesktopGadget also has these types of members:

Methods

The IDesktopGadget interface has these methods.

 
IDesktopGadget::RunGadget

Adds an installed gadget to the desktop.

Remarks

When to Implement

An implementation of this interface is supplied in Windows as CLSID_DesktopGadget. Third parties do not provide a implementation.

When to Use

Use this interface to run a gadget. A running gadget is displayed on the desktop. This action is often taken at the end of a gadget or application's installation.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header shobjidl.h

See also

Introduction to the Gadget Platform