IsCatalogFile function (mscat.h)
[The IsCatalogFile function is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
The IsCatalogFile function retrieves a Boolean value that indicates whether the specified file is a catalog file.
Syntax
BOOL IsCatalogFile(
[in, optional] HANDLE hFile,
[in, optional] WCHAR *pwszFileName
);
Parameters
[in, optional] hFile
A handle to the file to check. This parameter is optional, but it must contain a valid handle if the pwszFileName parameter is NULL.
[in, optional] pwszFileName
A pointer to a null-terminated wide character string that contains the name of the file to check. This parameter is optional, but it must contain a valid file name if the hFile parameter is NULL.
Return value
Returns nonzero if the specified file is a catalog file or zero otherwise.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | mscat.h |
Library | Wintrust.lib |
DLL | Wintrust.dll |