Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the number of partitions in which a specified component is installed.
Syntax
HRESULT GetComponentVersionCount(
[in] BSTR bstrCLSIDOrProgID,
[out, retval] long *plVersionCount
);
Parameters
[in] bstrCLSIDOrProgID
The class ID or program ID of the component.
[out, retval] plVersionCount
The number of different partitions in which the component is installed.
Return value
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | comadmin.h |