summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI/m_nconvers.h
blob: 873d2368c4e35266f788d99ea768df60c8b869ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef __m_nconvers_h__
#define __m_nconvers_h__

//replace smiley tags in a rich edit control... 
//wParam = (WPARAM) 0; not used
//lParam = (LPARAM) (NCONVERS_GETICON*) &ncgi;
//return: TRUE if found, FALSE if not

typedef struct 
{
  int cbSize;             // = sizeof(NCONVERS_GETSMILEY)
  char* Protocolname;     // NULL means 'default'
  char* SmileySequence;   // character string containing the smiley 
  HICON SmileyIcon;       // RETURN VALUE: this is filled with the icon handle... 
                          // do not destroy!
  int Smileylength;       //l ength of the smiley that is found.
} NCONVERS_GETICON;

#define MS_NCONVERS_GETSMILEYICON "nConvers/GetSmileyIcon"


#endif // __m_nconvers_h__