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 name of the module referenced by the specified metadata token.
Syntax
HRESULT GetModuleRefProps(
[in] mdModuleRef tkModuleRef,
[out] LPWSTR szName,
[in] ULONG cchName,
[out] ULONG *pchName
);
Parameters
[in] tkModuleRef
The ModuleRef metadata token that references the module to get metadata information for.
[out] szName
A buffer to hold the module name.
[in] cchName
The requested size of szName in wide characters.
[out] pchName
The returned size of szName in wide characters.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | rometadataapi.h |