Reference

RegisterEventSourceA(3w)

NAME

RegisterEventSourceA (ADVAPI32.@)

SYNOPSIS

HANDLE RegisterEventSourceA
(
LPCSTR lpUNCServerName,
LPCSTR lpSourceName
)

DESCRIPTION

Returns a registered handle to an event log.

PARAMS

lpUNCServerName [In] UNC name of the source server.

lpSourceName [In] Specifies the name of the event source to retrieve.

RETURNS

Success: Handle to the event log.

Failure: NULL. Returns ERROR_INVALID_HANDLE if lpSourceName specifies the Security event log.

IMPLEMENTATION

Declared in "winbase.h".

Implemented in "dlls/advapi32/eventlog.c".

Debug channel "advapi".

History