IAssemblyCache::QueryAssemblyInfo method (winsxs.h)
The QueryAssemblyInfo method queries the side-by-side assembly store for assembly information and validates the files in the side-by-side assembly store against the assembly manifest.
Syntax
HRESULT QueryAssemblyInfo(
[in, optional] DWORD dwFlags,
[in] LPCWSTR pszAssemblyName,
[in, out] ASSEMBLY_INFO *pAsmInfo
);
Parameters
[in, optional] dwFlags
Specifies the information to retrieve.
This parameter can be one or more of the following values or 0.
[in] pszAssemblyName
Pointer to null-terminated string value containing the fully-specified strong name of the assembly to query. If the name is not fully specified, the result of the method is undefined.
[in, out] pAsmInfo
Pointer to the ASSEMBLY_INFO structure that receives the information.
Return value
This method can return one of these values.
Return value | Description |
---|---|
|
The method succeeded. |
|
The method did not succeed. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | winsxs.h |
DLL | Sxs.dll |