[OnMyPropertyChange is no longer available in Windows Vista. See Windows Messenger for more information.]
Indicates that an uncategorized element of the local client's property information has been changed or that a change was attempted.
void OnMyPropertyChange( [in] LONG hr, [in] MCONTACTPROPERTY ePropType, [in] VARIANT vPropVal );
- hr [in]
Success or error code as a LONG.
Note An error result for hr might result in all other event parameters being meaningless, NULL, or otherwise invalid. Always check for a successful hr before attempting to use the other event parameters.
- ePropType [in]
A value in the MCONTACTPROPERTY enumeration.
- vPropVal [in]
A VARIANT that contains the current client user's new property information.
Return ValueThis event does not return a value.
The Windows MessengerÃ?Â API does not have a method to put or set the client's property information. This event fires only if the friendly name is changed through internal APIs or user action on the UI. To get the current client user properties, establish a MessengerContact object that corresponds to the current client user and call Property on that object.
This method exists primarily for as yet undefined properties. The current properties (Phone and FriendlyName ) have get_ methods for accessing the property in the Messenger object and their own specific change events.
To be used when writing custom ::Invoke methods to handle these events.
Note This event is available for scripting languages.
Minimum supported client
|Windows 2000 Professional, Windows XP|
Minimum supported server
|Windows Server 2003|
Build date: 6/30/2010