首页
/ 26100.4946.69

26100.4946.69

2026-02-04 04:20:18作者:廉皓灿Ida

26100.4946.69

  • Reduced the occurrences of the Windows 11 bug in Explorer windows where WM_SETTINGCHANGE would scroll the folder items list to the top. (fa19402b)

### 2. 验证修复效果

1. 打开资源管理器并导航至包含多个文件的目录
2. 向下滚动至中间位置
3. 插入USB设备或连接外部硬盘
4. 观察窗口是否保持在原滚动位置

## 技术细节:代码架构与模块交互

修复涉及的核心模块包括:

- **消息处理模块**:[ExplorerPatcher/dllmain.c](https://gitcode.com/GitHub_Trending/ex/ExplorerPatcher/blob/47b44ccc45b11ce7aebea9ad893c0766b9de6afd/ExplorerPatcher/dllmain.c?utm_source=gitcode_repo_files) 中的窗口过程函数
- **设置监控模块**:[ExplorerPatcher/SettingsMonitor.c](https://gitcode.com/GitHub_Trending/ex/ExplorerPatcher/blob/47b44ccc45b11ce7aebea9ad893c0766b9de6afd/ExplorerPatcher/SettingsMonitor.c?utm_source=gitcode_repo_files) 负责跟踪系统配置变更
- **界面控制模块**:ExplorerPatcher/TaskbarCenter.c 处理窗口位置恢复逻辑

模块间通过临界区(Critical Section)同步数据访问,确保滚动位置在多线程环境下的准确性:

```c
CRITICAL_SECTION scrollLock;
InitializeCriticalSection(&scrollLock);

EnterCriticalSection(&scrollLock);
// 操作滚动位置
LeaveCriticalSection(&scrollLock);
登录后查看全文
热门项目推荐
相关项目推荐