Share via


IMetaDataAssemblyImport::GetManifestResourceProps Method

Gets the set of properties of the manifest resource with the specified metadata signature.

HRESULT GetManifestResourceProps (
    [in]  mdManifestResource   mdmr, 
    [out] LPWSTR               szName, 
    [in]  ULONG                cchName, 
    [out] ULONG                *pchName, 
    [out] mdToken              *ptkImplementation, 
    [out] DWORD                *pdwOffset, 
    [out] DWORD                *pdwResourceFlags
);

Parameters

Parameter Description

mdmr

[in] An mdManifestResource token that represents the resource for which to get the properties.

szName

[out] The name of the resource.

cchName

[in] The size, in wide chars, of szName.

pchName

[out] A pointer to the number of wide chars actually returned in szName.

ptkImplementation

[out] A pointer to an mdFile token or an mdAssemblyRef token that represents the file or assembly, respectively, that contains the resource.

pdwOffset

[out] A pointer to a value that specifies the offset to the beginning of the resource within the file.

pdwResourceFlags

[out] A pointer to flags that describe the metadata applied to a resource. The flags value is a combination of one or more CorManifestResourceFlags Enumeration values.

Requirements

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

Header: Cor.h

Library: Used as a resource in Mscoree.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Reference

IMetaDataAssemblyImport Interface