Export (0) Print
Expand All

DMessengerPrivateEvents::OnLockEnable Event

[OnLockEnable is no longer available in Windows Vista. See Windows Messenger for more information.]

Notifies a Messenger client with the status of the Messenger Lock and Key APIs.

Syntax

void OnLockEnable(
  [in]  VARIANT_BOOL fEnable = true
);

Parameters

fEnable [in]

VARIANT_BOOL that defines one of the following possible values.

ValueMeaning
VARIANT_FALSE
false

Lock and Key is disabled.

VARIANT_TRUE
true

Lock and Key is enabled.

 

Return Value

This event does not return a value.

Remarks

This event fires shortly after a user signs in to Windows Messenger and indicates whether the Messenger client can proceed to request an authentication challenge from the Messenger service . Until this event notification is received, a Messenger client cannot unlock the Messenger service  APIs and requests for an authentication challenge will fail.

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP

Minimum supported server

Windows Server 2003

Product

Messenger 4.5

Header

Msgrpriv.h

IDL

Msgrpriv.idl

DLL

Msnmsgrexe.adeb440d_7847_4f65_80bd_899870ed2ec9

See Also

DMessengerPrivateEvents
OnAlertReceived
OnLockChallenge
OnLockResult
RequestChallenge
SendResponse
Messenger Lock and Key API
Messenger Session Invite and Messenger Private APIs

 

 

Send comments about this topic to Microsoft

Build date: 6/30/2010

Community Additions

ADD
Show:
© 2014 Microsoft