The metadata API provide methods to create and retrieve resources. The IMetaDataAssemblyEmit::DefineManifestResource method creates a ManifestResource data structure for a resource. The IMetaDataAssemblyImport::GetManifestResourceProps returns all the properties of a given resource. Detailed descriptions of these APIs can be found in Assembly Manifest Specification.