Posts Some "slightly less than documented" Windows API's
Post
Cancel

Some "slightly less than documented" Windows API's

Duncan Mackenzie writes: I wrote an article back in August 2002 on some of the API calls that were documented as part of the Microsoft settlement agreement... but in the end, I never published it... so here it is for your viewing pleasure;

There are some really cool functions hiding in here... one most notable is the IsUserAnAdmin function.  There's been more than once that I needed to know if the user was an admin; before I would just check to see if they could open a file for read/write/locked access in a known admin only path.  This is much better ;-)  Thanks Duncan for pointing this out.

This post is licensed under CC BY 4.0 by the author.