IRoMetaDataLocator structure (roparameterizediid.h)
Enables the RoGetParameterizedTypeInstanceIID function to access run-time metadata.
Implement IRoMetaDataLocator when you're implementing programming language bindings to enable a language to call Windows platform APIs by using Windows metadata (.winmd) files.
Syntax
struct IRoMetaDataLocator {
HRESULT Locate(
PCWSTR nameElement,
IRoSimpleMetaDataBuilder & metaDataDestination
);
};
Members
HRESULT Locate( PCWSTR nameElement, IRoSimpleMetaDataBuilder & metaDataDestination)
Gets a metadata builder for the specified type.
nameElement
A Windows Runtime type or parameterized type to resolve.
metaDataDestination
A data sink for Windows Runtime metadata. The caller should invoke the appropriate set method to provide the metadata for the type named by nameElement.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Header | roparameterizediid.h |