The ICIINFO::GetProperty method, in Configuration Manager, gets a named property value from the configuration item.

[IDL]
HRESULT GetProperty(
	 LanguageId* pLanguageId,
	 LPCWSTR pszPropName,
	 LPWSTR* ppszPropValue
);

Parameters

pLanguageId


Data type: LanguageIdQualifiers: [in, out]Pointer to the language ID that is used to obtain the property. If there is no localized name for this ID, the method attempts to obtain the language-independent version of the property. If this does not exist, the method returns an error. On successful return from the method, this parameter indicates the language ID for the property retrieved.
pszPropName


Data type: LPCWSTRQualifiers: [in]Pointer to a null-terminated string specifying the name of the property.
ppszPropValue


Data type: LPWSTRQualifiers: [out]Pointer to a null-terminated string specifying the property value.

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.

Requirements

Runtime Requirements

Development Requirements

See Also

Other Resources

ICIINFO Interface


Send comments about this topic to Microsoft.