// Display XStatus detail (internal use only) // wParam=(WPARAM)hContact; #define MS_XSTATUS_SHOWDETAILS "/ShowXStatusDetails" //received Custom Status details response //hProcess=dwSequence //lParam=0 #define ACKTYPE_XSTATUS_RESPONSE 1006 /* Custom Status helper API * - to set custom status message & title use PS_ICQ_GETCUSTOMSTATUS to obtain DB settings and write values to them (UTF-8 strings best). - custom messages for each user supported - ME_ICQ_STATUSMSGREQ with type MTYPE_SCRIPT_NOTIFY */ // Sets owner current custom status //wParam = (int)N // custom status id (1-32) //lParam = 0 //return = N (id of status set) or 0 (failed - probably bad params) #define PS_SETCUSTOMSTATUS "/SetXStatus" // Retrieves specified custom status icon //wParam = (int)N // custom status id (1-32), 0 = my current custom status //lParam = 0 //return = HICON // custom status icon (use DestroyIcon to release resources) #define PS_GETCUSTOMSTATUSICON "/GetXStatusIcon" // Get Custom status DB field names & current owner custom status //wParam = (char**)szDBTitle // will receive title DB setting name (do not free) //lParam = (char**)szDBMsg // will receive message DB setting name //return = N // current custom status id if successful, 0 otherwise #define PS_GETCUSTOMSTATUS "/GetXStatus" // Request Custom status details (messages) for specified contact //wParam = hContact // request custom status details for this contact //lParam = 0 //return = (int)dwSequence // if successful it is sequence for ICQACKTYPE_XSTATUS_RESPONSE // 0 failed to request (e.g. auto-request enabled) // -1 delayed (rate control) - sequence unknown #define PS_REQUESTCUSTOMSTATUS "/RequestXStatusDetails"