AuthzEnumerateSecurityEventSources function

The AuthzEnumerateSecurityEventSources function retrieves the registered security event sources that are not installed by default.

Syntax

AUTHZAPI BOOL AuthzEnumerateSecurityEventSources(
  DWORD                             dwFlags,
  PAUTHZ_SOURCE_SCHEMA_REGISTRATION Buffer,
  PDWORD                            pdwCount,
  PDWORD                            pdwLength
);

Parameters

dwFlags

Reserved for future use; set this parameter to zero.

Buffer

A pointer to an array of AUTHZ_SOURCE_SCHEMA_REGISTRATION structures that returns the registered security event sources.

pdwCount

A pointer to a variable that receives the number of event sources found.

pdwLength

A pointer to a variable that specifies the length of the Buffer parameter in bytes. On output, this parameter receives the number of bytes used or required.

Return value

If the function succeeds, it returns TRUE.

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

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

AUTHZ_SOURCE_SCHEMA_REGISTRATION