{"id":20607213,"url":"https://github.com/liamriddell/wpf-d3d9-hook","last_synced_at":"2026-04-20T19:05:01.141Z","repository":{"id":185356417,"uuid":"387793992","full_name":"LiamRiddell/WPF-D3D9-Hook","owner":"LiamRiddell","description":"A simple proof-of-concept hook for DirectX9 in WPF (Milcore)","archived":false,"fork":false,"pushed_at":"2022-07-29T09:15:35.000Z","size":728,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-06T17:21:32.174Z","etag":null,"topics":["cpp","csharp","directx9","milcore","wpf"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LiamRiddell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-07-20T13:02:47.000Z","updated_at":"2024-03-01T18:20:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"93853228-265b-4705-b726-e8fc018852e9","html_url":"https://github.com/LiamRiddell/WPF-D3D9-Hook","commit_stats":null,"previous_names":["liamriddell/wpf-d3d9-hook"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LiamRiddell/WPF-D3D9-Hook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiamRiddell%2FWPF-D3D9-Hook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiamRiddell%2FWPF-D3D9-Hook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiamRiddell%2FWPF-D3D9-Hook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiamRiddell%2FWPF-D3D9-Hook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LiamRiddell","download_url":"https://codeload.github.com/LiamRiddell/WPF-D3D9-Hook/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiamRiddell%2FWPF-D3D9-Hook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32061260,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","csharp","directx9","milcore","wpf"],"created_at":"2024-11-16T09:35:49.763Z","updated_at":"2026-04-20T19:05:01.124Z","avatar_url":"https://github.com/LiamRiddell.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WPF D3D9 Hook (Milcore)\n**WARNING: This is an experimental project which should not be used in production.**\n\nThis is a research project on how DirectX interfaces with WPF (Milcore) under the hood. The project does not really serve any function. However, it's a proof of concept on how DirectX 9 can be hooked to render ontop of native WPF components.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"static/example.png\"/\u003e\n\u003c/p\u003e\n\n## DirectX 9 in Milcore\nThe example shows that Milcore handles DirectX in a really efficient way but not constantly rendering. My research suggests that `IDirect3DDevice9::EndScene` is only called when the state changes and it only updates the region of the screen the control bounds resides in.\n\n## Credits\n- [Minhook](https://github.com/TsudaKageyu/minhook)\n- [ImGui](https://github.com/ocornut/imgui)\n- Pattern Scanner (Credits to original owner)\n\n## License\nMIT License\n\nCopyright (c) 2020 Liam Riddell\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliamriddell%2Fwpf-d3d9-hook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliamriddell%2Fwpf-d3d9-hook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliamriddell%2Fwpf-d3d9-hook/lists"}