mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-15 02:15:46 -04:00
dep: Update RAInterface
This commit is contained in:
@ -72,6 +72,21 @@ extern HMENU RA_CreatePopupMenu(void);
|
||||
#define IDM_RA_MENUSTART 1700
|
||||
#define IDM_RA_MENUEND 1739
|
||||
|
||||
typedef struct RA_MenuItem
|
||||
{
|
||||
LPCWSTR sLabel;
|
||||
LPARAM nID;
|
||||
int bChecked;
|
||||
} RA_MenuItem;
|
||||
|
||||
/**
|
||||
* Gets items for building a popup menu.
|
||||
*
|
||||
* @param pItems Pre-allocated array to populate [should contain space for at least 32 items]
|
||||
* @return Number of items populated in the items array
|
||||
*/
|
||||
extern int RA_GetPopupMenuItems(RA_MenuItem *pItems);
|
||||
|
||||
/**
|
||||
* Called when a menu item in the popup menu is selected.
|
||||
*
|
||||
@ -127,6 +142,9 @@ typedef void (RA_WriteMemoryFunc)(unsigned int nAddress, unsigned char nValue);
|
||||
*/
|
||||
extern void RA_InstallMemoryBank(int nBankID, RA_ReadMemoryFunc pReader, RA_WriteMemoryFunc pWriter, int nBankSize);
|
||||
|
||||
typedef unsigned int (RA_ReadMemoryBlockFunc)(unsigned int nAddress, unsigned char* pBuffer, unsigned int nBytes);
|
||||
extern void RA_InstallMemoryBankBlockReader(int nBankID, RA_ReadMemoryBlockFunc pReader);
|
||||
|
||||
/**
|
||||
* Deinitializes and unloads the DLL.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user