{"id":13804602,"url":"https://github.com/mjblack/win32cr","last_synced_at":"2025-10-20T06:21:58.786Z","repository":{"id":170487966,"uuid":"643733966","full_name":"mjblack/win32cr","owner":"mjblack","description":"Crystal library for Win32 API","archived":false,"fork":false,"pushed_at":"2025-02-11T13:54:18.000Z","size":21136,"stargazers_count":17,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-31T00:03:53.277Z","etag":null,"topics":["crystal","crystal-lang","crystal-language","crystal-shard","win32","win32api","windows"],"latest_commit_sha":null,"homepage":"","language":"Crystal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mjblack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-22T03:32:20.000Z","updated_at":"2025-03-22T02:22:38.000Z","dependencies_parsed_at":"2024-06-21T16:48:13.624Z","dependency_job_id":"dd5b238b-789a-4b83-907b-b35639d90612","html_url":"https://github.com/mjblack/win32cr","commit_stats":null,"previous_names":["mjblack/win32cr"],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjblack%2Fwin32cr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjblack%2Fwin32cr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjblack%2Fwin32cr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjblack%2Fwin32cr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mjblack","download_url":"https://codeload.github.com/mjblack/win32cr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252582290,"owners_count":21771643,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["crystal","crystal-lang","crystal-language","crystal-shard","win32","win32api","windows"],"created_at":"2024-08-04T01:00:51.051Z","updated_at":"2025-10-20T06:21:53.733Z","avatar_url":"https://github.com/mjblack.png","language":"Crystal","funding_links":[],"categories":["C bindings"],"sub_categories":[],"readme":"# win32cr\n\n[![CI](https://github.com/mjblack/win32cr/actions/workflows/crystal.yml/badge.svg)](https://github.com/mjblack/win32cr/actions/workflows/crystal.yml) [![Crystal Latest CI](https://github.com/mjblack/win32cr/actions/workflows/crystal_latest.yml/badge.svg)](https://github.com/mjblack/win32cr/actions/workflows/crystal_latest.yml)\n\nWin32 library bindings generated by [mjblack/winmd](https://github.com/mjblack/winmd) using [marlersoft/win32json](https://github.com/marlersoft/win32json).\n\n## Installation\n\nAdd this to your application's `shard.yml`:\n\n```yaml\ndependencies:\n  win32cr:\n    github: mjblack/win32cr\n```\n\nBuild WinMD by executing the script `build.ps1` in the location where the shard `win32cr` is installed.\n\n```\nC:\\Projects\\SomeCrystalApp\\lib\\win32cr\u003e \u0026 .\\build.ps1\n```\n\n## Usage\n\nFor more examples, please see the [examples](https://github.com/mjblack/win32cr/tree/master/examples) directory.\n\n```crystal\nrequire \"win32cr\"\nrequire \"win32cr/ui/windows_and_messaging\"\n\nalias WM = Win32cr::UI::WindowsAndMessaging # Simplifies code\nWM.messageBoxW(Pointer(Void).null, pwstr(\"Message Box Body\"), pwstr(\"Title\"), WM::MESSAGEBOX_STYLE::MB_OK)\n```\n\n## Contributing\n\n1. Fork it (\u003chttps://github.com/mjblack/win32cr/fork\u003e)\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n## Contributors\n\n- [Matthew J. Black](https://github.com/mjblack) - creator and maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjblack%2Fwin32cr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmjblack%2Fwin32cr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjblack%2Fwin32cr/lists"}