Export (0) Print
Expand All
Expand Minimize

AuthzReportSecurityEventFromParams function

The AuthzReportSecurityEventFromParams function generates a security audit for a registered security event source by using the specified array of audit parameters.

Syntax


BOOL WINAPI AuthzReportSecurityEventFromParams(
  _In_      DWORD dwFlags,
  _In_      AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE hEventProvider,
  _In_      DWORD dwAuditId,
  _In_opt_  PSID pUserSid,
  _In_      PAUDIT_PARAMS pParams
);

Parameters

dwFlags [in]

Reserved for future use.

hEventProvider [in]

A handle to the registered security event source to use for the audit.

dwAuditId [in]

The identifier of the audit.

pUserSid [in, optional]

A pointer to the security identifier (SID) that will be listed as the source of the audit in the event log.

pParams [in]

An array of audit parameters.

Return value

If the function succeeds, the function 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]

Redistributable

Windows Server 2003 Administration Tools Pack on Windows XP

Header

Authz.h

Library

Authz.lib

DLL

Authz.dll

See also

AuthzRegisterSecurityEventSource
AuthzReportSecurityEvent

 

 

Community Additions

ADD
Show:
© 2014 Microsoft