Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Gets the metadata token and a metadata interface instance that can be used against the token for the specified function.
Syntax
HRESULT GetTokenAndMetaDataFromFunction(
[in] FunctionID functionId,
[in] REFIID riid,
[out] IUnknown **ppImport,
[out] mdToken *pToken);
Parameters
functionId
[in] The ID of the function for which to get the metadata token and metadata interface.
riid
[in] The reference ID of the metadata interface to get the instance of.
ppImport
[out] A pointer to the address of the metadata interface instance that can be used against the token for the specified function.
pToken
[out] A pointer to the metadata token for the specified function.
Requirements
Platforms: See System Requirements.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Framework Versions: Available since 2.0