ISensLogon::StopScreenSaver method

The StopScreenSaver method notifies an application that a screen saver is stopped.

Syntax

HRESULT StopScreenSaver(
  BSTR bstrUserName
);

Parameters

bstrUserName

The name of a current user.

Return Value

This method can return one of these values.

Return code Description
S_OK
The method returns successfully.

Remarks

SENS calls this method to notify an application that a screen saver is stopped.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header sensevts.h
DLL Sens.dll

See Also

About System Event Notification Service

IEventSubscription

IEventSubscription::PutPublisherProperty

ISensLogon

ISensLogon::DisplayLock

ISensLogon::DisplayUnLock

ISensLogon::StartScreenSaver