[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference abbott::visual_basic

Title:Microsoft Visual Basic
Moderator:TAMARA::DFEDOR::fedor
Created:Thu May 02 1991
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2565
Total number of notes:10453

2556.0. "ACL new API routines ?" by GVPROD::MSTEINER () Tue May 13 1997 06:41

To manipulate Windows NT ACLs, the SDK32 docs advises to use:

 GetNamedSecurityInfo
 BuildExplicitAccessWithName
 SetEntriesInAcl
 SetNamedSecurityInfo

instead of a bunch of other routines. Unfortunatelly, the VB5's Win32api.txt
only lists the old routines, not the new ones !

Does anyone know where I can find the declarations of these routines ?

PS: Hope the question is not too silly... I'm new in this space !

Michel.
T.RTitleUserPersonal
Name
DateLines
2556.1EVTSG8::TOWERSTue May 13 1997 12:5213
    The MSDN is an excellent place to look for this sort of thing. Note
    that you may only get C++ type declarations. It's then up to you to
    translate this into VB. Another excellent resource for unfolding the
    mysteries of this kind of thing (calling API routines from VB) is a
    book called the Visual Basic Programmer's Guide to the Win32 API by
    Daniel Appleman, published by ZD Press, ISBN 1-56276-287-7.
    
    Note that this is the VB4 related version. I'm sure by now there is a
    VB5 related version out, but whichever you get it's an excellent book
    which belongs on every VB developer's desk.
    
    Cheers,
    Brian
2556.2GVPROD::MSTEINERWed May 14 1997 06:2910
    Brian,
    
    Thanks for the info. I'll buy the book and have a look in MSDN.
    
    In the meantime, I think I'll write my application in Visual C++. All
    the definitions for these routines seem to be there already !
    
    Thanks again,
    
    Michel.