Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/Plugins/General/gen_ml/menu.cpp

20 lines
604 B
C++
Raw Permalink Normal View History

2024-09-24 12:54:57 +00:00
#include "menu.h"
INT Menu_TrackPopupParam(HWND library, HMENU hMenu, UINT fuFlags, INT x, INT y, HWND hwnd, LPTPMPARAMS lptpm, ULONG_PTR param)
{
if ( hMenu == NULL )
return NULL;
MLSKINNEDPOPUP popup = {0};
popup.cbSize = sizeof(MLSKINNEDPOPUP);
popup.hmenu = hMenu;
popup.fuFlags = fuFlags;
popup.x = x;
popup.y = y;
popup.hwnd = hwnd;
popup.lptpm = lptpm;
popup.skinStyle = SMS_USESKINFONT;
popup.customParam = param;
return (INT)SENDMLIPC( library, ML_IPC_TRACKSKINNEDPOPUPEX, &popup );
}