mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-26 20:50:44 +00:00
Rebases onto origin/main and retires the paused in-tree native-first workspace, legacy scripts, legacy CI, and native-only docs per ADR 0006 (preserving full history permanently at Git tag native-first-final). Addresses all maintainer review findings on PR #406: - Isolate CrossOver/Wine child process environment in bx-cli (env_clear + minimal allowlist + opt-in --inherit-env, with unit tests) - Replace naive objdump grep in scripts/build-shims.sh with strict PE Export Directory verification (exact names, ordinals, forwarders, 0 extra exports, 0 forbidden MinGW imports across all 16 DLLs / 102 exports) - Restore global * @MacosPorters/maintainers fallback in .github/CODEOWNERS alongside per-track rules - Restore independent-verification, claims/evidence-class, provenance-first, and contributor clean-room protections in AGENTS.md - Unify docs/roadmap.md, CONTRIBUTING.md, README.md, docs/README.md, THIRD_PARTY_NOTICES.md, and CHANGELOG.md around Milestones M0-M6 and ADR 0006 Signed-off-by: ates <ahmetrizaates@hotmail.com>
33 lines
690 B
C++
33 lines
690 B
C++
#include <windows.h>
|
|
#include <cstdint>
|
|
|
|
#include "bx_log.h"
|
|
|
|
/* Track E (M1-E2 / M5): xapu.dll APU command queue shim. */
|
|
|
|
extern "C" {
|
|
|
|
HRESULT WINAPI XApuConnect(void** out_conn) {
|
|
BX_STUB_LOG("xapu.dll", "XApuConnect");
|
|
if (out_conn) *out_conn = reinterpret_cast<void*>(0x4001);
|
|
return S_OK;
|
|
}
|
|
|
|
HRESULT WINAPI XApuDisconnect(void* /*conn*/) {
|
|
return S_OK;
|
|
}
|
|
|
|
HRESULT WINAPI XApuEnqueueCommand(void* /*conn*/, const void* /*cmd*/, uint32_t /*size*/) {
|
|
return S_OK;
|
|
}
|
|
|
|
HRESULT WINAPI XApuDequeueResult(void* /*conn*/, void* /*out_res*/, uint32_t /*size*/) {
|
|
return S_FALSE;
|
|
}
|
|
|
|
uint32_t WINAPI XApuGetResultCount(void* /*conn*/) {
|
|
return 0u;
|
|
}
|
|
|
|
} // extern "C"
|