AuthzEnumerateSecurityEventSources function (authz.h)

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

Syntax

AUTHZAPI BOOL AuthzEnumerateSecurityEventSources(
  [in]      DWORD                             dwFlags,
  [out]     PAUTHZ_SOURCE_SCHEMA_REGISTRATION Buffer,
  [out]     PDWORD                            pdwCount,
  [in, out] PDWORD                            pdwLength
);

Parameters

[in] dwFlags

Reserved for future use; set this parameter to zero.

[out] Buffer

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

[out] pdwCount

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

[in, out] 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

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