IHomeGroup interface (shobjidl_core.h)

Exposes methods that determine a computer's HomeGroup membership status and display the sharing wizard.

Inheritance

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

Methods

The IHomeGroup interface has these methods.

 
IHomeGroup::IsMember

Determines whether the local computer is a member of a HomeGroup.
IHomeGroup::ShowSharingWizard

Displays a wizard that allows a user to create a Home Group, and then retrieves the sharing options that the user selected through the wizard.

Remarks

When to Implement

Custom implementations of IHomeGroup are not supported; client applications use the implementation provided in Provsvc.dll.

When to Use

Use IHomeGroup when there is a need to determine the local computer's HomeGroup membership status; that is, to check wither the local computer is a member of a HomeGroup.

To create an instance of IHomeGroup, call CoCreateInstance and specify CLSID_HomeGroup as the CLSID. CLSID_HomeGroup is defined in Shobjidl.h and Shobjidl.idl.

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_core.h (include Shobjidl.h)