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 properties of the file with the specified metadata signature.
Syntax
HRESULT GetFileProps (
[in] mdFile mdf,
[out] LPWSTR szName,
[in] ULONG cchName,
[out] ULONG *pchName,
[out] const void **ppbHashValue,
[out] ULONG *pcbHashValue,
[out] DWORD *pdwFileFlags
);
Parameters
mdf
[in] The mdFile metadata token that represents the file for which to get the properties.
szName
[out] The simple name of the file.
cchName
[in] The size, in wide chars, of szName.
pchName
[out] The number of wide chars actually returned in szName.
ppbHashValue
[out] A pointer to the hash value. This is the hash, using the SHA-1 algorithm, of the file.
pcbHashValue
[out] The number of wide chars in the returned hash value.
pdwFileFlags
[out] A pointer to the flags that describe the metadata applied to a file. The flags value is a combination of one or more CorFileFlags values.
Requirements
Platform: See .NET supported operating systems.
Header: Cor.h
Library: CorGuids.lib