{"id":30188196,"url":"https://github.com/aziascreations/pb-win32-getconsoleprocesslist","last_synced_at":"2026-02-08T22:32:23.114Z","repository":{"id":308053590,"uuid":"1031456843","full_name":"aziascreations/PB-Win32-GetConsoleProcessList","owner":"aziascreations","description":"PureBasic include for the Win32 GetConsoleProcessList function","archived":false,"fork":false,"pushed_at":"2025-08-03T20:17:38.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-12T16:52:37.154Z","etag":null,"topics":["getconsoleprocesslist","win32-api","win32api"],"latest_commit_sha":null,"homepage":"","language":"PureBasic","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aziascreations.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,"zenodo":null}},"created_at":"2025-08-03T19:24:33.000Z","updated_at":"2025-08-03T20:17:41.000Z","dependencies_parsed_at":"2025-08-03T22:21:14.196Z","dependency_job_id":null,"html_url":"https://github.com/aziascreations/PB-Win32-GetConsoleProcessList","commit_stats":null,"previous_names":["aziascreations/pb-win32-getconsoleprocesslist"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aziascreations/PB-Win32-GetConsoleProcessList","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aziascreations%2FPB-Win32-GetConsoleProcessList","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aziascreations%2FPB-Win32-GetConsoleProcessList/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aziascreations%2FPB-Win32-GetConsoleProcessList/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aziascreations%2FPB-Win32-GetConsoleProcessList/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aziascreations","download_url":"https://codeload.github.com/aziascreations/PB-Win32-GetConsoleProcessList/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aziascreations%2FPB-Win32-GetConsoleProcessList/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29247652,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T21:42:34.334Z","status":"ssl_error","status_checked_at":"2026-02-08T21:41:38.468Z","response_time":57,"last_error":"SSL_read: 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":["getconsoleprocesslist","win32-api","win32api"],"created_at":"2025-08-12T16:44:29.475Z","updated_at":"2026-02-08T22:32:23.097Z","avatar_url":"https://github.com/aziascreations.png","language":"PureBasic","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PB-Win32-GetConsoleProcessList\nInclude that provides a wrapper for the [GetConsoleProcessList](https://learn.microsoft.com/en-us/windows/console/getconsoleprocesslist)\nWin32 function that isn't available by default in PureBasic.\n\n\n## Usage\nTODO: Indicate how to clone and add as a sub-module.\n\n\n## Examples\nSome examples can be found in the [Examples/](Examples/) sub-folder.\n\nAlternatively, here is a shortened version of [Examples/IsProgramRunDirectly.pb](Examples/IsProgramRunDirectly.pb):\n```purebasic\nXIncludeFile \"../Includes/Win32_GetConsoleProcessList.pbi\"\n\nProcedure.b IsProgramRunDirectly()\n\t; Acts as a DWORD[2]\n\tDefine ProcessListBuffer.q\n\t\n\tProcedureReturn Bool(GetConsoleProcessList_(@ProcessListBuffer, 2) \u003c= 1)\nEndProcedure\n\nIf Not OpenConsole(\"Demo - IsProgramRunDirectly\")\n\tEnd 1\nEndIf\n\nIf IsProgramRunDirectly()\n\tDebug \"Program was ran directly.\"\n\tPrintN(\"Press enter to exit...\")\n\tInput()\nElse\n\tDebug \"Program was ran through another process or CLI.\"\t\nEndIf\n\nEnd 0\n```\n\n\n## Technical Remarks\nI was unable to use `.lib` files on x86 for this include for some weird reason.\\\nThe linker kept saying it couldn't find the symbol even when dumpbin showed it, and when I made my own `.lib` out of a `.def`.\n\nIf you can fix this issue, feel free to contribute, or make your own repository.\n\n\n## License\nAll the code in this repo is released in the [Public Domain](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faziascreations%2Fpb-win32-getconsoleprocesslist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faziascreations%2Fpb-win32-getconsoleprocesslist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faziascreations%2Fpb-win32-getconsoleprocesslist/lists"}