mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-23 11:17:03 -04:00
[loc] add language selection menu
This commit is contained in:
parent
92abacad62
commit
df44b26342
10 changed files with 215 additions and 136 deletions
|
@ -291,6 +291,18 @@ static __inline BOOL SetDlgItemTextU(HWND hDlg, int nIDDlgItem, const char* lpSt
|
|||
return ret;
|
||||
}
|
||||
|
||||
static __inline BOOL InsertMenuU(HMENU hMenu, UINT uPosition, UINT uFlags, UINT_PTR uIDNewItem, const char* lpNewItem)
|
||||
{
|
||||
BOOL ret = FALSE;
|
||||
DWORD err = ERROR_INVALID_DATA;
|
||||
wconvert(lpNewItem);
|
||||
ret = InsertMenuW(hMenu, uPosition, uFlags, uIDNewItem, wlpNewItem);
|
||||
err = GetLastError();
|
||||
wfree(lpNewItem);
|
||||
SetLastError(err);
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __inline int ComboBox_GetLBTextU(HWND hCtrl, int index, char* lpString)
|
||||
{
|
||||
int size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue