修改指定的 File 元数据结构。
Syntax
HRESULT SetFileProps (
[in] mdFile file,
[in] const void *pbHashValue,
[in] ULONG cbHashValue,
[in] DWORD dwFileFlags
);
Parameters
file [in]指定要修改的 File 元数据结构的元数据标记。
pbHashValue [in]指向与文件关联的哈希数据的指针。
cbHashValue [in]的大小(以字节为单位 pbHashValue)。
dwFileFlags [in]指定文件的各种属性的 CorFileFlags 值的按位组合。
Remarks
若要创建 File 元数据结构,请使用 IMetaDataAssemblyEmit::D efineFile 方法。
Requirements
平台: 请参阅 .NET 支持的作系统。
Header: Cor.h
Library: CorGuids.lib