Share via


IsFrameworkAssembly Function

Gets a value that indicates whether the specified assembly is managed.

HRESULT IsFrameworkAssembly (
    [in]  LPCWSTR pwzAssemblyReference,
    [out] LPBOOL  pbIsFrameworkAssembly,
    [in]  LPWSTR  pwzFrameworkAssemblyIdentity,
    [in]  LPDWORD pccSize
 );

Parameters

  • pwzAssemblyReference
    [in] The name of the assembly to check.
  • pbIsFrameworkAssembly
    [out] A Boolean value that indicates whether the assembly is managed.
  • pwzFrameworkAssemblyIdentity
    [in] An uncanonicalized string that contains the unique identity of the assembly.
  • pccSize
    [in] The size of pwzFrameworkAssemblyIdentity.

Remarks

The pwzAssemblyReference parameter is a pointer to a character string that contains the name of an assembly.

If this assembly is part of the .NET Framework, the pbIsFrameworkAssembly parameter will contain a Boolean value of true.

If the named assembly is not part of the .NET Framework, or the character string does not name an assembly, pbIsFrameworkAssembly will contain a Boolean value of false.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

See Also

Other Resources

Fusion Global Static Functions
Fusion (Unmanaged API Reference)