ContactStatus notification

Notifies the IM client application some user's presence status from the Contact List and/or group contacts has been changed. ContactStatus is sent in the form of a NOTIFY_SERVER_MESSAGE message.

ContactStatus = wParam ContactStructPtr = lParam

Parameters

ContactStructPtr
Pointer to a variable of ContactStruct type that contains information on the contact's presense status.

In order to retrieve information and fill out the variable from the given pointer use the following code:


Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (ByVal dest As Any, ByVal source As Any, ByVal Bytes As Long)

Dim ptr As Long
Dim contact As ContactStruct

ptr = VarPtr(contact)
Call CopyMemory(ptr, lParam, Len(contact))

Return Value

The return value is ignored.