>>>> + WAPI_USERISANADMIN() function. Based on xhb's recently added >>>> OS_ISUSERANADMIN() function by Peter Rees. >>>> Reformatted, renamed and applied fixes/UNICODE/cleanups, usual stuff. >>> Hmm. Strange name. Sound like HB_ISTHEARRAY(), HB_ISABLOCK(), >>> HB_ISANOBJECT(). I would delete "AN", but I'm not a good english speaker at >>> all. So, it's just an opinion. You can ignore it. >> Strange indeed, but this is what MS managed to innovate: >> --- >> GetProcAddress( hLib, "IsUserAnAdmin" ); >> --- >> With WAPI_* function we just use what Windows uses. >> (I almost corrected it, but noticed the above) > > > In this case I would suggest to change WAPI_* name to be MS compatible and > have name WAPI_ISUSERANADMIN(). Well, I hope I'll never need to use it, I do > not care a lot :)
Ops, thanks, I will correct it. First it began as WIN_USERISANADMIN(), then became WAPI_ but forgot to reevaluate the next name part. Damn. Brgds, Viktor _______________________________________________ Harbour mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
