From: cnc1202 on
I want to customize the volume program on smartphone, but I have
tried several way to customize volume program still not working.
I try to call SHNotificationAdd to replace the default volume. Below
is code segment.

ZeroMemory(&m_pSHNOTIFICATIONDATA, sizeof (m_pSHNOTIFICATIONDATA));
m_pSHNOTIFICATIONDATA.cbStruct =
sizeof(SHNOTIFICATIONDATA);
m_pSHNOTIFICATIONDATA.dwID = OEMNOTIF_ID_I;
m_pSHNOTIFICATIONDATA.clsid =
CLSID_SHNAPI_OemNotif1;
m_pSHNOTIFICATIONDATA.npPriority = SHNP_INFORM;
m_pSHNOTIFICATIONDATA.csDuration = INFINITE;
m_pSHNOTIFICATIONDATA.pszTitle =
(LPCTSTR)TEXT("Custom");
m_pSHNOTIFICATIONDATA.pszHTML = (LPCTSTR)TEXT(" ");
m_pSHNOTIFICATIONDATA.hicon = LoadIcon(this-
>hInstance, MAKEINTRESOURCE(IDI_SOUND_ON));
m_pSHNOTIFICATIONDATA.grfFlags = SHNF_STRAIGHTTOTRAY
| SHNF_SILENT;
m_pSHNOTIFICATIONDATA.hwndSink = hWnd;

LRESULT1 = SHNotificationAdd(&m_pSHNOTIFICATIONDATA);

After add notify, i found the icon always on title bar and didnt
change with different mode.(SoundOn,Vibarte,SoundOff).
And my program can't receive WM_NOTIFY when i press Volume Up/Down
key.

Is there any other way to customize default volume program??
Any hint will be great appreciated!!!