AuthzUnregisterSecurityEventSource function (authz.h)

The AuthzUnregisterSecurityEventSource function unregisters a security event source with the Local Security Authority (LSA).

Syntax

AUTHZAPI BOOL AuthzUnregisterSecurityEventSource(
  [in]      DWORD                                 dwFlags,
  [in, out] PAUTHZ_SECURITY_EVENT_PROVIDER_HANDLE phEventProvider
);

Parameters

[in] dwFlags

This parameter is reserved for future use. Set this parameter to zero.

[in, out] phEventProvider

A pointer to a handle to the security event source to unregister.

Return value

If the function succeeds, the function returns TRUE.

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

Remarks

This function deallocates any resources and closes any RPC connections associated with a previous call to the AuthzRegisterSecurityEventSource function.

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

AuthzRegisterSecurityEventSource