IMessengerWindow::Property Property

Deprecated. Sets or retrieves the conversation window properties.

Syntax

HRESULT IMessengerWindow::get_Property(MWINDOWPROPERTY ePropType, VARIANT *pvPropVal);
HRESULT IMessengerWindow::put_Property(MWINDOWPROPERTY ePropType, VARIANT vPropVal);

Parameters

  • ePropType
    MWINDOWPROPERTY constant value.
  • pvPropVal
    A pointer to a VARIANT that contains the property value. (Variant type differs depending on the property being set or retrieved.)
  • ePropType
    MWINDOWPROPERTY constant value.
  • vPropVal
    A VARIANT used to set the property value. (Variant type differs depending on the property being set or retrieved.)

Return Value

Returns one of the following values: 

S_OK The property value has been set successfully.
RPC_X_NULL_REF_POINTER pvPropVal is a NULL pointer.
E_INVALIDARG ePropType is out of range.
S_FALSE The method was used twice with the same values.
E_NOTIMPL Attempted to use the method on the Phone window or main application window.

Remarks

Note  The get_Property property is available for scripting languages; put_Property is not.

Important  IMessengerWindow::Property is no longer available in Windows Vista. See Windows Messenger for more information.