Platform SDK: Synchronization Manager

ISensLogon

The ISensLogon interface handles logon events fired by SENS.

When to Implement

Implement this interface on your sink object if you subscribe to any of the SENS logon events. Each event corresponds to a method in this interface. This interface is an outgoing interface defined by SENS and implemented by the subscriber application as a dispatch interface.

When to Use

SENS and the COM Event System call the ISensLogon methods on your sink object to fire the corresponding event.

Methods in Vtable Order

Iunknown methods Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments reference count.
Release Decrements reference count.

Idispatch methods Description
GetTypeInfoCount Retrieves the number of type descriptions.
GetTypeInfo Retrieves a description of the object's programmable interface.
GetIDsOfNames Maps name of method or property to DISPID.
Invoke Calls one of the object's methods, or gets/sets one of its properties.

ISenslLogon methods Description
Logon A user has logged on.
Logoff A user has logged off.
StartShell Shell has been started.
DisplayLock Screen display has been locked.
DisplayUnlock Screen display has been unlocked.
StartScreenSaver Screen saver has been started.
StopScreenSaver Screen saver has been stopped.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Sensevts.h.
  Library: Use Sensevts.tlb.

See Also

ISensNetwork, ISensOnNow, About System Event Notification Service