win32api/doc.go
starainrt 0f82ba044b
修正 Win32 封装语义并补齐关键结构体/进程测试覆盖
- 修正 WTS 会话相关类型、枚举与活动会话选择逻辑
- 对齐 FILE_ID_DESCRIPTOR 布局与 FILE_ID_TYPE 语义,修复 OpenFileById 调用前提
- 修正 user32/shell32/kernel32 部分 API 的返回值、参数个数与错误处理
- 完善剪贴板更新格式读取的缓冲区重试逻辑
- 补充常用进程、线程、调试、桌面与会话 helper
- 增加结构体布局、会话查询、剪贴板、CreateProcess 等回归测试
- 将默认 CreateProcess 相关测试切到 helper 进程,并保留显式开启的 cmd.exe 集成覆盖
2026-06-06 17:46:02 +08:00

12 lines
621 B
Go

// Package win32api provides thin Win32 API wrappers for Go on Windows.
//
// The package keeps the exported shape close to the native APIs:
// strings are accepted as Go strings where practical, handles and structs are
// kept explicit, and higher-level helpers are added only for common workflows
// such as session, adapter, process, thread, and module enumeration.
//
// Current coverage focuses on the parts used by the surrounding projects:
// process and token control, file and memory operations, sessions and desktop
// access, window helpers, socket/network helpers, and basic debug workflows.
package win32api