Jinoh Kang (@iamahuman) commented about dlls/comdlg32/itemdlg.c:
static HRESULT create_dialog(FileDialogImpl *This, HWND parent) { INT_PTR res;
- ULONG_PTR actctx_cookie = 0;
- GetCurrentActCtx(&This->user_actctx);
In case of nested `Show()` calls, you should either:
1. Fail with `E_UNEXPECTED`, or 2. Backup the previous `user_actctx` value before calling `GetCurrentActCtx`.