GithubHelp home page GithubHelp logo

pa-0 / winstructs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ahkscript/winstructs

0.0 0.0 0.0 12 KB

A collection of definitions for Windows structures for decoding DLL call and OnMessage results etc. For use with HotkeyIt's _Struct library.

AutoHotkey 100.00%

winstructs's Introduction

WinStructs

A collection of definitions for Windows structures for decoding DLL call and OnMessage results etc. For use with HotkeyIt's _Struct library.

What?

WinStructs is just a collection of text strings, there is no logic.
It would be semantically similar to a "Header file" in C, as it provides information about the makeup of data structures.
If working in AutoHotkey with DllCall or OnMessage, you are likely to get a Structure back, which you must interpret via bitwise operations. _Struct frees you from this by allowing you to interpret the data like an object, but you need a correctly crafted definition for the Structure - this is what WinSctructs seeks to provide.

Why?

Because it is a job that only ever needs to be done once for each structure. There is only one "correct" way to do it, so the only thing that would vary between implementations is naming convention.
Therefore, in an ideal world, the first person to use a Structure decodes it properly and submits to this repostiory, and nobody else ever needs to bother do it again.

How?...

... Do I decode a structure?
The rules are fairly simple, but I am not hugely up on it yet. A part of this project is also to try and build a simple tutorial on how to convert the definition from an MSDN page into a valid definition.

Who?

Anyone is welcome to contribute - the AHKScript group is a non-exclusive group and all group members can make commits to the project.
Make a post here to request access.

winstructs's People

Contributors

evilc avatar joedf avatar masonjar13 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.