The IDCMSDK::GetBaselineInfo method, in Configuration Manager, retrieves information for the specified configuration item baseline.

[IDL]
HRESULT GetBaselineInfo(
	 LPCWSTR  pszId,
	 LPCWSTR  pszVersion,
	 DWORD  dwFlags,
	 ICIInfo**  ppCIInfo
);

Parameters

pszId


Data type: LPCWSTRQualifiers: [in]Pointer to a null-terminated string specifying the baseline configuration item ID. An example ID is "ScopeId_6CD81FFE-63C4-4AF6-B50A-0847707628A0/Baseline_780a1633-ba4d-4172-b2b1-583cc733ef56".
pszVersion


Data type: LPCWSTRQualifiers: [in, unique]Pointer to a null-terminated string specifying the baseline configuration item version. If this parameter is set to NULL, the method retrieves the latest version of the configuration item that exists in the store. Examples of version strings are "1.00" and "27.00".
dwFlags


Data type: DWORDQualifiers: [in]Flags identifying the configuration item. Possible values are:

0

ciinfoAll. Retrieve all properties. Requires administrator privileges.

1

ciinfoPublic. Retrieve only public properties. The detailed compliance report is not a public property.

ppCIInfo


Data type: ICIInfoQualifiers: [out]Pointer to a pointer to an ICIINFO Interface object that represents configuration item 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.

Requirements

Runtime Requirements

Development Requirements

See Also


Send comments about this topic to Microsoft.