Git Product home page Git Product logo

win32api's Introduction

Win32API

Provides documentation for calling hundreds of Win32API functions from VFP.

Introduction

This project was generously donated to VFPX by Anatoliy Mogylevets from its original source, news2news.com, which is no longer available. Thanks, Anatoliy!

A few words from Anatoliy:

VFP Win32 data is given a new lease of life, for which I am very grateful. What I probably like the most is how the data is now integrated in GitHub and thus became an integral part of VFPX. The presentation is clean and has the modern look. Virtually all data from the old site has been converted in remarkably short time, virtually undistorted. I could not think of a better implementation under the circumstances.

Tore Bleken converted the documentation into Markdown format so it's available here on GitHub.

Documentation

There are five pages that are the starting point for the documentation:

In addition, the apiviewer folder has a VFP application you can use to view the documentation offline.

win32api's People

Contributors

devicecontext avatar doughennig avatar neversaid avatar tbleken avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

win32api's Issues

htons() issue with new versions of Windows

Note sure where to put this information. I don't want to fork just to edit the .md so I'm gonna make it an ticket.

In the "Hints" section for HTONS, it says that newer versions of windows set the 16th bit. But that's not quite right. For different numbers it sets more bits.

587 becomes 150274 instead of 19202

10 0100 1011 0000 0010 = 150274
00 0100 1011 0000 0010 = 19202

2525 becomes 646409 instead of 56585

1001 1101 1101 0000 1001 = 646409
0000 1101 1101 0000 1001 = 56585

20000 becomes 5120078 instead of 8270

0100 1110 0010 0000 0100 1110 = 5120078
0000 0000 0010 0000 0100 1110 = 8270

On Windows Server 2022 and Windows 11 htons() is returning a result with more than 16-bits. (To fill in the extra bits, it's cycling through the significant bits of the number again. So it's simply nonsense.)

The fix is to ignore everything after the 15th bit. e.g.

=num2word(BITAND(htons(587),65535))

Windows Compression API

Hi

Are there any examples of using the builtin Windows API from creating zip files?

Simon

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.