IMetaDataAssemblyImport::FindManifestResourceByName method (rometadataapi.h)

Gets a pointer to the manifest resource with the specified name.

Syntax

HRESULT FindManifestResourceByName(
  [in]  LPCWSTR            szName,
  [out] mdManifestResource *ptkManifestResource
);

Parameters

[in] szName

The name of the resource.

[out] ptkManifestResource

The array used to store the mdManifestResource metadata tokens, each of which represents a manifest resource.

Return value

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

Remarks

This method uses the standard rules employed by the common language runtime for resolving references.

Requirements

Requirement Value
Target Platform Windows
Header rometadataapi.h

See also

IMetaDataAssemblyImport