mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-20 18:05:21 -04:00
[efi] add RISC-V support
* Also fix Coverity warnings
This commit is contained in:
parent
34b1d8a3ca
commit
6f5ea5f88f
7 changed files with 42 additions and 18 deletions
2
src/ui.c
2
src/ui.c
|
@ -76,7 +76,7 @@ void SetAccessibleName(HWND hCtrl, const char* name)
|
|||
|
||||
SetWindowTextW(hCtrl, wname);
|
||||
if (pfaps == NULL)
|
||||
CoCreateInstance(&CLSID_AccPropServices, NULL, CLSCTX_INPROC, &IID_IAccPropServices, (LPVOID)&pfaps);
|
||||
IGNORE_RETVAL(CoCreateInstance(&CLSID_AccPropServices, NULL, CLSCTX_INPROC, &IID_IAccPropServices, (LPVOID)&pfaps));
|
||||
if (pfaps != NULL) {
|
||||
IAccPropServices_ClearHwndProps(pfaps, hCtrl, OBJID_CLIENT, CHILDID_SELF, props, ARRAYSIZE(props));
|
||||
IAccPropServices_SetHwndPropStr(pfaps, hCtrl, OBJID_CLIENT, CHILDID_SELF, Name_Property_GUID, wname);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue