IClassAccess::GetClassSpecInfo

[This is preliminary documentation and subject to change.]

Retrieves package information and binaries for any class identifier for use during COM object activation.

HRESULT GetClassSpecInfo(
  uCLSSPEC* pClassSpec,       //Pointer to CLSID, extension, or MIME
  QUERYCONTEXT QryContext,    //Query attributes
  PACKAGEINFO* pPackageInfo,  //Pointer to binaries and package information
);
 

Parameters

pClassSpec
[in] Points to the class specifier (class identifier, file extension, or MIME type).
QryContext
[in] The query attributes used to obtain package information.
pPackageInfo
[out] A pointer to the package information for a specific class identifier.

Return Values

S_OK
The method returned successfully.
E_INVALIDARG
One or more parameters are incorrect.

Comments

While GetClassInfo requires a specific class identifier, GetClassSpecInfo provides access to the available packages for any class specifier, CLSID, ProgId, or MIME type.

QuickInfo

  Windows NT: Use version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in objidl.h.

See Also

IClassAccess::GetClassInfo