Files
BuildTools
Qt
Src
Agave
Components
Elevator
Mastering
Plugins
ReplayGainAnalysis
WAT
Wasabi
Wasabi2
Winamp
aacPlus
aacdec
aacdec-mft
adpcm
alac
albumart
apev2
auth
bmp
burnlib
codesign
config
devices
external_dependencies
f263
filereader
freetypewac
gif
gracenote
h264
h264dec
id3v2
ie_plugin
installer
jpeg
libvp6
libvpShared
mp3-mpg123
mp4v
mpeg4dec
nde
nprt_plugin
ns-eel
ns-eel2
nsavi
nsmkv
nsutil
nsv
nsvdec_vp3
nsvdec_vp5
nsvdec_vp6
nswasabi
nu
omBrowser
localization
resources
addressEncoder.cpp
addressEncoder.h
browser.cpp
browser.h
browserClass.cpp
browserClass.h
browserFactory.cpp
browserFactory.h
browserHost.cpp
browserHost.h
browserInternal.cpp
browserInternal.h
browserObject.cpp
browserObject.h
browserPopup.cpp
browserPopup.h
browserRegistry.cpp
browserRegistry.h
browserThread.cpp
browserThread.h
browserUiCommon.cpp
browserUiCommon.h
browserUiHook.cpp
browserUiHook.h
browserUiInternal.h
browserView.cpp
browserView.h
browserWndEnum.cpp
browserWndEnum.h
browserWndRecord.cpp
browserWndRecord.h
cacheDownloader.cpp
cacheDownloader.h
cacheGroup.cpp
cacheGroup.h
cacheManager.cpp
cacheManager.h
cacheRecord.cpp
cacheRecord.h
common.h
component.cpp
component.h
configIni.cpp
configIni.h
curtain.cpp
curtain.h
enumAsync.cpp
enumAsync.h
enumIniFile.cpp
enumIniFile.h
enumXmlBuffer.cpp
enumXmlBuffer.h
enumXmlFile.cpp
enumXmlFile.h
errorPages.rc
flagTracker.cpp
flagTracker.h
graphics.cpp
graphics.h
graphicsObject.cpp
graphicsObject.h
ieversion.cpp
ieversion.h
ifc_imageloader.h
ifc_menucustomizer.h
ifc_mlnavigationcallback.h
ifc_mlnavigationhelper.h
ifc_ombrowserclass.h
ifc_ombrowserconfig.h
ifc_ombrowserevent.h
ifc_ombrowsereventmngr.h
ifc_ombrowserregistry.h
ifc_ombrowserwndenum.h
ifc_ombrowserwndmngr.h
ifc_omcachecallback.h
ifc_omcachegroup.h
ifc_omcachemanager.h
ifc_omcacherecord.h
ifc_omconfig.h
ifc_omconfigcallback.h
ifc_omdebugconfig.h
ifc_omfilestorage.h
ifc_omgraphics.h
ifc_omservice.h
ifc_omservicecommand.h
ifc_omservicecopier.h
ifc_omservicedetails.h
ifc_omserviceeditor.h
ifc_omserviceenum.h
ifc_omserviceevent.h
ifc_omserviceeventmngr.h
ifc_omservicehost.h
ifc_omservicehostext.h
ifc_omservicemanager.h
ifc_omstatusbarconfig.h
ifc_omstorage.h
ifc_omstorageasync.h
ifc_omstorageenum.h
ifc_omstorageext.h
ifc_omstoragehandler.h
ifc_omstoragehandlerenum.h
ifc_omstoragehelper.h
ifc_omtoolbarconfig.h
ifc_omutility.h
ifc_omwebstorage.h
ifc_omxmlserviceenum.h
ifc_skinhelper.h
ifc_skinnedbrowser.h
ifc_skinnedmenu.h
ifc_skinnedrating.h
ifc_travelloghelper.h
ifc_wasabihelper.h
ifc_winamphook.h
internetFeatures.cpp
internetFeatures.h
loaderIni.cpp
loaderIni.h
main.cpp
main.h
menu.cpp
menu.h
mlNavigationHelper.cpp
mlNavigationHelper.h
obj_ombrowser.h
omBrowser.rc
omBrowser.sln
omBrowser.vcxproj
omBrowser.vcxproj.filters
options.cpp
options.h
optionsDebug.cpp
optionsHook.cpp
optionsHook.h
optionsInfo.cpp
optionsUi.cpp
png.rc
pngLoader.cpp
pngLoader.h
ratingMenu.cpp
ratingMenu.h
ratingMenuCustomizer.cpp
ratingMenuCustomizer.h
resource.h
service.cpp
service.h
serviceDetails.cpp
serviceDispatch.cpp
serviceEditor.cpp
serviceEventMngr.cpp
serviceFactory.cpp
serviceFactory.h
serviceList.cpp
serviceList.h
serviceManager.cpp
serviceManager.h
skinHelper.cpp
skinHelper.h
statusbar.cpp
statusbar.h
storageDwnld.cpp
storageDwnld.h
storageEnum.cpp
storageEnum.h
storageHandler.cpp
storageHandler.h
storageHandlerEnum.cpp
storageHandlerEnum.h
storageHelper.cpp
storageHelper.h
storageIni.cpp
storageIni.h
storageUrl.cpp
storageUrl.h
storageXml.cpp
storageXml.h
stringBuilder.cpp
stringBuilder.h
toolbar.cpp
toolbar.h
toolbarAddress.cpp
toolbarAddress.h
toolbarButton.cpp
toolbarButton.h
toolbarEditbox.cpp
toolbarEditbox.h
toolbarItem.cpp
toolbarItem.h
toolbarProgress.cpp
toolbarProgress.h
toolbarRating.cpp
toolbarRating.h
toolbarStatic.cpp
toolbarStatic.h
travelLogHelper.cpp
travelLogHelper.h
utility.cpp
utility.h
utilityFactory.cpp
utilityFactory.h
version.rc2
wasabiHelper.cpp
wasabiHelper.h
winampHook.cpp
winampHook.h
xmlResponseParser.cpp
xmlResponseParser.h
xmlServiceParser.cpp
xmlServiceParser.h
pcm
pfc
playlist
plist
png
replicant
resources
tagz
tataki
theora
timer
vlb
vp32
vp6
vp8x
wbm
winampAll
winampa
xml
xspf
vcpkg-ports
.gitignore
LICENSE.md
README.md
automate-git.py
cef_x86.bat
install-packages.cmd
vcpkg_version_finder.py
winampAll_2019.sln
winamp/Src/omBrowser/ifc_menucustomizer.h
2024-09-24 14:54:57 +02:00

60 lines
1.4 KiB
C++

#ifndef NULLSOFT_WINAMP_MENU_CUSTOMIZER_INTERFACE_HEADER
#define NULLSOFT_WINAMP_MENU_CUSTOMIZER_INTERFACE_HEADER
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
// {780C1929-76FD-4a06-934B-C85CC285A4DE}
static const GUID IFC_MenuCustomizer =
{ 0x780c1929, 0x76fd, 0x4a06, { 0x93, 0x4b, 0xc8, 0x5c, 0xc2, 0x85, 0xa4, 0xde } };
#include "main.h"
#include <bfc/dispatch.h>
typedef LPVOID HMLIMGLST;
class __declspec(novtable) ifc_menucustomizer : public Dispatchable
{
protected:
ifc_menucustomizer() {}
~ifc_menucustomizer() {}
public:
HMLIMGLST GetImageList(void);
UINT GetSkinStyle(void);
HRESULT GetWidth(INT *widthOut);
INT CustomDraw(HMENU menuInstance, INT action, HDC hdc, LPARAM param);
public:
DISPATCH_CODES
{
API_GETIMAGELIST = 10,
API_GETSKINSTYLE = 20,
API_GETWIDTH = 30,
API_CUSTOMDRAW = 40,
};
};
inline HMLIMGLST ifc_menucustomizer::GetImageList(void)
{
return _call(API_GETIMAGELIST, (HMLIMGLST)NULL);
}
inline UINT ifc_menucustomizer::GetSkinStyle(void)
{
return (UINT)_call(API_GETSKINSTYLE, (UINT)/*SMS_USESKINFONT*/0x00000001);
}
inline HRESULT ifc_menucustomizer::GetWidth(INT *widthOut)
{
return _call(API_GETWIDTH, (HRESULT)E_NOTIMPL, widthOut);
}
inline INT ifc_menucustomizer::CustomDraw(HMENU menuInstance, INT action, HDC hdc, LPARAM param)
{
return _call(API_CUSTOMDRAW, (INT)FALSE, menuInstance, action, hdc, param);
}
#endif // NULLSOFT_WINAMP_MENU_CUSTOMIZER_INTERFACE_HEADER