EventAccessRemove function

Removes the permissions defined in the registry for the specified provider or session.

Syntax

ULONG EVNTAPI EventAccessRemove(
  LPGUID Guid
);

Parameters

Guid

GUID that uniquely identifies the provider or session whose permissions you want to remove from the registry.

Return Value

Returns ERROR_SUCCESS if successful.

Remarks

After removing the permission from the registry, the default permissions apply to the provider or session. For details on the default permissions, see EventAccessControl.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header evntcons.h
Library Sechost.lib on Windows 8.1 and Windows Server 2012 R2; Advapi32.lib on Windows 8, Windows Server 2012, Windows 7, Windows Server 2008 R2, Windows Server 2008 and Windows Vista
DLL Sechost.dll on Windows 8.1 and Windows Server 2012; Advapi32.dll on Windows 8, Windows Server 2012, Windows 7, Windows Server 2008 R2, Windows Server 2008 and Windows Vista

See Also

EventAccessControl

EventAccessQuery