IMsgrObject::LocalState Property

Deprecated. Sets or retrieves the connection state of the local client user in the primary service.

Note  The IMsgrObject::LocalState property is available for use in Microsoft Windows Messenger 4.7. It might be altered or unavailable in subsequent versions of Windows Messenger. You should use IMessenger::MyStatus instead.

Syntax

HRESULT IMsgrObject::get_LocalState(MSTATE *pmState);
HRESULT IMsgrObject::put_LocalState(MSTATE mState);

Parameters

  • pmState
    Pointer to a variable of type MSTATE that receives the current state for the local client.
  • mState
    MSTATE that specifies the current state for the local client.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Important  IMsgrObject::LocalState is no longer available in Windows Vista. See Windows Messenger for more information.