summaryrefslogtreecommitdiff
path: root/plugins/ListeningTo
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-02 14:11:01 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-02 14:11:01 +0000
commit75b1ff75c42644eb36552762652e4b0c9ff071bc (patch)
tree238f026ef373d30a395846f38c302a81961b14ac /plugins/ListeningTo
parent2caba72d51b09368801f23dd8951d589ab4dc809 (diff)
final switch to the typed icolib api
git-svn-id: http://svn.miranda-ng.org/main/trunk@2152 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ListeningTo')
-rw-r--r--plugins/ListeningTo/src/listeningto.cpp2
-rw-r--r--plugins/ListeningTo/src/players/wa_ipc.h2
-rw-r--r--plugins/ListeningTo/src/players/winamp_mlt/wa_ipc.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/ListeningTo/src/listeningto.cpp b/plugins/ListeningTo/src/listeningto.cpp
index f8fa9e701c..6f0d89f20e 100644
--- a/plugins/ListeningTo/src/listeningto.cpp
+++ b/plugins/ListeningTo/src/listeningto.cpp
@@ -893,7 +893,7 @@ void SetListeningInfos(LISTENINGTOINFO *lti)
if (fr) info = mir_t2a(fr);
}
- NotifyEventHooks(hListeningInfoChangedEvent, (WPARAM)info, (LPARAM)NULL);
+ NotifyEventHooks(hListeningInfoChangedEvent, (WPARAM)info, 0);
if (lti) {
if (fr) mir_free(fr);
diff --git a/plugins/ListeningTo/src/players/wa_ipc.h b/plugins/ListeningTo/src/players/wa_ipc.h
index 60765736b9..a21b0eccac 100644
--- a/plugins/ListeningTo/src/players/wa_ipc.h
+++ b/plugins/ListeningTo/src/players/wa_ipc.h
@@ -429,7 +429,7 @@ do not use :)
#define IPC_GET_HMENU 281
/* (requires Winamp 2.9+)
-** HMENU hMenu=SendMessage(hwnd_winamp,WM_WA_IPC,(WPARAM)0,IPC_GET_HMENU);
+** HMENU hMenu=SendMessage(hwnd_winamp,WM_WA_IPC,0,IPC_GET_HMENU);
** values for data:
** 0 : main popup menu
** 1 : main menubar file menu
diff --git a/plugins/ListeningTo/src/players/winamp_mlt/wa_ipc.h b/plugins/ListeningTo/src/players/winamp_mlt/wa_ipc.h
index 73082908c0..0c6c16d39e 100644
--- a/plugins/ListeningTo/src/players/winamp_mlt/wa_ipc.h
+++ b/plugins/ListeningTo/src/players/winamp_mlt/wa_ipc.h
@@ -588,7 +588,7 @@ typedef struct {
#define IPC_GET_HMENU 281
/* (requires Winamp 2.9+)
-** HMENU hMenu=SendMessage(hwnd_winamp,WM_WA_IPC,(WPARAM)0,IPC_GET_HMENU);
+** HMENU hMenu=SendMessage(hwnd_winamp,WM_WA_IPC,0,IPC_GET_HMENU);
** values for data:
** 0 : main popup menu
** 1 : main menubar file menu
@@ -974,7 +974,7 @@ typedef struct _prefsDlgRecW {
#define IPC_GETDIALOGBOXPARENT 365
/* (requires Winamp 5.51+)
-** HWND hwndParent = SendMessage(hwnd_winamp,WM_WA_IPC,(WPARAM)0, IPC_GETDIALOGBOXPARENT);
+** HWND hwndParent = SendMessage(hwnd_winamp,WM_WA_IPC,0, IPC_GETDIALOGBOXPARENT);
** hwndParent can/must be passed to all modal dialogs (including MessageBox) thats uses winamp as a parent
*/