ICIINFO::GetContextInfo Method

The ICIINFO::GetContextInfo method, in Configuration Manager, gets the context information by name from the configuration item.

Syntax

[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

ICIINFO Interface