Skip to content

Latest commit

 

History

History
129 lines (104 loc) · 2.4 KB

nf-slpublic-slunregisterevent.md

File metadata and controls

129 lines (104 loc) · 2.4 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:slpublic.SLUnregisterEvent
SLUnregisterEvent function (slpublic.h)
Unregisters a registered event in the SL service.
SLUnregisterEvent
SLUnregisterEvent function [Security]
security.slunregisterevent
slpublic/SLUnregisterEvent
security\slunregisterevent.htm
security
0fd02eb4-16d9-4892-b50c-3f9b0ead8478
12/05/2018
SLUnregisterEvent, SLUnregisterEvent function [Security], security.slunregisterevent, slpublic/SLUnregisterEvent
slpublic.h
Windows
Windows 8 [desktop apps only]
Windows Server 2012 [desktop apps only]
Slc.lib
Slc.dll
Windows
19H1
SLUnregisterEvent
slpublic/SLUnregisterEvent
c++
APIRef
kbSyntax
DllExport
Slc.dll
SLUnregisterEvent

SLUnregisterEvent function

-description

Unregisters a registered event in the SL service.

-parameters

-param hSLC [in, optional]

Type: HSLC

The handle to the current SLC session.

-param pwszEventId [in]

Type: PCWSTR

The predefined SL event identifier that will be unregistered.

-param pApplicationId [in]

Type: const SLID*

A pointer to the application ID that the event will be unregistered from.

-param hEvent [in]

Type: HANDLE

The registered event handle.

-returns

Type: HRESULT WINAPI

If this function succeeds, it return S_OK. Otherwise, it returns an HRESULT error code.

Return code/value Description
E_INVALIDARG
0x80070057
One or more arguments are not valid.
SL_E_INVALID_EVENT_ID
0xC004F019
The requested event ID is not valid.
SL_E_EVENT_NOT_REGISTERED
0xC004F01A
The requested event is not registered with the service.