Expand Minimize
EN
Deze inhoud is niet beschikbaar in uw taal, maar wel in het Engels.

CryptCATAdminRemoveCatalog function

[The CryptCATAdminRemoveCatalog function is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

The CryptCATAdminRemoveCatalog function deletes a catalog file and removes that catalog's entry from the Windows catalog database. This function is the only supported way to remove catalogs from the database while ensuring the integrity of the database. The function has no associated import library. You must use the LoadLibrary and GetProcAddress functions to dynamically link to Wintrust.dll.

Syntax


BOOL CryptCATAdminRemoveCatalog(
  _In_  HCATADMIN hCatAdmin,
  _In_  LPCWSTR pwszCatalogFile,
  _In_  DWORD dwFlags
);

Parameters

hCatAdmin [in]

Handle previously assigned by the CryptCATAdminAcquireContext function.

pwszCatalogFile [in]

A pointer to a null-terminated string for the name of the catalog to remove. This string must contain only the name, without any path information.

dwFlags [in]

This parameter is reserved for future use and must be set to zero.

Return value

The return value is TRUE if the function succeeds; FALSE if the function fails.

For extended error information, call the GetLastError function. For a complete list of error codes provided by the operating system, see System Error Codes.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Mscat.h

Library

Wintrust.lib

DLL

Wintrust.dll

See also

CryptCATAdminAddCatalog

 

 

Community-inhoud

Toevoegen
Weergeven:
© 2014 Microsoft