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/Library/ml_online/commands.h

29 lines
1.1 KiB
C
Raw Normal View History

2024-09-24 12:54:57 +00:00
#ifndef NULLOSFT_ONLINEMEDIA_PLUGIN_COMMANDS_HEADER
#define NULLOSFT_ONLINEMEDIA_PLUGIN_COMMANDS_HEADER
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
#include <wtypes.h>
class ifc_omservice;
// returns TRUE if command was handled (fSuccess will have result code if not NULL).
HRESULT Command_NavigateService(ifc_omservice *service, LPCWSTR pszUrl, BOOL fActiveOnly);
BOOL Command_ProcessService(HWND hView, ifc_omservice *service, INT commandId, BOOL *fSuccess);
BOOL Command_ProcessView(HWND hView, INT commandId, BOOL *fSuccess);
BOOL Command_ProcessGeneral(INT commandId, BOOL *fSuccess);
BOOL Command_ReportService(ifc_omservice *service);
BOOL Command_UnsubscribeService(ifc_omservice *service);
BOOL Command_ShowServiceInfo(ifc_omservice *service);
BOOL Command_ResetServicePolicy(ifc_omservice *service);
BOOL Command_ResetSubscription();
BOOL Command_SetServiceRating(ifc_omservice *service, INT rating);
HRESULT Command_CreateService(void);
BOOL Command_OpenServiceView(ifc_omservice *service);
BOOL Command_OpenServicePopup(ifc_omservice *service);
#endif //NULLOSFT_ONLINEMEDIA_PLUGIN_COMMANDS_HEADER