Поделиться через


ISideShowContent 

Windows SideShow gadgets implement the ISideShowContent interface so that the Windows SideShow platform can retrieve content for display on the devices with which the gadget has been associated.

Members

Method

Description

GetContent

The Windows SideShow platform calls this method to retrieve content for display on one or more of the devices associated with the Windows SideShow gadget into which it is calling.

Property

Description

ContentId

The Windows SideShow platform accesses this property to retrieve the numeric identifier associated with this item of content so that it can be identified by the device.

DifferentiateContent

The Windows SideShow platform accesses this property to determine whether it needs to make more than one call to the GetContent method to allow the gadget to provide different content for each available device.

Remarks

When a Windows SideShow gadget calls the Add method of the ISideShowContentManager interface, it passes a pointer to an instance of the ISideShowContent interface. In response to the call to the Add method, the Windows SideShow platform calls the methods and properties of the latter interface to retrieve the content itself, the numeric identifier associated with the content, and a Boolean value that indicates whether the Windows SideShow gadget has prepared customized content based on the capabilities of each associated device.

See Also

Concepts

ISideShowContentManager
Gadget-Implemented Interfaces