Skip to content

rc_client_raintegration_rebuild_submenu

Jamiras edited this page Feb 22, 2024 · 1 revision

Populates or updates a Windows menu object for the raintegration menu items returned by rc_client_raintegration_get_menu.

Syntax

void rc_client_raintegration_rebuild_submenu(
    rc_client_t* client,
    HMENU hMenu
);

Parameters

client

The rc_client_t managing the RA integration.

hMenu

The handle of the parent menu or menu bar to add the submenu to.

Remarks

A "&RetroAchievements" menu item will be appended to the parent menu unless an "&RetroAchievements" menu item already exists, in which case that item will be replaced. If you want to place the "&RetroAchievements" menu at a specific location in the parent menu, create a placeholder with the text "&RetroAchievements" and it will be replaced.

Minimum version: 11.2.0

See also

rc_client_raintegration_activate_menu_item

rc_client_raintegration_get_menu

rc_client_raintegration_update_menu_item

rcheevos

rc_client

Integration guide

client

user

game

processing

rc_client_raintegration

Integration guide

rc_runtime

rhash

rapi

common

user

runtime

info

Clone this wiki locally