Partilhar via


ICIINFO::GetContextInfo Method

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 ICIINFO::GetContextInfo method, in Configuration Manager, gets the context information by name from the configuration item.

[IDL]
HRESULT GetContextInfo(
     LPCWSTR pszName,
     LPWSTR* ppszContext
);

Parameters

  • pszName
    Data type: LPCWSTR

    Qualifiers: [in]

    Pointer to a null-terminated string specifying the name of the context information to retrieve.

  • ppszContext
    Data type: LPWSTR

    Qualifiers: [out]

    Pointer to a null-terminated string specifying the retrieved context information.

Return Values

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

  • S_OK
    The method succeeded. All other return values indicate failure.

Remarks

This method is used in setting information that is retrieved by certain class handlers in the System Definition Model (SDM) agent.

Requirements

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

ICIINFO Interface