AuthzUnregisterSecurityEventSource function (authz.h)

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

Syntax

AUTHZAPI BOOL AuthzUnregisterSecurityEventSource(
  DWORD                                 dwFlags,
  PAUTHZ_SECURITY_EVENT_PROVIDER_HANDLE phEventProvider
);

Parameters

dwFlags

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

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

   
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