Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMetaDataAssemblyImport::GetManifestResourceProps method

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

Syntax


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

Parameters

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.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

IDL

Rometadataapi.idl

See also

IMetaDataAssemblyImport

 

 

Show: