IMsgrObject::Logoff method

[Logoff is no longer available for use as of Windows Vista. See Windows Messenger for more information.]

Signs the current client user out of all Messenger services.

Note

The Logoff method is available for use in Windows Messenger 4.7. It might be altered or unavailable in subsequent versions of Windows Messenger. You should use Signout instead.

Syntax

HRESULT Logoff();

Parameters

This method has no parameters.

Return value

Type: HRESULT

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

Requirements

End of client support
Windows XP
End of server support
Windows Server 2003
Header
Mdisp.h
IDL
Mdisp.idl
DLL
Msmsgs.exe