AuthzUnregisterSecurityEventSource function

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

Syntax


BOOL WINAPI AuthzUnregisterSecurityEventSource(
  _In_    DWORD                                 dwFlags,
  _Inout_ PAUTHZ_SECURITY_EVENT_PROVIDER_HANDLE phEventProvider
);

Parameters

dwFlags [in]

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

phEventProvider [in, out]

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]

Redistributable

Windows Server 2003 Administration Tools Pack on Windows XP

Header

Authz.h

Library

Authz.lib

DLL

Authz.dll

See also

AuthzRegisterSecurityEventSource

 

 

Show: