• Reference for API parameter values (Office XP SP-2)

    Home » Forums » AskWoody support » Productivity software by function » Visual Basic for Applications » Reference for API parameter values (Office XP SP-2)

    Author
    Topic
    #418884

    Wrapping API calls for VB use requires knowing the values for the relevant API function parameters (e.g. SPIF_SENDWININICHANGE = &H2). I’ve found the Microsoft online API documentation, but couldn’t manage to find anywhere where the parameter values were documented. Is there an online reference that has these (at Microsoft or otherwise)?

    Viewing 1 reply thread
    Author
    Replies
    • #944129

      (Edited by jscher2000 on 28-Apr-05 13:17. Download link added…)

      Once upon a time… there was a file named win32api.txt that contained zillions of API functions and constants in VB-friendly terms. I have idea whether it is a complete set, however.

      Here’s a link to download the 2003 version … I suspect it’s not all that different from what would work in newer versions, but no guarantees. blackteeth
      http://www.microsoft.com/downloads/details…;DisplayLang=en[/url]

      • #944136

        cheers Thanks. Armed with the filename, I found I already had a copy of the 1994 version buried deep in the bowels of my C: drive. (It came with one edition or other of the Access Developer’s Handbook.)

        • #944139

          Two sites I find useful are
          AllAPI not maintained any more, but good overview of syntax, and example code. There’s an irritating pop-under but it appears only once per session.
          Windows API Guide

    • #944180

      In addition to Hans’s reference to http://www.allapi.net/, there is/ was available on that site, the “API-Guide” application, created by the KPD-Team 1998-2002. From memory, it was a semi-automated util, which did at least some of the call construction for you, and guided you in same via providing examples. Worth a look I’d say… freeware too!

      Alan

    Viewing 1 reply thread
    Reply To: Reference for API parameter values (Office XP SP-2)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: