Results 1 to 6 of 6
  1. #1
    5 Star Lounger st3333ve's Avatar
    Join Date
    May 2003
    Location
    Los Angeles, California, USA
    Posts
    705
    Thanks
    0
    Thanked 2 Times in 2 Posts

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

    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)?

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Reference for API parameter values (Office XP

    <P ID="edit" class=small>(Edited by jscher2000 on 28-Apr-05 13:17. Download link added...)</P>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. <img src=/S/blackteeth.gif border=0 alt=blackteeth width=20 height=20>
    http://www.microsoft.com/downloads/details...;DisplayLang=en

  3. #3
    5 Star Lounger st3333ve's Avatar
    Join Date
    May 2003
    Location
    Los Angeles, California, USA
    Posts
    705
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Re: Reference for API parameter values (Office XP

    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16> 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.)

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Reference for API parameter values (Office XP

    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

  5. #5
    5 Star Lounger st3333ve's Avatar
    Join Date
    May 2003
    Location
    Los Angeles, California, USA
    Posts
    705
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Re: Reference for API parameter values (Office XP

    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16> Thanks for the links. Both look good.

  6. #6
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

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

    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... <img src=/S/free.gif border=0 alt=free width=30 height=15>ware too!

    Alan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •