Share via


GetClientComponents Method in Class CPAppletMgr

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

The ICPAppletMgr::GetClientComponents method, in Configuration Manager, gets an IClientComponents Client COM Automation Interface object that contains all the components on the client and their states (installed, enabled, or disabled).

HRESULT GetClientComponents(
      IClientComponents** ppClientComponents
);

Parameters

  • ppClientComponents
    Data type: IClientComponents

    Qualifiers: [out, retval]

    Pointer to an IClientComponents Client COM Automation Interface object that contains all of the components on the client and their states (installed, enabled, or disabled).

Return Value

An HRESULT code. Possible values include, but are not limited to, the following:

  • S_OK
    The method succeeded.

Examples

The following example shows how to use the GetClientComponents method to retrieve an IClientComponents Client COM Automation Interface object.

Requirements

CPApplet.DLL

Runtime Requirements

For more information, see Configuration Manager Client Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Client Development Requirements.

See Also

Concepts

CPAppletMgr Client COM Automation Class
Configuration Manager Client Control Panel Configuration