diff options
Diffstat (limited to 'include/m_popup.h')
-rw-r--r-- | include/m_popup.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/m_popup.h b/include/m_popup.h index 9109dd33bb..72f3d11b62 100644 --- a/include/m_popup.h +++ b/include/m_popup.h @@ -32,7 +32,7 @@ mi.position = 0; //You don't need it and it's better if you put it to zero. // Extended popup data
typedef struct
{
- HANDLE lchContact;
+ HCONTACT lchContact;
HICON lchIcon;
union
{
@@ -55,7 +55,7 @@ typedef struct // Unicode version of POPUPDATA
typedef struct
{
- HANDLE lchContact;
+ HCONTACT lchContact;
HICON lchIcon;
union
{
@@ -130,8 +130,9 @@ lParam = 0; Returns: the HANDLE of the contact. Can return NULL, meaning it's the main contact. -1 means failure.
*/
#define MS_POPUP_GETCONTACT "Popup/GetContact"
-static HANDLE __inline PUGetContact(HWND hPopupWindow) {
- return (HANDLE)CallService(MS_POPUP_GETCONTACT, (WPARAM)hPopupWindow, 0);
+static HCONTACT __inline PUGetContact(HWND hPopupWindow)
+{
+ return (HCONTACT)CallService(MS_POPUP_GETCONTACT, (WPARAM)hPopupWindow, 0);
}
/* Popup/GetPluginData
@@ -374,7 +375,7 @@ typedef struct { const TCHAR *ptszText;
};
void *PluginData;
- HANDLE hContact;
+ HCONTACT hContact;
} POPUPDATACLASS;
// wParam = 0
|