This topic has not yet been rated - Rate this topic

IsCatalogFile function

[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.]

Applies to: desktop apps only

The IsCatalogFile function retrieves a Boolean value that indicates whether the specified file is a catalog file.

Note  This function has no associated import library. You must use the LoadLibrary and GetProcAddress functions to dynamically link to Wintrust.dll.

Syntax

BOOL WINAPI IsCatalogFile(
  __in_opt  HANDLE hFile,
  __in_opt  WCHAR *pwszFileName
);

Parameters

hFile [in, optional]

A handle to the file to check. This parameter is optional, but it must contain a valid handle if the pwszFileName parameter is NULL.

pwszFileName [in, optional]

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

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Mscat.h

Library

Wintrust.lib

DLL

Wintrust.dll

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ