IHomeGroup interface

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

Members

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

Methods

The IHomeGroup interface has these methods.

MethodDescription
IsMember

Determines whether the local computer is a member of a HomeGroup.

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

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Provsvc.dll

 

 

Show: