AuthzUninstallSecurityEventSource function (authz.h)

The AuthzUninstallSecurityEventSource function removes the specified source from the list of valid security event sources.

Syntax

AUTHZAPI BOOL AuthzUninstallSecurityEventSource(
  [in] DWORD  dwFlags,
  [in] PCWSTR szEventSourceName
);

Parameters

[in] dwFlags

Reserved for future use; set this parameter to zero.

[in] szEventSourceName

Name of the source to remove from the list of valid security event sources. This corresponds to the szEventSourceName member of the AUTHZ_SOURCE_SCHEMA_REGISTRATION structure that defines the source.

This function removes the source information from the registry. For more information about the registry keys and values affected, see the AuthzInstallSecurityEventSource function.

Return value

If the function succeeds, it returns TRUE.

If the function fails, it returns FALSE. For extended error information, call GetLastError.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header authz.h
Library Authz.lib
DLL Authz.dll
Redistributable Windows Server 2003 Administration Tools Pack on Windows XP

See also

AUTHZ_SOURCE_SCHEMA_REGISTRATION

AuthzInstallSecurityEventSource