Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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
);
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 values.

Platforms: See .NET Framework System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.