Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
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